Teacher-Class Network: A Neural Network Compression Mechanism

Shaiq Munir Malik, Muhammad Umair Haider, Mohbat Tharani, Musab Rasheed, Murtaza Taj
4/7/2020
6 citations
cs.LGcs.CVstat.ML

Official code: musab-r/TCN (4 stars, Jupyter Notebook, MIT, last commit 2022-10-03). 1 more implementation below.

Abstract

To reduce the overwhelming size of Deep Neural Networks (DNN) teacher-student methodology tries to transfer knowledge from a complex teacher network to a simple student network. We instead propose a novel method called the teacher-class network consisting of a single teacher and multiple student networks (i.e. class of students).

Show full abstract

Instead of transferring knowledge to one student only, the proposed method transfers a chunk of knowledge to each student. Our students are not trained for problem-specific logits, they are trained to mimic knowledge (dense representation) learned by the teacher network thus the combined knowledge learned by the class of students can be used to solve other problems as well. The proposed teacher-class architecture is evaluated on several benchmark datasets such as MNIST, Fashion MNIST, IMDB Movie Reviews, CAMVid, CIFAR-10 and ImageNet on multiple tasks including image classification, sentiment classification and segmentation. Our approach outperforms the state of-the-art single student approach in terms of accuracy as well as computational cost while achieving 10-30 times reduction in parameters.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
musab-r/TCNOfficial4Jupyter NotebookMIT2022-10-03
shaiqmalik/Teacher-ClassOfficial0Jupyter Notebook–2020-05-02
musab-r/TCNOfficial100%
MIT

To reduce the overwhelming size of Deep Neural Networks teacher-student methodology tries to transfer knowledge from a complex teacher network to a simple student network. We instead propose a novel method called the teacher-class network consisting of a single teacher and multiple student networks (class of students). Instead of transferring knowledge to one student only, the proposed method transfers a chunk of knowledge to each student

41Jupyter NotebookOct 22, 20214 years agoMIT

Neural network compression mechanism

02Jupyter NotebookMay 2, 20206 years ago

Similar Papers

Cite this paper

@article{malik2020teacherclass,
  title  = {Teacher-Class Network: A Neural Network Compression Mechanism},
  author = {Shaiq Munir Malik and Muhammad Umair Haider and Mohbat Tharani and Musab Rasheed and Murtaza Taj},
  year   = {2020},
  eprint = {2004.03281},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.03281}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.03281.svg)](https://codeofpaper.com/paper/2004.03281)

Discussion