QIMIG: A Quantum-Inspired Evolutionary Framework for Software Library Migration
Authors:
Open Access
- 1 January 2026
- journal article
- Published by Tech Science Press in Computers, Materials & Continua
- Vol. 88 (3) , 1-10
Abstract
Automated library migration reduces refactoring costs but challenges traditional evolutionary algorithms, which often suffer from premature convergence and poor recall in sparse, complex API mapping spaces. To address this, we propose QIMIG, a multi-objective optimization framework integrating quantum-inspired encoding with quality-aware and greedy heuristic filtering. QIMIG utilizes a probabilistic Q-bit representation to maintain population diversity and avoid local optima. Simultaneously, its heuristic components leverage historical usage context to filter semantic noise and guide the search toward valid mappings. Evaluated on 9 real-world migration rules derived from 57,447 open-source projects, QIMIG statistically significantly outperforms state-of-the-art baselines such as UNSGA-III. The framework achieves a global mean F1-score of 0.92, exceeding the best-performing baseline by an absolute margin of 0.05, and demonstrates strong stability in resolving complex mapping structures.Keywords
This publication has 8 references indexed in Scilit:
- A quantum-inspired, biomimetic, and fractal framework for self-healing AI code generation: bridging responsible automation and emergent intelligenceFrontiers in Artificial Intelligence, 2025
- Third-party software library migration at the method-level using multi-objective evolutionary searchSwarm and Evolutionary Computation, 2023
- Quantum algorithm for solving the test suite minimization problemCogent Engineering, 2021
- A genetic algorithm-based approach for automated refactoring of component-based softwareInformation and Software Technology, 2017
- Do developers update their library dependencies?Empirical Software Engineering, 2017
- Quantum-inspired evolutionary algorithm for a class of combinatorial optimizationIEEE Transactions on Evolutionary Computation, 2002
- Search-based software engineeringInformation and Software Technology, 2001
- Individual Comparisons by Ranking MethodsBiometrics Bulletin, 1945