atlas

Research map / Architectures and efficiency / Spiking networks

TTFSFormer: A TTFS-based Lossless Conversion of Spiking Transformer

ICML 2025 · Architectures and efficiency › Spiking networks · approach: Spiking transformers

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes TTFSFormer, a generalized TTFS neuron with input/output transform kernels and zero reference time that enables lossless ANN-to-SNN conversion of Vision Transformers (ViT, EVA) with TTFS coding on ImageNet-1K.

Problem

ANN-to-SNN conversion of Transformers has relied on rate coding, which needs many spikes; prior TTFS conversion methods were limited to ReLU MLPs/CNNs because TTFS spike times represent only [0,1] and cannot handle GELU/SiLU, softmax, LayerNorm, or multiplication.

Approach

A generalized TTFS neuron with configurable input transform kernel, output transform kernel, and zero reference time expands the representable range and lets neurons compute nonlinear functions (GELU/SiLU, log-sum-exp for softmax, LayerNorm, multiplication via log-domain tricks) exactly, enabling lossless conversion of all Transformer layers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Convert the pretrained Transformer to an SNN using TTFS coding and generalized neuronsTTFSFormer · ImageNet-1Ktop-1 accuracyNo clear effect
Use TTFS coding for Transformer conversion instead of the compared rate-coding conversionsTransformer SNN conversion · ImageNet-1Ktop-1 accuracyHelped
Use TTFS coding for Transformer conversionViT-S/16 · ImageNet-1Kenergy consumption ratio: 22.3%Helped
Use TTFS coding for Transformer conversionViT-B/16 · ImageNet-1Kenergy consumption ratio: 21.0%Helped
Use TTFS coding for Transformer conversionViT-L/16 · ImageNet-1Kenergy consumption ratio: 20.7%Helped

Limitations

Experimental setup

Datasets: ImageNet-1K

Benchmarks: ImageNet-1K

Metrics: top-1 accuracy energy consumption (mJ) accuracy vs time precision

Baselines: STA ECMT SpikeZIP-TF MST AdaFire Lossless TTFS SRP Spikingformer Spike-Driven E-Spikeformer

Builds on: Stanojevic et al. lossless TTFS conversion SpikeZIP-TF ECMT STA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy