BSO: Binary Spiking Online Optimization Algorithm

Yu Liang, Yu Yang, Wenjie Wei, Ammar Belatreche, Shuai Wang +2 more
11/16/2025
cs.LGcs.CV

Official code: hamings1/BSO (2 stars, last commit 2025-11-14).

Abstract

Binary Spiking Neural Networks (BSNNs) offer promising efficiency advantages for resource-constrained computing. However, their training algorithms often require substantial memory overhead due to latent weights storage and temporal processing requirements. To address this issue, we propose Binary Spiking Online (BSO) optimization algorithm, a novel online training algorithm that significantly reduces training memory. BSO directly updates weights through flip signals under the online training framework. These signals are triggered when the product of gradient momentum and weights exceeds a threshold, eliminating the need for latent weights during training. To enhance performance, we propose T-BSO, a temporal-aware variant that leverages the inherent temporal dynamics of BSNNs by capturing gradient information across time steps for adaptive threshold adjustment. Theoretical analysis establishes convergence guarantees for both BSO and T-BSO, with formal regret bounds characterizing their convergence rates. Extensive experiments demonstrate that both BSO and T-BSO achieve superior optimization performance compared to existing training methods for BSNNs. The codes are available at https://github.com/hamings1/BSO.

View on arXivView PDF

Code Implementations(1)

hamings1/BSOOfficial100%

Offical implementation of "BSO: Binary Spiking Online Optimization Algorithm" (ICML 2025)

20Shell, PythonSep 4, 202511 months ago

Similar Papers

Cite this paper

@article{liang2025bso,
  title  = {BSO: Binary Spiking Online Optimization Algorithm},
  author = {Yu Liang and Yu Yang and Wenjie Wei and Ammar Belatreche and Shuai Wang and Malu Zhang and Yang Yang},
  year   = {2025},
  eprint = {2511.12502},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.12502v1},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.12502.svg)](https://codeofpaper.com/paper/2511.12502)

Discussion