CoLA: Compute-Efficient Pre-Training of LLMs via Low-Rank Activation
Ziyue Liu, Ruijie Zhang, Zhengyang Wang, Mingsong Yan, Zi Yang, Paul Hovland, Bogdan Nicolae, Franck Cappello, Sui Tang, Zheng Zhang
TL;DR
CoLA introduces a compute-efficient architecture for pre-training LLMs by replacing full-size MLPs and projection layers with bottleneck auto-encoders that enforce low-rank activations. The approach is complemented by CoLA-M, a memory-efficient variant that minimizes activation storage via strategic recomputation. Theoretical results show nonlinear activations can yield better low-rank representations under data-dependent conditions, and an effective-rank–aware bound clarifies when CoLA is advantageous. Empirically, CoLA achieves about 2× reductions in parameters and FLOPs with full-rank-level performance, while CoLA-M further boosts memory savings and throughput; inference also benefits with lower latency and memory cost. Overall, CoLA and CoLA-M offer substantial practical efficiency gains for dense LLM pre-training and deployment, with potential extensions to mixture-of-experts models.
Abstract
The full-size MLPs and the projection layers in attention introduce tremendous model sizes of large language models (LLMs), consuming extensive computational resources in pre-training. We empirically observe that the activations of pre-trained LLMs exhibit low-rank property. Motivated by such observations, we propose CoLA and its memory-efficient implementation, CoLA-M, to replace these full-size layers with compute-efficient auto-encoders that naturally enforce low-rank activations throughout training. This fundamental architectural change eliminates the activation redundancy and significantly boosts model capacity and training efficiency. Experiments on LLaMA models with 60 million to 7 billion parameters show that CoLA reduces the computing cost by $\bf 2\pmb{\times}$ and improves training throughput by $\bf 1.86\pmb{\times}$ while maintaining full-rank level performance. CoLA-M further squeezes memory cost without sacrificing throughput, offering a pre-training approach with collectively superior parameter, computing, and memory efficiency. The LLMs produced are also $\bf 2\pmb{\times}$ smaller, enabling faster inference with lower memory cost on resource-constrained platforms.
