← Latest papers
🤖 machine learning

Reformulate LLM Reinforcement Learning for Efficient Training under Black-box Discrepancy

This paper addresses the train-inference discrepancy in LLM reinforcement learning by formulating it as a Discrepancy-Constrained Markov Decision Process (DCMDP) with a dynamic Lagrangian relaxation mechanism, which stabilizes training and improves performance by adaptively balancing reward maximization with discrepancy control to allow free exploration within a tolerance region while correcting excessive deviations.

Original authors: Jiashun Liu, Runze Liu, Xu Wan, Jing Liang, Hongyao Tang, Ling Pan

Published 2026-06-09
📖 4 min read☕ Coffee break read

Original authors: Jiashun Liu, Runze Liu, Xu Wan, Jing Liang, Hongyao Tang, Ling Pan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are teaching a brilliant student (the AI) how to solve complex math problems. You have two different rooms for this training:

  1. The Training Room: This is a high-tech, super-precise laboratory with the best equipment. Here, the student learns using perfect, high-fidelity tools.
  2. The Exam Room: This is a cramped, low-budget classroom where the student will actually take the test. The tools here are cheaper and slightly less precise.

The Problem: The "Ghost" in the Machine
In the past, researchers noticed a weird glitch. The student would study hard in the fancy Training Room, but when they walked into the Exam Room, they would suddenly forget everything or start making silly mistakes. This happened because the "engine" running the student's brain in the Training Room was slightly different from the one in the Exam Room. Even though the student's "knowledge" (the model weights) was the same, the way they processed information changed just enough to cause a total collapse in performance.

Trying to fix this by making the Training Room exactly like the Exam Room (downgrading the fancy tools to cheap ones) didn't work well; it made the learning process unstable and prone to explosions.

The Solution: A "Safety Zone" Coach
The authors of this paper came up with a new way to coach the student. They realized that the student doesn't need to be perfectly identical in both rooms to succeed. In fact, forcing them to be identical too early actually stops them from learning new, creative solutions.

They introduced a concept called DCMDP (Discrepancy-Constrained Markov Decision Process). Here is how it works using a simple analogy:

1. The "Tolerance Zone" (The Safety Buffer)

Imagine the student is walking on a tightrope.

  • The Old Way: The coach would scream "STOP!" the moment the student swayed even a millimeter. This made the student too scared to move, so they never learned to balance or walk fast.
  • The New Way (DCMDP): The coach draws a wide, invisible "Safety Zone" around the tightrope. As long as the student stays within this zone, the coach says, "Great! Keep exploring! You can swing a little bit left or right." This allows the student to learn and improve their math skills freely.

2. The "Magic Penalty" (The Correction)

However, if the student sways too far outside that Safety Zone (meaning the Training Room behavior is getting too different from the Exam Room behavior), the coach gently but firmly pulls them back.

  • The paper found that the best way to measure this "sway" is to look at the probability difference of every single word (token) the student says.
  • If the student says a word that is highly likely in the Training Room but very unlikely in the Exam Room, that's a "red flag."

3. The Smart Coach (The Lagrangian Multiplier)

The paper introduces a "Smart Coach" (a mathematical tool called a Lagrangian multiplier) that adjusts the strength of the pull automatically.

  • If the student is swaying wildly, the coach pulls harder.
  • If the student is staying mostly within the zone, the coach relaxes and lets them focus on solving the math problems.
  • This ensures the student learns to be smart and reliable at the same time.

The Result: The "Heterogeneous" Superpower

The most exciting part of this paper is that it allows for Heterogeneous Training.

  • You can train the student in the High-End Lab (using expensive, precise computers) to get the best possible learning speed and quality.
  • But, you teach them to be ready for the Low-Budget Exam Room (using cheap, resource-constrained computers) by constantly checking if they are staying within the "Safety Zone."

In Summary:
Instead of trying to make the training and testing environments identical (which is hard and expensive), this method teaches the AI to be self-aware. It lets the AI explore and learn freely as long as it doesn't drift too far from how it will actually behave in the real world. If it starts drifting too far, a smart, automatic correction nudges it back on track.

The paper tested this on large AI models (like Qwen-8B and Qwen-30B) solving math problems. They found that this method prevented the AI from "crashing" and actually made it perform better, even when the training setup was much more powerful than the deployment setup.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →