COMPASS: Composable Policy-Amortized Structured Search for LLM-Based Optimization Modeling
Not on the map. Why?
Abstract (arXiv)
Large language models offer a promising technique for translating natural-language optimization problems into solver code, but their reliability remains constrained by the quality of template retrieval. While recent structured methods improve over flat prompting through hierarchical taxonomy search, their traversal rules remain fixed or LLM-driven at inference time, leaving retrieval unable to improve from past successes and failures. This motivates treating template retrieval as a policy that can be learned from modeling experience, rather than as a static inference-time rule. We propose COMPASS, a policy-amortized framework for retrieving optimization templates in LLM-based solver modeling, which represents the template library as a directed acyclic graph and formulates retrieval as a sequential decision process over template nodes. A deep Q-network learns a reusable traversal policy from template-level judgments and execution feedback, reducing reliance on fixed heuristic traversal through feedback-driven graph navigation. To support extensible retrieval, COMPASS embeds problem descriptions and template nodes in a shared semantic space, allowing newly inserted templates to be scored from their text descriptions without redefining the action space. Experiments across multiple LLM backbones and optimization-modeling benchmarks demonstrate that COMPASS consistently improves over heuristic structured retrieval, with the largest gains on complex and mixed-category problems.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 22 of its 30 references that are in the map. Submitted 9 Nov 2026.
Builds on
22 of 30 references.
References · 22
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 6,016
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,329
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,243
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 2,083
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,978
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,454
- 2023Large Language Models as Optimizerscited by 985
- 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 855
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 706
10 more
- 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 315
- 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 147
- 2025OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modelingcited by 57
- 2024Autoformulation of Mathematical Optimization Models Using LLMscited by 55
- 2024From Exploration to Mastery: Enabling LLMs to Master Tools via Self-Driven Interactionscited by 53
- 2025StepORLM: A Self-Evolving Framework With Generative Process Supervision For Operations Research Language Modelscited by 27
- 2025OptiTree: Hierarchical Thoughts Generation with Tree Search for LLM Optimization Modelingcited by 25
- 2024Learning Evolving Tools for Large Language Modelscited by 20
- 2025HiFo-Prompt: Prompting with Hindsight and Foresight for LLM-based Automatic Heuristic Designcited by 18
- 2025SolverLLM: Leveraging Test-Time Scaling for Optimization Problem via LLM-Guided Searchcited by 14
Built on by
Not cited yet.