ORSMT: Unleashing the Potential of Satisfiability Modulo Theories for Semantic Verification and Repair in LLM-Based Optimization
Rui Zhang, Chenyu Zhou, Jianghao Lin, Yaoxin Wu, Dongdong Ge, Wen Song
Key points
From the paper's conclusion- A separate one-round source revision followed by exact reconstruction restores a model-code match for 84.4% of the refuted pairs.
Abstract
Large language models increasingly automate optimization modeling from natural language problems, producing written mathematics, solver code and a returned report. Verifying one optimization problem across these artifacts requires semantic comparison: unequal models can attain the same objective, equivalent models can use different auxiliary variables, and mutually consistent artifacts can omit the same source requirement. ORSMT provides a typed semantic interface and exact SMT relation queries. It aligns observable decisions, projects auxiliary variables, proves or refutes feasible region and objective relations, localizes refutations to implicated rows or domains and links source texts when available. It then reconstructs one artifact from another, and each adopted candidate passes the required relation checks. Across 3,034 problems and six generator sizes, ORSMT improves the model-code match rate in all 72 benchmark and generator combinations before selection. Protected selection raises the aggregate rate from 43.2% to 88.2% and the share that are both correct and matched from 25.2% to 40.2%. On the 1,905 refuted outputs, certified voting under the shared fallback makes 50.9% of outputs correct and matched, compared with 44.8% for ReLoop and 49.4% for Opt-Verifier. A separate one-round source revision followed by exact reconstruction restores a model-code match for 84.4% of the refuted pairs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SOVER: Formal Certification of Optimization Reformulations via LLM-Assisted SMT VerificationarXiv · 2026
- SemOPT: Fixing Semantic Errors in LLM-based Optimization Modeling via Reward-Guided SearcharXiv · 2026
- VERAS: Verification-Guided Adaptive Search for Reliable Operations ResearcharXiv · 2026
- Validating Optimizing SMT Solvers via Cross-Theory ApproximationProceedings of the ACM on Programming Languages · 2026
- Learning from Mutants: Teaching Small Language Models to Synthesise Loop InvariantsarXiv · 2026
- From Sorry to QED: Refining LLM Math Proofs via Angelic ExecutionarXiv · 2026