Introduction: The Challenge of Exposure Bias
In neural machine translation (NMT) and other sequence generation tasks, a persistent challenge is exposure bias. During training, models are typically exposed to ground-truth sequences (teacher forcing). However, at inference time, the model must generate tokens based on its own previous predictions. This mismatch means that a single error can lead the model into unfamiliar territory, causing errors to cascade.
Standard Knowledge Distillation (KD) attempts to transfer knowledge from a large teacher model to a smaller learner by minimizing the difference between their output distributions. However, KD is traditionally "off-policy"—the learner is a passive observer of the teacher's expertise. This paper proposes a shift in perspective: reinterpreting knowledge transfer as a choice between mathematical directions of Kullback-Leibler (KL) divergence to create a proactive learner.
Methodology: The Divergence of KL
The core of the authors' analysis lies in the asymmetry of KL divergence. When measuring the distance between a teacher distribution ($q$) and a learner distribution ($p$), the direction matters significantly.
- Forward KL (Standard KD): $D_{KL}(q || p)$. This direction is "zero-avoiding." The learner is penalized heavily if it assigns low probability to a region where the teacher has high probability. Consequently, the learner tries to cover all modes of the teacher's distribution, often resulting in a "blurry" average.
- Backward KL (Knowledge Acquisition): $D_{KL}(p || q)$. This direction is "zero-forcing." The learner is penalized if it assigns high probability to regions where the teacher has low probability. This encourages the learner to focus on the teacher's strongest modes and ignore unlikely tokens.
As shown in Figure 5, the gradient "tug-of-war" differs between the two. Forward KL "pulls up" the learner's probability on teacher-favored tokens, while Backward KL "pushes down" on tokens the learner proposes that the teacher deems incorrect.
Knowledge Acquisition: Learning as a Dialogue
The authors introduce Knowledge Acquisition (KA), which utilizes the Backward KL direction. Unlike KD, which functions like a lecture where the learner passively listens, KA is akin to a tutorial. The learner "learns to talk" by actively proposing tokens from its own distribution ($p_{learner}$) and receiving immediate feedback or rewards from the teacher ($q_{teacher}$).
This "on-policy" interaction allows the learner to explore its own mistakes during training. By encountering and correcting these errors in a controlled environment, the model becomes significantly more robust to the exposure bias it will face during real-world inference.
Experimental Results
The KA approach was evaluated on two NMT benchmarks using Transformer architectures:
- WMT’17 German-English (High-resource): KA achieved 32.24 BLEU, a significant improvement of +1.11 over standard KD.
- IWSLT’15 Thai-English (Low-resource): KA reached 13.36 BLEU, gaining +0.66 over the KD baseline.
Qualitative analysis further revealed that KA encourages higher entropy and diversity. By exploring its own distribution, the learner discovers valid semantic alternatives (e.g., recognizing both "view" and "scene" as appropriate) rather than just mimicking the teacher's top choice.
Conclusion
By switching from Forward to Backward KL divergence, the authors transform the learner from a passive student into a proactive participant. Knowledge Acquisition effectively mitigates exposure bias by allowing the model to "practice" its predictions during training. While KA requires a pre-trained starting point to avoid initial divergence, it represents a powerful paradigm shift for sequence generation tasks, moving from simple imitation to active exploration.
Summary updated