arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.15840cs.NEcs.AIcs.CV
收藏

TDFormer:一种自上而下注意力控制的脉冲Transformer

TDFormer: A Top-Down Attention-Controlled Spiking Transformer

Westlake University(西湖大学);Zhejiang University(浙江大学);Peking University(北京大学);Donghua University(东华大学);University of Electronic Science and Technology of China(电子科学与技术大学)

Zizheng Zhu, Yingchao Yu, Zeqi Zheng, Zhaofei Yu, Yaochu Jin

AI总结:

本文提出TDFormer,一种受大脑自上而下机制启发的脉冲Transformer,通过分层反馈结构利用先前时间步的高阶信息调节后续处理,增加跨时间步互信息并缓解梯度消失,在ImageNet上达到86.83%的准确率。

摘要:

传统脉冲神经网络(SNNs)可视为多个子网络的组合,每个子网络运行一个时间步,参数共享,膜电位作为它们之间唯一的信息连接。然而,膜电位的隐式特性限制了其有效表示时间信息的能力。因此,每个时间步无法充分利用先前时间步的信息,严重限制了模型性能。受大脑中自上而下机制的启发,我们提出了TDFormer,一种具有自上而下反馈结构的新型模型,该结构分层运作,利用较早时间步的高阶表示来调节后期低阶信息的处理。反馈结构从两个角度发挥作用:1)在前向传播过程中,我们的模型增加了跨时间步的互信息,表明更丰富的时间信息在不同时间步中被传输和整合。2)在后向传播过程中,我们从理论上证明了反馈结构缓解了沿时间维度的梯度消失问题。我们发现这些机制共同显著且一致地提升了模型在多个数据集上的性能。特别是,我们的模型在ImageNet上达到了最先进的性能,准确率为86.83%。

英文摘要:

Traditional spiking neural networks (SNNs) can be viewed as a combination of multiple subnetworks with each running for one time step, where the parameters are shared, and the membrane potential serves as the only information link between them. However, the implicit nature of the membrane potential limits its ability to effectively represent temporal information. As a result, each time step cannot fully leverage information from previous time steps, seriously limiting the model's performance. Inspired by the top-down mechanism in the brain, we introduce TDFormer, a novel model with a top-down feedback structure that functions hierarchically and leverages high-order representations from earlier time steps to modulate the processing of low-order information at later stages. The feedback structure plays a role from two perspectives: 1) During forward propagation, our model increases the mutual information across time steps, indicating that richer temporal information is being transmitted and integrated in different time steps. 2) During backward propagation, we theoretically prove that the feedback structure alleviates the problem of vanishing gradients along the time dimension. We find that these mechanisms together significantly and consistently improve the model performance on multiple datasets. In particular, our model achieves state-of-the-art performance on ImageNet with an accuracy of 86.83%.

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

↑