Opt-Arena: Evaluating, Selecting, and Generating Optimization Modeling Data via Tripartite Graphs
Abstract
Optimization modeling is critical in operations research, as it aims to translate real-world decision problems into solvable mathematical formulations. LLMs are increasingly used to automate this process. However, existing autoformulation datasets often contain structurally redundant instances and provide uneven coverage of constraint types, limiting their utility for model training and evaluation. To address this challenge, we propose Opt-Arena, a data-centric framework for evaluating, selecting, and generating high-quality optimization modeling data. Opt-Arena introduces a novel, fine-grained perspective on dataset structure through a tripartite graph linking problem instances, atomic modeling information (AMI) units, and standardized mathematical constraints. The key component, AMI units, captures individual constraint-related semantic rules shared across instances, making structural repetition and coverage gaps explicit. The resulting measures of structural overlap, coverage, and formulation difficulty guide the selection of compact training and evaluation sets that retain structural diversity, as well as targeted generation that supplements underrepresented modeling structures. Experiments demonstrate that Opt-Arena constructs a compact and structurally comprehensive evaluation benchmark, Opt-Arena Eval, while its data selection and targeted generation improve the sample efficiency and formulation performance of LLMs. The code is released at https://github.com/MIRALab-USTC/Opt-Arena.