ASTOR: Benchmarking and Improving Autoformulation for Soft-Constraint Optimization with a Formal Grammar

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.

Link
https://www.semanticscholar.org/paper/380bd6e4e1809f1c2c558723fba7b3659d707122
Found by
Semantic Scholar
Authors
Amer Goel, Yeganeh Alimohammadi, Andrew Daw
Categories
benchmark, agentic
Published
2026-10-19
Last seen by the radar
2026-10-21
Citations
0
Influential citations
0
Radar score
35.50 / 100 (how it is scored)
Why it scored so
Matched: agent~benchmarks, benchmark; Primary record: Semantic Scholar
Related links
https://arxiv.org/abs/2610.26819
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar