mlsanityData to 7 Oct 2026

EFloat: Entropy-coded Floating Point Format for Compressing Vector Embedding Models

arXiv 2102.02705 ↗First posted 4 Feb 2021cs.LG cs.AI cs.DBcited by 1

Not on the map. Why?

Abstract (arXiv)

In a large class of deep learning models, including vector embedding models such as word and database embeddings, we observe that floating point exponent values cluster around a few unique values, permitting entropy based data compression. Entropy coding compresses fixed-length values with variable-length codes, encoding most probable values with fewer bits. We propose the EFloat compressed floating point number format that uses a variable field boundary between the exponent and significand fields. EFloat uses entropy coding on exponent values and signs to minimize the average width of the exponent and sign fields, while preserving the original FP32 exponent range unchanged. Saved bits become part of the significand field increasing the EFloat numeric precision by 4.3 bits on average compared to other reduced-precision floating point formats. EFloat makes 8-bit and even smaller floats practical without sacrificing the exponent range of a 32-bit floating point representation. We currently use the EFloat format for saving memory capacity and bandwidth consumption of large vector embedding models such as those used for database embeddings. Using the RMS error as metric, we demonstrate that EFloat provides higher accuracy than other floating point formats with equal bit budget. The EF12 format with 12-bit budget has less end-to-end application error than the 16-bit BFloat16. EF16 with 16-bit budget has an RMS-error 17 to 35 times less than BF16 RMS-error for a diverse set of embedding models. When making similarity and dissimilarity queries, using the NDCG ranking metric, EFloat matches the result quality of prior floating point representations with larger bit budgets.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 25 of its 73 references that are in the map. First posted on arXiv 4 Feb 2021.

Builds on

25 of 73 references.

References · 25

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  4. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  5. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  6. 2016Enriching Word Vectors with Subword Informationcited by 1,578
  7. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  8. 2016Bag of Tricks for Efficient Text Classificationcited by 869
  9. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  10. 2014Distributed Representations of Sentences and Documentscited by 677
  11. 2015Deep Learning with Limited Numerical Precisioncited by 368
  12. 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 227
13 more
  1. 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 183
  2. 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 163
  3. 2013A Theoretical Analysis of NDCG Type Ranking Measurescited by 119
  4. 2019PyTorch-BigGraph: A Large-scale Graph Embedding Systemcited by 118
  5. 2020Compressing Large-Scale Transformer-Based Models: A Case Study on BERTcited by 95
  6. 2020Compression of Deep Learning Models for Text: A Surveycited by 64
  7. 2018BioSentVec: creating sentence embeddings for biomedical textscited by 47
  8. 2019Word Embeddings: A Surveycited by 45
  9. 2017Flexpoint: An Adaptive Numerical Format for Efficient Training of Deep Neural Networkscited by 43
  10. 2018Training DNNs with Hybrid Block Floating Pointcited by 39
  11. 2020Shifted and Squeezed 8-bit Floating Point format for Low-Precision Training of Deep Neural Networkscited by 23
  12. 2019Mixed Precision Training With 8-bit Floating Pointcited by 22
  13. 2016Enabling Cognitive Intelligence Queries in Relational Databases using Low-dimensional Word Embeddingscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.