BitSparse: Compact Activation Storage for ReLU Feed-Forward Networks
Max Zhu, Bohang Sun, Pietro Lio, Jialin Yu
Key points
From the paper's conclusion- We present BitSparse, a GPU-resident lossless compression format for sparse activations.
Abstract
Reducing memory use in large language model (LLM) training is an ongoing challenge. Activation checkpointing saves memory by recomputation, while lossy compression changes the stored activations. The reemergence of sparse $\relu$ and $\relu^2$ activations creates a third opportunity: losslessly compressing the activation cache itself. We present BitSparse, a GPU-resident lossless compression format for sparse activations. Compression and reconstruction run in custom Triton kernels fused into an autograd function, shrinking the activation cache while recovering it exactly for the backward pass. Bfloat16 (BF16) and FP8 activations are supported. Optional sign-bit packing further increases compression up to close to the theoretical limit. We analyze its compression ratio and compare it to the theoretical optimum. BitSparse lowers per-token VRAM by 31\% and 30\% Modded-NanoGPT and Nemotron-H respectively, with overheads of no more than 1\% at practical sequence lengths. Additionally, a new preallocated buffer system avoids host synchronization during training when variable size tensors are allocated.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LCT: Losslessly Compressed Tensors with GPU friendly execution for TrainingarXiv · 2026
- Activation Sparsity with Weight Approximation for Faster LLM Decoding on Offloaded WeightsarXiv · 2026
- PlaneZip: Lossless Bit-Plane Compression of Training Activations Offloaded over PCIearXiv · 2026
- A Cache-Aware Compression Framework: Deriving the Compression Target and Stopping Rule for Transformers on CPU-Class HardwareAI · 2026
- One Million Tokens in 20GB: Calibration-Free 2-Bit SRFT KV-Cache Compression for Looped MoE Inference on Apple SiliconarXiv · 2026
- SPARE: Fast Linear Attention Decoding with Compact Recurrent StatesarXiv · 2026