SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.06582 · 2023

Gated Attention Coding for Training High-performance and Efficient Spiking Neural Networks

arXiv · PDF · Open in the Atlas

Code that ran

7 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 5 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/2308.06582.json · badge: /api/ran/2308.06582.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/GAC canonical (classifier label)
classifier basis: census
7 ran · 5 no recorded run
FunctionStatusWhere it lives
TET_loss Ran
ran; our contract draft was wrong, not the code
bollossom/GAC/CODE/ImageNet/functions.py
pointer only (licence: NONE) · get_code("e63c09a8d741cb95")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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.

add_dimention Ran
ran; our contract draft was wrong, not the code
bollossom/GAC/CODE/CIFAR/models/layers.py
pointer only (licence: NONE) · get_code("13a0e034c03001ab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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.

get_logger Ran
ran; our contract draft was wrong, not the code
bollossom/GAC/CODE/ImageNet/functions.py
pointer only (licence: NONE); the stored copy get_code serves, from hzc1208/lmht_snn, is pointer only (licence: NONE) · get_code("210ba8a40d178d14")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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.

get_test_dataloader Ran
ran; our contract draft was wrong, not the code
bollossom/GAC/CODE/ImageNet/utils.py
pointer only (licence: NONE) · get_code("81dca27176dba617")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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.

get_training_dataloader Ran
ran; our contract draft was wrong, not the code
bollossom/GAC/CODE/ImageNet/utils.py
pointer only (licence: NONE) · get_code("c0ece177fe1403ab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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.

normalizex Ran
ran; our contract draft was wrong, not the code
bollossom/GAC/CODE/CIFAR/models/layers.py
pointer only (licence: NONE) · get_code("a93504b7fd3c8d98")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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.

rand_bbox Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bollossom/GAC/CODE/ImageNet/train_amp.py
pointer only (licence: NONE) · get_code("fc20496120a56972")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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.

build_cifar Not yet run
unverified (harvested, no recorded run)
bollossom/GAC/CODE/CIFAR/data_loaders.py
pointer only (licence: NONE) · get_code("91445f58c19b833d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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.

conv1x1 Not yet run
unverified (harvested, no recorded run)
bollossom/GAC/CODE/CIFAR/models/MS_ResNet.py
pointer only (licence: NONE); the stored copy get_code serves, from whai362/PytorchInsight, is pointer only (licence: NONE) · get_code("de955f3e3ead10d1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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.

conv3x3 Not yet run
unverified (harvested, no recorded run)
bollossom/GAC/CODE/CIFAR/models/MS_ResNet.py
pointer only (licence: NONE) · get_code("71d699d243383ea6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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.

eval_training Not yet run
unverified (harvested, no recorded run)
bollossom/GAC/CODE/ImageNet/train_amp.py
pointer only (licence: NONE) · get_code("3003b736b22e1c18")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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_network Not yet run
unverified (harvested, no recorded run)
bollossom/GAC/CODE/ImageNet/utils.py
pointer only (licence: NONE) · get_code("93ce720570d3d998")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bollossom/GAC 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 2 the same month, 4 later) and 6 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
conv1x1 431 other papers
274 dated earlier, 9 the same month, 139 later, 8 same year, order not determinable, 1 undated · 38 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1506.01186 (2015-06)
Cyclical Learning Rates for Training Neural Networks
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
and 428 more not named here
conv3x3 312 other papers
177 dated earlier, 7 the same month, 120 later, 7 same year, order not determinable, 1 undated · 31 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
and 309 more not named here
get_logger 10 other papers
4 dated earlier, 6 later
2106.06716 (2021-06)
DS-TransUNet:Dual Swin Transformer U-Net for Medical Image Segmentation
2205.08987 (2022-05)
Trading Positional Complexity vs Deepness in Coordinate Networks
2207.00012 (2022-07)
Reliable Representations Make A Stronger Defender: Unsupervised Structure Refinement for Robust GNN
and 7 more not named here
normalizex 3 other papers
2 dated earlier, 1 later
2202.11946 (2022-02)
Temporal Efficient Training of Spiking Neural Network via Gradient Re-weighting
2304.13098 (2023-04)
Uncovering the Representation of Spiking Neural Networks Trained with Surrogate Gradient
aaai_27804 (2024 (year only))
Enhancing the Robustness of Spiking Neural Networks with Stochastic Gating Mechanisms
TET_loss 2 other papers
2 dated earlier
2202.11946 (2022-02)
Temporal Efficient Training of Spiking Neural Network via Gradient Re-weighting
2304.13098 (2023-04)
Uncovering the Representation of Spiking Neural Networks Trained with Surrogate Gradient
add_dimention 2 other papers
2 dated earlier
2202.11946 (2022-02)
Temporal Efficient Training of Spiking Neural Network via Gradient Re-weighting
2304.13098 (2023-04)
Uncovering the Representation of Spiking Neural Networks Trained with Surrogate Gradient

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 an energy-efficient alternative to traditional artificial neural networks (ANNs) due to their unique spike-based event-driven nature. Coding is crucial in SNNs as it converts external input stimuli into spatio-temporal feature sequences. However, most existing deep SNNs rely on direct coding that generates powerless spike representation and lacks the temporal dynamics inherent in human vision. Hence, we introduce Gated Attention Coding (GAC), a plug-and-play module that leverages the multi-dimensional gated attention unit to efficiently encode inputs into powerful representations before feeding them into the SNN architecture. GAC functions as a preprocessing layer that does not disrupt the spike-driven nature of the SNN, making it amenable to efficient neuromorphic hardware implementation with minimal modifications. Through an observer model theoretical analysis, we demonstrate GAC's attention mechanism improves temporal dynamics and coding efficiency. Experiments on CIFAR10/100 and ImageNet datasets demonstrate that GAC achieves state-of-the-art accuracy with remarkable efficiency. Notably, we improve top-1 accuracy by 3.10\% on CIFAR100 with only 6-time steps and 1.07\% on ImageNet while reducing energy usage to 66.9\% of the previous works. To our best knowledge, it is the first time to explore the attention-based dynamic coding scheme in deep SNNs, with exceptional effectiveness and efficiency on large-scale datasets.The Code is available at https://github.com/bollossom/GAC.

For agents

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

get_harvested_code_for_paper("2308.06582")
get_code_for_paper("2308.06582")
have("2308.06582")

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

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

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

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

Connect an agent — have() is free.