{"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/integer-valued-training-and-spike-driven","title":"Integer-Valued Training and Spike-Driven Inference Spiking Neural Network for High-performance and Energy-efficient Object Detection","arxiv_id":"2407.20708","date":"2024-07-30","proceeding":null,"authors":["Xinhao Luo","Man Yao","Yuhong Chou","Bo Xu","Guoqi Li"],"abstract":"Brain-inspired Spiking Neural Networks (SNNs) have bio-plausibility and low-power advantages over Artificial Neural Networks (ANNs). Applications of SNNs are currently limited to simple classification tasks because of their poor performance. In this work, we focus on bridging the performance gap between ANNs and SNNs on object detection. Our design revolves around network architecture and spiking neuron. First, the overly complex module design causes spike degradation when the YOLO series is converted to the corresponding spiking version. We design a SpikeYOLO architecture to solve this problem by simplifying the vanilla YOLO and incorporating meta SNN blocks. Second, object detection is more sensitive to quantization errors in the conversion of membrane potentials into binary spikes by spiking neurons. To address this challenge, we design a new spiking neuron that activates Integer values during training while maintaining spike-driven by extending virtual timesteps during inference. The proposed method is validated on both static and neuromorphic object detection datasets. On the static COCO dataset, we obtain 66.2% mAP@50 and 48.9% mAP@50:95, which is +15.0% and +18.7% higher than the prior state-of-the-art SNN, respectively. On the neuromorphic Gen1 dataset, we achieve 67.2% mAP@50, which is +2.5% greater than the ANN with equivalent architecture, and the energy efficiency is improved by 5.7*. Code: https://github.com/BICLab/SpikeYOLO","url_abs":"https://arxiv.org/abs/2407.20708v3","url_pdf":"https://arxiv.org/pdf/2407.20708v3.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":"integer-valued-training-and-spike-driven","repo_url":"https://github.com/biclab/spikeyolo","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"AGPL-3.0"}}],"tasks":[{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"quantization","task_name":"Quantization"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[{"method_slug":"focus","method_name":"Focus"},{"method_slug":"snn","method_name":"SNN"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2407.20708","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2407.20708"}},"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/biclab/spikeyolo","reach":{"status":"ok","spdx":"AGPL-3.0"}}],"summary":{"ran":4,"ran_honours":2},"by_repo_kind":{"official":{"samples":6,"ran":6,"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":6,"samples":[{"code_sha256_prefix":"ec28ac055cfe3980","entry":"g1_img2labelpaths","repo":"biclab/spikeyolo","repo_kind":"official","path":"SpikeYOLO_for_Gen1/pre_gen1.py","file_url":"https://github.com/biclab/spikeyolo/blob/HEAD/SpikeYOLO_for_Gen1/pre_gen1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"ec28ac055cfe3980"}},{"code_sha256_prefix":"16941a8d0425664f","entry":"get_sparsity_mask","repo":"biclab/spikeyolo","repo_kind":"official","path":"SpikeYOLO_for_Gen1/_quan_base_plus.py","file_url":"https://github.com/biclab/spikeyolo/blob/HEAD/SpikeYOLO_for_Gen1/_quan_base_plus.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"16941a8d0425664f"}},{"code_sha256_prefix":"d75564df9359ef7b","entry":"grad_scale","repo":"biclab/spikeyolo","repo_kind":"official","path":"SpikeYOLO_for_Gen1/_quan_base_plus.py","file_url":"https://github.com/biclab/spikeyolo/blob/HEAD/SpikeYOLO_for_Gen1/_quan_base_plus.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"d75564df9359ef7b"}},{"code_sha256_prefix":"1155c4fec6df2245","entry":"img2label_paths","repo":"biclab/spikeyolo","repo_kind":"official","path":"SpikeYOLO_for_Gen1/pre_gen1.py","file_url":"https://github.com/biclab/spikeyolo/blob/HEAD/SpikeYOLO_for_Gen1/pre_gen1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"1155c4fec6df2245"}},{"code_sha256_prefix":"dfae085d22ba234f","entry":"load_events","repo":"biclab/spikeyolo","repo_kind":"official","path":"SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/datasets/es_imagenet.py","file_url":"https://github.com/biclab/spikeyolo/blob/HEAD/SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/datasets/es_imagenet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"dfae085d22ba234f"}},{"code_sha256_prefix":"40027e5e78ca8837","entry":"round_pass","repo":"biclab/spikeyolo","repo_kind":"official","path":"SpikeYOLO_for_Gen1/_quan_base_plus.py","file_url":"https://github.com/biclab/spikeyolo/blob/HEAD/SpikeYOLO_for_Gen1/_quan_base_plus.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"40027e5e78ca8837"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}