mlsanityData to 7 Oct 2026

Rediscovering Hashed Random Projections for Efficient Quantization of Contextualized Sentence Embeddings

arXiv 2304.02481 ↗First posted 13 Mar 2023cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Training and inference on edge devices often requires an efficient setup due to computational limitations. While pre-computing data representations and caching them on a server can mitigate extensive edge device computation, this leads to two challenges. First, the amount of storage required on the server that scales linearly with the number of instances. Second, the bandwidth required to send extensively large amounts of data to an edge device. To reduce the memory footprint of pre-computed data representations, we propose a simple, yet effective approach that uses randomly initialized hyperplane projections. To further reduce their size by up to 98.96%, we quantize the resulting floating-point representations into binary vectors. Despite the greatly reduced size, we show that the embeddings remain effective for training models across various English and German sentence classification tasks that retain 94%--99% of their floating-point.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 31 of its 57 references that are in the map. First posted on arXiv 13 Mar 2023.

Builds on

31 of 57 references.

References · 31

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  5. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  6. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  7. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
  8. 2017Mixed Precision Trainingcited by 1,135
  9. 2019On the Convergence of Adam and Beyondcited by 834
  10. 2020Language-agnostic BERT Sentence Embeddingcited by 621
  11. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  12. 2018Massively Multilingual Sentence Embeddings for Zero-Shot Cross-Lingual Transfer and Beyondcited by 434
19 more
  1. 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 358
  2. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  3. 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
  4. 2017All-but-the-Top: Simple and Effective Postprocessing for Word Representationscited by 205
  5. 2019Multilingual Universal Sentence Encoder for Semantic Retrievalcited by 192
  6. 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 103
  7. 2022FP8 Quantization: The Power of the Exponentcited by 87
  8. 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
  9. 2022SparCL: Sparse Continual Learning on the Edgecited by 55
  10. 2020Efficient Document Re-Ranking for Transformers by Precomputing Term Representationscited by 44
  11. 2021Towards Efficient Post-training Quantization of Pre-trained Language Modelscited by 37
  12. 2017Compressing Word Embeddings via Deep Compositional Code Learningcited by 34
  13. 2022EdgeFormer: A Parameter-Efficient Transformer for On-Device Seq2seq Generationcited by 21
  14. 2020Embedding Compression with Isotropic Iterative Quantizationcited by 10
  15. 2020ProFormer: Towards On-Device LSH Projection Based Transformerscited by 9
  16. 2021Distiller: A Systematic Study of Model Distillation Methods in Natural Language Processingcited by 7
  17. 2015Binary embeddings with structured hashed projectionscited by 3
  18. 2018Random Projection in Deep Neural Networkscited by 3
  19. 2016Binary Paragraph Vectorscited by 1

Built on by

Not cited yet.