TPipe: Efficient Spiking Transformer Training with Time Parallelism and Asynchronous Pipeline
Yubing Bao, ZhiHui Lu, Qiang Duan, Changze Lv, Xin Du, Zeyi Deng, Jingqi Feng, Sen Liu, Yang Chen, Xin Wang
Abstract
Spiking Transformers, which couple Spiking Neural Networks (SNNs) with Transformer architectures, promise low-energy inference and strong accuracy. However, their training is hindered by the intrinsic temporal dynamics of SNNs, which cause severe memory and synchronization bottlenecks. Through an in-depth analysis of the SpikeFormer architecture and training workload, we uncover local dependency in its training process, which enables time parallelism. We present TPipe, the first unified framework for efficient SpikeFormer training that integrates time, data, and pipeline parallelism. We formalize the Automated SpikeFormer Parallelism (ASP) problem to jointly optimize parallelism and placement strategies. We further formalize the SpikeFormer Scheduling (SS) problem, which eliminates pipeline bubbles via fine-grained, sub–micro-batch asynchronous scheduling. We prove that TPipe achieves bounded speed-up over synchronous baselines while preserving training correctness. Experiments on multiple SpikeFormer models and datasets show that TPipe attains 1.1–3.8× speed-up over default pipeline baselines while maintaining accuracy.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Related papers
- AdaptPipe: Mitigating Runtime Bubbles via Granularity-Adaptive Scheduling under Memory ConstraintsYumeng Cui, Jessie Hui Wang, Najila Liu, Ling Deng et al.INFOCOM 2026
- HelixPipe: Efficient Distributed Training of Long Sequence Transformers with Attention Parallel Pipeline ParallelismGeng Zhang, Shenggan Cheng, Xuanlei Zhao, Ziming Liu et al.PPoPP 2026 · 3 citations
- TEFormer: Structured Bidirectional Temporal Enhancement Modeling in Spiking TransformersSicheng Shen, Mingyang Lv, Bing Han, Dongcheng Zhao et al.ICML 2026 · 1 citation
- FlexPipe: Maximizing Training Efficiency for Transformer-based Models with Variable-Length InputsHairui Zhao, Qi Tian, Hongliang Li, Zizhong ChenUSENIX ATC 2025 · 6 citations
- Towards Efficient Spiking Transformer: a Token Sparsification Framework for Training and Inference AccelerationZhengyang Zhuge, Peisong Wang, Xingting Yao, Jian ChengICML 2024 · 6 citations
