Introduction
In Neural Machine Translation (NMT), high-quality parallel data is often proprietary or restricted. However, pre-trained models are increasingly shared on open platforms. This paper introduces Continual Knowledge Distillation (CKD), a framework designed to improve a student NMT model by sequentially learning from a stream of available teacher models without requiring access to their original training data. CKD addresses the "one-task, many-teachers" scenario where teachers arrive asynchronously and may vary significantly in quality.
Methodology
The CKD framework employs a dual-mechanism approach to update the student model at each time step, ensuring it learns effectively from both strong and weak teachers while retaining previous knowledge.
1. Knowledge Filtration
Unlike standard Knowledge Distillation (KD), CKD recognizes that teachers are not infallible. It evaluates teacher predictions against the student's current performance on a transfer set:
- Positive Learning: If the teacher's prediction is superior (lower cross-entropy), the student performs standard distillation to mimic the expert.
- Negative Learning: If the teacher is less accurate than the student, CKD applies a Negative KD loss. This pushes the student's distribution away from the teacher's errors, teaching the student "what not to do" and preventing the adoption of incorrect patterns.
2. Knowledge Inheritance
To mitigate catastrophic forgetting—where a new teacher might overwrite useful information learned previously—the student model distills knowledge from its own previous iteration ($\phi_{t-1}$) while learning from the new teacher ($\theta^*_t$).
Experimental Setup
The authors evaluated CKD on Chinese-to-English (Zh-En) and German-to-English (De-En) tasks across multiple domains, including News, Oral, Internet, Speech, and Subtitles. The student model was a standard Transformer-Base, while teachers varied in domain and quality. The framework was also tested for architecture agnosticism (e.g., distilling from RNN teachers into Transformer students) and robustness against malicious models.
Results and Analysis
CKD demonstrates significant improvements over baseline methods like Elastic Weight Consolidation (EWC) and standard KD.
As shown in the results, CKD achieved an average BLEU score of 31.18 after four steps, compared to the initial 29.48. Notably, CKD is robust against "weak" teachers that typically cause Accumulative Degradation (AD) in standard KD. In stress tests where a "malicious" teacher provided noisy, shuffled outputs, CKD's filtration system successfully ignored the harmful signals, maintaining a BLEU score of 29.48, while standard KD performance plummeted to 18.36.
Conclusion and Future Work
Continual Knowledge Distillation provides a practical and robust way to leverage a growing ecosystem of pre-trained models. By incorporating negative learning and knowledge inheritance, it turns a sequence of potentially inconsistent teachers into a source of steady improvement. Future research will focus on overcoming vocabulary constraints between models and exploring cross-lingual knowledge transfer.
Summary updated