# From Expert Knowledge to Optimization Modeling: Prototype-Based Data Synthesis and Logical Reinforcement Learning

*Bo Hu, Qingcan Kang, Qian Liu, Mingxuan Yuan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153007) · [Open on the map](../papers.html#p153007)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [Agentic Reinforcement Learning with World Models](../pgroup/74.md) · Type: new method · Keywords: optimization modeling, prototype-based data synthesis, logical reinforcement learning, LLM fine-tuning, test-time optimization

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Optimization › Reflective Reasoning; [AI Agents](../areas/agents.md) › Agent Optimization and Evaluation › Tool-Augmented Agents; [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Self-Improving Agents; [RL for LLMs & Agents](../areas/llm-rl.md) › Language Model Agents › Language Model Optimization

## Summary
The paper introduces a two-stage framework that leverages prototype-based data synthesis and logical reinforcement learning to improve optimization modeling by incorporating reusable structural knowledge and incremental expert reasoning.

## Explained to a 5-year-old
People want computers to help make math problems that need variables, goals, and rules. Usually the computer starts from scratch each time, which is slow. This paper gives the computer a set of common building blocks (like templates) to start with. Then it tries many ways to solve each problem and learns which ways are good using a simple judge. This helps the computer make better math problems faster and understand them better.

## Explained to a 5-year-old, longer
When we ask a computer to help solve a math problem, it needs to know what variables to use, what we want to achieve, and what rules to follow. Right now, many computers just make everything up from scratch, which can be slow and confusing. The researchers noticed that real people usually start with a known type of problem, like a puzzle template, and then change a few parts. So they gave the computer a collection of these templates, called prototypes, that cover many common problem shapes. Using these prototypes, the computer creates many fake math problems that look real and include the important rules. It also makes a list of how different people solved similar problems, which helps the computer learn good steps. Then the computer tries many ways to solve each fake problem and gets feedback from a simple judge that says if the solution makes sense. This feedback helps the computer pick the best solving steps and avoid silly mistakes. After learning from many examples, the computer can quickly build new math problems that follow the right structure and are easier for people to understand.

## For a technical reader
The system starts by generating synthetic optimization formulations from a set of canonical prototypes, preserving key constraints. These pairs are fine-tuned into an initial policy and paired with multiple solution trajectories that respect prototype ordering. A logical reward model scores each trajectory for accuracy and efficiency, and during inference a test-time group relative policy optimization uses this reward to steer the model toward correct prototype identification and disciplined structure. The result is a more generalizable, knowledge-aware optimizer that outperforms baseline models on diverse benchmarks.

## Problem
Optimization modeling using large language models often constructs problems from scratch, ignoring reusable structural knowledge and expert incremental reasoning, which limits efficiency and generalization.

## Method
The approach first synthesizes data from canonical prototypes to create problem-formulation pairs and trains a policy, then generates multiple modeling trajectories for each problem, ranks them, and uses a logical reward model to guide a test-time reinforcement learning optimization that promotes accurate prototype identification and disciplined structure.

## Results
Across seven benchmarks, the 8B-parameter model reaches an average accuracy of 79.9%, beating comparably sized baselines and matching heavyweight multi-agent systems while showing strong out-of-distribution performance and confirming the necessity of both stages.

## Contributions
The work provides a knowledge-driven framework that incorporates reusable structural prototypes and logical reasoning into LLM-based optimization modeling, introduces synthetic data generation and a logical reward model for test-time reinforcement learning, and demonstrates significant gains and better generalization on multiple benchmarks.

## Research questions this paper is counted under

- [How can large language models accumulate and reuse knowledge across iterative optimization tasks?](../q/491.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153007)
