Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Flow: Improve Upon Your Teachers

Iou Jen Liu, Jian Peng|arXiv (Cornell University)|Apr 11, 2019
Neural Networks and ApplicationsComputer Science19 citations
TL;DR

Knowledge Flow introduces a method to transfer knowledge from multiple diverse deep neural networks (teachers) to a single student network, regardless of architectural or task differences. By leveraging lateral connections and knowledge distillation, the student outperforms fine-tuning and baseline models on supervised and reinforcement learning tasks, achieving state-of-the-art results on CIFAR-10 and Atari environments.

ABSTRACT

A zoo of deep nets is available these days for almost any given task, and it is increasingly unclear which net to start with when addressing a new task, or which net to use as an initialization for fine-tuning a new model. To address this issue, in this paper, we develop knowledge flow which moves 'knowledge' from multiple deep nets, referred to as teachers, to a new deep net model, called the student. The structure of the teachers and the student can differ arbitrarily and they can be trained on entirely different tasks with different output spaces too. Upon training with knowledge flow the student is independent of the teachers. We demonstrate our approach on a variety of supervised and reinforcement learning tasks, outperforming fine-tuning and other 'knowledge exchange' methods.

Motivation & Objective

  • To address the challenge of selecting optimal pre-trained models for initialization in new tasks, especially when multiple models with varying relevance are available.
  • To overcome limitations of existing knowledge transfer methods—such as parameter growth, dependency on single teacher models, or inability to handle heterogeneous architectures and output spaces.
  • To enable a student network to independently learn from multiple teachers without retaining structural or parametric dependence after training.
  • To improve generalization and performance on new tasks by effectively leveraging both high-quality and suboptimal teachers, avoiding misleading knowledge.

Proposed method

  • Knowledge Flow uses lateral connections between teacher and student networks to transfer knowledge during training, enabling feature-level knowledge transfer across different architectures.
  • The student network is trained using a loss function that combines supervised or reinforcement learning objectives with knowledge distillation from multiple teachers, using soft labels or value functions.
  • The method applies knowledge distillation to match the student’s output distribution to those of the teachers, even when teachers are trained on different tasks or have different output spaces.
  • The student is trained end-to-end with a combination of task-specific loss and distillation loss, ensuring that the final model is independent of the teachers after convergence.
  • The framework supports arbitrary network architectures for both teachers and student, and does not require the student to maintain any residual connection to the teachers post-training.
  • The approach is applied to both supervised learning (e.g., CIFAR-10/100) and reinforcement learning (e.g., Atari games), using standard training objectives like cross-entropy or A3C loss.

Experimental results

Research questions

  • RQ1Can knowledge be effectively transferred from multiple heterogeneous deep networks (with different architectures and tasks) to a single student model without architectural constraints?
  • RQ2Does Knowledge Flow outperform fine-tuning and other knowledge distillation methods when multiple teachers are available, especially when some teachers are suboptimal?
  • RQ3Can Knowledge Flow maintain a fixed-size student model while leveraging knowledge from an arbitrary number of teachers, avoiding parameter explosion?
  • RQ4Is Knowledge Flow effective in both supervised and reinforcement learning settings, and does it generalize across diverse tasks and data distributions?

Key findings

  • On CIFAR-10, Knowledge Flow with a C100 and SVHN teacher reduced test error to 3.88%, outperforming the baseline Densenet (4.44%) and fine-tuning from C100 (4.27%).
  • On CIFAR-100, Knowledge Flow achieved 20.78% test error, improving over the baseline (21.64%) and fine-tuning from C10 (20.83%) and SVHN (21.02%).
  • Knowledge Flow successfully mitigated the negative impact of a poor teacher (SVHN on CIFAR-10), avoiding performance degradation seen in fine-tuning.
  • On Atari environments, Knowledge Flow outperformed both fine-tuning and prior knowledge transfer methods, demonstrating effectiveness in reinforcement learning.
  • The student model became fully independent of the teachers after training, with no residual dependency or parameter growth, even with multiple teachers.
  • The method achieved consistent improvements across diverse tasks and data distributions, validating its generalization and robustness to teacher quality variation.

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.