Scheduled Sampling
A training trick for sequence models that lets the model gradually practice on its own imperfect predictions during training, rather than always seeing the true past values — closing the gap between training conditions and what happens at real prediction time.
Prerequisites: Recurrent Neural Networks
A sequence model predicting tomorrow's value from a history of past values is normally trained with "teacher forcing": at each step, it's fed the true previous value, even if its own prediction for that step was off. That makes training stable and fast, but it creates a mismatch — at real prediction time, the model has no true past to lean on beyond the point it started forecasting, so it must feed its own (possibly imperfect) predictions back in as input for the next step. A model trained only ever seeing perfect inputs can be fragile once its own small errors start compounding, a problem often called exposure bias.
Scheduled sampling closes that gap by randomly substituting the model's own previous prediction for the true value during training, with the probability of doing so increasing as training progresses. Early on, the model mostly sees ground truth (so it can still learn the basic task); later, it increasingly sees its own outputs, forcing it to get comfortable recovering from its own small mistakes — much closer to the real deployment condition. The "schedule" refers to this probability curve, which typically starts near zero and ramps up toward one over training.
For instance, a schedule might use true inputs 90% of the time in early epochs, dropping to 50% by the midpoint of training, and down to 10% by the end — so the model spends its final training stretch mostly practicing under realistic, self-generated conditions.
Scheduled sampling trains a sequence model by gradually swapping ground-truth inputs for the model's own predictions as training proceeds, narrowing the mismatch between training (which normally sees perfect history) and deployment (where the model must feed back its own imperfect forecasts).
Related concepts
Further reading
- Bengio et al., Scheduled Sampling for Sequence Prediction with RNNs, NeurIPS 2015