SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.06372 · 2023

Ternary Spike: Learning Ternary Spikes for Spiking Neural Networks

arXiv · PDF · Open in the Atlas

Code that ran

13 of 15 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, 2 violated it and 0 have no contract verdict; 11 failures of our instrument; 2 no recorded run), measured 2026-11-22; 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/2312.06372.json · badge: /api/ran/2312.06372.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
yfguo91/ternary-spike canonical (classifier label)
classifier basis: census
13 ran · 2 no recorded run
FunctionStatusWhere it lives
MPR Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yfguo91/ternary-spike/models/spike_layer.py
pointer only (licence: NONE); the stored copy get_code serves, from yfguo91/mpbn, is pointer only (licence: NONE) · get_code("84864b7304ea2f94")
How it ran

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

accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yfguo91/ternary-spike/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from toytiny/milliflow, is pointer only (licence: NOASSERTION) · get_code("4134b8420b4c48b5")
How it ran

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

conv3x3 Ran
ran; our contract draft was wrong, not the code
yfguo91/ternary-spike/models/resnet.py
pointer only (licence: NONE) · get_code("dacc6812ec177540")
How it ran

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

gradient_scale Ran
ran; our contract draft was wrong, not the code
yfguo91/ternary-spike/models/spike_layer.py
pointer only (licence: NONE) · get_code("6899805d3c9c6510")
How it ran

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

init_bias Ran
ran; our contract draft was wrong, not the code
yfguo91/ternary-spike/models/init.py
pointer only (licence: NONE) · get_code("506029b9782311de")
How it ran

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

init_weights Ran
ran; our contract draft was wrong, not the code
yfguo91/ternary-spike/models/init.py
pointer only (licence: NONE) · get_code("bc15a35a19eccd77")
How it ran

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

is_absorbing Ran
ran, violated the contract we drafted
yfguo91/ternary-spike/models/fold_bn.py
pointer only (licence: NONE) · get_code("bc1bf5bb29e60206")
How it ran

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

is_bn Ran
ran, violated the contract we drafted
yfguo91/ternary-spike/models/fold_bn.py
pointer only (licence: NONE) · get_code("06ddc213753098ff")
How it ran

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

make_layers Ran
ran; our contract draft was wrong, not the code
yfguo91/ternary-spike/models/vggcifar.py
pointer only (licence: NONE) · get_code("d816051f5a32a403")
How it ran

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

plot_overlap Ran
ran; our contract draft was wrong, not the code
yfguo91/ternary-spike/myutils/logger.py
pointer only (licence: NONE) · get_code("50afa2863ffd9fde")
How it ran

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

search_fold_and_remove_bn Ran
ran; our contract draft was wrong, not the code
yfguo91/ternary-spike/models/fold_bn.py
pointer only (licence: NONE) · get_code("d7cc95c193f0291c")
How it ran

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

spike_activation Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yfguo91/ternary-spike/models/spike_layer.py
pointer only (licence: NONE) · get_code("dc807df34e66cf20")
How it ran

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

split_weights Ran
ran; our contract draft was wrong, not the code
yfguo91/ternary-spike/models/init.py
pointer only (licence: NONE) · get_code("314691fc56c14c2a")
How it ran

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

vgg11 Not yet run
unverified (harvested, no recorded run)
yfguo91/ternary-spike/models/vggcifar.py
pointer only (licence: NONE) · get_code("9c695d51a5fdcc9e")
How it ran

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

