Please use this identifier to cite or link to this item:
http://hdl.handle.net/10397/99838
| Title: | SelfAPR : self-supervised program repair with test execution diagnostics | Authors: | Ye, H Martinez, M Luo, X Zhang, T Monperrus, M |
Issue Date: | 5-Jan-2023 | Source: | ASE '22: Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering, Rochester MI USA, October 10 - 14, 2022, Article No. 92 | Abstract: | Learning-based program repair has achieved good results in a recent series of papers. Yet, we observe that the related work fails to repair some bugs because of a lack of knowledge about 1) the application domain of the program being repaired, and 2) the fault type being repaired. In this paper, we solve both problems by changing the learning paradigm from supervised training to self-supervised training in an approach called SelfAPR. First, SelfAPR generates training samples on disk by perturbing a previous version of the program being repaired, enforcing the neural model to capture project-specific knowledge. This is different from the previous work based on mined past commits. Second, SelfAPR executes all training samples and extracts and encodes test execution diagnostics into the input representation, steering the neural model to fix the kind of fault. This is different from the existing studies that only consider static source code as input. We implement SelfAPR and evaluate it in a systematic manner. We generate 1 039 873 training samples obtained by perturbing 17 open-source projects. We evaluate SelfAPR on 818 bugs from Defects4J, SelfAPR correctly repairs 110 of them, outperforming all the supervised learning repair approaches. | Publisher: | Association for Computing Machinery | ISBN: | 978-1-4503-9475-8 | DOI: | 10.1145/3551349.3556926 | Description: | ASE '22: 37th IEEE/ACM International Conference on Automated Software Engineering, October 10 - 14, 2022, Rochester MI USA | Rights: | © 2022 Copyright held by the owner/author(s). This work is licensed under a Creative Commons Attribution International 4.0 License. The following Ye, H., Martinez, M., Luo, X., Zhang, T., & Monperrus, M. (2022, October). Selfapr: Self-supervised program repair with test execution diagnostics. In Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering is available at https://doi.org/10.1145/3551349.3556926. |
| Appears in Collections: | Conference Paper |
Files in This Item:
| File | Description | Size | Format | |
|---|---|---|---|---|
| 3551349.3556926.pdf | 1.24 MB | Adobe PDF | View/Open |
Page views
172
Last Week
11
11
Last month
Citations as of Nov 9, 2025
Downloads
81
Citations as of Nov 9, 2025
SCOPUSTM
Citations
63
Citations as of Dec 19, 2025
WEB OF SCIENCETM
Citations
47
Citations as of Dec 18, 2025
Google ScholarTM
Check
Altmetric
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.



