Manuscript Offprint

arXiv:2610.39601

GC-LIF: Spiking Group-Equivariant Neural Network With Group-Coupled Membrane Dynamics

Nhan Trong Luu, Duong Trung Luu, Thang Cong Truong

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Spiking neural networks (SNNs) promise event-driven, low-power inference, but on vision tasks they still acquire rotation invariance only through data augmentation. Group-equivariant CNNs build such symmetries into the architecture, yet a faithful spiking analogue is missing: a leaky integrate-and-fire (LIF) neuron placed after a G-equivariant convolution can break equivariance through its membrane recurrence. We give a necessary and sufficient condition for this not to happen. The layer is equivariant at every time step if and only if the neuron parameters ( β\beta, vthv_{th}) are constant along the joint orbits of the group action on the (group, space) index. We solve it in closed form, and it covers any elementwise stateful neuron. Its sufficiency half specialises a known result for equivariant recurrent networks; its necessity half rules out the heterogeneous per-neuron parameters common in SNNs. The per-channel parameterisation that satisfies it, Group-Coupled LIF (GC-LIF), is combined with p4 and p4m-equivariant convolutions and a spike-rate group max-pool into SGE-Net. On MNIST, KMNIST, Fashion-MNIST, CIFAR-10 and CIFAR-100, evaluating each checkpoint on the clean test set and all its group-transformed copies, SGE-Net trained without rotations is invariant under C4C_4 and D4D_4 and outperforms a plain SNN trained with rotations in nine of ten dataset-group pairs, whereas non-equivariant baselines lose up to 72 percentage points in the worst case. Operator-level tests confirm the theory before and after training, and an analytical estimate places SGE-Net at 1.7×1.7\times the arithmetic energy of a standard CNN and 2.3×2.3\times below its ANN counterpart at eight time steps.

Nhan Trong Luu

College of ICT, Can Tho University, Can Tho, Vietnam. E-mail: luutn@ctu.edu.vn

Duong Trung Luu

Center for Digital Transformation and Communication, Can Tho University, Can Tho, Vietnam. E-mail: luutd@ctu.edu.vn

Truong Cong Thang

Department of Computer Science and Engineering, The University of Aizu, Japan. E-mail: thang@u-aizu.ac.jp

*Corresponding author.

Nhan Trong Luu* et al.

Convolutional neural networks (CNNs) [27] are translation-equivariant by construction, which is a major reason for their sample efficiency. Group-equivariant CNNs (G-CNNs) [7] and steerable CNNs [8,43] extend this to rotations and reflections, and improve parameter efficiency and generalisation when data arrive in arbitrary poses, as in medical imaging, microscopy and satellite imagery.

Spiking neural networks (SNNs) have meanwhile become a practical substrate for low-power, event-driven inference, and surrogate-gradient training [32,34] brings them close to ANN accuracy on vision benchmarks. On rotation-sensitive tasks, however, SNNs still rely on data augmentation [42] or fixed transformation priors [37] rather than on the exact discrete-group equivariance of G-CNNs.

Simply inserting a spiking neuron into a G-CNN does not solve this. Equivariance requires every internal feature to transform along with the input, and a spiking neuron carries a membrane state across time steps. If its parameters differ between the positions that the group action exchanges, the rotated and unrotated networks drift apart step by step, even though every convolution in the stack is equivariant. This paper works out exactly which parameterisations avoid this and what the resulting network buys and costs. We make four contributions:

– A necessary and sufficient condition. A G-equivariant convolution followed by per-element LIF neurons is equivariant at every time step if and only if (β,vth)(\beta, v_{\mathrm{th}}) are constant along the joint orbits of the group action on the (group, space) index. We solve this constraint in closed form and show that it covers any elementwise stateful neuron. The sufficiency half is the spiking instance of a known induction for equivariant recurrent networks [20]; the necessity half, and the list of common SNN parameterisations it excludes, are specific to this work.

– GC-LIF and SGE-Net. Group-Coupled LIF (GC-LIF) keeps one membrane state per (group, spatial) location but shares (β,vth)(\beta, v_{\mathrm{th}}) per channel, the only choice that is both orbit invariant and translation equivariant. With lifting and group convolutions, group BatchNorm and a spike-rate group max-pool it forms the Spiking Group Equivariant Network (SGE-NET).

