Pith. sign in

REVIEW 1 cited by

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

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2311.00272 v1 pith:S4KDFOFR submitted 2023-11-01 cs.SE cs.AI

classification cs.SEcs.AI
keywords humanlargelanguagemodelsrequirementsrefinechatcodercode
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Leveraging Metamemory Agent for Enhanced Data-Free Code Generation in Large Language Models

    cs.SE 2025-01 conditional novelty 5.0 of 10

    M2WF improves one-time LLM code generation by having the model recall, evaluate, and selectively exploit its own remembered coding examples.

Pith tools