ASTOR: Benchmarking and Improving Autoformulation for Soft-Constraint Optimization with a Formal Grammar
Not on the map. Why?
Abstract (arXiv)
Real-world decision problems combine two qualitatively different kinds of constraints: requirements that must be satisfied, called hard constraints, and preferences that can be violated, called soft constraints. Because these problems are often posed to decision-makers in natural language, large language models offer a natural tool for assisting with their solution. This has given rise to autoformulation, which focuses on using LLMs to translate natural-language descriptions of decision problems into executable mathematical optimization models. However, this research often neglects soft constraints like those proposed by consumers, managers, and planners, despite the fact that many practical problems require modeling them explicitly. We introduce ASTOR, an inference-time framework that maps a natural-language decision problem to a grammar-guided abstract syntax tree (AST) before deterministically compiling the resulting representation into executable optimization code. We also introduce SoftOR, a unified benchmark of natural language problems which focuses on soft constraint formulations. On SoftOR, ASTOR achieves the best aggregate accuracy among comparable single-request and multi-agent LLM methods while remaining competitive on standard autoformulation benchmarks that include only hard constraints. Code and data are available at https://anonymous.4open.science/r/astor-softor-iclr-E34C/README.md.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 20 of its 45 references that are in the map. Submitted 19 Oct 2026.
Builds on
20 of 45 references.
References · 20
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
- 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 412
- 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 147
- 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 137
- 2024OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Modelscited by 120
- 2024LLMOPT: Learning to Define and Solve General Optimization Problems from Scratchcited by 112
- 2024LLMs for Mathematical Modeling: Towards Bridging the Gap between Natural and Mathematical Languagescited by 60
- 2025OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modelingcited by 57
- 2024SeaKR: Self-aware Knowledge Retrieval for Adaptive Retrieval Augmented Generationcited by 44
- 2024AST-T5: Structure-Aware Pretraining for Code Generation and Understandingcited by 37
- 2024Towards Foundation Models for Mixed Integer Linear Programmingcited by 33
- 2025A Survey of Optimization Modeling Meets LLMs: Progress and Future Directionscited by 33
8 more
- 2022AST-Probe: Recovering abstract syntax trees from hidden representations of pre-trained language modelscited by 18
- 2025COMPASS: Benchmarking Constrained Optimization in LLM Agentscited by 14
- 2025SAC-Opt: Semantic Anchors for Iterative Correction in Optimization Modelingcited by 10
- 2025LearNAT: Learning NL2SQL with AST-guided Task Decomposition for Large Language Modelscited by 9
- 2026NL2LOGIC: AST-Guided Translation of Natural Language into First-Order Logic with Large Language Modelscited by 9
- 2026NEMO: Execution-Aware Optimization Modeling via Autonomous Coding Agentscited by 8
- 2026Opt-Verifier: Unleashing the Power of LLMs for Optimization Modeling via Dual-Side Verificationcited by 8
- 2022MIST: a Large-Scale Annotated Resource and Neural Models for Functions of Modal Verbs in English Scientific Textcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
- 2026Harnessing Language Models as Optimization Modeling Agents
- 2025Large Language Model-Based Automatic Formulation for Stochastic Optimization Models
- 2026ConstraintBench: Benchmarking LLM Constraint Reasoning on Direct Optimization
- 2026OPT-Engine: Benchmarking the Limits of LLMs in Optimization Modeling via Complexity Scaling
- 2026Constraint Reasoning and Large Language Models Join Forces: Providing Contrastive Explanations for Real-World Optimisation-Based Applications
- 2025Learn to Relax with Large Language Models: Solving Constraint Optimization Problems via Bidirectional Coevolution
- 2026IR2Solve: Structured Intermediate Representations for Cost-Efficient Optimization Autoformulation