– A controlled evaluation. We compare SGE-NET with a plain CNN, a plain SNN and an ANN G-CNN on five datasets, four groups (C4,C8,D4,D8)(C_{4}, C_{8}, D_{4}, D_{8}) and three training and test regimes. Every number comes from one checkpoint, selected on a held-out validation split and evaluated on the clean test set and on every group-transformed copy of it, so that exact invariance can be read off the tables directly. We report 95% confidence intervals over four seeds, a sensitivity study over the number of time steps T, and an analytical energy estimate.

– Operator-level validation. We test the theory on the operators themselves, at initialisation and after training: tied parameters give identical spike trains under C4C_{4} and D4D_{4} up to float32 rounding, untying them breaks this immediately, and the threshold and the leak break it through different mechanisms, exactly as the proof predicts.

To our knowledge, SGE-NET is the first spiking network with exact discrete-group equivariance through time, exact for n∈{1,2,4}n \in \{1, 2, 4\}, where the group acts by pixel permutations, and approximate for n=8n = 8. Equivariance of recurrent networks under static group actions is itself established theory [3,20,35], and we do not claim it. Our contribution is the characterisation of which spiking parameterisations satisfy it and a controlled measurement of the resulting accuracy and cost.

1 Related Work

References (46)

  • Learning multiple layers of features from tiny images
  • Exploring local rotation invariance in 3d cnns with steerable filters
  • Equivariant deep dynamical model for motion prediction
  • B-spline cnns on lie groups (opens arXiv in a new tab)
  • Rotation equivariant and invariant neural networks for microscopy image analysis
  • Deep learning for classical Japanese literature
  • Group equivariant convolutional networks
  • Steerable cnns (opens arXiv in a new tab)
  • Are snns really more energy-efficient than anns? an in-depth hardware-aware study
  • Loihi: A neuromorphic manycore processor with on-chip learning
  • The mnist database of handwritten digit images for machine learning research [best of the web]
  • Spiking structured state space model for monaural speech enhancement
  • Learning so (3) equivariant representations with spherical cnns
  • Deep residual learning in spiking neural networks
  • Incorporating learnable membrane time constant to enhance learning of spiking neural networks
  • Generalizing convolutional neural networks for equivariance to lie groups on arbitrary continuous data
  • The lie derivative for measuring learned equivariance (opens arXiv in a new tab)
  • 1.1 computing's energy problem (and what we can do about it)
  • Neuromorphic artificial intelligence systems
  • Flow equivariant recurrent neural networks
  • Variational partial group convolutions for input-aware partial equivariance of rotations and color-shifts
  • Rate coding or direct coding: Which one is better for accurate, robust, and energy-efficient spiking neural networks? In: ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 71–75
  • Exploiting redundancy: Separable group convolutional networks on lie groups
  • On the generalization of equivariance and convolution in neural networks to the action of compact groups
  • Steerable transformers for volumetric data
  • Roto-translation equivariant convolutional networks: Application to histopathology image analysis
  • Gradient-based learning applied to document recognition
  • Spikeatconv: an integrated spiking-convolutional attention architecture for energy-efficient neuromorphic vision processing
  • Equivariant filtering framework for inertial-integrated navigation
  • Improvement of spiking neural network with bit plane coding
  • Hybrid layer-wise ann-snn with surrogate spike encoding-decoding structure (opens arXiv in a new tab)
  • A survey on spiking neural network foundation and recent progress
  • Parameter efficient hybrid spiking-quantum convolutional neural network with surrogate gradient and quantum data-reupload
  • Surrogate gradient learning in spiking neural networks: Bringing the power of gradient-based optimization to spiking neural networks
  • Equivariant reinforcement learning under partial observability
  • Spinnaker 2: A 10 million core processor system for brain simulation and machine learning
  • Covariant spatio-temporal receptive fields for spiking neural networks
  • Scale-covariant spiking wavelets
  • Diet-snn: A low-latency spiking neural network with direct input encoding and leakage and threshold optimization
  • Learning partial equivariances from data
  • Training robust spiking neural networks on neuromorphic data with spatiotemporal fragments
  • Training robust spiking neural networks with viewpoint transform and spatiotemporal stretching
  • General e (2)-equivariant steerable cnns
  • Harmonic networks: Deep translation and rotation equivariance
  • Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
  • This is the first of the two places where the hypothesis is consumed