Aligning LLMs with Graph Neural Solvers for Combinatorial Optimization

arXiv cs.AI / 3/31/2026

💬 OpinionSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper argues that while LLMs can solve combinatorial optimization problems (COPs) via natural-language representations, they often fail to capture complex relational structure needed for larger instances.
  • It introduces AlignOPT, which aligns LLM semantic encodings of COP descriptions and instances with graph neural solvers that explicitly model the graph structure of COP instances.
  • The method aims to integrate linguistic semantics and structural representations to produce a more generalizable neural heuristic for COP.
  • Experiments report state-of-the-art performance across multiple COP types and instances, with evidence of strong generalization to previously unseen problem instances.

Abstract

Recent research has demonstrated the effectiveness of large language models (LLMs) in solving combinatorial optimization problems (COPs) by representing tasks and instances in natural language. However, purely language-based approaches struggle to accurately capture complex relational structures inherent in many COPs, rendering them less effective at addressing medium-sized or larger instances. To address these limitations, we propose AlignOPT, a novel approach that aligns LLMs with graph neural solvers to learn a more generalizable neural COP heuristic. Specifically, AlignOPT leverages the semantic understanding capabilities of LLMs to encode textual descriptions of COPs and their instances, while concurrently exploiting graph neural solvers to explicitly model the underlying graph structures of COP instances. Our approach facilitates a robust integration and alignment between linguistic semantics and structural representations, enabling more accurate and scalable COP solutions. Experimental results demonstrate that AlignOPT achieves state-of-the-art results across diverse COPs, underscoring its effectiveness in aligning semantic and structural representations. In particular, AlignOPT demonstrates strong generalization, effectively extending to previously unseen COP instances.