Research map / Large language models / Language, safety and interpretability
CodeBERTScore: Evaluating Code Generation with Pretrained Models of Code
Shuyan Zhou, Uri Alon, Sumit Agarwal, Graham Neubig
Carnegie Mellon University · Google DeepMind
Read the paperPlace an idea next to itCheck your own paper ↗
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use CodeBERTScore instead of best baseline chrF | metric comparison · CoNaLa human preference | Kendall-Tau: 0.470 -> 0.517 | Improved |
| use CodeBERTScore instead of best baseline METEOR | metric comparison · HumanEval functional correctness (Java) | Kendall-Tau: 0.558 -> 0.553 | No clear effect |
| use CodeBERTScore instead of METEOR | metric comparison · HumanEval functional correctness (C++) | Kendall-Tau: 0.301 -> 0.327 | Improved |
| use CodeBERTScore instead of METEOR | metric comparison · HumanEval functional correctness (Python) | Kendall-Tau: 0.418 -> 0.422 | Improved |
| use CodeBERTScore instead of METEOR | metric comparison · HumanEval functional correctness (JavaScript) | Kendall-Tau: 0.324 -> 0.319 | Hurt |
| encode natural language context with the code (ablation) | CodeBERTScore · development sets | Kendall-Tau: 0.50 -> 0.52 | Improved |
| use language-specific pretrained model instead of CodeBERT-base (ablation) | CodeBERTScore · HumanEval / CoNaLa dev sets | correlation | Mixed |
| use deeper encoder layer (ablation) | CodeBERTScore · HumanEval dev set | correlation | Mixed |
| use CodeBERTScore over CrystalBLEU for distinguishability | metric comparison · ShareCode (Java) | distinguishability: 5.96 -> 9.56 | Improved |
| use CodeBERTScore over CrystalBLEU for distinguishability | metric comparison · ShareCode (C++) | distinguishability: 6.94 -> 9.13 | Improved |
| exponentiate CodeBERTScore output by k | CodeBERTScore · ShareCode distinguishability | distinguishability: 5.96 (CrystalBLEU) vs 120,000 for a crafted variant | Improved |
Later papers that compared with this method
1 later accepted paper reports CodeBERTScore as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- MATCH: Task-Driven Code Evaluation through Contrastive Learning (EMNLP 2025 · better on 6 of 6 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.
Closest papers by meaning
- CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation (EMNLP 2021 · similarity 0.89)
- CodeBERT: A Pre-Trained Model for Programming and Natural Languages (EMNLP 2020 · similarity 0.89)
- Retrieval-Based Neural Code Generation (EMNLP 2018 · similarity 0.89)
- CodeSteer: Symbolic-Augmented Language Models via Code/Text Guidance (ICML 2025 · similarity 0.87)
- Copilot Arena: A Platform for Code LLM Evaluation in the Wild (ICML 2025 · similarity 0.87)
- Unsupervised Evaluation of Code LLMs with Round-Trip Correctness (ICML 2024 · similarity 0.87)
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.
