mlsanityData to 7 Oct 2026

HumanEvalComm: Benchmarking the Communication Competence of Code Generation for LLMs and LLM Agent

arXiv 2406.00215 ↗First posted 31 May 2024cs.SEcited by 24

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Large language models (LLMs) have significantly improved their ability to perform tasks in the field of code generation. However, there is still a gap between LLMs being capable coders and being top-tier software engineers. Based on the observation that top-level software engineers often ask clarifying questions to reduce ambiguity in both requirements and coding solutions, we argue that the same should be applied to LLMs for code generation tasks. In this work, we conducted an empirical study on the benchmark and analysis of the communication skills of LLMs for code generation. We define communication skills of LLMs as ``being able to ask clarifying questions when the description of the code generation problem has issues''. We created a new benchmark, HumanEvalComm, by modifying problem descriptions according to three issues: inconsistency, ambiguity, incompleteness. We defined new evaluation metrics such as Communication Rate and Good Question Rate, and then experimented on HumanEvalComm with different Code LLMs, and a new LLM agent approach, Okanagan, to identify and ask questions in ambiguous parts from code and descriptions for further refining the generated code. Finally, we discussed evaluation results by comparing Code LLMs and Okanagan with our findings.

Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 60 of its 92 references that are in the map. First posted on arXiv 31 May 2024.

Builds on

60 of 92 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  2. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar
  3. 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges14 Jan

Other references · 57

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  7. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  8. 2021Program Synthesis with Large Language Modelscited by 3,509
  9. 2023Qwen Technical Reportcited by 3,273
  10. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  11. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  12. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
38 more
  1. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  2. 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
  3. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  4. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
  5. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  6. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  7. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  8. 2021Measuring Coding Challenge Competence With APPScited by 879
  9. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  10. 2022Large Language Models Can Self-Improvecited by 656
  11. 2022Improving alignment of dialogue agents via targeted human judgementscited by 527
  12. 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 420
  13. 2023Large Language Models Are State-of-the-Art Evaluators of Translation Qualitycited by 416
  14. 2022A Systematic Evaluation of Large Language Models of Codecited by 360
  15. 2022Large Language Models are Better Reasoners with Self-Verificationcited by 304
  16. 2018code2vec: Learning Distributed Representations of Codecited by 249
  17. 2023Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategiescited by 236
  18. 2020IntelliCode Compose: Code Generation Using Transformercited by 225
  19. 2023Exploring Collaboration Mechanisms for LLM Agents: A Social Psychology Viewcited by 221
  20. 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 178
  21. 2022Talking About Large Language Modelscited by 174
  22. 2023A Categorical Archive of ChatGPT Failurescited by 167
  23. 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
  24. 2022Rethinking with Retrieval: Faithful Large Language Model Inferencecited by 145
  25. 2022Large Language Models Meet NL2Code: A Surveycited by 135
  26. 2023Training Language Models with Language Feedback at Scalecited by 125
  27. 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
  28. 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 110
  29. 2022Productivity Assessment of Neural Code Completioncited by 97
  30. 2017Abstract Syntax Networks for Code Generation and Semantic Parsingcited by 92
  31. 2023Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issuescited by 78
  32. 2018Can Neural Machine Translation be Improved with User Feedback?cited by 71
  33. 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
  34. 2022Generating Natural Language Proofs with Verifier-Guided Searchcited by 52
  35. 2024LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluationcited by 46
  36. 2023No Need to Lift a Finger Anymore? Assessing the Quality of Code Generation by ChatGPTcited by 45
  37. 2022What is it like to program with artificial intelligence?cited by 39
  38. 2023Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChaincited by 31

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 7; 2026: 16.

24 papers.

Sort:

By area:

  1. 2025Agentic Software Engineering: Foundational Pillars and a Research Roadmapcited by 40
  2. 2025Agent READMEs: An Empirical Study of Context Files for Agentic Codingcited by 21
  3. 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
  4. 2026Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agentscited by 15
  5. 2024A Survey on Human-Centric LLMscited by 13
  6. 2025When Prompts Go Wrong: Evaluating Code Model Robustness to Ambiguous, Contradictory, and Incomplete Task Descriptionscited by 8
  7. 2025Can Code Language Models Learn Clarification-Seeking Behaviors?cited by 5
  8. 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructionscited by 5
  9. 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builderscited by 5
  10. 2025AuPair: Golden Example Pairs for Code Repaircited by 3
  11. 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Reviewcited by 2
  12. 2026Defective Task Descriptions in LLM-Based Code Generation: Detection and Analysiscited by 2
12 more
  1. 2025Towards Conversational Development Environments: Using Theory-of-Mind and Multi-Agent Architectures for Requirements Refinementcited by 1
  2. 2026Can AI Agents Generate Microservices? How Far are We?cited by 1
  3. 2026InteractWeb-Bench: Can Multimodal Agent Escape Blind Execution in Interactive Website Generation?cited by 1
  4. 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedbackcited by 1
  5. 2026What Makes a Good Bug Report for an AI Agent?cited by 1
  6. 2026SHM-Agents: A Generalist-Specialist Integrated Agent System for Structural Health Monitoringcited by 0
  7. 2026Neurosymbolic Auditing of Natural-Language Software Requirementscited by 0
  8. 2026Accuracy and Satisfaction in Multi-Turn LLM Dialogues for NFR Assessmentcited by 0
  9. 2026AssumptionMiner: Extracting, Tracing, and Revising Implicit Assumptions in LLM Code Generationcited by 0
  10. 2026Fewer Clarifications, Better Code: Benchmarking Cross-Session Personalized Ambiguity Adaptation in Coding Assistantscited by 0
  11. 2026RealSWE: A Compositional Evaluation of Coding Agents under Realistic User Requestscited by 0
  12. 2026Noisy Test-Time Reinforcement Learning for Code LLMscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Guided Code Generation with LLMs: A Multi-Agent Framework for Complex Code Tasks
  2. 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Research
  3. 2025A Survey on Code Generation with LLM-based Agents
  4. 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
  5. 2025Rethinking Verification for LLM Code Generation: From Generation to Testing
  6. 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation
  7. 2024HumanEval Pro and MBPP Pro: Evaluating Large Language Models on Self-invoking Code Generation
  8. 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future