Backend
QAOA for Layered Architecture Recovery: Feasibility, Limits, and the Role of Decomposition
arXiv cs.SE0 views
arXiv:2611.09744v1 Announce Type: new Abstract: Layered architecture recovery (LAR) reconstructs a system's architectural layers from its package dependencies, and is defined as a combinatorial optimisation problem solved with classical search. We investigate whether the Quantum Approximate Optimization Algorithm (QAOA) can be applied to LAR, and with what practical limitations. We formulate LAR as a Quadratic Semi-Assignment Problem, transform it into a Quadratic Unconstrained Binary Optimisation (QUBO) problem in which each package is penalised unless it is assigned to exactly one layer, and encode it as an Ising Hamiltonian solved by QAOA. To reach instances beyond the qubit budget of a single circuit, we also apply an impact-guided decomposition that solves the problem as a sequence of smaller sub-problems. We evaluate the approach on three real Java systems ($15$, $18$, and $24$ qubits), studying the effect of circuit depth and sampling budget (RQ1), a comparison with a classical Tabu Search baseline (RQ2), robustness to simulated quantum noise (RQ3), and the decomposition (RQ4). We find that monolithic QAOA is feasible and accurate on the two smaller systems but fails on the $24$-qubit instance, that the sampling budget rather than circuit depth governs its accuracy, and that it is competitive with but does not outperform Tabu Search. Decomposition restores reliable recovery on the $24$-qubit instance, raising the optimal rate from $6.7\%$ to $93.3\%$; its accuracy is governed by the size of each sub-problem and, unlike the monolithic pipeline, improves as the sampling budget is reduced. Our results indicate that, in the current noisy intermediate-scale regime, problem decomposition, rather than larger circuits or more sampling, is the key to applying QAOA to software architecture recovery.
Source:https://arxiv.org/abs/2611.09744PreviousTensorMutation: Learning Weight-Space Mutations of Deep Learning Models on Neural GraphsNextAnimWeb-Bench: Benchmarking Animated Webpage Code Generation from Videos
Related posts
Zero Data Retention Won't Stop Your Own Logs From Leaking Prompts
0dev.to

Building an AI Agent Desktop App with PowerShell, WinForms, and Multi-Provider AI
0dev.to
Can You Upscale a Malfoid AI Portrait for a Poster? Lanczos vs FSRCNN vs Nearest, Measured With a Round-Trip Test
0dev.to
Your redirects file should be append-only. Deleting a redirect is a breaking change.
0dev.to
How We Run FFmpeg, Whisper and Face Detection Entirely on Your Device
0dev.to
![Path Planning and Autonomous Navigation — Ch.11: Towing AMR Navigation [EN]](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyvsxdf311sqylulf87m4.png)
Path Planning and Autonomous Navigation — Ch.11: Towing AMR Navigation [EN]
0dev.to