Behavior Cloning is Not All You Need: The Optimality of On-Policy Distillation for Noisy Expert Feedback
Abstract
Imitation Learning is a natural framework for learning in sequential decision-making systems and has emerged as the dominant paradigm through which we understand language model training. A central puzzle is that, while in theory offline IL can be horizon-free and optimal, in practice online methods such as on-policy distillation often outperform offline methods such as supervised fine-tuning. We propose a noisy expert model to explain this gap, in which the learner only has access to a noisy version of the expert's policy, but wishes to compete against the reward achieved by a clean expert, motivated by the fact that in many applications, e.g. training language models to perform long chains of thought, the expert is often imperfect. In this setting, we show a sharp separation between offline and online IL. Offline learning from noisy trajectories is fundamentally hard: to compete with the clean expert, the sample complexity must grow exponentially, in contradistinction to the clean expert setting where no explicit horizon dependence exists. In contrast, we prove that online interaction with the noisy expert via a novel variant of OPD enables polynomial dependence on the horizon in general. We further show that, under a natural condition on the expert noise distribution, which we show to be necessary for any horizon-free sample complexity, one can obtain such a guarantee, although our proposed algorithm sacrifices statistical efficiency in its dependence on the size of the policy class. Our analysis leads to an alternative loss function that is commonly considered empirically for LM training. We further provide algorithms and lower bounds, and extend our results to the more realistic setting of unknown corruption when the clean expert is deterministic, thereby providing a theoretical foundation for why OPD can outperform SFT when training language models from imperfect teachers.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, stat.ML
Related papers
Direct Feedback Policy Optimization for AI Coding Agents
Shared title terminologycs.LGFei Ding
HME-PFD: Heterogeneous Mixture-of-Experts Privileged Feature Distillation
Shared title terminologycs.LGWen Xu, Xiaomin Zhang, Yucheng Yang et al.
Nearly Minimax-Optimal Sample Complexity of Natural Policy Gradient with a Matching Information-Theoretic Lower Bound
Shared title terminologycs.LGAsha Barua, Sajad Khodadadian
Policy Optimization Achieves Data-Dependent Regret Bounds in MDPs with Unknown Transitions
Shared title terminologycs.LGMingyi Li, Taira Tsuchiya, Kenji Yamanishi
How Multi-Timescale Memory Cools Optimization: Theory and Evidence from AdEMAMix
Shared title terminologycs.LGJacopo Graldi, Antonio Orvieto, Anastasia Koloskova
Optimal Bandits with Switching Costs: (T/\log(T))^{2/3} Regret
Shared title terminologycs.LGChenyu Gan