the.ai

Foundations / Training

verified

Teacher Forcing

During training, feed the model the correct previous tokens rather than the ones it just produced. It learns much faster this way — every position gets a clean prefix instead of compounding its own mistakes — and it never once practises the situation it will actually be in.

Viz primitive · budget-splitself-generated-prefix = 6

self-generated-prefix holds 13% of the budget; rest holds the remaining 87%.

Prefix tokens the model produced itself, against the ground-truth tokens it was trained on, in tokens. Drag the self-generated share up to watch the conditioning leave the training distribution — it does so from the second token, and never comes back.

6

Reviewed by opendroid · 2026-08-18

  • arXiv:1506.03099 — Scheduled Sampling for Sequence Prediction with Recurrent Neural Networks
  • arXiv:1409.3215 — Sequence to Sequence Learning with Neural Networks