SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2501.13492 · ICLR · 2025

Quantized Spike-driven Transformer

Yang Yang, Malu Zhang, Haizhou Li, Xuerui Qiu, Jieyuan Zhang, Wenjie Wei, Honglin Cao, Junsheng Guo, Rui-Jie Zhu, Yimeng Shan

arXiv · PDF · Open in the Atlas

Code that ran

13 of 25 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (9 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 11 have no contract verdict; 0 failures of our instrument; 12 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2501.13492.json · badge: /api/ran/2501.13492.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
bollossom/qsd-transformer marked official in Papers with Code
Papers with Code archive
11 ran · 12 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
FunctionStatusWhere it lives
ActLSQ Ran
ran on a synthesized input
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("74d1ce63bd5f842a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BNAndPadLayer Ran
ran on a synthesized input · constructed an object; no result was computed
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("f81565b0f74daf8b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Conv1dLSQ Ran
ran on a synthesized input · constructed an object; no result was computed
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("fd8577cc6c4df32f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Conv2dLSQ Ran
ran on a synthesized input · constructed an object; no result was computed
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("1df040edf15964ac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

LinearLSQ Ran
ran on a synthesized input
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("a68f1f39a2897fde")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Multispike Ran
ran on a synthesized input · constructed an object; no result was computed
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("ff2a4847eb6e11d2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Multispike_att Ran
ran on a synthesized input · constructed an object; no result was computed
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("a9f9bdf13def2d6f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ReLUX Ran
ran on a synthesized input · constructed an object; no result was computed
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("ad6a0ecd94a89ea2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_Conv2dQ Ran
ran on a synthesized input · constructed an object; no result was computed
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("86dd02836653f2e0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_LinearQ Ran
ran on a synthesized input · constructed an object; no result was computed
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("ded10a8feeb6a5ef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

grad_scale Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from hustzxd/LSQuantization
pointer only; the stored copy get_code serves, from hustzxd/LSQuantization, is pointer only (licence: NONE) · get_code("d75564df9359ef7b")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

multispike Ran
ran on a synthesized input · constructed an object; no result was computed
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("82ae397418643fa2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

round_pass Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from hustzxd/LSQuantization
pointer only; the stored copy get_code serves, from hustzxd/LSQuantization, is pointer only (licence: NONE) · get_code("40027e5e78ca8837")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MS_Attention_RepConv_qkv_id Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("72e0098c41daeeaa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

MS_Block Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("ec49ca703b82bffb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

MS_ConvBlock Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("080509523416f672")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

MS_DownSampling Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("bcc18883fa271d08")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

MS_MLP Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("d439a7665ba3b641")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Qmodes Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("bc17ca45511f79e4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

RepConv Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("dea3847a1c1fe943")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

SepConv Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("f1954be367964988")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Spiking_vit_MetaFormer Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("32f1b759bc59a1b8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

_ActQ Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("3fbe93ab3bb68f7d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

_Conv1dQ Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("a4c658c06c77fb94")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_default_kwargs_q Not yet run
unverified (harvested, no recorded run)
bollossom/qsd-transformer/classification/models.py
pointer only (licence: NONE) · get_code("1aaa70701617780d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/qsd-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 25 samples lifted from this paper's linked repositories, 25 carry a function identity and 0 do not. Of the 25 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 22 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
grad_scale
brick of this paper's assembly: helper
5 other papers
5 dated earlier
1902.08153 (2019-02)
Learned Step Size Quantization
2201.07703 (2022-01)
Q-ViT: Fully Differentiable Quantization for Vision Transformer
aaai_28109 (2024 (year only))
Bi-ViT: Pushing the Limit of Vision Transformer Quantization
and 2 more not named here
round_pass
brick of this paper's assembly: helper
5 other papers
5 dated earlier
1902.08153 (2019-02)
Learned Step Size Quantization
2201.07703 (2022-01)
Q-ViT: Fully Differentiable Quantization for Vision Transformer
aaai_28109 (2024 (year only))
Bi-ViT: Pushing the Limit of Vision Transformer Quantization
and 2 more not named here
BNAndPadLayer
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2103.13425 (2021-03)
Diverse Branch Block: Building a Convolution as an Inception-like Unit

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Spiking neural networks (SNNs) are emerging as a promising energy-efficient alternative to traditional artificial neural networks (ANNs) due to their spike-driven paradigm. However, recent research in the SNN domain has mainly focused on enhancing accuracy by designing large-scale Transformer structures, which typically rely on substantial computational resources, limiting their deployment on resource-constrained devices. To overcome this challenge, we propose a quantized spike-driven Transformer baseline (QSD-Transformer), which achieves reduced resource demands by utilizing a low bit-width parameter. Regrettably, the QSD-Transformer often suffers from severe performance degradation. In this paper, we first conduct empirical analysis and find that the bimodal distribution of quantized spike-driven self-attention (Q-SDSA) leads to spike information distortion (SID) during quantization, causing significant performance degradation. To mitigate this issue, we take inspiration from mutual information entropy and propose a bi-level optimization strategy to rectify the information distribution in Q-SDSA. Specifically, at the lower level, we introduce an information-enhanced LIF to rectify the information distribution in Q-SDSA. At the upper level, we propose a finegrained distillation scheme for the QSD-Transformer to align the distribution in Q-SDSA with that in the counterpart ANN. By integrating the bi-level optimization strategy, the QSD-Transformer can attain enhanced energy efficiency without sacrificing its high-performance advantage. We validate the QSD-Transformer on various visual tasks, and experimental results indicate that our method achieves state-of-the-art results in the SNN domain. For instance, when compared to the prior SNN benchmark on ImageNet, the QSD-Transformer achieves 80.3% top-1 accuracy, accompanied by significant reductions of 6.0× and 8.1× in power consumption and model size, respectively. Code is available at Quantized Spikedriven Transformer.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2501.13492")
get_code_for_paper("2501.13492")
have("2501.13492")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2501.13492.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2501.13492.svg)](https://syntology.ai/paper/2501.13492)

Connect an agent — have() is free.