arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.01090cs.AI
收藏

硬约束与软生成交汇:为基于LLM的组合优化保证可行性

Hard Constraints Meet Soft Generation: Guaranteed Feasibility for LLM-based Combinatorial Optimization

Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Alibaba Group(阿里巴巴集团)

Yang Liu, Chuan Zhou, Yancheng Chen, Shuai Zhang, Xixun Lin, Xiaoqing Wang

AI总结:

FALCON通过语法约束解码、可行性修复层和自适应Best-of-N采样,确保基于LLM的组合优化求解器的100%可行性并保持高质量解。

摘要:

大型语言模型(LLMs)已涌现出作为组合优化(CO)的有前景的通用求解器,但它们本质上缺乏保证解可行性的机制,这对于实际应用至关重要。在本工作中,我们引入了FALCON框架,通过三个关键创新确保100%的可行性:(i)语法约束解码强制语法有效性,(ii)一个可行性修复层纠正语义约束违规,(iii)自适应的Best-of-N采样高效分配推理计算。为了训练底层LLM,我们引入了Best-anchored Objective-guided Preference Optimization(BOPO)在LLM训练中,通过其目标间隙加权偏好对,提供密集监督而无需人工标签。理论上,我们证明了BOPO的收敛性,并提供了修复引起的质量损失的界限。经验上,跨七个NP难的CO问题,FALCON实现了完美的可行性,同时匹配或超过最先进的神经网络和基于LLM的求解器的解质量。

英文摘要:

Large language models (LLMs) have emerged as promising general-purpose solvers for combinatorial optimization (CO), yet they fundamentally lack mechanisms to guarantee solution feasibility which is critical for real-world deployment. In this work, we introduce FALCON, a framework that ensures 100\% feasibility through three key innovations: (i) \emph{grammar-constrained decoding} enforces syntactic validity, (ii) a \emph{feasibility repair layer} corrects semantic constraint violations, and (iii) \emph{adaptive Best-of-$N$ sampling} allocates inference compute efficiently. To train the underlying LLM, we introduce the Best-anchored Objective-guided Preference Optimization (BOPO) in LLM training, which weights preference pairs by their objective gap, providing dense supervision without human labels. Theoretically, we prove convergence for BOPO and provide bounds on repair-induced quality loss. Empirically, across seven NP-hard CO problems, FALCON achieves perfect feasibility while matching or exceeding the solution quality of state-of-the-art neural and LLM-based solvers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