{"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/training-full-spike-neural-networks-via","title":"Training Full Spike Neural Networks via Auxiliary Accumulation Pathway","arxiv_id":"2301.11929","date":"2023-01-27","proceeding":null,"authors":["Guangyao Chen","Peixi Peng","Guoqi Li","Yonghong Tian"],"abstract":"Due to the binary spike signals making converting the traditional high-power multiply-accumulation (MAC) into a low-power accumulation (AC) available, the brain-inspired Spiking Neural Networks (SNNs) are gaining more and more attention. However, the binary spike propagation of the Full-Spike Neural Networks (FSNN) with limited time steps is prone to significant information loss. To improve performance, several state-of-the-art SNN models trained from scratch inevitably bring many non-spike operations. The non-spike operations cause additional computational consumption and may not be deployed on some neuromorphic hardware where only spike operation is allowed. To train a large-scale FSNN with high performance, this paper proposes a novel Dual-Stream Training (DST) method which adds a detachable Auxiliary Accumulation Pathway (AAP) to the full spiking residual networks. The accumulation in AAP could compensate for the information loss during the forward and backward of full spike propagation, and facilitate the training of the FSNN. In the test phase, the AAP could be removed and only the FSNN remained. This not only keeps the lower energy consumption but also makes our model easy to deploy. Moreover, for some cases where the non-spike operations are available, the APP could also be retained in test inference and improve feature discrimination by introducing a little non-spike consumption. Extensive experiments on ImageNet, DVS Gesture, and CIFAR10-DVS datasets demonstrate the effectiveness of DST.","url_abs":"https://arxiv.org/abs/2301.11929v1","url_pdf":"https://arxiv.org/pdf/2301.11929v1.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":"training-full-spike-neural-networks-via","repo_url":"https://github.com/iCGY96/AAP","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"training-full-spike-neural-networks-via","repo_url":"https://github.com/iCGY96/syops-counter","is_official":0,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[{"method_slug":"dst","method_name":"DST"},{"method_slug":"test","method_name":"Test"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2301.11929","atlas_url":"https://app.syntology.ai/?focus=2301.11929","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2301.11929"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/iCGY96/AAP","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/iCGY96/syops-counter","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_fixture":1,"ran_draft_wrong":2,"ran":5,"unverified":3},"by_repo_kind":{"official":{"samples":4,"ran":4,"repositories":1},"named_in_paper":{"samples":7,"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":"4134b8420b4c48b5","entry":"accuracy","repo":"iCGY96/AAP","repo_kind":"official","path":"imagenet/utils.py","file_url":"https://github.com/iCGY96/AAP/blob/HEAD/imagenet/utils.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4134b8420b4c48b5"}},{"code_sha256_prefix":"d9def42110729a85","entry":"conv1x1","repo":"iCGY96/AAP","repo_kind":"official","path":"imagenet/dsnn.py","file_url":"https://github.com/iCGY96/AAP/blob/HEAD/imagenet/dsnn.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d9def42110729a85"}},{"code_sha256_prefix":"160bb14bd76201b4","entry":"conv3x3","repo":"iCGY96/AAP","repo_kind":"official","path":"imagenet/dsnn.py","file_url":"https://github.com/iCGY96/AAP/blob/HEAD/imagenet/dsnn.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"160bb14bd76201b4"}},{"code_sha256_prefix":"79233a0a481d1c39","entry":"convpxp","repo":"iCGY96/AAP","repo_kind":"official","path":"imagenet/dsnn.py","file_url":"https://github.com/iCGY96/AAP/blob/HEAD/imagenet/dsnn.py","link_basis":"harvester_set","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":"79233a0a481d1c39"}},{"code_sha256_prefix":"dc5ee8c0a918c502","entry":"params_to_string","repo":"iCGY96/syops-counter","repo_kind":"named_in_paper","path":"syops/utils.py","file_url":"https://github.com/iCGY96/syops-counter/blob/HEAD/syops/utils.py","link_basis":"harvester_set","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":"dc5ee8c0a918c502"}},{"code_sha256_prefix":"ff0de6ad446ac5df","entry":"rnn_syops","repo":"iCGY96/syops-counter","repo_kind":"named_in_paper","path":"syops/ops.py","file_url":"https://github.com/iCGY96/syops-counter/blob/HEAD/syops/ops.py","link_basis":"harvester_set","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":"ff0de6ad446ac5df"}},{"code_sha256_prefix":"315b7f4d135390d6","entry":"spike_rate","repo":"iCGY96/syops-counter","repo_kind":"named_in_paper","path":"syops/ops.py","file_url":"https://github.com/iCGY96/syops-counter/blob/HEAD/syops/ops.py","link_basis":"harvester_set","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":"315b7f4d135390d6"}},{"code_sha256_prefix":"eda2bc4c9144c14c","entry":"syops_to_string","repo":"iCGY96/syops-counter","repo_kind":"named_in_paper","path":"syops/utils.py","file_url":"https://github.com/iCGY96/syops-counter/blob/HEAD/syops/utils.py","link_basis":"harvester_set","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":"eda2bc4c9144c14c"}},{"code_sha256_prefix":"e805c6a2a25d5e39","entry":"accumulate_syops","repo":"iCGY96/syops-counter","repo_kind":"named_in_paper","path":"syops/engine.py","file_url":"https://github.com/iCGY96/syops-counter/blob/HEAD/syops/engine.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e805c6a2a25d5e39"}},{"code_sha256_prefix":"49528bea8c87044b","entry":"get_model_complexity_info","repo":"iCGY96/syops-counter","repo_kind":"named_in_paper","path":"syops/flops_counter.py","file_url":"https://github.com/iCGY96/syops-counter/blob/HEAD/syops/flops_counter.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"49528bea8c87044b"}},{"code_sha256_prefix":"11ca743c5945e560","entry":"print_model_with_syops","repo":"iCGY96/syops-counter","repo_kind":"named_in_paper","path":"syops/engine.py","file_url":"https://github.com/iCGY96/syops-counter/blob/HEAD/syops/engine.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"11ca743c5945e560"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}