SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.00411 · NeurIPS · 2024

LM-HT SNN: Enhancing the Performance of SNN to ANN Counterpart through Learnable Multi-hierarchical Threshold Model

Tiejun Huang, Zhaofei Yu, Zecheng Hao, Xinyu Shi, Yujia Liu

arXiv · PDF · Open in the Atlas

Code that ran

16 of 20 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 4 violated it and 3 have no contract verdict; 7 failures of our instrument; 4 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/2402.00411.json · badge: /api/ran/2402.00411.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
hzc1208/LMHT_SNN canonical (classifier label)
classifier basis: census
11 ran · 3 no recorded run
hzc1208/lmht_snn canonical (classifier label)
classifier basis: classifier_2025
5 ran · 1 no recorded run
FunctionStatusWhere it lives
FourLevelFunction Ran
ran on a synthesized input · constructed an object; no result was computed
hzc1208/lmht_snn/modules.py
pointer only (licence: NONE) · get_code("076dc973f4968691")
How it ran

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

LMHTNeuron Ran
ran on a synthesized input · constructed an object; no result was computed
hzc1208/lmht_snn/modules.py
pointer only (licence: NONE) · get_code("76e3189ab9076e54")
How it ran

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

TwoLevelFunction Ran
ran on a synthesized input · constructed an object; no result was computed
hzc1208/lmht_snn/modules.py
pointer only (licence: NONE) · get_code("6a0778fa05f3ca57")
How it ran

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

conv1x1 Ran
ran; our contract draft was wrong, not the code
hzc1208/LMHT_SNN/models/ResNet.py
pointer only (licence: NONE) · get_code("d9def42110729a85")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzc1208/LMHT_SNN 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
hzc1208/LMHT_SNN/models/ResNet.py
pointer only (licence: NONE) · get_code("160bb14bd76201b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzc1208/LMHT_SNN 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
hzc1208/lmht_snn/hybrid_train.py
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, hzc1208/lmht_snn 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_distributed Ran
ran, honoured the contract we drafted
hzc1208/lmht_snn/hybrid_train.py
pointer only (licence: NONE) · get_code("8b975cea75b61471")
How it ran

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

isActivation Ran
ran, violated the contract we drafted
hzc1208/LMHT_SNN/utils.py
pointer only (licence: NONE) · get_code("e0bf1b53ff97bfe0")
How it ran

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

isLayer Ran
ran, violated the contract we drafted
hzc1208/LMHT_SNN/utils.py
pointer only (licence: NONE) · get_code("5370e68baffe23cc")
How it ran

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

l_prod Ran
ran, violated the contract we drafted
hzc1208/LMHT_SNN/monitor.py
pointer only (licence: NONE) · get_code("df0c99a2dd641d9a")
How it ran

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

resnet20 Ran
ran; our contract draft was wrong, not the code
hzc1208/LMHT_SNN/ann_models/ResNet.py
pointer only (licence: NONE) · get_code("70470a857f93b627")
How it ran

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

unpack_for_conv Ran
ran, violated the contract we drafted
hzc1208/LMHT_SNN/monitor.py
pointer only (licence: NONE) · get_code("ccc7adcc07f66bf9")
How it ran

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

unpack_for_linear Ran
ran, honoured the contract we drafted
hzc1208/LMHT_SNN/monitor.py
pointer only (licence: NONE) · get_code("7e6512e3f6aa68d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzc1208/LMHT_SNN 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 Ran
ran; our contract draft was wrong, not the code
hzc1208/LMHT_SNN/ann_models/VGG.py
pointer only (licence: NONE) · get_code("a3ef124708d2a2b0")
How it ran

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

vgg13 Ran
ran; our contract draft was wrong, not the code
hzc1208/LMHT_SNN/ann_models/VGG.py
pointer only (licence: NONE) · get_code("d8bb4a9d1a90845c")
How it ran

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

vgg16 Ran
ran; our contract draft was wrong, not the code
hzc1208/LMHT_SNN/ann_models/VGG.py
pointer only (licence: NONE) · get_code("2f1362c8b4ce058c")
How it ran

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

PreProcess_Cifar10 Not yet run
unverified (harvested, no recorded run)
hzc1208/LMHT_SNN/dataprocess.py
pointer only (licence: NONE) · get_code("93f237e2b525407d")
How it ran

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

PreProcess_Cifar100 Not yet run
unverified (harvested, no recorded run)
hzc1208/LMHT_SNN/dataprocess.py
pointer only (licence: NONE) · get_code("0ed731da45c59bc2")
How it ran

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

load_ImageNet_dataset Not yet run
unverified (harvested, no recorded run)
hzc1208/LMHT_SNN/dataprocess.py
pointer only (licence: NONE) · get_code("d340a7547149cd0f")
How it ran

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

reduce_mean Not yet run
unverified (harvested, no recorded run)
hzc1208/lmht_snn/hybrid_train.py
pointer only (licence: NONE) · get_code("f30055a92471e41f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzc1208/lmht_snn 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 4 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 2 the same month, 4 later) and 16 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
322 dated earlier, 7 the same month, 91 later, 10 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
221 dated earlier, 4 the same month, 76 later, 10 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
5 dated earlier, 4 later, 1 same year, order not determinable
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
l_prod 1 other paper
1 later
2606.20457 (2026-06)
Repurposing a Speech Classifier for Guided Diffusion-Based Speech Generation

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

Compared to traditional Artificial Neural Network (ANN), Spiking Neural Network (SNN) has garnered widespread academic interest for its intrinsic ability to transmit information in a more energy-efficient manner. However, despite previous efforts to optimize the learning algorithm of SNNs through various methods, SNNs still lag behind ANNs in terms of performance. The recently proposed multithreshold model provides more possibilities for further enhancing the learning capability of SNNs. In this paper, we rigorously analyze the relationship among the multi-threshold model, vanilla spiking model and quantized ANNs from a mathematical perspective, then propose a novel LM-HT model, which is an equidistant multi-threshold model that can dynamically regulate the global input current and membrane potential leakage on the time dimension. The LM-HT model can also be transformed into a vanilla single threshold model through reparameterization, thereby achieving more flexible hardware deployment. In addition, we note that the LM-HT model can seamlessly integrate with ANN-SNN Conversion framework under special initialization. This novel hybrid learning framework can effectively improve the relatively poor performance of converted SNNs under low time latency. Extensive experimental results have demonstrated that our model can outperform previous state-of-the-art works on various types of datasets, which promote SNNs to achieve a brand-new level of performance comparable to quantized ANNs. Code is available at https://github.com/hzc1208/LMHT_SNN.

For agents

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

get_harvested_code_for_paper("2402.00411")
get_code_for_paper("2402.00411")
have("2402.00411")

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

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

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

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

Connect an agent — have() is free.