Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Coffee: Boost Your Code LLMs by Fixing Bugs with Feedback (2311.07215v3)

Published 13 Nov 2023 in cs.CL and cs.SE

Abstract: 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Seungjun Moon (8 papers)
  2. Yongho Song (5 papers)
  3. Hyungjoo Chae (18 papers)
  4. Dongjin Kang (10 papers)
  5. Taeyoon Kwon (12 papers)
  6. Kai Tzu-iunn Ong (10 papers)
  7. Seung-won Hwang (59 papers)
  8. Jinyoung Yeo (46 papers)
Citations (11)
Github Logo Streamline Icon: https://streamlinehq.com

GitHub