Search papers, labs, and topics across Lattice.
The paper introduces Principal-Random Subspace for LLM Activation Compression (PRAC) to address the memory bottleneck of activations in large-batch LLM training by exploiting the spectral structure of activations. PRAC decomposes activations into a principal subspace captured via SVD and a random subspace sampled from the orthogonal complement, using a scaling factor to ensure an unbiased gradient estimator with minimal variance. Experiments on pre-training and fine-tuning show that PRAC achieves up to 36% memory reduction with negligible performance degradation.
SVD meets random projections: PRAC offers a surprisingly effective recipe for compressing LLM activations, slashing memory by 36% while barely impacting performance.
Activations have become the primary memory bottleneck in large-batch LLM training. However, existing compression methods fail to exploit the spectral structure of activations, resulting in slow convergence or limited compression. To address this, we bridge the relationship between the algorithm's fast convergence and the requirements for subspace projection, and show that an effective compression should yield an unbiased estimate of the original activation with low variance. We propose Principal-Random Subspace for LLM Activation Compression (PRAC), which novelly decomposes activations into two components: a principal subspace captured via SVD to retain dominant information, and a random subspace sampled from the orthogonal complement to approximate the tail. By introducing a precise scaling factor, we prove that PRAC yields an unbiased gradient estimator with minimum variance under certain conditions. Extensive experiments on pre-training and fine-tuning tasks demonstrate that PRAC achieves up to 36% total memory reduction with negligible performance degradation and minimal computational cost.