Skip to main content
QUICK REVIEW

[Paper Review] Learning to Teach with Student Feedback

Yitao Liu, Tianxiang Sun|arXiv (Cornell University)|Sep 10, 2021
Topic ModelingComputer Science18 references6 citations
TL;DR

This paper proposes Interactive Knowledge Distillation (IKD), a novel framework that enables bidirectional knowledge transfer between teacher and student models by allowing the teacher to dynamically adapt its soft targets based on student feedback. Using a meta-learning-inspired course-exam training loop, IKD jointly optimizes both models, achieving consistent improvements over vanilla knowledge distillation across multiple NLP tasks on the GLUE benchmark.

ABSTRACT

Knowledge distillation (KD) has gained much attention due to its effectiveness in compressing large-scale pre-trained models. In typical KD methods, the small student model is trained to match the soft targets generated by the big teacher model. However, the interaction between student and teacher is one-way. The teacher is usually fixed once trained, resulting in static soft targets to be distilled. This one-way interaction leads to the teacher's inability to perceive the characteristics of the student and its training progress. To address this issue, we propose Interactive Knowledge Distillation (IKD), which also allows the teacher to learn to teach from the feedback of the student. In particular, IKD trains the teacher model to generate specific soft target at each training step for a certain student. Joint optimization for both teacher and student is achieved by two iterative steps: a course step to optimize student with the soft target of teacher, and an exam step to optimize teacher with the feedback of student. IKD is a general framework that is orthogonal to most existing knowledge distillation methods. Experimental results show that IKD outperforms traditional KD methods on various NLP tasks.

Motivation & Objective

  • To address the limitation of one-way knowledge distillation, where the teacher model remains static and cannot adapt to the student's learning progress.
  • To enable dynamic, interactive knowledge transfer by allowing the teacher to learn from student feedback during training.
  • To improve student generalization and distillation efficiency through a joint optimization framework for both teacher and student models.
  • To develop a method orthogonal to existing knowledge distillation techniques that focuses on interactive teaching rather than feature distillation.
  • To demonstrate the effectiveness of feedback-driven teacher adaptation in low-resource and semi-supervised settings.

Proposed method

  • IKD employs a two-step iterative training process: a course step where the student is trained on soft targets generated by the teacher, and an exam step where the student's performance on a separate exam set is used to generate meta-gradients for the teacher.
  • The exam step evaluates the student after one gradient update on the exam data, and the resulting cross-entropy loss is back-propagated to update the teacher's parameters via meta-learning.
  • The framework is grounded in Model-Agnostic Meta-Learning (MAML), using first-order approximation to reduce computational cost while enabling the teacher to learn a teaching strategy that improves student generalization.
  • The course data and exam data are distinct batches, ensuring that the teacher learns to generate soft targets that generalize well to unseen examples.
  • The method supports semi-supervised learning by allowing the course data to be unlabeled, extending its applicability to low-resource scenarios.
  • The joint optimization is achieved through a nested loop: inner loop for student update and outer loop for teacher update, with gradients from the student's performance on the exam data guiding the teacher's adaptation.

Experimental results

Research questions

  • RQ1Can a teacher model dynamically adapt its soft targets based on student feedback to improve distillation performance?
  • RQ2How does interactive knowledge distillation compare to static knowledge distillation in terms of student generalization and accuracy across NLP tasks?
  • RQ3What is the impact of student feedback at different stages of training on the teacher's ability to adapt its teaching strategy?
  • RQ4Can the proposed framework be extended to semi-supervised settings where course data is unlabeled?
  • RQ5How does the joint optimization of teacher and student via meta-learning affect model efficiency and convergence?

Key findings

  • IKD consistently outperforms vanilla knowledge distillation across multiple NLP tasks on the GLUE benchmark, demonstrating superior generalization and accuracy.
  • The student feedback signal converges to zero over time, indicating that the teacher's adaptive teaching strategy becomes effective early in training and stabilizes as the student learns.
  • The framework is orthogonal to existing knowledge distillation methods that focus on distilling specific features (e.g., attention maps, hidden states), and IKD enhances performance when combined with such methods.
  • The exam step provides meaningful meta-gradients that effectively guide the teacher's adaptation, as evidenced by improved student performance on unseen data.
  • IKD shows strong performance in semi-supervised settings, where the course data is allowed to be unlabeled, extending its utility beyond fully supervised distillation.
  • The use of first-order MAML approximation enables efficient training while maintaining high performance, making the method practical for large-scale NLP models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.