Reproduce “TDFormer: A Top-Down Attention-Controlled Spiking Transformer” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Zizheng Zhu, Yingchao Yu, Zeqi Zheng, Zhaofei Yu, Yaochu Jin
TDFormer adds feedback from an earlier higher-level representation to guide later processing in Transformer-based spiking neural networks, rather than relying only on membrane potential. On ImageNet, HST-10-768 reaches 86.83% top-1 accuracy versus 85.65% for matched QKFormer at four steps and 384×384 input, with more parameters and a higher operation-based power estimate; this does not establish faster inference or lower measured energy.
Key insights
- Biologically inspired top-down feedback mechanisms can significantly enhance the capture and integration of temporal information, increasing mutual information between features at different time steps in SNNs.
- Explicit structural feedback pathways in SNNs provide alternative routes for gradient flow, which effectively mitigates the vanishing gradient problem along the temporal dimension.
- Controlling the variance of attention outputs through a simple clamp operation is crucial for stabilizing gradients and simplifying computations in spike-based attention mechanisms.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.