Litcius/Paper detail

Hyperparameter Optimization for AST Differencing

Matías Martínez, Jean‐Rémy Falleri, Martin Monperrus

2023IEEE Transactions on Software Engineering13 citationsDOIOpen Access PDF

Abstract

Computing the differences between two versions of the same program is an essential task for software development and software evolution research. AST differencing is the most advanced way of doing so, and an active research area. Yet, AST differencing algorithms rely on configuration parameters that may have a strong impact on their effectiveness. In this paper, we present a novel approach named <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">DAT</monospace> (D <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">iff <u>A</u>uto <u>T</u>uning</i> ) for hyperparameter optimization of AST differencing. We thoroughly state the problem of hyper-configuration for AST differencing. We evaluate our data-driven approach <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">DAT</monospace> to optimize the edit-scripts generated by the state-of-the-art AST differencing algorithm named GumTree in different scenarios. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">DAT</monospace> is able to find a new configuration for GumTree that improves the edit-scripts in 21.8% of the evaluated cases.

Topics & Concepts

Scripting languageComputer scienceHyperparameterSoftwareTask (project management)Artificial intelligenceAlgorithmProgramming languageEconomicsManagementSoftware Engineering ResearchSoftware Testing and Debugging TechniquesEvolutionary Algorithms and Applications
Hyperparameter Optimization for AST Differencing | Litcius