mlsanityData to 14 Oct 2026

Auto-Formulating Dynamic Programming Problems with Large Language Models

arXiv 2507.11737 ↗First posted 15 Jul 2025cs.AIcited by 16

Not on the map. Why?

Abstract (arXiv)

Dynamic programming (DP) is a fundamental method in operations research, but formulating DP models has traditionally required expert knowledge of both the problem context and DP techniques. Large Language Models (LLMs) offer the potential to automate this process. However, DP problems pose unique challenges due to their inherently stochastic transitions and the limited availability of training data. These factors make it difficult to directly apply existing LLM-based models or frameworks developed for other optimization problems, such as linear or integer programming. We introduce DP-Bench, the first benchmark covering a wide range of textbook-level DP problems to enable systematic evaluation. We present Dynamic Programming Language Model (DPLM), a 7B-parameter specialized model that achieves performance comparable to state-of-the-art LLMs like OpenAI's o1 and DeepSeek-R1, and surpasses them on hard problems. Central to DPLM's effectiveness is DualReflect, our novel synthetic data generation pipeline, designed to scale up training data from a limited set of initial examples. DualReflect combines forward generation for diversity and backward generation for reliability. Our results reveal a key insight: backward generation is favored in low-data regimes for its strong correctness guarantees, while forward generation, though lacking such guarantees, becomes increasingly valuable at scale for introducing diverse formulations. This trade-off highlights the complementary strengths of both approaches and the importance of combining them.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 21 of its 35 references that are in the map. First posted on arXiv 15 Jul 2025.

Builds on

21 of 35 references.

References · 21

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  6. 2019Deep Learning for Symbolic Mathematicscited by 270
  7. 2023Secrets of RLHF in Large Language Models Part I: PPOcited by 229
  8. 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 135
  9. 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 124
  10. 2025LLM Generated Persona is a Promise with a Catchcited by 81
  11. 2024MEDEC: A Benchmark for Medical Error Detection and Correction in Clinical Notescited by 80
  12. 2024OptiBench Meets ReSocratic: Measure and Improve LLMs for Optimization Modelingcited by 68
9 more
  1. 2025OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modelingcited by 49
  2. 2024Global Lyapunov functions: a long-standing open problem in mathematics, with symbolic transformerscited by 29
  3. 2024Large Language Models for Market Research: A Data-augmentation Approachcited by 20
  4. 2025Online Scheduling for LLM Inference with KV Cache Constraintscited by 19
  5. 2025Optimizing LLM Inference: Fluid-Guided Online Scheduling with Memory Constraintscited by 19
  6. 2024LOLA: LLM-Assisted Online Learning Algorithm for Content Experimentscited by 18
  7. 2025Throughput-Optimal Scheduling Algorithms for LLM Inference and AI Agentscited by 18
  8. 2024Robust and Adaptive Optimization under a Large Language Model Lenscited by 8
  9. 2024A Tutorial on Teaching Data Analytics with Generative AIcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 11.

16 papers.

Sort:

By area:

  1. 2025StepORLM: A Self-Evolving Framework With Generative Process Supervision For Operations Research Language Modelscited by 26
  2. 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solvingcited by 11
  3. 2026AI Agents for Inventory Control: Human-LLM-OR Complementaritycited by 8
  4. 2025ORThought: Benchmarking and Automating Logistics Optimization Modelingcited by 5
  5. 2025Ask, Clarify, Optimize: Human-LLM Agent Collaboration for Smarter Inventory Controlcited by 5
  6. 2026OptiRepair: Closed-Loop Diagnosis and Repair of Supply Chain Optimization Models with LLM Agentscited by 5
  7. 2026LLM-SAA: LLM-persona Generated Distributions for Decision-makingcited by 3
  8. 2026Canonical Intermediate Representation for LLM-based optimization problem formulation and code generationcited by 2
  9. 2026Democratizing Large-Scale Re-Optimization with LLM-Guided Model Patchescited by 2
  10. 2026OR-Space: A Full-Lifecycle Workspace Benchmark for Industrial Optimization Agentscited by 2
  11. 2026Optimizing Service Operations via LLM-Powered Multi-Agent Simulationcited by 1
  12. 2025ORPR: An OR-Guided Pretrain-then-Reinforce Learning Model for Inventory Managementcited by 0
4 more
  1. 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithmscited by 0
  2. 2026COOPA: A Modular LLM Agent Architecture for Operations Research Problemscited by 0
  3. 2026LLMs as Adaptive Meta-Solvers: Strategy-Diverse RL for Industrial-Scale Optimizationcited by 0
  4. 2026OR for AI That Does OR: Routing LLMs up the Escalator inside the OSCAR Frameworkcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024Leveraging Large Language Models for Solving Rare MIP Challenges
  2. 2025Step-Opt: Boosting Optimization Modeling in LLMs through Iterative Data Synthesis and Structured Validation
  3. 2024Designing Algorithms Empowered by Language Models: An Analytical Framework, Case Studies, and Insights
  4. 2025LLMize: A Framework for Large Language Model-Based Numerical Optimization
  5. 2025ReflecSched: Solving Dynamic Flexible Job-Shop Scheduling via LLM-Powered Hierarchical Reflection
  6. 2025OptiMind: Teaching LLMs to Think Like Optimization Experts
  7. 2026FrontierOR: Benchmarking LLMs' Capacity for Efficient Algorithm Design in Large-Scale Optimization
  8. 2025LLM-ProS: Analyzing Large Language Models' Performance in Competitive Problem Solving