Saved in:
Bibliographic Details
Main Authors: Vengertsev, Dmitry, Sherman, Elena
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2401.11365
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917572063002624
author Vengertsev, Dmitry
Sherman, Elena
author_facet Vengertsev, Dmitry
Sherman, Elena
contents Social media platforms prevent malicious activities by detecting harmful content of posts and comments. To that end, they employ large-scale deep neural network language models for sentiment analysis and content understanding. Some models, like BERT, are complex, and have numerous parameters, which makes them expensive to operate and maintain. To overcome these deficiencies, industry experts employ a knowledge distillation compression technique, where a distilled model is trained to reproduce the classification behavior of the original model. The distillation processes terminates when the distillation loss function reaches the stopping criteria. This function is mainly designed to ensure that the original and the distilled models exhibit alike classification behaviors. However, besides classification accuracy, there are additional properties of the original model that the distilled model should preserve to be considered as an appropriate abstraction. In this work, we explore whether distilled TinyBERT models preserve confidence values of the original BERT models, and investigate how this confidence preservation property could guide tuning hyperparameters of the distillation process.
format Preprint
id arxiv_https___arxiv_org_abs_2401_11365
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Confidence Preservation Property in Knowledge Distillation Abstractions
Vengertsev, Dmitry
Sherman, Elena
Computation and Language
Machine Learning
Social media platforms prevent malicious activities by detecting harmful content of posts and comments. To that end, they employ large-scale deep neural network language models for sentiment analysis and content understanding. Some models, like BERT, are complex, and have numerous parameters, which makes them expensive to operate and maintain. To overcome these deficiencies, industry experts employ a knowledge distillation compression technique, where a distilled model is trained to reproduce the classification behavior of the original model. The distillation processes terminates when the distillation loss function reaches the stopping criteria. This function is mainly designed to ensure that the original and the distilled models exhibit alike classification behaviors. However, besides classification accuracy, there are additional properties of the original model that the distilled model should preserve to be considered as an appropriate abstraction. In this work, we explore whether distilled TinyBERT models preserve confidence values of the original BERT models, and investigate how this confidence preservation property could guide tuning hyperparameters of the distillation process.
title Confidence Preservation Property in Knowledge Distillation Abstractions
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2401.11365