GTR:用于高效密集预测的门控令牌循环
研究论文 · 2026/10/05
基于自注意力的视觉骨干网络在密集预测任务上表现良好,但全局softmax注意力的二次计算成本限制了其随图像分辨率增加时的效率。我们提出了门控令牌循环(GTR),一种无softmax的循环视觉骨干网络,结合了门控线性注意力、交替空间扫描方向和空间增强的SwiGLU模块。GTR仅使用最终层patch-token对齐,通过线性投影和平方ell_2损失,从检测专用的DINOv3教师模型蒸馏而来,无需掩码令牌预测或中间层监督。在Objects365检测器预训练下,GTR-L在COCO val2017上达到58.9 box AP,在RTX 4090上编译FP16执行时,中位数批量一延迟为1.908 ms。同一骨干网络还可迁移至实例分割、姿态估计、定向检测、语义分割和单目深度估计。在隔离内核基准测试中,我们的专用分块CUDA算子在RTX 4090上处理1.6K令牌时比FLA v0.5.0快4.0倍。在DRIVE AGX Thor上的TensorRT部署中,所评估模型的中位数批量一延迟为2.282--8.769 ms。这些结果表明,循环令牌混合可以为高分辨率密集预测和边缘部署提供一种高效的全局softmax注意力替代方案。项目页面:https://intellindust-ai-lab.github.io/projects/GTR/
该工作提出了一种高效的无softmax循环视觉骨干网络,在保持高精度的同时显著降低计算成本,适用于高分辨率密集预测和边缘部署,并提供了详细的实验验证和实际部署延迟数据。
Self-attention-based vision backbones perform well on dense prediction, but the quadratic computational cost of global softmax attention limits their efficiency as image resolution increases. We introduce Gated Token Recurrence (GTR), a softmax-free recurrent vision backbone that combines gated linear attention, alternating spatial scan directions, and spatially enhanced SwiGLU blocks. GTR is distilled from a detection-specialized DINOv3 teacher using only final-layer patch-token alignment through a linear projection and squared ell_2 loss, without masked-token prediction or intermediate-layer supervision. With Objects365 detector pre-training, GTR-L achieves 58.9 box AP on COCO val2017 with 1.908\,ms median batch-one latency under compiled FP16 execution on an RTX~4090. The same backbone also transfers to instance segmentation, pose estimation, oriented detection, semantic segmentation, and monocular depth estimation. In an isolated kernel benchmark, our specialized chunkwise CUDA operator is 4.0times faster than FLA v0.5.0 at 1.6K tokens on RTX~4090. TensorRT deployment on DRIVE AGX Thor achieves 2.282--8.769\,ms median batch-one latency across the evaluated models. These results show that recurrent token mixing can provide an efficient alternative to global softmax attention for high-resolution dense prediction and edge deployment. Project page: https://intellindust-ai-lab.github.io/projects/GTR/