Reproduce “Unsupervised Evaluation of Code LLMs with Round-Trip Correctness” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Miltiadis Allamanis, Sheena Panthaplackel, Pengcheng Yin
Google DeepMind researchers introduce Round-Trip Correctness (RTC), an unsupervised evaluation method for Code LLMs that eliminates the need for human-annotated benchmarks. RTC achieves strong correlation with traditional metrics like pass@k on existing datasets while enabling performance assessment across a significantly broader range of real-world software domains and tasks like code editing.
Key insights
- The core idea of self-verifying a model's understanding through a 'round-trip' (forward and inverse tasks) can provide unsupervised evaluation of semantic correctness.
- Introducing 'forward lift' helps measure if the forward task (e.g., generating a description) genuinely contributes helpful information for the backward task.
- LLMs exhibit highly varied performance across different real-world software domains, underscoring the limitations of narrow-domain benchmarks.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.