paper-with-me

홈 › Papers

Fix-Filter-Fix: Intuitively Connect Any Models for Effective Bug Fixing

2021-11-01 · EMNLP 2021 11 · Haiwen Hong, Jingfeng Zhang, Yin Zhang, Yao Wan, Yulei Sui

Locating and fixing bugs is a time-consuming task. Most neural machine translation (NMT) based approaches for automatically bug fixing lack generality and do not make full use of the rich information in the source code. In NMT-based bug fixing, we find some predicted code identical to the input buggy code (called unchanged fix) in NMT-based approaches due to high similarity between buggy and fixed code (e.g., the difference may only appear in one particular line). Obviously, unchanged fix is not the correct fix because it is the same as the buggy code that needs to be fixed. Based on these, we propose an intuitive yet effective general framework (called Fix-Filter-Fix or Fˆ3) for bug fixing. Fˆ3 connects models with our filter mechanism to filter out the last model’s unchanged fix to the next. We propose an Fˆ3 theory that can quantitatively and accurately calculate the Fˆ3 lifting effect. To evaluate, we implement the Seq2Seq Transformer (ST) and the AST2Seq Transformer (AT) to form some basic Fˆ3 instances, called Fˆ3_ST+AT and Fˆ3_AT+ST. Comparing them with single model approaches and many model connection baselines across four datasets validates the effectiveness and generality of Fˆ3 and corroborates our findings and methodology.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Bug fixingMachine TranslationNMT

Similar Papers 제목 키워드 기반

Predicting the Performance of Graph Convolutional Networks with Spectral Properties of the Graph Laplacian

2025-08-18 · Shalima Binta Manir, Tim Oates arxiv

A common observation in the Graph Convolutional Network (GCN) literature is that stacking GCN layers may or may not result in better performance on tasks like node classification and edge prediction. We have found empiri…

Node ClassificationTransfer Learning

An efficient dual sampling algorithm with Hamming distance filtration

2017-10-31

Recently, a framework considering RNA sequences and their RNA secondary structures as pairs, led to some information-theoretic perspectives on how the semantics encoded in RNA sequences can be inferred. In this context, …

Filter Pruning via Filters Similarity in Consecutive Layers

2023-04-26 · Xiaorui Wang, Jun Wang, Xin Tang, Peng Gao 외

Filter pruning is widely adopted to compress and accelerate the Convolutional Neural Networks (CNNs), but most previous works ignore the relationship between filters and channels in different layers. Processing each laye…

Generative Attribute Controller With Conditional Filtered Generative Adversarial Networks

2017-07-01 · CVPR 2017 7 · Takuhiro Kaneko, Kaoru Hiramatsu, Kunio Kashino

We present a generative attribute controller (GAC), a novel functionality for generating or editing an image while intuitively controlling large variations of an attribute. This controller is based on a novel generative …

AttributeGenerative Adversarial NetworkImage RetrievalRetrieval

Simultaneous Learning of the Inputs and Parameters in Neural Collaborative Filtering

2022-03-14 · Ramin Raziperchikolaei, Young-joo Chung

Neural network-based collaborative filtering systems focus on designing network architectures to learn better representations while fixing the input to the user/item interaction vectors and/or ID. In this paper, we first…

Collaborative Filtering