MATCH: Task-Driven Code Evaluation through Contrastive Learning
Not on the map. Why?
Abstract (arXiv)
AI-based code generation is increasingly prevalent, with GitHub Copilot estimated to generate 46% of the code on GitHub. Accurately evaluating how well generated code aligns with developer intent remains a critical challenge. Traditional evaluation methods, such as unit tests, are often unscalable and costly. Syntactic similarity metrics (e.g., BLEU, ROUGE) fail to capture code functionality, and metrics like CodeBERTScore require reference code, which is not always available. To address the gap in reference-free evaluation, with few alternatives such as ICE-Score, this paper introduces MATCH, a novel reference-free metric. MATCH uses Contrastive Learning to generate meaningful embeddings for code and natural language task descriptions, enabling similarity scoring that reflects how well generated code implements the task. We show that MATCH achieves stronger correlations with functional correctness and human preference than existing metrics across multiple programming languages.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 15 of its 29 references that are in the map. First posted on arXiv 27 Oct 2025.
Builds on
15 of 29 references.
References · 15
- 2017Attention Is All You Needcited by 59,932
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
- 2022DocPrompting: Generating Code by Retrieving the Docscited by 151
- 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
- 2020Contrastive Code Representation Learningcited by 76
- 2023CodeScore: Evaluating Code Generation by Learning Code Executioncited by 66
- 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 65
3 more
- 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 50
- 2019Does BLEU Score Work for Code Migration?cited by 49
- 2024Scaling Granite Code Models to 128K Contextcited by 9
Built on by
Citing papers per year: 2025: 1.
1 paper.