Unsupervised Evaluation of Code LLMs with Round-Trip Correctness
Not on the map. Why?
Abstract (arXiv)
To evaluate code large language models (LLMs), research has relied on a few small manually curated benchmarks, such as HumanEval and MBPP, which represent a narrow part of the real-world software domains. In this work, we introduce round-trip correctness (RTC) as an alternative evaluation method. RTC allows Code LLM evaluation on a broader spectrum of real-world software domains without the need for costly human curation. RTC rests on the idea that we can ask a model to make a prediction (e.g., describe some code using natural language), feed that prediction back (e.g., synthesize code from the predicted description), and check if this round-trip leads to code that is semantically equivalent to the original input. We show how to employ RTC to evaluate code synthesis and editing. We find that RTC strongly correlates with model performance on existing narrow-domain code synthesis benchmarks while allowing us to expand to a much broader set of domains and tasks which was not previously possible without costly human annotations.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 22 of its 30 references that are in the map. First posted on arXiv 13 Feb 2024.
Builds on
22 of 30 references.
References · 22
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2023PaLM 2 Technical Reportcited by 1,154
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2015Improving Neural Machine Translation Models with Monolingual Datacited by 784
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
10 more
- 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 181
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
- 2023Faithfulness Tests for Natural Language Explanationscited by 107
- 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
- 2022Automating Code Review Activities by Large-Scale Pre-trainingcited by 98
- 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
- 2019Code Generation as a Dual Task of Code Summarizationcited by 62
- 2019JuICe: A Large Scale Distantly Supervised Dataset for Open Domain Context-based Code Generationcited by 49
- 2023Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChaincited by 31
- 2021On Multi-Modal Learning of Editing Source Codecited by 25
Built on by
Citing papers per year: 2024: 7; 2025: 6; 2026: 10.
23 papers.
Sort:
By area:
- 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?cited by 44
- 2024Benchmarks as Microscopes: A Call for Model Metrologycited by 33
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2024Natural Language Outlines for Code: Literate Programming in the LLM Eracited by 9
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generationcited by 6
- 2025Diverse Inference and Verification for Advanced Reasoningcited by 6
- 2026Faithful Autoformalization via Roundtrip Verification and Repaircited by 6
- 2026Can AI Be a Good Peer Reviewer? A Survey of Peer Review Process, Evaluation, and the Futurecited by 6
- 2024Code Hallucinationcited by 5
- 2026Can LLMs Compress (and Decompress)? Evaluating Code Understanding and Execution via Invertibilitycited by 4
- 2024Envisioning the Next-Generation AI Coding Assistants: Insights & Proposalscited by 2
- 2025AI4Contracts: LLM & RAG-Powered Encoding of Financial Derivative Contractscited by 2
11 more
- 2024Tadashi: Enabling AI-Based Automated Code Generation With Guaranteed Correctnesscited by 1
- 2025EVALOOOP: A Self-Consistency-Centered Framework for Assessing Large Language Model Robustness in Programmingcited by 1
- 2025Round-trip Reinforcement Learning: Self-Consistent Training for Better Chemical LLMscited by 1
- 2026Round-Trip Translation Reveals What Frontier Multilingual Benchmarks Misscited by 1
- 2025ML For Hardware Design Interpretability: Challenges and Opportunitiescited by 0
- 2026BatCoder: Self-Supervised Bidirectional Code-Documentation Learning via Back-Translationcited by 0
- 2026Neurosymbolic Auditing of Natural-Language Software Requirementscited by 0
- 2026Agent Gym: A Framework for Continuous Evaluation and Evolution of LLM Agents Through Human-in-the-Loop Feedbackcited by 0
- 2026T-GADE: Thermodynamical Generative-AI-Driven Evolution of LLM Artifactscited by 0
- 2026The Communication Bottleneck: A Round-Trip Study of Tree-Structured Expression Serialization in Language Modelscited by 0
- 2026Risk-Controlled Selective LLM Answering by Pricing Label-Free Checkscited by 0
- 2026Risk-Controlled Selective LLM Answering by Pricing Label-Free Checks27 Sep 2026
- 2026The Communication Bottleneck: A Round-Trip Study of Tree-Structured Expression Serialization in Language Models18 Sep 2026
- 2026T-GADE: Thermodynamical Generative-AI-Driven Evolution of LLM Artifacts10 Sep 2026
- 2026Agent Gym: A Framework for Continuous Evaluation and Evolution of LLM Agents Through Human-in-the-Loop Feedback16 Aug 2026
- 2026Neurosymbolic Auditing of Natural-Language Software Requirements13 May 2026
- 2026Can AI Be a Good Peer Reviewer? A Survey of Peer Review Process, Evaluation, and the Future30 Apr 2026
- 2026Faithful Autoformalization via Roundtrip Verification and Repair27 Apr 2026
- 2026Round-Trip Translation Reveals What Frontier Multilingual Benchmarks Miss14 Apr 2026
- 2026BatCoder: Self-Supervised Bidirectional Code-Documentation Learning via Back-Translation30 Jan 2026
- 2026Can LLMs Compress (and Decompress)? Evaluating Code Understanding and Execution via Invertibility19 Jan 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Round-trip Reinforcement Learning: Self-Consistent Training for Better Chemical LLMs1 Oct 2025
11 more
- 2025AI4Contracts: LLM & RAG-Powered Encoding of Financial Derivative Contracts1 Jun 2025
- 2025EVALOOOP: A Self-Consistency-Centered Framework for Assessing Large Language Model Robustness in Programming18 May 2025
- 2025ML For Hardware Design Interpretability: Challenges and Opportunities11 Apr 2025
- 2025Diverse Inference and Verification for Advanced Reasoning14 Feb 2025
- 2024Tadashi: Enabling AI-Based Automated Code Generation With Guaranteed Correctness4 Oct 2024
- 2024Natural Language Outlines for Code: Literate Programming in the LLM Era9 Aug 2024
- 2024Benchmarks as Microscopes: A Call for Model Metrology22 Jul 2024
- 2024Code Hallucination5 Jul 2024
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generation26 Apr 2024
- 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?25 Mar 2024
- 2024Envisioning the Next-Generation AI Coding Assistants: Insights & Proposals21 Mar 2024
- 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?cited by 44
- 2025Diverse Inference and Verification for Advanced Reasoningcited by 6
- 2025EVALOOOP: A Self-Consistency-Centered Framework for Assessing Large Language Model Robustness in Programmingcited by 1
- 2026The Communication Bottleneck: A Round-Trip Study of Tree-Structured Expression Serialization in Language Modelscited by 0
- 2026The Communication Bottleneck: A Round-Trip Study of Tree-Structured Expression Serialization in Language Models18 Sep 2026
- 2025EVALOOOP: A Self-Consistency-Centered Framework for Assessing Large Language Model Robustness in Programming18 May 2025
- 2025Diverse Inference and Verification for Advanced Reasoning14 Feb 2025
- 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?25 Mar 2024
- 2024Benchmarks as Microscopes: A Call for Model Metrologycited by 33
- 2024Natural Language Outlines for Code: Literate Programming in the LLM Eracited by 9
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generationcited by 6
- 2026Faithful Autoformalization via Roundtrip Verification and Repaircited by 6
- 2026Can AI Be a Good Peer Reviewer? A Survey of Peer Review Process, Evaluation, and the Futurecited by 6
- 2024Code Hallucinationcited by 5
- 2026Can LLMs Compress (and Decompress)? Evaluating Code Understanding and Execution via Invertibilitycited by 4
- 2024Envisioning the Next-Generation AI Coding Assistants: Insights & Proposalscited by 2
- 2024Tadashi: Enabling AI-Based Automated Code Generation With Guaranteed Correctnesscited by 1
- 2025Round-trip Reinforcement Learning: Self-Consistent Training for Better Chemical LLMscited by 1
- 2026Round-Trip Translation Reveals What Frontier Multilingual Benchmarks Misscited by 1
- 2025ML For Hardware Design Interpretability: Challenges and Opportunitiescited by 0
12 most cited of 16 All 16 (JSON)
- 2026Risk-Controlled Selective LLM Answering by Pricing Label-Free Checks27 Sep 2026
- 2026T-GADE: Thermodynamical Generative-AI-Driven Evolution of LLM Artifacts10 Sep 2026
- 2026Neurosymbolic Auditing of Natural-Language Software Requirements13 May 2026
- 2026Can AI Be a Good Peer Reviewer? A Survey of Peer Review Process, Evaluation, and the Future30 Apr 2026
- 2026Faithful Autoformalization via Roundtrip Verification and Repair27 Apr 2026
- 2026Round-Trip Translation Reveals What Frontier Multilingual Benchmarks Miss14 Apr 2026
- 2026BatCoder: Self-Supervised Bidirectional Code-Documentation Learning via Back-Translation30 Jan 2026
- 2026Can LLMs Compress (and Decompress)? Evaluating Code Understanding and Execution via Invertibility19 Jan 2026
- 2025Round-trip Reinforcement Learning: Self-Consistent Training for Better Chemical LLMs1 Oct 2025
- 2025ML For Hardware Design Interpretability: Challenges and Opportunities11 Apr 2025
- 2024Tadashi: Enabling AI-Based Automated Code Generation With Guaranteed Correctness4 Oct 2024
- 2024Natural Language Outlines for Code: Literate Programming in the LLM Era9 Aug 2024
12 newest of 16 All 16 (JSON)