paper-with-me

Papers

Beyond BLEU: A Semantic Evaluation Method for Code Translation

2026-05-06 · Julius Näumann, Sven Keidel, Amir Molzam Sharifloo, Mira Mezini arxiv

Code translation is one of the core capabilities of LLMs. However, evaluating the correctness of translations remains difficult, as commonly used metrics such as BLEU measure only syntactic similarity, disregarding program semantics. We propose a novel evaluation methodology for code translation tasks, emphasizing semantic equivalence over surface-level string similarity. Our approach applies established compiler testing methodology to a new domain, allowing the assessment of an LLM fine-tuned for binary lifting tasks (i.e. decompiling binaries to higher-level representations). We introduce a semantic correctness score, defined as the proportion of translations that produce correct execution outcomes, and demonstrate its application by evaluating LLM-based and heuristic decompilers. Our findings show that LLM-based approaches significantly outperform heuristic ones, while BLEU scores show negligible correlation with semantic correctness (r = -0.127 to 0.354), demonstrating that syntactic metrics fail to predict functional accuracy.

📄 PDF Abstract BibTeX arXiv:2605.05282

Code (0)

등록된 구현이 없습니다.

Tasks

Code Translation

Similar Papers 제목 키워드 기반

Beyond BLEU:Training Neural Machine Translation with Semantic Similarity

2019-07-01 · ACL 2019 7 · John Wieting, Taylor Berg-Kirkpatrick, Kevin Gimpel, Graham Neubig

While most neural machine translation (NMT)systems are still trained using maximum likelihood estimation, recent work has demonstrated that optimizing systems to directly improve evaluation metrics such as BLEU can signi…

DiversityMachine TranslationNMTSemantic Similarity+2

Beyond BLEU: Training Neural Machine Translation with Semantic Similarity

2019-09-14 · John Wieting, Taylor Berg-Kirkpatrick, Kevin Gimpel, Graham Neubig

While most neural machine translation (NMT) systems are still trained using maximum likelihood estimation, recent work has demonstrated that optimizing systems to directly improve evaluation metrics such as BLEU can subs…

DiversityMachine TranslationNMTSemantic Similarity+2

Does BLEU Score Work for Code Migration?

2019-06-12 · Ngoc Tran, Hieu Tran, Son Nguyen, Hoan Nguyen 외

Statistical machine translation (SMT) is a fast-growing sub-field of computational linguistics. Until now, the most popular automatic metric to measure the quality of SMT is BiLingual Evaluation Understudy (BLEU) score. …

Machine TranslationTranslation

CodeBLEU: a Method for Automatic Evaluation of Code Synthesis

2020-09-22 · Shuo Ren, Daya Guo, Shuai Lu, Long Zhou 외

Evaluation metrics play a vital role in the growth of an area as it defines the standard of distinguishing between good and bad models. In the area of code synthesis, the commonly used evaluation metric is BLEU or perfec…

Code TranslationTranslation

A Critical Study of Automatic Evaluation in Sign Language Translation

2025-10-29 · Shakib Yazdani, Yasser Hamidullah, Cristina España-Bonet, Eleftherios Avramidis 외 arxiv

Automatic evaluation metrics are crucial for advancing sign language translation (SLT). Current SLT evaluation metrics, such as BLEU and ROUGE, are only text-based, and it remains unclear to what extent text-based metric…

Sign Language Translation