AI Paper Atlas

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

EMNLP 2023Large language models › Language, safety and interpretabilityapproach: Controlled text generation258 citations (OpenAlex)

Carnegie Mellon University · Google DeepMind

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
7improved
1no clear effect
1hurt
2mixed

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 changedWhereMeasuredEffect
use CodeBERTScore instead of best baseline chrFmetric comparison · CoNaLa human preferenceKendall-Tau: 0.470 -> 0.517Improved
use CodeBERTScore instead of best baseline METEORmetric comparison · HumanEval functional correctness (Java)Kendall-Tau: 0.558 -> 0.553No clear effect
use CodeBERTScore instead of METEORmetric comparison · HumanEval functional correctness (C++)Kendall-Tau: 0.301 -> 0.327Improved
use CodeBERTScore instead of METEORmetric comparison · HumanEval functional correctness (Python)Kendall-Tau: 0.418 -> 0.422Improved
use CodeBERTScore instead of METEORmetric comparison · HumanEval functional correctness (JavaScript)Kendall-Tau: 0.324 -> 0.319Hurt
encode natural language context with the code (ablation)CodeBERTScore · development setsKendall-Tau: 0.50 -> 0.52Improved
use language-specific pretrained model instead of CodeBERT-base (ablation)CodeBERTScore · HumanEval / CoNaLa dev setscorrelationMixed
use deeper encoder layer (ablation)CodeBERTScore · HumanEval dev setcorrelationMixed
use CodeBERTScore over CrystalBLEU for distinguishabilitymetric comparison · ShareCode (Java)distinguishability: 5.96 -> 9.56Improved
use CodeBERTScore over CrystalBLEU for distinguishabilitymetric comparison · ShareCode (C++)distinguishability: 6.94 -> 9.13Improved
exponentiate CodeBERTScore output by kCodeBERTScore · ShareCode distinguishabilitydistinguishability: 5.96 (CrystalBLEU) vs 120,000 for a crafted variantImproved

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.

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

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy