用大模型自动把自然语言问题转成量子可解的QUBO格式
LLM-QUBO: An End-to-End Framework for Automated QUBO Transformation from Natural Language Problem Descriptions
- 用大模型理解自然语言,自动生成数学表达式
- 混合量子-经典分解法,解决硬件规模限制问题
- 适合想快速上手量子优化的科研与工程人员
量子退火为求解NP难组合优化问题提供了有前景的范式,但其实际应用受到两大挑战制约:将问题描述转化为所需的无约束二次二值优化(QUBO)格式过程复杂且需手动操作,以及当前量子硬件的可扩展性有限。为此,我们提出一种全新的端到端框架LLM-QUBO,自动化完成从问题表述到求解的全流程。该系统利用大语言模型(LLM)解析自然语言,自动生成结构化的数学表示;为克服硬件限制,集成了一种混合量子-经典Benders分解方法,将复杂的主问题分解并压缩为紧凑的QUBO形式,而线性结构的子问题则交由经典求解器处理。通过经典求解器验证生成的QUBO正确性及混合方法的可扩展性,建立可靠的性能基准,证明该框架已具备对接量子硬件的能力。主要贡献在于构建了经典人工智能与量子计算融合的协同计算范式,有效解决了优化问题实用化中的关键障碍。该自动化流程显著降低使用门槛,为量子设备转化为大规模真实世界优化任务的可用加速器提供了可行路径。
原文摘要 · Abstract (English)
Quantum annealing offers a promising paradigm for solving NP-hard combinatorial optimization problems, but its practical application is severely hindered by two challenges: the complex, manual process of translating problem descriptions into the requisite Quadratic Unconstrained Binary Optimization (QUBO) format and the scalability limitations of current quantum hardware. To address these obstacles, we propose a novel end-to-end framework, LLM-QUBO, that automates this entire formulation-to-solution pipeline. Our system leverages a Large Language Model (LLM) to parse natural language, automatically generating a structured mathematical representation. To overcome hardware limitations, we integrate a hybrid quantum-classical Benders' decomposition method. This approach partitions the problem, compiling the combinatorial complex master problem into a compact QUBO format, while delegating linearly structured sub-problems to classical solvers. The correctness of the generated QUBO and the scalability of the hybrid approach are validated using classical solvers, establishing a robust performance baseline and demonstrating the framework's readiness for quantum hardware. Our primary contribution is a synergistic computing paradigm that bridges classical AI and quantum computing, addressing key challenges in the practical application of optimization problem. This automated workflow significantly reduces the barrier to entry, providing a viable pathway to transform quantum devices into accessible accelerators for large-scale, real-world optimization challenges.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。