Sep 2026· Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
Abstract
This paper presents a novel approach to program code optimization leveraging reinforcement learning (RL). Traditional static code analysis techniques often fall short in achieving optimal performance due to their lack of adaptability and global optimization capabilities. Our proposed system utilizes an RL agent to dynamically adjust code optimization strategies based on observed program behavior and runtime characteristics. The agent learns through trial and error, receiving rewards for improved performance metrics (e.g., execution time, memory usage) and penalties for detrimental changes. The system's adaptive nature allows it to effectively tailor optimization strategies to diverse environments and codebases, potentially surpassing the limitations of static analysis methods. We detail the system architecture, the RL algorithm employed (specifically, a Q-learning variant), and the key components involved in the optimization process. The core claim is the construction of an adaptive system capable of automatically optimizing program code performance based on the running environment and code characteristics. The mechanism utilizes reinforcement learning to adjust optimization strategies based on runtime and performance indicators, achieving self-adaptive optimization. This research explores a new paradigm in code optimization, moving beyond static analysis to a dynamic, learning-based approach.
The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.
Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al.· Information and Software Tec...· 394 citations· ⚡54
This state-of-practice investigation was performed using a literature review followed by a multiple-case study approach and presents how inconsistency between managerial strategies and execution can lead to failure by means of a behavioral framework.
Carmine Giardino, Xiaofeng Wang, P. Abrahamsson· International Conference on...· 175 citations· ⚡19
This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.
Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al.· Empirical Software Engineeri...· 127 citations· ⚡15
It is found that roles of MVPs in startups were not fully aware by entrepreneurs, and entrepreneurs should consider a systematic approach to fully explore the value of MVP, as a multiple facet product (MFP).
Anh Nguyen-Duc, P. Abrahamsson· International Conference on...· 93 citations· ⚡9
It is found that what perceived as biggest challenges by software startups do vary across different life cycle stages, even though its significance decreases when the learning focuses of the startups move from problem to solution and their products mature.
Xiaofeng Wang, Henry Edison, Sohaib Shahid Bajwa et al.· International Conference on...· 62 citations· ⚡6
A comprehensive overview of how enhanced sampling methods are reshaping the field, with a particular focus on the data-driven construction of collective variables, is provided.
Kai Zhu, Enrico Trizio, Jintu Zhang et al.· Chemical Reviews· 58 citations
A weeklong summer workshop brought higher education faculty to campus to explore how AI and machine learning materials can be adapted for their classrooms.