CodeIF-Bench: Evaluating Instruction-Following Capabilities of Large Language Models in Interactive Code Generation
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated exceptional performance in code generation tasks and have become indispensable programming assistants for developers. However, existing code generation benchmarks primarily assess the functional correctness of code generated by LLMs in single-turn interactions. They offer limited insight into LLMs' abilities to generate code that strictly follows users' instructions in multi-turn interaction scenarios. In this paper, we introduce CodeIF-Bench, a benchmark for evaluating the instruction-following capabilities of LLMs in interactive code generation. Specifically, CodeIF-Bench incorporates nine types of verifiable instructions aligned with the real-world software development requirements, which can be independently and objectively validated through specified test cases, facilitating the evaluation of instruction-following capability in multi-turn interactions. In both Static Conversation and Dynamic Conversation settings, we evaluate the performance of 6 state-of-the-art LLMs and summarize the important factors, additional repository context and gradually increasing interaction history influencing the instruction-following ability of LLMs in multi-turn interactions. Furthermore, we identify the potential direction for improvement: context management. The code and data are available at hrefhttps://github.com/zhu-zhu-ding/CodeIF-Benchhttps://github.com/zhu-zhu-ding/CodeIF-Bench.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Builds on 32 of its 46 references that are in the map. First posted on arXiv 5 Mar 2025.
Builds on
32 of 46 references.
References · 32
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,228
- 2021Measuring Coding Challenge Competence With APPScited by 902
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
- 2024MLLM-as-a-Judge: Assessing Multimodal LLM-as-a-Judge with Vision-Language Benchmarkcited by 372
20 more
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
- 2024Humans or LLMs as the Judge? A Study on Judgement Biasescited by 323
- 2024MT-Bench-101: A Fine-Grained Benchmark for Evaluating Large Language Models in Multi-Turn Dialoguescited by 250
- 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 247
- 2022Do Users Write More Insecure Code with AI Assistants?cited by 192
- 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 168
- 2024InFoBench: Evaluating Instruction Following Ability in Large Language Modelscited by 135
- 2025Preference Leakage: A Contamination Problem in LLM-as-a-judgecited by 125
- 2024Multi-IF: Benchmarking LLMs on Multi-Turn and Multilingual Instructions Followingcited by 102
- 2022Automating Code Review Activities by Large-Scale Pre-trainingcited by 98
- 2024MT-Eval: A Multi-Turn Capabilities Evaluation Benchmark for Large Language Modelscited by 81
- 2024DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 72
- 2024Systematic Evaluation of LLM-as-a-Judge in LLM Alignment Tasks: Explainable Metrics and Diverse Prompt Templatescited by 72
- 2024Bugs in Large Language Models Generated Code: An Empirical Studycited by 60
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructionscited by 48
- 2024A Taxonomy for Human-LLM Interaction Modes: An Initial Explorationcited by 38
- 2025CodeIF: Benchmarking the Instruction-Following Capabilities of Large Language Models for Code Generationcited by 19
- 2024FB-Bench: A Fine-Grained Multi-Task Benchmark for Evaluating LLMs' Responsiveness to Human Feedbackcited by 11
- 2024Inductive-Deductive Strategy Reuse for Multi-Turn Instructional Dialoguescited by 6
Built on by
Citing papers per year: 2025: 8; 2026: 7.
15 papers.
Sort:
By area:
- 2025LLaDA2.0: Scaling Up Diffusion Language Models to 100Bcited by 166
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Taskscited by 30
- 2025One Battle After Another: Probing LLMs' Limits on Multi-Turn Instruction Following with a Benchmark Evolving Frameworkcited by 9
- 2025KAT-Coder Technical Reportcited by 7
- 2025Revisiting the Reliability of Language Models in Instruction-Followingcited by 7
- 2025OSS-Bench: Benchmark Generator for Coding LLMscited by 6
- 2026ClarifyCodeBench: Evaluating LLMs on Clarifying Ambiguous Requirements for Code Generationcited by 5
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 4
- 2026Harness-IF: Evaluating Instruction Following Across Instruction Surfaces in Coding Agentscited by 4
- 2026CodeSpec: Dual Executable Specifications for Agentic Long-Horizon Feature Developmentcited by 2
- 2025CodeAlignBench: Assessing Code Generation Models on Developer-Preferred Code Adjustmentscited by 0
- 2025PACIFIC: a framework for generating benchmarks to check Precise Automatically Checked Instruction Following In Codecited by 0
- 2026MTAC-IFBench: Benchmarking Instruction-Following in Multi-Turn Agentic Coding14 Sep 2026
- 2026Harness-IF: Evaluating Instruction Following Across Instruction Surfaces in Coding Agents12 Aug 2026
- 2026EduPluginBench: Executable Assurance for AI-Generated Educational Plugins1 Aug 2026
- 2026CodeSpec: Dual Executable Specifications for Agentic Long-Horizon Feature Development29 Jul 2026
- 2026ClarifyCodeBench: Evaluating LLMs on Clarifying Ambiguous Requirements for Code Generation1 Jul 2026
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks25 Mar 2026
- 2026Failing to Explore: Language Models on Interactive Tasks29 Jan 2026
- 2025Revisiting the Reliability of Language Models in Instruction-Following15 Dec 2025
- 2025PACIFIC: a framework for generating benchmarks to check Precise Automatically Checked Instruction Following In Code11 Dec 2025
- 2025LLaDA2.0: Scaling Up Diffusion Language Models to 100B10 Dec 2025
- 2025One Battle After Another: Probing LLMs' Limits on Multi-Turn Instruction Following with a Benchmark Evolving Framework5 Nov 2025
- 2025CodeAlignBench: Assessing Code Generation Models on Developer-Preferred Code Adjustments31 Oct 2025
3 more
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Taskscited by 30
- 2025KAT-Coder Technical Reportcited by 7
- 2026Harness-IF: Evaluating Instruction Following Across Instruction Surfaces in Coding Agentscited by 4
- 2026CodeSpec: Dual Executable Specifications for Agentic Long-Horizon Feature Developmentcited by 2
- 2026MTAC-IFBench: Benchmarking Instruction-Following in Multi-Turn Agentic Codingcited by 0
- 2026MTAC-IFBench: Benchmarking Instruction-Following in Multi-Turn Agentic Coding14 Sep 2026
- 2026Harness-IF: Evaluating Instruction Following Across Instruction Surfaces in Coding Agents12 Aug 2026
- 2026CodeSpec: Dual Executable Specifications for Agentic Long-Horizon Feature Development29 Jul 2026
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks25 Mar 2026
- 2025KAT-Coder Technical Report21 Oct 2025
- 2025LLaDA2.0: Scaling Up Diffusion Language Models to 100Bcited by 166
- 2025LLaDA2.0: Scaling Up Diffusion Language Models to 100B10 Dec 2025
- 2025One Battle After Another: Probing LLMs' Limits on Multi-Turn Instruction Following with a Benchmark Evolving Frameworkcited by 9
- 2025Revisiting the Reliability of Language Models in Instruction-Followingcited by 7
- 2025OSS-Bench: Benchmark Generator for Coding LLMscited by 6
- 2026ClarifyCodeBench: Evaluating LLMs on Clarifying Ambiguous Requirements for Code Generationcited by 5
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 4
- 2025CodeAlignBench: Assessing Code Generation Models on Developer-Preferred Code Adjustmentscited by 0
- 2025PACIFIC: a framework for generating benchmarks to check Precise Automatically Checked Instruction Following In Codecited by 0
- 2026Failing to Explore: Language Models on Interactive Taskscited by 0
- 2026EduPluginBench: Executable Assurance for AI-Generated Educational Pluginscited by 0
- 2026EduPluginBench: Executable Assurance for AI-Generated Educational Plugins1 Aug 2026
- 2026ClarifyCodeBench: Evaluating LLMs on Clarifying Ambiguous Requirements for Code Generation1 Jul 2026
- 2026Failing to Explore: Language Models on Interactive Tasks29 Jan 2026
- 2025Revisiting the Reliability of Language Models in Instruction-Following15 Dec 2025
- 2025PACIFIC: a framework for generating benchmarks to check Precise Automatically Checked Instruction Following In Code11 Dec 2025
- 2025One Battle After Another: Probing LLMs' Limits on Multi-Turn Instruction Following with a Benchmark Evolving Framework5 Nov 2025
- 2025CodeAlignBench: Assessing Code Generation Models on Developer-Preferred Code Adjustments31 Oct 2025
- 2025OSS-Bench: Benchmark Generator for Coding LLMs18 May 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025