Can NMT Understand Me? Towards Perturbation-based Evaluation of NMT Models for Code Generation
Not on the map. Why?
Abstract (arXiv)
Neural Machine Translation (NMT) has reached a level of maturity to be recognized as the premier method for the translation between different languages and aroused interest in different research areas, including software engineering. A key step to validate the robustness of the NMT models consists in evaluating the performance of the models on adversarial inputs, i.e., inputs obtained from the original ones by adding small amounts of perturbation. However, when dealing with the specific task of the code generation (i.e., the generation of code starting from a description in natural language), it has not yet been defined an approach to validate the robustness of the NMT models. In this work, we address the problem by identifying a set of perturbations and metrics tailored for the robustness assessment of such models. We present a preliminary experimental evaluation, showing what type of perturbations affect the model the most and deriving useful insights for future directions.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 36 of its 59 references that are in the map. First posted on arXiv 29 Mar 2022.
Builds on
36 of 59 references.
References · 36
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
- 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
- 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
- 2019Robust Neural Machine Translation with Doubly Adversarial Inputscited by 105
24 more
- 2018NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating Systemcited by 97
- 2017Neural Machine Translation with Extended Contextcited by 95
- 2018Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examplescited by 93
- 2018TRANX: A Transition-based Neural Abstract Syntax Parser for Semantic Parsing and Code Generationcited by 88
- 2018On Adversarial Examples for Character-Level Neural Machine Translationcited by 85
- 2016Latent Predictor Networks for Code Generationcited by 73
- 2019TreeGen: A Tree-Based Transformer Architecture for Code Generationcited by 58
- 2019On Evaluation of Adversarial Perturbations for Sequence-to-Sequence Modelscited by 56
- 2018Robust Text-to-SQL Generation with Execution-Guided Decodingcited by 51
- 2019Does BLEU Score Work for Code Migration?cited by 49
- 2017Exploiting Cross-Sentence Context for Neural Machine Translationcited by 48
- 2018Retrieval-Based Neural Code Generationcited by 41
- 2020Incorporating External Knowledge through Pre-training for Natural Language to Code Generationcited by 36
- 2019Automatic Testing and Improvement of Machine Translationcited by 35
- 2020TF-Coder: Program Synthesis for Tensor Manipulationscited by 27
- 2017How Robust Are Character-Based Word Embeddings in Tagging and MT Against Wrod Scramlbing or Randdm Nouse?cited by 23
- 2021Translation Quality Assessment: A Brief Survey on Manual and Automatic Methodscited by 23
- 2021Shellcode_IA32: A Dataset for Automatic Shellcode Generationcited by 16
- 2018XNMT: The eXtensible Neural Machine Translation Toolkitcited by 14
- 2021On Robustness of Neural Semantic Parserscited by 14
- 2021EVIL: Exploiting Software via Natural Languagecited by 11
- 2020Relevance Transformer: Generating Concise Code Snippets with Relevance Feedbackcited by 6
- 2020Evaluating Neural Machine Comprehension Model Robustness to Noisy Inputs and Adversarial Attackscited by 3
- 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspectivecited by 3
Built on by
Citing papers per year: 2023: 2.
2 papers.