IFEvalCode: Controlled Code Generation
Not on the map. Why?
Abstract (arXiv)
Code large language models (Code LLMs) have made significant progress in code generation by translating natural language descriptions into functional code; however, real-world applications often demand stricter adherence to detailed requirements such as coding style, line count, and structural constraints, beyond mere correctness. To address this, the paper introduces forward and backward constraints generation to improve the instruction-following capabilities of Code LLMs in controlled code generation, ensuring outputs align more closely with human-defined guidelines. The authors further present IFEvalCode, a multilingual benchmark comprising 1.6K test samples across seven programming languages (Python, Java, JavaScript, TypeScript, Shell, C++, and C#), with each sample featuring both Chinese and English queries. Unlike existing benchmarks, IFEvalCode decouples evaluation into two metrics: correctness (Corr.) and instruction-following (Instr.), enabling a more nuanced assessment. Experiments on over 40 LLMs reveal that closed-source models outperform open-source ones in controllable code generation and highlight a significant gap between the models' ability to generate correct code versus code that precisely follows instructions.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 62 of its 79 references that are in the map. First posted on arXiv 30 Jul 2025.
Builds on
62 of 79 references.
References · 62
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023GPT-4 Technical Reportcited by 18,396
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023Qwen Technical Reportcited by 3,344
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
38 more
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,228
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2023StarCoder: may the source be with you!cited by 799
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
- 2022Efficient Training of Language Models to Fill in the Middlecited by 255
- 2023SantaCoder: don't reach for the stars!cited by 170
- 2024MAmmoTH2: Scaling Instructions from the Webcited by 145
- 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 134
- 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 130
- 2024TableBench: A Comprehensive and Complex Benchmark for Table Question Answeringcited by 128
- 2025CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratingscited by 115
- 2023An Analysis of the Automatic Bug Fixing Performance of ChatGPTcited by 110
- 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 103
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 91
- 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
- 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 87
- 2024HumanEval-XL: A Multilingual Code Generation Benchmark for Cross-lingual Natural Language Generalizationcited by 86
- 2024DebugBench: Evaluating Debugging Capability of Large Language Modelscited by 76
- 2024TableGPT2: A Large Multimodal Model with Tabular Data Integrationcited by 72
- 2024AutoKaggle: A Multi-Agent Framework for Autonomous Data Science Competitionscited by 70
- 2018DeepBugs: A Learning Approach to Name-based Bug Detectioncited by 65
- 2024Bugs in Large Language Models Generated Code: An Empirical Studycited by 60
- 2021Self-Supervised Bug Detection and Repaircited by 59
- 2024FullStack Bench: Evaluating LLMs as Full Stack Coderscited by 58
- 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 57
- 2023Prompt-Enhanced Software Vulnerability Detection Using ChatGPTcited by 51
- 2023Evaluating Instruction-Tuned Large Language Models on Code Comprehension and Generationcited by 50
- 2024McEval: Massively Multilingual Code Evaluationcited by 44
50 most cited of 62 All 62 (JSON)
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2025LogicIF: Towards Complex Logic Instruction Followingcited by 2
- 2025CIFE: Code Instruction-Following Evaluationcited by 2
- 2026Steerable Instruction Following Coding Data Synthesis with Actor-Parametric Schema Co-Evolutioncited by 1
- 2026MTAC-IFBench: Benchmarking Instruction-Following in Multi-Turn Agentic Codingcited by 0
- 2026MTAC-IFBench: Benchmarking Instruction-Following in Multi-Turn Agentic Coding14 Sep 2026
- 2026Steerable Instruction Following Coding Data Synthesis with Actor-Parametric Schema Co-Evolution27 Feb 2026
- 2025CIFE: Code Instruction-Following Evaluation19 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025LogicIF: Towards Complex Logic Instruction Following12 Aug 2025