Compute Where It Counts: Adaptive Compute Allocation for Large Language Models via Learned Granular Sparsity
Niveditha S. Iyer, Cyris Kissane, Adam Klein
ICLR 2026
Abstract. Sparsity-aware inference can dramatically shrink computation requirements by reducing the number of parameters used in each forward pass. Existing methods tend to be heuristic (zeroing activations below fixed thresholds, retaining top-K activations etc). These methods do not directly optimize individual thresholds using gradient-based methods and experience sharp performance degradation beyond 50% sparsity. This paper describes CWIC (Compute Where it Counts), a method that makes sparsity thresholds learnable and contextual. CWIC encourages conditional computation that allows model to designate different levels of sparsity to different input and layers. We also introduce “granular sparsity" that decomposes matrix columns into smaller "stripes" for more expressive sparsity patterns. CWIC and granular sparsity enable distilling 2-6x compute-efficient sparse models from Llama 3.2-1B and Llama 3.2-3B. Notably, CWIC models are found to allocate little compute to filler words or replicated text and more compute to questions humans deem challenging.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
Loading the discussion…