Papers › Sign Gradient Descent-based Neuronal Dynamics: ANN-to-SNN Conversion Beyond ReLU Network

Sign Gradient Descent-based Neuronal Dynamics: ANN-to-SNN Conversion Beyond ReLU Network

1 Jul 2024arXiv:2407.01645archive 2025-07-28

Hyunseok Oh, Youngki Lee

Spiking neural network (SNN) is studied in multidisciplinary domains to (i) enable order-of-magnitudes energy-efficient AI inference and (ii) computationally simulate neuro-scientific mechanisms. The lack of discrete theory obstructs the practical application of SNN by limiting its performance and nonlinearity support. We present a new optimization-theoretic perspective of the discrete dynamics of spiking neurons. We prove that a discrete dynamical system of simple integrate-and-fire models approximates the sub-gradient method over unconstrained optimization problems. We practically extend our theory to introduce a novel sign gradient descent (signGD)-based neuronal dynamics that can (i) approximate diverse nonlinearities beyond ReLU and (ii) advance ANN-to-SNN conversion performance in low time steps. Experiments on large-scale datasets show that our technique achieves (i) state-of-the-art performance in ANN-to-SNN conversion and (ii) is the first to convert new DNN architectures, e.g., ConvNext, MLP-Mixer, and ResMLP. We publicly share our source code at https://github.com/snuhcs/snn_signgd .

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2407.01645")

Code

Syntology Ran 12 of 13 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 12 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

snuhcs/snn_signgd officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 12 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

12ran
1unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from snuhcs/snn_signgd. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

copy_if_exists snuhcs/snn_signgd/src/packages/snn_signgd/core/layer.py official repository ran fingerprinted MIT (permissive) · b9c21ece96a51e25 · report
get_inputs_and_outputs snuhcs/snn_signgd/src/packages/snn_signgd/graph_functional/utils.py official repository ran MIT (permissive) · 84111747a4743f85 · report
get_parent_name snuhcs/snn_signgd/src/packages/snn_signgd/graph_functional/utils.py official repository ran fingerprinted MIT (permissive) · 28353e985d866fe1 · report
import_module_from_path snuhcs/snn_signgd/src/packages/snn_signgd/utils.py official repository ran MIT (permissive) · f5954937d705ef0a · report
multiply_inverse_of_square_root snuhcs/snn_signgd/src/packages/snn_signgd/core/layer.py official repository ran fingerprinted MIT (permissive) · a2295cefbeb3475a · report
reduce_duplicates snuhcs/snn_signgd/src/packages/snn_signgd/system_optimizations.py official repository ran fingerprinted MIT (permissive) · a4ea239e37558106 · report
repeat_shape_base snuhcs/snn_signgd/src/packages/snn_signgd/utils.py official repository ran MIT (permissive) · 3bf7592ec2efc27c · report
replace_node_module snuhcs/snn_signgd/src/packages/snn_signgd/graph_functional/utils.py official repository ran MIT (permissive) · 728ef6b02e252dd8 · report
running_average snuhcs/snn_signgd/src/packages/snn_signgd/core/hook.py official repository ran fingerprinted MIT (permissive) · 62209dabe65cb4da · report
save_and_reimport_nn_module snuhcs/snn_signgd/src/packages/snn_signgd/utils.py official repository ran MIT (permissive) · b6e46dc0b37a272f · report
traversal_pre snuhcs/snn_signgd/src/packages/snn_signgd/graph_functional/pattern_matching.py official repository ran MIT (permissive) · 45bc1a945c9346c6 · report
walk_backward snuhcs/snn_signgd/src/packages/snn_signgd/graph_functional/pattern_matching.py official repository ran MIT (permissive) · 987da864ece2cd79 · report
porting snuhcs/snn_signgd/src/packages/snn_signgd/port_ann.py official repository unverified MIT (permissive) · fe922121061b3d44 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Affine OperatorAverage PoolingDense ConnectionsDropoutFeedforward NetworkGlobal Average PoolingLayer NormalizationMLP-MixerResMLPResidual ConnectionSNN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections