SUT: Active Defects Probing for Transcompiler Models
Not on the map. Why?
Abstract (arXiv)
Automatic Program translation has enormous application value and hence has been attracting significant interest from AI researchers. However, we observe that current program translation models still make elementary syntax errors, particularly, when the target language does not have syntax elements in the source language. Metrics like BLUE, CodeBLUE and computation accuracy may not expose these issues. In this paper we introduce a new metrics for programming language translation and these metrics address these basic syntax errors. We develop a novel active defects probing suite called Syntactic Unit Tests (SUT) which includes a highly interpretable evaluation harness for accuracy and test scoring. Experiments have shown that even powerful models like ChatGPT still make mistakes on these basic unit tests. Specifically, compared to previous program translation task evaluation dataset, its pass rate on our unit tests has decreased by 26.15%. Further our evaluation harness reveal syntactic element errors in which these models exhibit deficiencies.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 12 of its 19 references that are in the map. First posted on arXiv 22 Oct 2023.
Builds on
12 of 19 references.
References · 12
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2021Unified Pre-training for Program Understanding and Generationcited by 361
- 2020Unsupervised Translation of Programming Languagescited by 262
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
- 2020PyMT5: multi-mode translation of natural language and Python code with transformerscited by 80
- 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
- 2021AVATAR: A Parallel Corpus for Java-Python Program Translationcited by 59
- 2022XLCoST: A Benchmark Dataset for Cross-lingual Code Intelligencecited by 54
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026ORCA: Evaluating LLMs on Data Science Code Translationcited by 0
- 2026ORCA: Evaluating LLMs on Data Science Code Translation25 Sep 2026