TY - GEN
T1 - Digging into Semantics
T2 - 17th International Conference on Parallel Problem Solving from Nature, PPSN 2022
AU - Ahmad, Hammad
AU - Cashin, Padriac
AU - Forrest, Stephanie
AU - Weimer, Westley
N1 - Funding Information:
Acknowledgements. We gratefully acknowledge the partial support of the NSF (CCF 2211749, 2141300, 1763674, 1908633, and CICI 2115075), DARPA (N6600120C4020, FA8750-19C-0003, HR001119S0089-AMP-FP-029), and AFRL (FA8750-19-1-0501).
Publisher Copyright:
© 2022, The Author(s), under exclusive license to Springer Nature Switzerland AG.
PY - 2022
Y1 - 2022
N2 - Search-based methods are a popular approach for automatically repairing software bugs, a field known as automated program repair (APR). There is increasing interest in empirical evaluation and comparison of different APR methods, typically measured as the rate of successful repairs on benchmark sets of buggy programs. Such evaluations, however, fail to explain why some approaches succeed and others fail. Because these methods typically use syntactic representations, i.e., source code, we know little about how the different methods explore their semantic spaces, which is relevant for assessing repair quality and understanding search dynamics. We propose an automated method based on program semantics, which provides quantitative and qualitative information about different APR search-based techniques. Our approach requires no manual annotation and produces both mathematical and human-understandable insights. In an empirical evaluation of 4 APR tools and 34 defects, we investigate the relationship between search-space exploration, semantic diversity and repair success, examining both the overall picture and how the tools’ search unfolds. Our results suggest that population diversity alone is not sufficient for finding repairs, and that searching in the right place is more important than searching broadly, highlighting future directions for the research community.
AB - Search-based methods are a popular approach for automatically repairing software bugs, a field known as automated program repair (APR). There is increasing interest in empirical evaluation and comparison of different APR methods, typically measured as the rate of successful repairs on benchmark sets of buggy programs. Such evaluations, however, fail to explain why some approaches succeed and others fail. Because these methods typically use syntactic representations, i.e., source code, we know little about how the different methods explore their semantic spaces, which is relevant for assessing repair quality and understanding search dynamics. We propose an automated method based on program semantics, which provides quantitative and qualitative information about different APR search-based techniques. Our approach requires no manual annotation and produces both mathematical and human-understandable insights. In an empirical evaluation of 4 APR tools and 34 defects, we investigate the relationship between search-space exploration, semantic diversity and repair success, examining both the overall picture and how the tools’ search unfolds. Our results suggest that population diversity alone is not sufficient for finding repairs, and that searching in the right place is more important than searching broadly, highlighting future directions for the research community.
KW - Patch diversity
KW - Program repair
KW - Semantic search spaces
UR - http://www.scopus.com/inward/record.url?scp=85137265997&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85137265997&partnerID=8YFLogxK
U2 - 10.1007/978-3-031-14721-0_1
DO - 10.1007/978-3-031-14721-0_1
M3 - Conference contribution
AN - SCOPUS:85137265997
SN - 9783031147203
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 3
EP - 18
BT - Parallel Problem Solving from Nature – PPSN XVII - 17th International Conference, PPSN 2022, Proceedings
A2 - Rudolph, Günter
A2 - Kononova, Anna V.
A2 - Aguirre, Hernán
A2 - Kerschke, Pascal
A2 - Ochoa, Gabriela
A2 - Tušar, Tea
PB - Springer Science and Business Media Deutschland GmbH
Y2 - 10 September 2022 through 14 September 2022
ER -