无辅助模块的轴解耦、通道优先视觉Transformer的案例
A Case for Axis-Decoupled, Channel-Primary Vision Transformers without Auxiliary Modules
AI总结:
本文提出轴解耦、通道优先的视觉Transformer ADViT,无需辅助模块,在多个图像分类、分割基准上实现更优的精度-效率权衡,论证通道优先混合作为骨干设计的可行性。
摘要:
视觉Transformer(ViT)中的自注意力沿空间-令牌轴混合信息,该算子的计算复杂度与令牌数量呈二次关系,且局部性先验较弱,导致高分辨率阶段成本高昂,小样本训练易受影响。主流方案将空间注意力作为主要混合器,并在其周围添加机制:分层令牌化、卷积 stem 或 Q/K/V,或次级通道分支。即使是感知通道的模型通常也仅改变轴,同时继承空间优先的流水线。本文探究一种刻意简化的替代方案能达到何种效果,该方案将内容自适应混合设计为「通道优先」,并围绕其设计阶段,而非将通道注意力嫁接至空间骨干网络。本文引入轴解耦视角,从四个设计维度审视阶段,并将其两项任务分配给匹配的算子:深度卷积提取空间结构,而针对通道令牌的单头自注意力以线性空间成本自适应混合信息,提供全局上下文,无需辅助模块。从零开始训练的 ADViT 在三个评估的从零训练基准中领先:在 CIFAR-100 上比更大的空间注意力 ViT 提升 5.9,在 Tiny-ImageNet 上提升 4.6;在 ImageNet-1K 上,其参数减少 40%,仅比最强的感知通道 ViT 低 0.8 个点,且在 ADE20K 上实现最佳的精度-效率权衡。本文提供该视角及相关证据,以论证通道优先混合作为一流骨干网络设计的可行性。
英文摘要:
Self-attention in Vision Transformers (ViTs) mixes information along the spatial-token axis, an operator quadratic in token count with weak locality priors, leaving high-resolution stages expensive and small-data training fragile. The dominant response keeps spatial attention as the primary mixer and adds machinery around it: hierarchical tokenization, convolutional stems and Q/K/V, or secondary channel branches. Even channel-aware models typically change only the axis while inheriting that spatial-first pipeline. We ask how far a deliberately simple alternative can go by making content-adaptive mixing 'channel-primary and co-designing the stage around it instead of grafting channel attention onto a spatial backbone. We introduce an axis-decoupling lens that views a stage through four design dimensions and assigns its two jobs to purpose-matched operators: depthwise convolutions extract spatial structure, while single-head self-attention over channel tokens mixes information adaptively, providing global context at linear spatial cost, without auxiliary modules. Trained from scratch, ADViT leads three evaluated from-scratch benchmarks, gaining +5.9 on CIFAR-100 and +4.6 on Tiny-ImageNet over larger spatial-attention ViTs; on ImageNet-1K it comes within 0.8 points of the strongest channel-aware ViTs at 40% fewer parameters, with the best accuracy-efficiency trade-off on ADE20K. We offer the lens and this evidence as a case for channel-primary mixing as first-class backbone design.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。