Ask Before You Optimize: Dynamic Pre-Formulation Clarification for Interactive Optimization
Sihan Ge, Yichen Lin, Chenyu Zhou, Jianghao Lin, Tao Yao, Dongdong Ge
Abstract
Large language models (LLMs) are increasingly used to formulate optimization models from natural-language problem descriptions, yet realistic operations research (OR) requests are often incomplete: missing objectives, constraints, or business rules can change the resulting mathematical program. Existing evaluations largely assume a complete specification and therefore overlook whether an agent knows when clarification is needed before modeling. We introduce OR-Clarify, a benchmark for pre-formulation clarification. Each task presents a partial public problem description, withholds structured hidden slots, and evaluates agents through bounded interaction with a simulated user. The benchmark supports both openended and choice-based clarification, and measures slot recovery, stopping behavior, silent assumptions, and interaction cost. We further propose Interactive Optimization (InterOPT), a two-stage framework that identifies unresolved formulation-critical gaps and uses them to guide whether to ask the next question or to stop. In our choice-based experiments, InterOPT substantially outperforms all baselines in exact slot recovery; in the open-ended setting, it remains competitive with strong prior methods. Together, OR-Clarify and InterOPT reframe OR assistance as a selective completeness decision: clarify when needed, stop when ready, and quantify what remains missing.
Create a lesson
Metadata
- Categories
- math.OC, cs.AI
- Comments
- 16 pages, 4 figures, 4 tables. Revised exposition and added references; results unchanged
Related papers
Corleone.jl: A modular shooting framework for dynamic optimization and scientific machine learning in Julia
Shared title terminologymath.OCCarl Julius Martensen, Christoph Plate, Christian Kirches et al.
Fast Rates and Strong Convergence of Tikhonov-Regularized Mixed-Order Primal-Dual Dynamics for Linearly Constrained Optimization Without Eventual Ball Conditions
Shared title terminologymath.OCHong-lu Li, Yi-bin Xiao
Accelerated primal-dual dynamical systems for convex optimization with nonlinear inequality constraints
Shared title terminologymath.OCXin He
Optimal Design and Adaptive Operation of Transportation Networks under Incomplete Information
Shared title terminologymath.OCLukai Li, Mattia Solla, Yueyue Fan et al.
COHATO is not optimal for symmetric rendezvous search on the circle
Shared title terminologymath.OCDonglei Du
Optimal inventory trading under exogenous random interventions
Shared title terminologymath.OCFrédéric Meunier, Rose Sossou Edou