用图结构先验提升大模型求解组合优化问题的效率与质量
STRCMP: Integrating Graph Structural Priors with Language Models for Combinatorial Optimization
- 结合图神经网络提取问题结构特征,引导大模型生成高质量求解代码
- 在9个基准数据集上超越5种主流方法,解的质量和效率显著提升
- 适合研究组合优化、大模型应用或算法自动设计的开发者参考
组合优化(CO)问题因其NP-hard特性,在运筹学与理论计算机科学中面临巨大计算挑战。尽管大语言模型(LLMs)在求解CO方面展现出潜力——或直接生成解,或编写特定求解器代码——但现有方法常忽视CO问题内在的结构先验,导致解的质量低下且迭代效率不高。受人类专家利用问题结构设计算法的启发,我们提出STRCMP,一种结构感知的基于大模型的算法发现框架,系统性地融合结构先验以提升解的质量与求解效率。该框架将图神经网络(GNN)用于从CO实例中提取结构嵌入,并基于这些嵌入条件化大模型,生成具有高绩效的求解器专用代码。这种复合架构保证了语法正确性,保留问题拓扑,且与自然语言目标对齐;同时通过进化精炼过程迭代优化生成的算法。在混合整数线性规划与布尔可满足性问题上,使用九个基准数据集的广泛评估表明,STRCMP在解的最优性和计算效率方面均大幅优于五种强基线神经与大模型方法。论文接受后,代码与训练模型将公开。
原文摘要 · Abstract (English)
Combinatorial optimization (CO) problems, central to operation research and theoretical computer science, present significant computational challenges due to their NP-hard nature. While large language models (LLMs) have emerged as promising tools for CO--either by directly generating solutions or synthesizing solver-specific codes--existing approaches often neglect critical structural priors inherent to CO problems, leading to suboptimality and iterative inefficiency. Inspired by human experts' success in leveraging CO structures for algorithm design, we propose STRCMP, a novel structure-aware LLM-based algorithm discovery framework that systematically integrates structure priors to enhance solution quality and solving efficiency. Our framework combines a graph neural network (GNN) for extracting structural embeddings from CO instances with an LLM conditioned on these embeddings to identify high-performing algorithms in the form of solver-specific codes. This composite architecture ensures syntactic correctness, preserves problem topology, and aligns with natural language objectives, while an evolutionary refinement process iteratively optimizes generated algorithm. Extensive evaluations across Mixed Integer Linear Programming and Boolean Satisfiability problems, using nine benchmark datasets, demonstrate that our proposed STRCMP outperforms five strong neural and LLM-based methods by a large margin, in terms of both solution optimality and computational efficiency. The code and learned model will be publicly available upon the acceptance of the paper.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。