Teacher Forcing Variants as Implicit Regularizers: A Perturbation Analysis with Application to Opportunistic Teacher Forcing
Recurrent neural networks (RNNs) for sequence modeling and dynamical system reconstruction are most commonly trained with teacher forcing (TF), which is easy to optimize but suffers from exposure bias: at inference time the model must run autonomously on its own predictions, a regime it never experienced during training. Many methods mix teacher-forced and autonomous training, including input-noise training, scheduled sampling, interpolation between ground truth and prediction, generalized teacher forcing, and sparse teacher forcing. What these methods implicitly optimize has not been compared in a common form. We present a perturbation analysis around the teacher-forced trajectory, linearized to first order in the propagated errors with the squared loss kept exact, showing that, under explicit assumptions, these variants can all be read as the pure TF loss plus a data-dependent quadratic regularizer that penalizes local prediction errors propagated through products of Jacobians, with a method-specific weighting. We apply this view to our previously proposed opportunistic teacher forcing (OTF), which runs the model autonomously where observations are missing. In OTF the…
- arXiv
- 2612.03785
- Authors
- Sutashu Tomonaga, Kenji Doya
- Categories
- cs.LG · stat.ML