mlsanityData to 7 Oct 2026

Unsupervised Evaluation of Code LLMs with Round-Trip Correctness

arXiv 2402.08699 ↗First posted 13 Feb 2024cs.SE cs.LGcited by 23

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

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  3. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  4. 2021Program Synthesis with Large Language Modelscited by 3,509
  5. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  6. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  7. 2023PaLM 2 Technical Reportcited by 1,154
  8. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  9. 2021Measuring Coding Challenge Competence With APPScited by 879
  10. 2015Improving Neural Machine Translation Models with Monolingual Datacited by 784
  11. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  12. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
10 more
  1. 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 181
  2. 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
  3. 2023Faithfulness Tests for Natural Language Explanationscited by 107
  4. 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
  5. 2022Automating Code Review Activities by Large-Scale Pre-trainingcited by 98
  6. 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
  7. 2019Code Generation as a Dual Task of Code Summarizationcited by 62
  8. 2019JuICe: A Large Scale Distantly Supervised Dataset for Open Domain Context-based Code Generationcited by 49
  9. 2023Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChaincited by 31
  10. 2021On Multi-Modal Learning of Editing Source Codecited by 25

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 7; 2025: 6; 2026: 10.

23 papers.

Sort:

By area:

  1. 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?cited by 44
  2. 2024Benchmarks as Microscopes: A Call for Model Metrologycited by 33
  3. 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
  4. 2024Natural Language Outlines for Code: Literate Programming in the LLM Eracited by 9
  5. 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generationcited by 6
  6. 2025Diverse Inference and Verification for Advanced Reasoningcited by 6
  7. 2026Faithful Autoformalization via Roundtrip Verification and Repaircited by 6
  8. 2026Can AI Be a Good Peer Reviewer? A Survey of Peer Review Process, Evaluation, and the Futurecited by 6
  9. 2024Code Hallucinationcited by 5
  10. 2026Can LLMs Compress (and Decompress)? Evaluating Code Understanding and Execution via Invertibilitycited by 4
  11. 2024Envisioning the Next-Generation AI Coding Assistants: Insights & Proposalscited by 2
  12. 2025AI4Contracts: LLM & RAG-Powered Encoding of Financial Derivative Contractscited by 2
11 more
  1. 2024Tadashi: Enabling AI-Based Automated Code Generation With Guaranteed Correctnesscited by 1
  2. 2025EVALOOOP: A Self-Consistency-Centered Framework for Assessing Large Language Model Robustness in Programmingcited by 1
  3. 2025Round-trip Reinforcement Learning: Self-Consistent Training for Better Chemical LLMscited by 1
  4. 2026Round-Trip Translation Reveals What Frontier Multilingual Benchmarks Misscited by 1
  5. 2025ML For Hardware Design Interpretability: Challenges and Opportunitiescited by 0
  6. 2026BatCoder: Self-Supervised Bidirectional Code-Documentation Learning via Back-Translationcited by 0
  7. 2026Neurosymbolic Auditing of Natural-Language Software Requirementscited by 0
  8. 2026Agent Gym: A Framework for Continuous Evaluation and Evolution of LLM Agents Through Human-in-the-Loop Feedbackcited by 0
  9. 2026T-GADE: Thermodynamical Generative-AI-Driven Evolution of LLM Artifactscited by 0
  10. 2026The Communication Bottleneck: A Round-Trip Study of Tree-Structured Expression Serialization in Language Modelscited by 0
  11. 2026Risk-Controlled Selective LLM Answering by Pricing Label-Free Checkscited by 0