Hacker News front pageEvangelos Georganas, Alexander Heinecke, Pradeep Dubey1 min readpaperadvanced
Breaking the 1.58-bit Barrier for Ternary LLMs
Summary
BITCOS is a distribution‑aware storage layout for ternary LLM weights that replaces the standard five‑trit packing. By storing a presence bitmap and a compact sign vector, it reduces the effective bits‑per‑weight to 2 − z (z = zero density), achieving as low as 1.485 b/w on sparse models. The authors provide AVX‑512, AVX2, and Xe2 GPU unpacking kernels and show up to 1.28× speedup in matrix‑vecto…
- Ternary LLMs have a high zero proportion (up to 51.5 %); treating symbols as equiprobable wastes space.
- BITCOS stores a dense bitmap of non‑zero positions plus a packed sign vector, costing 2 − z bits per weight.
- In 26/29 evaluated models BITCOS beats the conventional five‑trit packing, with a best‑case 1.485 b/w.
- Optimized unpacking routines for AVX‑512, AVX2, and Intel Xe2 GPUs enable low‑overhead conversion to dense format.
Reducing storage and memory bandwidth for ternary LLMs directly translates to higher inference throughput on commodity hardware, making ultra‑compact models more practical for edge and low‑cost server deployments.
8/10
.png)
