Bridging Large Language Models and Optimization: A Unified Framework for Text-attributed Combinatorial Optimization
Xia Jiang, Yaoxin Wu, Yuan Wang, Yingqian Zhang
TL;DR
This paper addresses solving diverse text-attributed combinatorial optimization problems by bridging large language models with a Transformer-based solution generator. It introduces the LNCS framework, which freezes the LLM while the Transformer learns solution construction from LLM-derived embeddings of text descriptions (TAIs). A novel training scheme, conflict gradients erasing reinforcement learning (CGERL), mitigates multi-task gradient conflicts to enable end-to-end learning across multiple COPs. Empirical results across multiple COPs show LNCS achieving state-of-the-art performance among LLM-based approaches and strong generalization to new tasks and sizes, highlighting a practical, unified approach for real-world COP applications.
Abstract
To advance capabilities of large language models (LLMs) in solving combinatorial optimization problems (COPs), this paper presents the Language-based Neural COP Solver (LNCS), a novel framework that is unified for the end-to-end resolution of diverse text-attributed COPs. LNCS leverages LLMs to encode problem instances into a unified semantic space, and integrates their embeddings with a Transformer-based solution generator to produce high-quality solutions. By training the solution generator with conflict-free multi-task reinforcement learning, LNCS effectively enhances LLM performance in tackling COPs of varying types and sizes, achieving state-of-the-art results across diverse problems. Extensive experiments validate the effectiveness and generalizability of the LNCS, highlighting its potential as a unified and practical framework for real-world COP applications.
