HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

The Pupil Has Become the Master: Teacher-Student Model-Based Word Embedding Distillation with Ensemble Learning

Bonggun Shin; Hao Yang; Jinho D. Choi

The Pupil Has Become the Master: Teacher-Student Model-Based Word Embedding Distillation with Ensemble Learning

Abstract

Recent advances in deep learning have facilitated the demand of neural models for real applications. In practice, these applications often need to be deployed with limited resources while keeping high accuracy. This paper touches the core of neural models in NLP, word embeddings, and presents a new embedding distillation framework that remarkably reduces the dimension of word embeddings without compromising accuracy. A novel distillation ensemble approach is also proposed that trains a high-efficient student model using multiple teacher models. In our approach, the teacher models play roles only during training such that the student model operates on its own without getting supports from the teacher models during decoding, which makes it eighty times faster and lighter than other typical ensemble methods. All models are evaluated on seven document classification datasets and show a significant advantage over the teacher models for most cases. Our analysis depicts insightful transformation of word embeddings from distillation and suggests a future direction to ensemble approaches using neural models.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
sentiment-analysis-on-crSTM+TSED+PT+2L
Accuracy: 82.73
sentiment-analysis-on-mpqaSTM+TSED+PT+2L
Accuracy: 89.83
sentiment-analysis-on-mrSTM+TSED+PT+2L
Accuracy: 80.09
sentiment-analysis-on-sst-2-binarySTM+TSED+PT+2L
Accuracy: 86.95
sentiment-analysis-on-sst-5-fine-grainedSTM+TSED+PT+2L
Accuracy: 49.14
subjectivity-analysis-on-subjSTM+TSED+PT+2L
Accuracy: 92.34
text-classification-on-trec-6STM+TSED+PT+2L
Error: 7.04

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp