On the Difficulty of Sequence-Level Supervised Learning for Autoregressive Language Models
Not on the map. Why?
Abstract (arXiv)
During the supervised learning phase, autoregressive language models are typically trained by minimizing the negative log-likelihood of the training data, which decomposes as a sum of token-level cross-entropies via teacher forcing. This objective is simple and efficient but potentially suffers from so-called exposure bias: a mismatch between the way the model is trained and the way it is used at inference time. Can we instead design sequence-level loss functions that incorporate inference-time decoding procedures, such as greedy decoding or autoregressive sampling? We show that two natural attempts lead to loss functions that are fundamentally flawed: unbounded below. We further show that these two flawed loss functions are intimately connected: using autoregressive Gumbel tricks, the sampling based loss is the expected greedy loss under Gumbel perturbations. Since the pathology stems from the dependence of the decoded sequence on the model parameters, we analyze the update direction obtained by applying a stop gradient on the sampling procedure, leading to a moment matching direction. While it is not the gradient of any loss function, we prove that it defines a valid descent direction in function space for the autoregressive negative log-likelihood. Despite these theoretical insights, the moment matching direction suffers from high variance. We conclude that teacher forcing may well be ``all you need'' for supervised learning of autoregressive models.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 12 of its 21 references that are in the map. Submitted 12 Nov 2026.
Builds on
12 of 21 references.
References · 12
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 1,201
- 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 876
- 2015Sequence Level Training with Recurrent Neural Networkscited by 604
- 2016Self-critical Sequence Training for Image Captioningcited by 556
- 2021How to Train Your Energy-Based Modelscited by 293
- 2015Minimum Risk Training for Neural Machine Translationcited by 117
- 2024Is Behavior Cloning All You Need? Understanding Horizon in Imitation Learningcited by 86
- 2018Differentiable Dynamic Programming for Structured Prediction and Attentioncited by 60
- 2019Scheduled Sampling for Transformerscited by 51
- 2024The Elements of Differentiable Programmingcited by 50
- 2022Learning Energy Networks with Generalized Fenchel-Young Lossescited by 10
- 2025Autoregressive Language Models are Secretly Energy-Based Models: Insights into the Lookahead Capabilities of Next-Token Predictioncited by 9
Built on by
Not cited yet.