Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing 2021
DOI: 10.18653/v1/2021.emnlp-main.282
|View full text |Cite
|
Sign up to set email alerts
|

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

Abstract: 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 NMTbased 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… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1

Citation Types

0
2
0

Year Published

2021
2021
2024
2024

Publication Types

Select...
3
2

Relationship

0
5

Authors

Journals

citations
Cited by 5 publications
(2 citation statements)
references
References 18 publications
(17 reference statements)
0
2
0
Order By: Relevance
“…Designing novel training objectives, investigating if such tradeoffs occur, and if they can be mitigated, are all ample avenues for future work. Some particularly interesting training objectives to investigate include ones that model program paths, such as Flow2Vec [68], that leverage contrastive learning such as ContraFlow [69], or approaches that combine multiple models such as Fix-Filter-Fix [70]. However some of these approaches would need INSPECT to be extended.…”
Section: Performance Of Decodersmentioning
confidence: 99%
“…Designing novel training objectives, investigating if such tradeoffs occur, and if they can be mitigated, are all ample avenues for future work. Some particularly interesting training objectives to investigate include ones that model program paths, such as Flow2Vec [68], that leverage contrastive learning such as ContraFlow [69], or approaches that combine multiple models such as Fix-Filter-Fix [70]. However some of these approaches would need INSPECT to be extended.…”
Section: Performance Of Decodersmentioning
confidence: 99%
“…F 3 [21] proposes an intuitive yet effective general framework to concatenate different learners with the filter mechanism to filter out unchanged fixes. Flow2Vec [22] presents a new code embedding approach that preserves interprocedural, context-sensitive and alias-aware value-flows in the low-dimensional vector space to better support subsequent learning tasks. These methods exhibit better feature learning in shared and task-specific representations and achieve better performances than typical MTL methods.…”
Section: Multi-task Learning (Mtl)mentioning
confidence: 99%