scimeatlas

Research map / Large language models / Agents, code and math

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

Hojae Han, Jaejin Kim, Jaeseok Yoo, Youngwon Lee, Seung-won Hwang

ACL 2024Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach51 citations (OpenAlex)

Seoul National University · LG AI Research

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
9improved
3no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

This paper tried a common change: Chain-of-thought prompting

add CoT prompting · HumanEval Pass@1 · Pass@1: 73.17 -> 72.99 No clear effect

What 2,675 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use ArchCode instead of GPT-4GPT-3.5-Turbo-based generation · HumanEval Pass@1Pass@1: 81.55 -> 86.36Improved
use ArchCode instead of GPT-4GPT-3.5-Turbo-based generation · CodeContests Pass@1Pass@1: 6.07 -> 16.52Improved
use ArchCode instead of MPSCcode generation · CodeContests Pass@5Pass@5: 17.76 -> 17.37Hurt
add CoT promptingGPT-3.5-Turbo · HumanEval Pass@1Pass@1: 73.17 -> 72.99No clear effect
add requirement-aware test cases for filtering instead of CodeT (ablation)ArchCode code · CodeContests Pass@1Pass@1: 11.09 -> 16.52Improved
add requirement-aware test cases for filtering instead of CodeT (ablation)ArchCode code · HumanEval-NFR (All) Pass@1Pass@1: 17.00 -> 25.81Improved
add requirement-aware test cases for filtering instead of CodeT (ablation)ArchCode code · HumanEval Pass@1Pass@1: 79.92 -> 86.36Improved
use ArchCode test cases instead of CodeT without clustering (ablation)ArchCode code · HumanEvalPass@k: 86.40 vs 86.36 (k=1)No clear effect
add code filtering with ArchCode test cases (ablation)ArchCode · CodeContests Pass@1Pass@1: 6.73 -> 16.52Improved
condition code generation on gold or generated test cases (ablation)GPT-3.5-Turbo · HumanEval Pass@1Pass@1: 73.17 -> 73.60 / 73.66No clear effect
add ArchCode requirement prompting without filteringGPT-3.5-Turbo · HumanEval Pass@1Pass@1: 73.17 -> 75.06Improved
add in-context learning to WizardCoder 7BWizardCoder 7B · HumanEval Pass@1Pass@1: 48.54 -> 43.35Hurt

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in execution-based code verification

Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy