Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Can NMT Understand Me? Towards Perturbation-based Evaluation of NMT Models for Code Generation (2203.15319v2)

Published 29 Mar 2022 in cs.CL, cs.LG, and cs.SE

Abstract: 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (6)
  1. Pietro Liguori (24 papers)
  2. Cristina Improta (9 papers)
  3. Simona De Vivo (1 paper)
  4. Roberto Natella (42 papers)
  5. Bojan Cukic (8 papers)
  6. Domenico Cotroneo (36 papers)
Citations (4)