Coffee: Boost Your Code LLMs by Fixing Bugs with Feedback
Not on the map. Why?
Abstract (arXiv)
Code editing is an essential step towards reliable program synthesis to automatically correct critical errors generated from code LLMs. Recent studies have demonstrated that closed-source LLMs (i.e., ChatGPT and GPT-4) are capable of generating corrective feedback to edit erroneous inputs. However, it remains challenging for open-source code LLMs to generate feedback for code editing, since these models tend to adhere to the superficial formats of feedback and provide feedback with misleading information. Hence, the focus of our work is to leverage open-source code LLMs to generate helpful feedback with correct guidance for code editing. To this end, we present Coffee, a collected dataset specifically designed for code fixing with feedback. Using this dataset, we construct CoffeePots, a framework for COde Fixing with FEEdback via Preference-Optimized Tuning and Selection. The proposed framework aims to automatically generate helpful feedback for code editing while minimizing the potential risk of superficial feedback. The combination of Coffee and CoffeePots marks a significant advancement, achieving state-of-the-art performance on HumanEvalFix benchmark. Codes and model checkpoints are publicly available at https://github.com/Lune-Blue/COFFEE.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Builds on 22 of its 29 references that are in the map. First posted on arXiv 13 Nov 2023.
Builds on
22 of 29 references.
References · 22
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 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
10 more
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2021Measuring Coding Challenge Competence With APPScited by 902
- 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 783
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
- 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 721
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 333
- 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 238
- 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 111
- 2020Synthesize, Execute and Debug: Learning to Repair for Neural Program Synthesiscited by 39
- 2023The Larger They Are, the Harder They Fail: Language Models do not Recognize Identifier Swaps in Pythoncited by 29
Built on by
Citing papers per year: 2023: 1; 2024: 9; 2025: 4; 2026: 1.
15 papers.
Sort:
By area:
- 2024The BiGGen Bench: A Principled Benchmark for Fine-grained Evaluation of Language Models with Language Modelscited by 93
- 2024Foundational Autoraters: Taming Large Language Models for Better Automatic Evaluationcited by 74
- 2024Bugs in Large Language Models Generated Code: An Empirical Studycited by 60
- 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructionscited by 48
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
- 2024Direct Judgement Preference Optimizationcited by 33
- 2025Learning to Generate Unit Tests for Automated Debuggingcited by 17
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidancecited by 12
- 2024Coffee-Gym: An Environment for Evaluating and Improving Natural Language Feedback on Erroneous Codecited by 9
- 2024A Problem-Oriented Perspective and Anchor Verification for Code Optimizationcited by 4
- 2025Designing LLM-based Multi-Agent Systems for Software Engineering Tasks: Quality Attributes, Design Patterns and Rationalecited by 3
3 more
- 2026Themis: Training Robust Multilingual Code Reward Models for Flexible Multi-Criteria Scoring1 May 2026
- 2025Designing LLM-based Multi-Agent Systems for Software Engineering Tasks: Quality Attributes, Design Patterns and Rationale11 Nov 2025
- 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Models19 Sep 2025
- 2025SDLog: A Deep Learning Framework for Detecting Sensitive Information in Software Logs20 May 2025
- 2025Learning to Generate Unit Tests for Automated Debugging3 Feb 2025
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidance2 Oct 2024
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debugging2 Oct 2024
- 2024Coffee-Gym: An Environment for Evaluating and Improving Natural Language Feedback on Erroneous Code29 Sep 2024
- 2024Direct Judgement Preference Optimization23 Sep 2024
- 2024Agents in Software Engineering: Survey, Landscape, and Vision13 Sep 2024
- 2024Foundational Autoraters: Taming Large Language Models for Better Automatic Evaluation15 Jul 2024
- 2024A Problem-Oriented Perspective and Anchor Verification for Code Optimization17 Jun 2024
3 more
- 2024The BiGGen Bench: A Principled Benchmark for Fine-grained Evaluation of Language Models with Language Models9 Jun 2024
- 2024Bugs in Large Language Models Generated Code: An Empirical Study13 Mar 2024
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructions11 Dec 2023
- 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidancecited by 12
- 2025Designing LLM-based Multi-Agent Systems for Software Engineering Tasks: Quality Attributes, Design Patterns and Rationalecited by 3
- 2025Designing LLM-based Multi-Agent Systems for Software Engineering Tasks: Quality Attributes, Design Patterns and Rationale11 Nov 2025
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidance2 Oct 2024
- 2024Agents in Software Engineering: Survey, Landscape, and Vision13 Sep 2024
- 2024The BiGGen Bench: A Principled Benchmark for Fine-grained Evaluation of Language Models with Language Modelscited by 93
- 2024Foundational Autoraters: Taming Large Language Models for Better Automatic Evaluationcited by 74
- 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
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
- 2025Learning to Generate Unit Tests for Automated Debuggingcited by 17
- 2024A Problem-Oriented Perspective and Anchor Verification for Code Optimizationcited by 4
- 2025SDLog: A Deep Learning Framework for Detecting Sensitive Information in Software Logscited by 2
- 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Modelscited by 2
- 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Models19 Sep 2025
- 2025SDLog: A Deep Learning Framework for Detecting Sensitive Information in Software Logs20 May 2025
- 2025Learning to Generate Unit Tests for Automated Debugging3 Feb 2025
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debugging2 Oct 2024
- 2024Foundational Autoraters: Taming Large Language Models for Better Automatic Evaluation15 Jul 2024
- 2024A Problem-Oriented Perspective and Anchor Verification for Code Optimization17 Jun 2024
- 2024The BiGGen Bench: A Principled Benchmark for Fine-grained Evaluation of Language Models with Language Models9 Jun 2024
- 2024Bugs in Large Language Models Generated Code: An Empirical Study13 Mar 2024
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructions11 Dec 2023
Similar, not cited
Close in wording, no citation either way
- 2025FeedbackEval: A Benchmark for Evaluating Large Language Models in Feedback-Driven Code Repair Tasks
- 2025Self-Bootstrapping Automated Program Repair: Using LLMs to Generate and Evaluate Synthetic Training Data for Bug Repair
- 2024An Empirical Study on the Code Refactoring Capability of Large Language Models
- 2026RepoZero: Can LLMs Generate a Code Repository from Scratch?
- 2025Large Language Model Critics for Execution-Free Evaluation of Code Changes
- 2026Large Language Models for Programming: Actually Fixing or Reimplementing Incorrect Code?
- 2025Improving LLM-Generated Code Quality with GRPO
- 2025ACE-RLHF: Automated Code Evaluation and Socratic Feedback Generation Tool using Large Language Models and Reinforcement Learning with Human Feedback