vgg11_bn Not yet run
unverified (harvested, no recorded run)
yfguo91/ternary-spike/models/vggcifar.py
pointer only (licence: NONE) · get_code("ff89b5bc32b8bfd8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yfguo91/ternary-spike 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 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 1 the same month, 5 later) and 5 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
conv3x3 686 other papers
533 dated earlier, 7 the same month, 139 later, 7 same year, order not determinable · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
plot_overlap 31 other papers
23 dated earlier, 8 later
1612.06321 (2016-12)
Large-Scale Image Retrieval with Attentive Deep Local Features
1805.07925 (2018-05)
Batch-Instance Normalization for Adaptively Style-Invariant Neural Networks
1806.04606 (2018-06)
Knowledge Distillation by On-the-Fly Native Ensemble
and 28 more not named here
accuracy 10 other papers
7 dated earlier, 3 later
1409.7495 (2014-09)
Unsupervised Domain Adaptation by Backpropagation
1904.05049 (2019-04)
Drop an Octave: Reducing Spatial Redundancy in Convolutional Neural Networks with Octave Convolution
2111.02926 (2021-11)
OPENFWI: Large-scale Multi-structural Benchmark Datasets for Full Waveform Inversion
and 7 more not named here
is_absorbing 4 other papers
3 dated earlier, 1 same year, order not determinable
2106.06984 (2021-06)
A Free Lunch From ANN: Towards Efficient, Accurate Spiking Neural Networks Calibration
2303.11906 (2023-03)
Solving Oscillation Problem in Post-Training Quantization Through a Theoretical Perspective
and 1 more not named here
is_bn 4 other papers
3 dated earlier, 1 same year, order not determinable
2106.06984 (2021-06)
A Free Lunch From ANN: Towards Efficient, Accurate Spiking Neural Networks Calibration
2303.11906 (2023-03)
Solving Oscillation Problem in Post-Training Quantization Through a Theoretical Perspective
and 1 more not named here
search_fold_and_remove_bn 3 other papers
2 dated earlier, 1 same year, order not determinable
Liu_PD-Quant_Post-Training_Quantization_Based_on_Prediction_Difference_Metric_CVPR_2023_paper (2023 (year only))
PD-Quant: Post-Training Quantization Based on Prediction Difference Metric
2303.11906 (2023-03)
Solving Oscillation Problem in Post-Training Quantization Through a Theoretical Perspective
2307.10554 (2023-07)
EMQ: Evolving Training-free Proxies for Automated Mixed Precision Quantization
vgg11 3 other papers
2 dated earlier, 1 later
2306.13856 (2023-06)
Learning-to-Rank Meets Language: Boosting Language-Driven Ordering Alignment for Ordinal Classification
2308.06248 (2023-08)
FunnyBirds: A Synthetic Vision Dataset for a Part-Based Analysis of Explainable AI Methods
2407.11910 (2024-07)
Benchmarking the Attribution Quality of Vision Models
vgg11_bn 3 other papers
2 dated earlier, 1 later
2306.13856 (2023-06)
Learning-to-Rank Meets Language: Boosting Language-Driven Ordering Alignment for Ordinal Classification
2308.06248 (2023-08)
FunnyBirds: A Synthetic Vision Dataset for a Part-Based Analysis of Explainable AI Methods
2407.11910 (2024-07)
Benchmarking the Attribution Quality of Vision Models
MPR 1 other paper
1 dated earlier
2308.06787 (2023-08)
RMP-Loss: Regularizing Membrane Potential Distribution for Spiking Neural Networks
gradient_scale 1 other paper
1 dated earlier
2306.06446 (2023-06)
ShiftAddViT: Mixture of Multiplication Primitives Towards Efficient Vision Transformers

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-22.

Repositories linked to this paper

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

Abstract

The Spiking Neural Network (SNN), as one of the biologically inspired neural network infrastructures, has drawn increasing attention recently. It adopts binary spike activations to transmit information, thus the multiplications of activations and weights can be substituted by additions, which brings high energy efficiency. However, in the paper, we theoretically and experimentally prove that the binary spike activation map cannot carry enough information, thus causing information loss and resulting in accuracy decreasing. To handle the problem, we propose a ternary spike neuron to transmit information. The ternary spike neuron can also enjoy the event-driven and multiplication-free operation advantages of the binary spike neuron but will boost the information capacity. Furthermore, we also embed a trainable factor in the ternary spike neuron to learn the suitable spike amplitude, thus our SNN will adopt different spike amplitudes along layers, which can better suit the phenomenon that the membrane potential distributions are different along layers. To retain the efficiency of the vanilla ternary spike, the trainable ternary spike SNN will be converted to a standard one again via a re-parameterization technique in the inference. Extensive experiments with several popular network structures over static and dynamic datasets show that the ternary spike can consistently outperform state-of-the-art methods. Our code is open-sourced at https://github.com/yfguo91/Ternary-Spike.

For agents

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

get_harvested_code_for_paper("2312.06372")
get_code_for_paper("2312.06372")
have("2312.06372")

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

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

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

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

Connect an agent — have() is free.