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

· Source: Machine Learning · Field: Technology & Digital — Artificial Intelligence & Machine Learning · Depth: Expert, quick

Summary

A new approach, Discrepancy-Constrained Markov Decision Process (DCMDP), addresses the train-inference discrepancy causing unpredictable performance and training collapses in Large Language Model (LLM) reinforcement learning. Researchers found that training policies can self-correct this discrepancy, identifying a "discrepancy tolerance region" where excessive narrowing can hinder exploration, but outside which, reducing discrepancy improves optimization. DCMDP formulates this as a reward maximization problem coupled with a constraint to align training-inference behavior. It employs a Lagrangian relaxation mechanism to dynamically adjust objective weights, balancing performance improvement and discrepancy control. This enables stable dual-objective optimization, allowing policy exploration within safe boundaries. Empirically, DCMDP significantly improves the performance of the 8B dense model Qwen-3-8b and the 30B Mixture-of-Expert model Qwen-3-30bA3b, facilitating heterogeneous training for resource-constrained inference deployments.

Key takeaway

For Machine Learning Engineers optimizing LLMs with reinforcement learning, you should consider implementing the Discrepancy-Constrained Markov Decision Process (DCMDP) to mitigate train-inference discrepancies. This approach stabilizes training and improves performance, particularly for models like Qwen-3-8b and Qwen-3-30bA3b. By explicitly aligning training with low-cost inference deployment, you can achieve more consistent and efficient optimization, ensuring robust model behavior in production environments.

Key insights

LLM RL training stability improves by explicitly constraining train-inference discrepancy within a tolerance region.

Principles

Method

DCMDP formulates RL as a Discrepancy-Constrained Markov Decision Process. It uses Lagrangian relaxation to dynamically balance reward maximization and a constraint aligning training-inference behavior, ensuring stable dual-objective optimization.

In practice

Topics

Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning.