Train What You Deploy:Token-Faithful Post-Training of a Production Coding
Abstract
Existing post-training pipelines for coding and terminal agents suffer severe token and control fidelity errors: simplified training environments mismatch production deployments, and offline token reconstruction from agent logs distorts original prompts and conflates policy calls with background model operations. We present a fidelity-aware training coupling framework that retains trainer-side sampling over original prompts, eliminates spurious model calls via a negotiated training protocol, and restricts loss computation to verifiable token spans with closed-failure guarantees. We further propose Certified Divergence Proximal Policy Optimization (C-DPPO), which establishes tight two-sided TV certification bounds, adaptive-K rules, budget-aware sequence guarantees, and error-robust policy masking atop standard DPPO. Evaluated on matched Baize5B and Baize10B models with identical training and test protocols on TMax-100, C-DPPO yields a consistent +3.0-point performance gain over standard DPPO across model scales. Certificate audits validate the reliability and full operational coverage of our certified training pipeline.
Create a lesson
Related papers
Router Prior Bias: Preserving Base Routing Structure in MoE Post-Training
Shared title terminologycs.AIJaedeok Lee, Keonwoo Kim, Dongyoon Han et al.
FrogNano: Training a 4B Coding Agent via Online Task Synthesis
Shared title terminologycs.AIMinseon Kim, Zhengyan Shi, Emiliano Penaloza et al.
Multi-Harness Reinforcement Learning for Coding Agents: Training Gains and Harness Dependence
Shared title terminologycs.AIChenqian Le, Jiayi Cheng, Qijia He et al.
Coding4Games: Can Modern Coding Agents Play Modern Video Games?
Shared title terminologycs.AIShifang Zhao, Haoyu Wang, Yuyang Yin et al.
Perception Is Enough, at the Right Scale: Scale-Adaptive Token Pruning for Vision-Language-Action Models
Shared title terminologycs.AIYifeng Lin, Liuxiang Qiu, Yunfeng Chen et al.
AGL-SKILL: Coding Harnesses as Agentic Optimizers
Shared title terminologycs.AIRyan Tsui, Yuge Zhang, Yuqing Yang