English

Contrastive Learning in Distilled Models

Computation and Language 2024-01-24 v1

Abstract

Natural Language Processing models like BERT can provide state-of-the-art word embeddings for downstream NLP tasks. However, these models yet to perform well on Semantic Textual Similarity, and may be too large to be deployed as lightweight edge applications. We seek to apply a suitable contrastive learning method based on the SimCSE paper, to a model architecture adapted from a knowledge distillation based model, DistilBERT, to address these two issues. Our final lightweight model DistilFace achieves an average of 72.1 in Spearman's correlation on STS tasks, a 34.2 percent improvement over BERT base.

Keywords

Cite

@article{arxiv.2401.12472,
  title  = {Contrastive Learning in Distilled Models},
  author = {Valerie Lim and Kai Wen Ng and Kenneth Lim},
  journal= {arXiv preprint arXiv:2401.12472},
  year   = {2024}
}
R2 v1 2026-06-28T14:24:17.498Z