Decision SpikeFormer: Spike-Driven Transformer for Decision Making

Wei Huang, Qinying Gu, Nan Ye
2/10/2026

No official code found. Best implementation: Wei-Nijuan/DecisionSpikeFormer (19 stars, MIT, last commit 2025-08-08).

Abstract

Offline reinforcement learning (RL) enables policy training solely on pre-collected data, avoiding direct environment interaction—a crucial benefit for energy-constrained embodied AI applications. Although Artificial Neural Networks (ANN)-based methods perform well in offline RL, their high computational and energy demands motivate exploration of more efficient alternatives. Spiking Neural Networks (SNNs) show promise for such tasks, given their low power consumption. In this work, we introduce DSFormer, the first spike-driven transformer model designed to tackle offline RL via sequence modeling. Unlike existing SNN transformers focused on spatial dimensions for vision tasks, we develop Temporal Spiking Self-Attention (TSSA) and Positional Spiking Self-Attention (PSSA) in DSFormer to capture the temporal and positional dependencies essential for sequence modeling in RL. Additionally, we propose Progressive Threshold-dependent Batch Normalization (PTBN), which combines the benefits of LayerNorm and BatchNorm to preserve temporal dependencies while maintaining the spiking nature of SNNs. Comprehensive results in the D4RL benchmark show DSFormer’s superiority over both SNN and ANN counterparts, achieving 78.4% energy savings, highlighting DSFormer’s advantages not only in energy efficiency but also in competitive performance. Code and models are public at project page.

View on arXivView PDF

Code Implementations(1)

MIT

[CVPR 2025] Decision SpikeFormer: Spike-Driven Transformer for Decision Making

194Shell, PythonMar 18, 20251 years agoMIT

Similar Papers

Cite this paper

@article{huang2026decision,
  title  = {Decision SpikeFormer: Spike-Driven Transformer for Decision Making},
  author = {Wei Huang and Qinying Gu and Nan Ye},
  year   = {2026},
  eprint = {2504.03800},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2504.03800},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.03800.svg)](https://codeofpaper.com/paper/2504.03800)

Discussion