{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/multi-level-firing-with-spiking-ds-resnet","title":"Multi-Level Firing with Spiking DS-ResNet: Enabling Better and Deeper Directly-Trained Spiking Neural Networks","arxiv_id":"2210.06386","date":"2022-10-12","proceeding":null,"authors":["Lang Feng","Qianhui Liu","Huajin Tang","De Ma","Gang Pan"],"abstract":"Spiking neural networks (SNNs) are bio-inspired neural networks with asynchronous discrete and sparse characteristics, which have increasingly manifested their superiority in low energy consumption. Recent research is devoted to utilizing spatio-temporal information to directly train SNNs by backpropagation. However, the binary and non-differentiable properties of spike activities force directly trained SNNs to suffer from serious gradient vanishing and network degradation, which greatly limits the performance of directly trained SNNs and prevents them from going deeper. In this paper, we propose a multi-level firing (MLF) method based on the existing spatio-temporal back propagation (STBP) method, and spiking dormant-suppressed residual network (spiking DS-ResNet). MLF enables more efficient gradient propagation and the incremental expression ability of the neurons. Spiking DS-ResNet can efficiently perform identity mapping of discrete spikes, as well as provide a more suitable connection for gradient propagation in deep SNNs. With the proposed method, our model achieves superior performances on a non-neuromorphic dataset and two neuromorphic datasets with much fewer trainable parameters and demonstrates the great ability to combat the gradient vanishing and degradation problem in deep SNNs.","url_abs":"https://arxiv.org/abs/2210.06386v2","url_pdf":"https://arxiv.org/pdf/2210.06386v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"multi-level-firing-with-spiking-ds-resnet","repo_url":"https://github.com/langfengq/mlf-dsresnet","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2210.06386","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2210.06386"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/langfengq/mlf-dsresnet","reach":null}],"summary":{"ran":4},"by_repo_kind":{"official":{"samples":4,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"4377228e6f48ab2b","entry":"MLF_unit","repo":"langfengq/mlf-dsresnet","repo_kind":"official","path":"parallel_nets/spike_layer_for_cifar10.py","file_url":"https://github.com/langfengq/mlf-dsresnet/blob/HEAD/parallel_nets/spike_layer_for_cifar10.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4377228e6f48ab2b"}},{"code_sha256_prefix":"f54289a9edd5a53e","entry":"SpikeFunction","repo":"langfengq/mlf-dsresnet","repo_kind":"official","path":"parallel_nets/spike_layer_for_cifar10.py","file_url":"https://github.com/langfengq/mlf-dsresnet/blob/HEAD/parallel_nets/spike_layer_for_cifar10.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f54289a9edd5a53e"}},{"code_sha256_prefix":"a81cce93dce07c6d","entry":"SpikeFunction2","repo":"langfengq/mlf-dsresnet","repo_kind":"official","path":"parallel_nets/spike_layer_for_cifar10.py","file_url":"https://github.com/langfengq/mlf-dsresnet/blob/HEAD/parallel_nets/spike_layer_for_cifar10.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a81cce93dce07c6d"}},{"code_sha256_prefix":"628e0ac310a00a9d","entry":"SpikeFunction3","repo":"langfengq/mlf-dsresnet","repo_kind":"official","path":"parallel_nets/spike_layer_for_cifar10.py","file_url":"https://github.com/langfengq/mlf-dsresnet/blob/HEAD/parallel_nets/spike_layer_for_cifar10.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"628e0ac310a00a9d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}