RoShift:面向LLM推理激活稀疏化的惰性移位与权重感知旋转方法
RoShift: Lazy Shift and Weight-aware Rotation for Activation Sparsity in LLM Inference
RoShift是一种免训练方法,通过惰性移位将SiLU激活分布重新居中于零附近,并把修正推迟到FFN末端以获取额外稀疏性,同时用兼顾激活与权重信息的旋转降低稀疏化带来的输出误差。在五个模型上,50%和60%稀疏度下平均准确率分别比TEAL高1.60和3.29个百分点。在RTX 5090上50%稀疏度时解码速度最高达稠密模型的1.72倍,精度-加速帕累托前沿优于TEAL。
arXiv:2611.20549v1 Announce Type: new 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 $1.72\times$ 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
来源:arXiv (AI + Vision + Imaging) · arxiv.org