面向量子软件的非功能需求到超参数翻译:基于大语言模型的方法
Non-Functional Requirements to Hyperparameter Translation for Quantum Software via LLMs
Joseph G. Bronyah, Nasir U. Eisty
AI 速读 基于摘要
作者用540条合成与18条真实用户故事评测七种大语言模型,将自然语言非功能需求翻译为量子程序执行参数,并与确定性启发式基线比较语义准确率与执行结果。
cs.SE
查看原文摘要
Quantum software engineering (QSE) lacks validated approaches for translating natural-language non-functional requirements (NFRs) into execution parameters such as shots and transpiler optimization levels. Existing methods emphasize semantic similarity rather than execution outcomes. We evaluate seven large language models (LLMs) against a deterministic heuristic baseline using 540 synthetic and 18 real-world user stories. We assess semantic accuracy and execution outcomes, including time, cost, top-state probability, and two-qubit gate exposure, through Qiskit/Aer simulations. All LLMs significantly outperformed the heuristic in semantic accuracy, achieving 55.6 to 83.3 percent on real-world stories compared to 16.7 percent for the heuristic. However, no LLM demonstrated statistically significant superiority over others on the real-world dataset. Speed- and cost-oriented configurations reduced execution time and cost, but fidelity improvements were not supported. Some failures resulted from provider safety refusals rather than translation errors. Our findings demonstrate the potential of LLMs as middleware for NFR-to-configuration translation in QSE, while emphasizing execution-based validation, human oversight, and careful interpretation of model differences.