TL;DR
Real-world operations research (OR) problems are rarely handed to engineers perfectly specified, yet Large Language Model (LLM) optimization agents usually try to solve them immediately by making dangerous, unverified assumptions. This paper introduces OR-Clarify, a new benchmark to test whether LLMs know when and what to clarify before modeling, alongside InterOPT, a two-stage framework that tracks information gaps to prevent LLMs from jumping the gun.
What Problem Does This Paper Address?
LLMs are increasingly capable of translating textbook optimization problems into code (using solvers like Gurobi or CPLEX). However, real business requests are messy, ambiguous, and incomplete. For example, a manager might ask an LLM to optimize a vehicle routing schedule but forget to mention whether drivers must return to the origin at the end of the day, or whether delivery time windows are "hard" or "soft" constraints.
Currently, LLM optimization agents suffer from premature formulation: they confidently build a mathematical model by silently filling in missing details with unsupported default assumptions. This can lead to mathematically valid but business-invalid models. This paper tackles the pre-formulation stage, asking: How can we evaluate and improve an LLM's ability to recognize what it doesn't know, ask targeted questions, and only stop when the problem specification is truly complete?
Methods
The authors propose Interactive Optimization (InterOPT), a two-stage framework modeled after human "monitoring and control" behaviors. It explicitly separates diagnosing what is missing from choosing what to ask next:
- Stage 1: Dynamic Gap Search (Monitoring): The agent continuously scans the public conversation history to identify missing requirements across six critical categories (e.g., objectives, constraints, time boundaries). It maintains these as an internal, persistent "gap ledger" that updates turn-by-turn.
- Stage 2: Gap-Guided Action Search (Control): The agent uses the open entries in the ledger to generate three candidate clarification questions. A selector then ranks these candidates, prioritizing high-level business impacts (like objective changes) over minor mathematical details.
InterOPT evaluates these interactions under two protocols: Open-Ended (natural language dialogue) and Choice-Based (where the LLM provides multiple-choice options to a simulated user, including a fallback option for free-form corrections).
Datasets
The authors introduce OR-Clarify, a dedicated evaluation benchmark built by taking fully specified optimization problems and systematically masking out key details.
- Composition: 100 clarification cases containing 178 hidden slots (withheld facts).
- Severity Tiers: Hidden slots are categorized into P0 (blocking conditions that fundamentally alter the problem structure), P1 (substantive modeling conditions), and P2 (secondary boundary conditions).
- Simulation: It features a fact-bounded simulated user that answers the agent's questions accurately based on the hidden facts but never volunteers information unprompted.
Key Insights and Ideas
- Separating Diagnosis from Action is Crucial: Directly generating the next plausible question often causes LLMs to lose track of context over multi-turn conversations. Maintaining a persistent gap ledger prevents the agent from forgetting unresolved issues.
- The "Knowing When to Stop" Problem: In open-ended settings, the primary failure mode isn't that LLMs don't know how to ask questions—it's that they stop too early. In 98.8% of open-ended runs, the baseline agents declared they were ready to model, yet the evaluation judge flagged 40.6% of those stops as premature.
- Choice-Based Formats Boost Recovery: Forcing the LLM to provide structured options (multiple choice) significantly improves its ability to explicitly uncover exact requirements compared to free-form dialogue.
Key Results
The benchmark evaluates agents on Core Exact accuracy (successfully recovering all critical P0 and P1 hidden slots before declaring readiness).
- Choice-Based Setting: InterOPT achieved a 67.5% Core Exact recovery rate, substantially outperforming the baseline multiple-choice protocol (50.6%) and the ReadyGate baseline (51.7%).
- Open-Ended Setting: InterOPT achieved 53.8% Core Exact accuracy, remaining highly competitive with strong, specialized conversational baselines like ORPilot (58.3%) and GATE (56.0%).
- Reduction in Silent Assumptions: InterOPT dramatically reduced the rate of unverified "silent assumptions" to 0.366 per run in the choice setting, compared to 0.692 for the standard baseline.
Limitations and Future Work
- High Interaction Cost: InterOPT achieves its superior recovery rate in the choice setting by being highly thorough, which translates to a higher "interaction burden." It averaged 10.6 turns per run compared to just ~3.2 turns for simpler baselines. This could frustrate human users in practice.
- Imperfect Stopping Calibration: Even with a two-stage framework, agents still occasionally suffer from premature stopping and fail to eliminate all silent assumptions.
- Future Work: The authors suggest exploring ways to improve question efficiency (e.g., asking broader questions that resolve multiple gaps at once) and developing better calibration techniques for the final stopping decision.
Summary updated