AI Engineer21 min
Training Your Own Agent Models With RL Is Now Practical - Jason Mancuso, Modal
Conference Presentation
- Static backend models face competitive disadvantages in agent economics and user experience compared to fine-tuned alternatives, with fine-tuning becoming essential for reliable Service Level Objectives (SLOs) as open-source base models degrade in quality for deployment.
- Organizations will increasingly adopt fine-tuning to own inference infrastructure, driven by a long-term trend toward vertical integration that extends beyond the coding sector into other market areas as the industry matures.
- Standard Supervised Fine-Tuning (SFT) using production traces is expected to fail due to brittleness when models encounter session branches unseen during training, necessitating Reinforcement Learning (RL) as the dominant paradigm to explore all potential interaction branches.
- RL implementation, previously hindered by perceived difficulty, will become more accessible due to matured science and a specific recipe developed in recent months that includes gRPO, masked/ported sampling, score centering, and Top P sampling with mass replay.
- This proposed RL method is projected to correct token-wise and drift mismatches, delivering significantly more stable training on models like the Qwen 3.6 35B MoE while scaling to broad problems and handling hardware mismatches up to four or five times the typical level.
- Asynchronous, parallel training is anticipated to outperform sequential processing for maximizing GPU utilization and minimizing costs, though challenges regarding staleness from older model versions and system-level discrepancies between trainers and samplers may cause training instability.
- Cost efficiencies for rollouts are expected to increase by 15% through moving inference GPUs outside the training cluster using sparse delta compression compared to homogeneous B200 runs, with further reductions possible via optimization for varying GPU types and quantization levels.
- Most production deployments are already positioned to build RL environments by leveraging existing production traces and evaluation systems, with synthetically generated tasks from live traces identified as the most effective method for correcting failures.
- The industry will view full-stack vertical integration as a requirement for maintaining a competitive edge, supported by new infrastructure tools and the current maturity of underlying RL science.
- Technical details regarding the optimized RL recipe and source code are planned for release via an upcoming blog post and software distribution.