Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

CoLA: Compute-Efficient Pre-Training of LLMs via Low-Rank Activation

About

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.

Ziyue Liu, Ruijie Zhang, Zhengyang Wang, Mingsong Yan, Zi Yang, Paul Hovland, Bogdan Nicolae, Franck Cappello, Sui Tang, Zheng Zhang• 2025

Related benchmarks

TaskDatasetResultRank
Language ModelingC4 (val)
PPL7.74
908
Language ModelingC4 (train)
PPL15.76
50
Language ModelingC4 LLaMA-130M (val)
Perplexity24.48
40
Language ModelingC4 LLaMA-60M (val)
Perplexity34.04
25
Commonsense ReasoningHellaSwag
HellaSwag Zero-shot Accuracy32.96
25
Language ModelingC4 LLaMA-350M (val)
Perplexity19.4
23
Multi-task Language UnderstandingMMLU
Zero-shot Accuracy22.95
14
Language ModelingC4-en LLaMA-1B, 13.1B tokens
Perplexity (PPL)15.52
11
Language ModelingLLaMA-2 7B pre-training (val)
Validation Perplexity (40K steps)16.21
5
Language ModelingLLaMA 1B pre-training 2 (val)
Perplexity15.52
5
Showing 10 of 14 rows

Other info

Follow for update