Journal Article

·2023 OPEN ACCESS

Boosting Lightweight Sentence Embeddings with Knowledge Transfer from Advanced Models: A Model-Agnostic Approach

Kadir Gunel YTU , Mehmet Fatih Amasyalı YTU

Applied Sciences

Abstract

In this study, we investigate knowledge transfer between two distinct sentence embedding models: a computationally demanding, highly performant model and a lightweight model derived from word vector averaging. Our objective is to augment the representational power of the lightweight model by exploiting the sophisticated features of the robust model. Diverging from traditional knowledge distillation methods that align logits or hidden states of teacher and student models, our approach uses only the output sentence vectors of the teacher model for the alignment with the student models’s word vector representations. We implement two minimization techniques for this purpose: distance minimization and distance and perplexity minimization Our methodology uses WMT datasets for training, and the enhanced embeddings are validated via Google’s Analogy tasks and Meta’s SentEval datasets. We found that our proposed models intriguingly retained and conveyed information in a model-specific fashion.

Keywords

Perplexity Computer science Artificial intelligence Sentence Embedding Boosting (machine learning) Transfer of learning Machine learning Minification Word (group theory) Natural language processing Language model Mathematics

Subject Areas

Topic Modeling ·Artificial Intelligence ·Physical Sciences
Natural Language Processing Techniques ·Artificial Intelligence ·Physical Sciences
Text Readability and Simplification ·Artificial Intelligence ·Physical Sciences

Citations by Year

OpenAlex SDG Match

SDGs auto-classified by OpenAlex (score ≥ 0.4 shown).

Quality Education 79%