Self-Guiding Exploration for Combinatorial Problems
Zangir Iklassov, Yali Du, Farkhad Akimov, Martin Takac
TL;DR
The paper tackles the challenge of using large language models to solve combinatorial problems, which are NP-hard and central to logistics and scheduling. It introduces Self-Guiding Exploration (SGE), a general-purpose prompting framework that autonomously generates multiple thought trajectories, decomposes them into subtasks, executes and refines them, and then integrates them into a final solution. Across six CP tasks and various problem sizes, SGE outperforms traditional prompting strategies (CoT, Decomposition, Refine) with a 27.84% improvement in CP optimization and achieves a 2.46% higher accuracy on broader reasoning tasks, with larger gains on more complex problems. The work demonstrates the potential of advanced, autonomous LLM prompting to enhance performance in critical optimization domains, while noting computational cost and model-dependence as areas for future improvement.
Abstract
Large Language Models (LLMs) have become pivotal in addressing reasoning tasks across diverse domains, including arithmetic, commonsense, and symbolic reasoning. They utilize prompting techniques such as Exploration-of-Thought, Decomposition, and Refinement to effectively navigate and solve intricate tasks. Despite these advancements, the application of LLMs to Combinatorial Problems (CPs), known for their NP-hardness and critical roles in logistics and resource management remains underexplored. To address this gap, we introduce a novel prompting strategy: Self-Guiding Exploration (SGE), designed to enhance the performance of solving CPs. SGE operates autonomously, generating multiple thought trajectories for each CP task. It then breaks these trajectories down into actionable subtasks, executes them sequentially, and refines the results to ensure optimal outcomes. We present our research as the first to apply LLMs to a broad range of CPs and demonstrate that SGE outperforms existing prompting strategies by over 27.84% in CP optimization performance. Additionally, SGE achieves a 2.46% higher accuracy over the best existing results in other reasoning tasks (arithmetic, commonsense, and symbolic).
