AIMay 17, 2025

Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modeling

arXiv:2505.11792v228 citationsh-index: 9Has Code
Originality Incremental advance
AI Analysis

This addresses the challenge of reliable automation in optimization modeling for decision-making domains, though it appears incremental as it builds on existing RL methods for LLMs.

The paper tackles the problem of LLMs generating incorrect optimization models by introducing Solver-Informed Reinforcement Learning (SIRL), which uses optimization solvers as verifiers to provide feedback, achieving state-of-the-art performance on public benchmarks.

Optimization modeling is fundamental to decision-making across diverse domains. Despite progress in automating optimization formulation from natural language descriptions, Large Language Models (LLMs) often struggle to generate formally correct and usable models against hallucinations, posing a challenge for reliable automation. Inspired by the success of Reinforcement Learning (RL) in enhancing Large Reasoning Models, we present Solver-Informed Reinforcement Learning (SIRL), a novel framework that significantly improves the authenticity of LLMs for optimization modeling using Reinforcement Learning with Verifiable Reward by leveraging external optimization solvers as verifiers. These verifiers automatically assess the executable code and the instance-level mathematical model represented by the associated LP file, yielding precise and comprehensive feedback signals -- including syntax, feasibility, and solution quality, serving as direct rewards for the RL process. This automated verification process, particularly from classic optimization solvers, also underpins our instance-enhanced self-consistency method to synthesize high-quality training data. Extensive experiments on diverse public benchmarks demonstrate that SIRL achieves state-of-the-art performance, substantially outperforming existing methods in generating accurate and executable optimization models. Our code is publicly available at https://github.com/Cardinal-Operations/SIRL.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes