mlsanityData to 7 Oct 2026

ChatCoder: Chat-based Refine Requirement Improves LLMs' Code Generation

arXiv 2311.00272 ↗First posted 1 Nov 2023cs.SE cs.AIcited by 13

Not on the map. Why?

Abstract (arXiv)

Large language models have shown good performances in generating code to meet human requirements. However, human requirements expressed in natural languages can be vague, incomplete, and ambiguous, leading large language models to misunderstand human requirements and make mistakes. Worse, it is difficult for a human user to refine the requirement. To help human users refine their requirements and improve large language models' code generation performances, we propose ChatCoder: a method to refine the requirements via chatting with large language models. We design a chat scheme in which the large language models will guide the human users to refine their expression of requirements to be more precise, unambiguous, and complete than before. Experiments show that ChatCoder has improved existing large language models' performance by a large margin. Besides, ChatCoder has the advantage over refine-based methods and LLMs fine-tuned via human response.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 4 of its 13 references that are in the map. First posted on arXiv 1 Nov 2023.

Builds on

4 of 13 references.

References · 4

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  4. 2023Self-planning Code Generation with Large Language Modelscited by 121

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 4; 2026: 3.

13 papers.

Sort:

By area: