{"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/balanced-resonate-and-fire-neurons","title":"Balanced Resonate-and-Fire Neurons","arxiv_id":"2402.14603","date":"2024-02-02","proceeding":null,"authors":["Saya Higuchi","Sebastian Kairat","Sander M. Bohte","Sebastian Otte"],"abstract":"The resonate-and-fire (RF) neuron, introduced over two decades ago, is a simple, efficient, yet biologically plausible spiking neuron model, which can extract frequency patterns within the time domain due to its resonating membrane dynamics. However, previous RF formulations suffer from intrinsic shortcomings that limit effective learning and prevent exploiting the principled advantage of RF neurons. Here, we introduce the balanced RF (BRF) neuron, which alleviates some of the intrinsic limitations of vanilla RF neurons and demonstrates its effectiveness within recurrent spiking neural networks (RSNNs) on various sequence learning tasks. We show that networks of BRF neurons achieve overall higher task performance, produce only a fraction of the spikes, and require significantly fewer parameters as compared to modern RSNNs. Moreover, BRF-RSNN consistently provide much faster and more stable training convergence, even when bridging many hundreds of time steps during backpropagation through time (BPTT). These results underscore that our BRF-RSNN is a strong candidate for future large-scale RSNN architectures, further lines of research in SNN methodology, and more efficient hardware implementations.","url_abs":"https://arxiv.org/abs/2402.14603v2","url_pdf":"https://arxiv.org/pdf/2402.14603v2.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":"balanced-resonate-and-fire-neurons","repo_url":"https://github.com/AdaptiveAILab/brf-neurons","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"balanced-resonate-and-fire-neurons","repo_url":"https://github.com/maxtimer97/ssm-inspired-lif","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[],"methods":[{"method_slug":"snn","method_name":"SNN"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2402.14603","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.14603"}},"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/AdaptiveAILab/brf-neurons","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/maxtimer97/ssm-inspired-lif","reach":null}],"summary":{"ran":2,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":2,"ran":1,"repositories":1},"listed":{"samples":2,"ran":2,"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":2,"samples":[{"code_sha256_prefix":"18c5058dff369cd9","entry":"ResonateFireLayer","repo":"maxtimer97/ssm-inspired-lif","repo_kind":"listed","path":"models/snns.py","file_url":"https://github.com/maxtimer97/ssm-inspired-lif/blob/HEAD/models/snns.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"18c5058dff369cd9"}},{"code_sha256_prefix":"e1d4101b5428420f","entry":"SpikeFunctionBoxcar","repo":"maxtimer97/ssm-inspired-lif","repo_kind":"listed","path":"models/snns.py","file_url":"https://github.com/maxtimer97/ssm-inspired-lif/blob/HEAD/models/snns.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e1d4101b5428420f"}},{"code_sha256_prefix":"a91db5afcd21d2ce","entry":"smnist_transform_input_batch","repo":"adaptiveailab/brf-neurons","repo_kind":"official","path":"experiments/smnist/smnist_train.py","file_url":"https://github.com/adaptiveailab/brf-neurons/blob/HEAD/experiments/smnist/smnist_train.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a91db5afcd21d2ce"}},{"code_sha256_prefix":"624e426942e03235","entry":"brf_update","repo":"AdaptiveAILab/brf-neurons","repo_kind":"official","path":"snn/modules/rf.py","file_url":"https://github.com/AdaptiveAILab/brf-neurons/blob/HEAD/snn/modules/rf.py","link_basis":"first_harvest_node","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":"624e426942e03235"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}