COUNTDOWN: Contextually Sparse Activation Filtering Out Unnecessary Weights in Down Projection
Jaewon Cheon, Pilsung Kang
TL;DR
This work tackles the inference bottleneck of large language models by redefining FFN sparsity as a global, linear combination over the down projection matrix. It introduces two CountDown methods: M-CountDown, which uses indirect indicators from the up and gate projections and is predictor-free, and D-CountDown, which uses the direct coefficient vector for fine-grained pruning. The approach achieves substantial acceleration, including up to 90% computation reduction with as little as 5.5% performance loss in ideal conditions, and up to 29.4% better preservation over CATS for practical settings, aided by specialized Triton kernels. The paper also contrasts SPIdeal (theoretical upper-bounds) with SPPrac (real-world deployment) considerations and provides extensive empirical validation across multiple LLMs and tasks, demonstrating robust gains in both task performance and throughput.
Abstract
The growing size of large language models has created significant computational inefficiencies. To address this challenge, sparse activation methods selectively deactivates non-essential parameters during inference, reducing computational costs in FFNN layers. While existing methods focus on non-linear gating mechanisms, we hypothesize that the sparsity of the FFNN layer lies globally in the form of a linear combination over its internal down projection matrix. Based on this insight, we propose two methods: M-COUNTDOWN, leveraging indirect coefficients, and D-COUNTDOWN, utilizing direct coefficients of the linear combination. Experimental results demonstrate that D-COUNTDOWN can omit 90% of computations with performance loss as low as 5.5% ideally, while M-COUNTDOWN provides a predictor-free solution with up to 29.4% better performance preservation compared to existing methods. Our specialized kernel implementations effectively realize these theoretical gains into substantial real-world acceleration.
