RoShift: Lazy Shift and Weight-aware Rotation for Activation Sparsity in LLM Inference
Abstract
Activation sparsity accelerates LLM decoding by skipping unnecessary weight reads and computation. However, SiLU-based LLMs exhibit little natural sparsity, and imposing high sparsity can substantially degrade accuracy. We propose RoShift, a training-free method that transforms activations into sparsity-friendly representations. RoShift introduces lazy shift, which recenters SiLU activation distributions around zero and defers correction to the end of the FFN to obtain additional sparsity. It also reduces sparsification-induced output error through rotation that jointly accounts for activation and weight information. By fusing the corrections required for shifting and rotation, RoShift translates these gains into decoding speedup. At 50% and 60% sparsity, RoShift improves average accuracy over TEAL by 1.60 and 3.29 percentage points, respectively, across five models. It achieves up to decoding speedup over the dense model on an RTX 5090 at 50% sparsity and yields a better accuracy-speedup Pareto frontier than TEAL. Code is available at https://github.com/hulahula3247/RoShift
Create a lesson
Metadata
- Comments
- 40 pages, 10 figures, including appendices
Related papers
Small Learned Projections for Semantic-Reversal-Aware Retrieval with Spectral Acceleration: A Four-Domain Empirical Study
Shared title terminologycs.LGSayed Amir Karim
Flagging Batch Shift in Flow Cytometry using Jeffreys Divergence between Gaussian Mixtures
Shared title terminologycs.LGJonathan Legrand, Aguirre Mimoun, Audrey Bidet et al.
Precision-Aware Learning Rate Transfer Across Block Count in LLM Post-Training
Shared title terminologycs.LGNan Chen, Soledad Villar, Soufiane Hayou
RoFE: Rotated Frozen Embeddings for Low-Data Multimodal Tabular Learning
Shared title terminologycs.LGYihao Qiao, Jiajian Ma, Wushuang Rui et al.
MTL-MHOL: Predicting Online Conversions under Delayed Feedback and Data Sparsity
Shared title terminologycs.LGMario Tejera Vicente, Eva Hagen, Emma van Breukelen et al.
Near-Far Attention: Region-Aware Sparse Retrieval for Long-Context LLM Decoding
Shared title terminologycs.LGYuanShuo Wang, Jianchao Tan, Lei Gong et al.