Addition is almost all you need: Compressing large language models with double binary factorization
Vladim\'ir Bo\v{z}a, Vladim\'ir Macko

TL;DR
This paper introduces Double Binary Factorization (DBF), a novel binary matrix factorization technique that compresses large language models efficiently, maintaining accuracy while offering flexible compression ratios and competitive performance.
Contribution
The paper presents DBF, a new binary factorization method that improves model compression efficiency and accuracy, with fine-grained control over compression levels and an estimation algorithm for layer-wise ratios.
Findings
DBF outperforms existing binarization methods at 1-bit per weight.
DBF is competitive with state-of-the-art quantization methods at 2-bit per weight.
The proposed layer-wise ratio estimation enhances compression control.
Abstract
Binary quantization approaches, which replace weight matrices with binary matrices and substitute costly multiplications with cheaper additions, offer a computationally efficient approach to address the increasing computational and storage requirements of Large Language Models (LLMs). However, the severe quantization constraint () can lead to significant accuracy degradation. In this paper, we propose Double Binary Factorization (DBF), a novel method that factorizes dense weight matrices into products of two binary (sign) matrices, each accompanied by scaling vectors. DBF preserves the efficiency advantages of binary representations while achieving compression rates that are competitive with or superior to state-of-the-art methods. Specifically, in a 1-bit per weight range, DBF is better than existing binarization approaches. In a 2-bit per weight range, DBF is competitive with…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Stochastic Gradient Optimization Techniques · Speech Recognition and Synthesis
MethodsPruning
