SourceReLU Strikes Back: Exploiting Activation Sparsity in Large Language Models
The paper measures the fraction of zero activations in the feed-forward network between up and down projections across all layers of three released LLMs. OPT 6.7B, which natively uses ReLU, shows sparsity exceeding 90% in every layer, zeroing out 95% of rows in the down-projection weight matrix. This structural sparsity reduces the FLOPs per token from 6.6G to 4.5G, a 32% computation saving. In contrast, Llama 7B (SiLU) and Falcon 7B (GELU) show near-zero activation sparsity in the same measurement, confirming that the sparsity is a direct consequence of the ReLU activation function.