mlsanityData to 14 Oct 2026

ArchCode: Incorporating Software Requirements in Code Generation with Large Language Models

arXiv 2408.00994 ↗First posted 2 Aug 2024cs.SE cs.AI cs.CLcited by 8

Not on the map. Why?

Abstract (arXiv)

This paper aims to extend the code generation capability of large language models (LLMs) to automatically manage comprehensive software requirements from given textual descriptions. Such requirements include both functional (i.e. achieving expected behavior for inputs) and non-functional (e.g., time/space performance, robustness, maintainability) requirements. However, textual descriptions can either express requirements verbosely or may even omit some of them. We introduce ARCHCODE, a novel framework that leverages in-context learning to organize requirements observed in descriptions and to extrapolate unexpressed requirements from them. ARCHCODE generates requirements from given descriptions, conditioning them to produce code snippets and test cases. Each test case is tailored to one of the requirements, allowing for the ranking of code snippets based on the compliance of their execution results with the requirements. Public benchmarks show that ARCHCODE enhances to satisfy functional requirements, significantly improving Pass@k scores. Furthermore, we introduce HumanEval-NFR, the first evaluation of LLMs' non-functional requirements in code generation, demonstrating ARCHCODE's superiority over baseline methods. The implementation of ARCHCODE and the HumanEval-NFR benchmark are both publicly accessible.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 23 of its 55 references that are in the map. First posted on arXiv 2 Aug 2024.

Builds on

23 of 55 references.

References · 23

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  4. 2021Program Synthesis with Large Language Modelscited by 3,637
  5. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  6. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  7. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  8. 2023Teaching Large Language Models to Self-Debugcited by 988
  9. 2021Measuring Coding Challenge Competence With APPScited by 902
  10. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  11. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
  12. 2022CodeT: Code Generation with Generated Testscited by 384
11 more
  1. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 239
  2. 2023SantaCoder: don't reach for the stars!cited by 170
  3. 2021Composable Sparse Fine-Tuning for Cross-Lingual Transfercited by 144
  4. 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 136
  5. 2022Natural Language to Code Translation with Executioncited by 124
  6. 2022Coder Reviewer Reranking for Code Generationcited by 84
  7. 2023Evaluating Instruction-Tuned Large Language Models on Code Comprehension and Generationcited by 50
  8. 2023Enhancing Large Language Models in Coding Through Multi-Perspective Self-Consistencycited by 46
  9. 2023ALGO: Synthesizing Algorithmic Programs with LLM-Generated Oracle Verifierscited by 41
  10. 2022Learning to Execute Actions or Ask Clarification Questionscited by 30
  11. 2023Think Outside the Code: Brainstorming Boosts Large Language Models in Code Generationcited by 19

Built on by

Cited by year (2026 to 14 Oct)

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

8 papers.