计算机科学
人工智能
模式识别(心理学)
计算机视觉
算法
信号处理
人工神经网络
噪音(视频)
特征提取
数学
特征(语言学)
透视图(图形)
作者
Weikang Meng,Yadan Luo,Liangyu Huo,Yingjian Li,Yaowei Wang,Zheng Zhang,Heng Tao Shen
标识
DOI:10.1109/tpami.2026.3723414
摘要
Linear attention has recently emerged as an efficient alternative to Softmax-based self-attention by reducing quadratic computational complexity to linear. However, existing linear attention mechanisms still suffer from substantial performance degradation, primarily due to two limitations: the loss of negative elements in query and key vectors caused by non-negative feature maps, and the failure to preserve the spikiness property as in Softmax attention, which weakens token discriminability. To address these issues, we propose PolaFormer++, an enhanced polarity-aware linear attention mechanism with Channel-wise Spikiness. Specifically, we first introduce the polarity-aware linear attention to recover both same- and opposite-polarity interactions via polarity decomposition, preserving complete similarity information. Secondly, we propose a Polarity-aware Channel-wise Spiky (PaCS) feature map, which incorporates two learnable temperature vectors into the dual polarity flows to endow each channel with a distinct degree of spikiness, thereby enabling adaptive control of channel-wise attention across polarity flows. Moreover, we provide the first theoretical analysis of how channel-wise feature maps influence the entropy of attention weight, revealing conditions under which a feature map preserves entropy-reducing behavior. Comprehensive experiments on image classification, object detection, semantic segmentation, image super-resolution, diffusion-based generation, and 3D novel view synthesis demonstrate that PolaFormer++ achieves a superior balance between efficiency and accuracy, establishing a strong theoretical and practical foundation for linear attention in vision Transformers. Code is available at this https URL.
科研通智能强力驱动
Strongly Powered by AbleSci AI