ChatCoder: Chat-based Refine Requirement Improves LLMs' Code Generation
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
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2023Self-planning Code Generation with Large Language Modelscited by 121
Built on by
Citing papers per year: 2024: 6; 2025: 4; 2026: 3.
13 papers.
Sort:
By area:
- 2024From Individual to Society: A Survey on Social Simulation Driven by Large Language Model-based Agentscited by 76
- 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
- 2024Beyond Functional Correctness: Investigating Coding Style Inconsistencies in Large Language Modelscited by 15
- 2024LLMs: A Game-Changer for Software Engineers?cited by 11
- 2024JumpCoder: Go Beyond Autoregressive Coder via Online Modificationcited by 7
- 2024Data Analysis in the Era of Generative AIcited by 6
- 2025VulInstruct: Teaching LLMs Root-Cause Reasoning for Vulnerability Detection via Security Specificationscited by 4
- 2025Leveraging Metamemory Agent for Enhanced Data-Free Code Generation in Large Language Modelscited by 3
- 2026ShortCoder: Knowledge-Augmented Syntax Optimization for Token-Efficient Code Generationcited by 3
- 2025A Case Study Investigating the Role of Generative AI in Quality Evaluations of Epics in Agile Software Developmentcited by 1
- 2026Unlocking LLM Code Correction with Iterative Feedback Loopscited by 1
- 2025Lifecycle-Aware code generation: Leveraging Software Engineering Phases in LLMscited by 0
1 more
- 2026How Well Can AI Generate Backlogs from App Mockups?cited by 0
- 2026How Well Can AI Generate Backlogs from App Mockups?24 Jul 2026
- 2026Unlocking LLM Code Correction with Iterative Feedback Loops16 Jun 2026
- 2026ShortCoder: Knowledge-Augmented Syntax Optimization for Token-Efficient Code Generation14 Jan 2026
- 2025VulInstruct: Teaching LLMs Root-Cause Reasoning for Vulnerability Detection via Security Specifications6 Nov 2025
- 2025Lifecycle-Aware code generation: Leveraging Software Engineering Phases in LLMs28 Oct 2025
- 2025A Case Study Investigating the Role of Generative AI in Quality Evaluations of Epics in Agile Software Development12 May 2025
- 2025Leveraging Metamemory Agent for Enhanced Data-Free Code Generation in Large Language Models14 Jan 2025
- 2024From Individual to Society: A Survey on Social Simulation Driven by Large Language Model-based Agents4 Dec 2024
- 2024LLMs: A Game-Changer for Software Engineers?1 Nov 2024
- 2024Data Analysis in the Era of Generative AI27 Sep 2024
- 2024Agents in Software Engineering: Survey, Landscape, and Vision13 Sep 2024
- 2024Beyond Functional Correctness: Investigating Coding Style Inconsistencies in Large Language Models29 Jun 2024
1 more
- 2024Beyond Functional Correctness: Investigating Coding Style Inconsistencies in Large Language Modelscited by 15
- 2024LLMs: A Game-Changer for Software Engineers?cited by 11
- 2024JumpCoder: Go Beyond Autoregressive Coder via Online Modificationcited by 7
- 2024Data Analysis in the Era of Generative AIcited by 6
- 2025A Case Study Investigating the Role of Generative AI in Quality Evaluations of Epics in Agile Software Developmentcited by 1
- 2026Unlocking LLM Code Correction with Iterative Feedback Loopscited by 1
- 2025Lifecycle-Aware code generation: Leveraging Software Engineering Phases in LLMscited by 0
- 2026How Well Can AI Generate Backlogs from App Mockups?cited by 0
- 2026How Well Can AI Generate Backlogs from App Mockups?24 Jul 2026
- 2026Unlocking LLM Code Correction with Iterative Feedback Loops16 Jun 2026
- 2025Lifecycle-Aware code generation: Leveraging Software Engineering Phases in LLMs28 Oct 2025
- 2025A Case Study Investigating the Role of Generative AI in Quality Evaluations of Epics in Agile Software Development12 May 2025
- 2024LLMs: A Game-Changer for Software Engineers?1 Nov 2024
- 2024Data Analysis in the Era of Generative AI27 Sep 2024
- 2024Beyond Functional Correctness: Investigating Coding Style Inconsistencies in Large Language Models29 Jun 2024
- 2024JumpCoder: Go Beyond Autoregressive Coder via Online Modification15 Jan 2024