Lightweight Adaptation of Neural Language Models via Subspace Embedding

Amit Kumar Jaiswal, Haiming Liu
8/16/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Traditional neural word embeddings are usually dependent on a richer diversity of vocabulary. However, the language models recline to cover major vocabularies via the word embedding parameters, in particular, for multilingual language models that generally cover a significant part of their overall learning parameters. In this work, we present a new compact embedding structure to reduce the memory footprint of the pre-trained language models with a sacrifice of up to 4% absolute accuracy. The embeddings vectors reconstruction follows a set of subspace embeddings and an assignment procedure via the contextual relationship among tokens from pre-trained language models. The subspace embedding structure calibrates to masked language models, to evaluate our compact embedding structure on similarity and textual entailment tasks, sentence and paraphrase tasks. Our experimental evaluation shows that the subspace embeddings achieve compression rates beyond 99.8% in comparison with the original embeddings for the language models on XNLI and GLUE benchmark suites.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jaiswal2023lightweight,
  title  = {Lightweight Adaptation of Neural Language Models via Subspace Embedding},
  author = {Amit Kumar Jaiswal and Haiming Liu},
  year   = {2023},
  eprint = {2308.08688},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.08688v1}
}

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/2308.08688.svg)](https://codeofpaper.com/paper/2308.08688)

Discussion