paper-with-me

Papers

CURE: Code-Aware Neural Machine Translation for Automatic Program Repair

2021-02-26 · Nan Jiang, Thibaud Lutellier, Lin Tan

Automatic program repair (APR) is crucial to improve software reliability. Recently, neural machine translation (NMT) techniques have been used to fix software bugs automatically. While promising, these approaches have two major limitations. Their search space often does not contain the correct fix, and their search strategy ignores software knowledge such as strict code syntax. Due to these limitations, existing NMT-based techniques underperform the best template-based approaches. We propose CURE, a new NMT-based APR technique with three major novelties. First, CURE pre-trains a programming language (PL) model on a large software codebase to learn developer-like source code before the APR task. Second, CURE designs a new code-aware search strategy that finds more correct fixes by focusing on compilable patches and patches that are close in length to the buggy code. Finally, CURE uses a subword tokenization technique to generate a smaller search space that contains more correct fixes. Our evaluation on two widely-used benchmarks shows that CURE correctly fixes 57 Defects4J bugs and 26 QuixBugs bugs, outperforming all existing APR techniques on both benchmarks.

📄 PDF Abstract BibTeX arXiv:2103.00073

Code (1)

lin-tan/CURE 공식 구현 pytorch

Tasks

Machine TranslationNMTProgram RepairTranslation

Methods 이 논문이 사용한 방법론

Repair 설명 없음

Similar Papers 제목 키워드 기반

MTee: Open Machine Translation Platform for Estonian Government

2022-06-01 · EAMT 2022 6 · Toms Bergmanis, Marcis Pinnis, Roberts Rozis, Jānis Šlapiņš 외

We present the MTee project - a research initiative funded via an Estonian public procurement to develop machine translation technology that is open-source and free of charge. The MTee project delivered an open-source pl…

Document TranslationGrammatical Error CorrectionMachine TranslationTranslation

Quality-Aware Decoding for Neural Machine Translation

2022-05-02 · NAACL 2022 7 · Patrick Fernandes, António Farinhas, Ricardo Rei, José G. C. de Souza 외

Despite the progress in machine translation quality estimation and evaluation in the last years, decoding in neural machine translation (NMT) is mostly oblivious to this and centers around finding the most probable trans…

Machine TranslationNMTRerankingTranslation

QUARTZ: Quality-Aware Machine Translation

2022-06-01 · EAMT 2022 6 · José G.C. de Souza, Ricardo Rei, Ana C. Farinha, Helena Moniz 외

This paper presents QUARTZ, QUality-AwaRe machine Translation, a project led by Unbabel which aims at developing machine translation systems that are more robust and produce fewer critical errors. With QUARTZ we want to …

Machine TranslationTranslation

A Character-Aware Encoder for Neural Machine Translation

2016-12-01 · COLING 2016 12 · Zhen Yang, Wei Chen, Feng Wang, Bo Xu

This article proposes a novel character-aware neural machine translation (NMT) model that views the input sequences as sequences of characters rather than words. On the use of row convolution (Amodei et al., 2015), the e…

Machine TranslationNMTTranslation

Variance-Aware Machine Translation Test Sets

2021-11-07 · Runzhe Zhan, Xuebo Liu, Derek F. Wong, Lidia S. Chao

We release 70 small and discriminative test sets for machine translation (MT) evaluation called variance-aware test sets (VAT), covering 35 translation directions from WMT16 to WMT20 competitions. VAT is automatically cr…

Machine TranslationTranslation