English

TriVAL: A Tri-Validation Framework for Faithful Automatic Optimization Modeling

Computation and Language 2026-05-26 v1 Artificial Intelligence Systems and Control Systems and Control Combinatorics

Abstract

Optimization modeling serves as the pivotal bridge between natural-language problem descriptions and optimization solvers, and remains a cornerstone for bringing operations research (OR) into real-world decision making. Recent advances in large language models (LLMs) have driven significant progress in automatic optimization modeling. However, existing methods still lack explicit validation during the modeling process, allowing errors introduced in earlier stages to carry through the pipeline and ultimately reduce final modeling accuracy. To address this challenge, we introduce TriVAL, a tri-validation framework that performs explicit validation at three stages of automatic optimization modeling: semantic specification, mathematical formulation, and code generation. At each stage, TriVAL follows a construct-validate-revise loop that assesses the current result against stage-specific criteria and revises it when needed. This design helps identify and correct errors before they accumulate across stages, helping preserve faithfulness throughout the modeling process. To evaluate automatic optimization modeling on more challenging combinatorial problems, we further introduce NL4COP, a benchmark of 150 instances across 50 diverse problem types with more complex decision logic, more tightly coupled constraints, and more demanding modeling requirements than existing benchmarks. Experiments on NL4COP and established benchmarks show that TriVAL consistently outperforms state-ofthe-art methods, with the largest gains on the most challenging problems.

Keywords

Cite

@article{arxiv.2605.23966,
  title  = {TriVAL: A Tri-Validation Framework for Faithful Automatic Optimization Modeling},
  author = {Ziyang Fang and JinXi Wang and Jinghui Zhong and Yew-Soon Ong},
  journal= {arXiv preprint arXiv:2605.23966},
  year   = {2026}
}

Comments

13 pages