mlsanityData to 14 Oct 2026

From a Lossless (~1.5:1) Compression Algorithm for Llama2 7B Weights to Variable Precision, Variable Range, Compressed Numeric Data Types for CNNs and LLMs

arXiv 2404.10896 ↗First posted 16 Apr 2024cs.CV cs.AI cs.ARcited by 1

Not on the map. Why?

Abstract (arXiv)

This paper starts with a simple lossless ~1.5:1 compression algorithm for the weights of the Large Language Model (LLM) Llama2 7B [1] that can be implemented in ~200 LUTs in AMD FPGAs, processing over 800 million bfloat16 numbers per second. This framework is then extended to variable precision, variable range, compressed numerical data types that are a user defined super set of both floats and posits [2]. The paper then discusses a simple hardware implementation of such format based on ANS (Asymmetrical Numeral Systems) [3] that acts as a bridge between this flexible data format and a computational engine while, at the same time, achieving bandwidth reduction. An example of a token factory using weight compression and sharing is also given.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 7 of its 16 references that are in the map. First posted on arXiv 16 Apr 2024.

Builds on

7 of 16 references.

References · 7

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  2. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
  3. 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 367
  4. 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 308
  5. 2023BitNet: Scaling 1-bit Transformers for Large Language Modelscited by 189
  6. 2020A MAC-less Neural Inference Processor Supporting Compressed, Variable Precision Weightscited by 1
  7. 2024Efficient FIR filtering with Bit Layer Multiply Accumulatorcited by 1

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.