arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2602.15720cs.CV

ToaSt: 面向高效ViT的令牌通道选择与结构化剪枝

ToaSt: Token Channel Selection and Structured Pruning for Efficient ViT

University of California, Berkeley(加州大学伯克利分校)

Hyunchan Moon, Cheonjun Park, Steven L. Waslander

AI总结:

提出ToaSt框架,对多头自注意力模块进行耦合头结构化剪枝,对前馈网络采用训练无关的令牌通道选择方法,在多种ViT模型上实现精度与效率的优越平衡。

摘要:

视觉Transformer(ViT)在各种视觉任务中取得了显著成功,但其部署常因高昂的计算成本而受阻。尽管结构化权重剪枝和令牌压缩已成为有前景的解决方案,但它们分别存在再训练时间长和层间依赖复杂优化的问题。我们提出ToaSt,一个解耦框架,将专门策略应用于不同的ViT组件。我们对多头自注意力模块应用耦合头结构化剪枝,利用注意力操作特性增强鲁棒性。对于前馈网络(占FLOPs的60%以上),我们引入令牌通道选择(TCS),一种在推理时过滤冗余噪声通道的免训练方法。在包括DeiT、ViT-MAE和Swin Transformer在内的九个不同模型上的广泛评估表明,ToaSt在精度和效率之间实现了优越的权衡,持续优于现有基线。在ViT-MAE-Huge上,ToaSt以39.4%的FLOPs缩减达到88.52%的准确率(+1.64%)。ToaSt还能有效迁移到多种下游任务(COCO检测、ADE20K分割、CIFAR-100分类),在COCO上达到52.2 vs 51.9 mAP。代码:this http URL

英文摘要:

Vision Transformers (ViTs) have achieved remarkable success across various vision tasks, yet their deployment is often hindered by prohibitive computational costs. While structured weight pruning and token compression have emerged as promising solutions, they suffer from prolonged retraining and inter-layer dependencies that complicate optimization, respectively. We propose ToaSt, a decoupled framework applying specialized strategies to distinct ViT components. We apply coupled head-wise structured pruning to Multi-Head Self-Attention modules, leveraging attention operation characteristics to enhance robustness. For Feed-Forward Networks (over 60% of FLOPs), we introduce Token Channel Selection (TCS), a training-free method that filters redundant noise channels at inference time. Extensive evaluations across nine diverse models, including DeiT, ViT-MAE, and Swin Transformer, demonstrate that ToaSt achieves superior trade-offs between accuracy and efficiency, consistently outperforming existing baselines. On ViT-MAE-Huge, ToaSt achieves 88.52% accuracy (+1.64%p) with 39.4% FLOPs reduction. ToaSt also transfers effectively to diverse downstream tasks (COCO detection, ADE20K segmentation, CIFAR-100 classification), achieving 52.2 versus 51.9 mAP on COCO. Code: github.com/SHANNonLab-HUFS/ToaSt

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