跳到正文
arXiv (AI + Vision + Imaging)· Victor O. K. Li, Yang Han, Jacqueline C. K. Lam·· 12 天前AI 评分28

PSSE:用概率状态空间枚举近似Transformer MLP输出并剪枝加速

Probabilistic State Space Enumeration in Neural Network Computation

AI 导读

概率状态空间枚举(PSSE)通过只保留高概率通道掩码来近似稠密Transformer MLP输出,并用NORDER-II在每层按冻结权重排序、无需列举全部组合即可选出概率质量最大的B个掩码。

正文 · 原文

arXiv:2611.15062v3 Announce Type: replace Abstract: Can we faithfully approximate the output of a dense Transformer multilayer perceptron (MLP) by enumerating only a small set of probable channel configurations? Our primary objective is to characterize and control approximation error under a fixed mask budget. Probabilistic state space enumeration (PSSE) links the selected masks to the residual in the MLP output. For a partition into channel groups, probability weighting makes the expectation over all possible masks equal to the dense output. We derive the exact residual for any retained set by weighting each group's output by the fraction of its inclusion probability outside the set. The omitted probability mass multiplied by the largest masked-output norm therefore bounds the absolute error. To select masks, NORDER-II adapts ORDER-II from network reliability. Under independent group inclusions, it computes an ordering once per layer from frozen weights and finds the $B$ masks with greatest total probability mass without listing all possibilities. With 32 groups, the mean number of masks needed to capture 95% of the mass ranges from 1,020 to 4,725 across models, out of more than four billion possibilities. Across 168 MLP layers in six language models, this approximation yields lower mean relative error than both ordinary and bias-corrected uniform sampling in all 1,008 equal-count comparisons. Our secondary objective is to improve inference efficiency through pruning. We count the distinct channels covered by each layer's retained masks and use those counts to allocate a fixed projection budget offline. The pruned models achieve lower held-out perplexity than both top-$k$ baselines in all 36 settings at matched MLP projection FLOPs. Target projection savings of 10%, 20%, and 30% yield mean decoder MLP speedups of $1.11\times$, $1.23\times$, and $1.36\times$ over dense MLPs, respectively.

来源:arXiv (AI + Vision + Imaging) · arxiv.org