ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Activity Pruning for Efficient Spiking Neural Networks — Problem 2: The later threshold backward multiplies the surrogate twice

Original paper: Bu, Tong; Shi, Xinyu; Yu, Zhaofei. Activity Pruning for Efficient Spiking Neural Networks. Advances in Neural Information Processing Systems, vol. 38, 2025, pp. 171134–171153. https://doi.org/10.52202/085713-5700
Source version: NeurIPS 2025 official proceedings PDF (current publisher bytes, checked 2026-10-21)
Source location: Current Eq. (13), PDF p. 6; models/submodules/layers.py, Surrogate.backward, lines 68–74; official cpp_neuron.cpp, lines 87–100

Question: What does the recorded analysis establish about “The later threshold backward multiplies the surrogate twice”?
Bounded finding:
The current later Python implementation still changes the selected threshold-update rule. This is a Minor release-specific mismatch, with no established effect on the paper’s historical C++ experiments or reported performance.

Recorded check:
The current Python backward first sets grad_input to the upstream derivative \(q\) times the triangular surrogate \(g\), then multiplies it by \(g\) again in the threshold gradient.
For the scalar input \(m=1/2\), threshold \(\theta=1\), no activity regularization and probe loss equal to the returned output, \(q=1\) and \(g=1/2\). The chosen Eq. (13) rule requires threshold gradient \(-qg=-1/2\), but the function returns \(-qg^2=-1/4\). Single-element input excludes mean/sum conventions as an explanation. The two expressions agree at \(g=0,1\) or \(q=0\); those controls do not establish general equality. The freshly retrieved official C++ single-step path contains one factor, which is counterevidence against attributing this later Python defect to the original tables.

Case-wide limitations:
- No author code, old verifier or SNN training was executed. The original official supplement and later Python release are distinct implementations. The input-layer convention affects the scope of the silent-output counterexample, and ordinary hard-forward derivatives are kept separate from surrogate updates. Performance and energy effects remain unmeasured.
Source problem ID: p2
Source report index: 2

Original source excerpts (verbatim):
On the other hand, the gradient vanishing problem will be alleviated since the gradient will no longer necessarily approach zero as the threshold value increases.
Source: NeurIPS 2025 official proceedings PDF (current publisher bytes, checked 2026-10-21)
Locator: PDF p. 7
Source PDF SHA-256: fd88c731403b57ff8425b63c1b6f6a63d7c54bfdc68842312e86087e31dac460

Review status: Independent review pending
Case: neurips2025-0028-activity-pruning-for-efficient-spiking-neural-networks
Revision: 1
Record created: 2026-10-21T07:13:27.568206+00:00
Permalink: https://elvia-atlas.org/atlas/cases/neurips2025-0028-activity-pruning-for-efficient-spiking-neural-networks.html#problem-2
Versioned public record: https://elvia-atlas.org/atlas/evidence/neurips2025-0028-activity-pruning-for-efficient-spiking-neural-networks/records/neurips2025-0028-activity-pruning-for-efficient-spiking-neural-networks.r1.json
Canonical record SHA-256: d64639df07bc898077cc5b10c3860eff7a405eba56e3832fc7d9488b580b3191
The page follows the latest revision; the versioned record identifies this snapshot.