English

bispectrum: Selective $G$-Bispectra Made Practical

Machine Learning 2026-05-11 v1

Abstract

Many machine learning tasks are invariant under the action of a group GG of transformations: signal classification can be invariant under translations, image classification under 2D rotations, and spherical-image classification under 3D rotations. The GG-bispectrum is a principled complete invariant of a signal (retaining all all signal's information up to the group action) with proven benefits in machine learning and as a pooling layer in deep networks. However, its deployment has been hampered by high computational cost and a patchwork of group-specific implementations. We present bispectrum, an open-source, fully unit-tested PyTorch library that implements selective GG-bispectra for seven different group actions, as differentiable modules that can be directly incorporated into machine learning pipelines and deep learning architectures. For finite groups GG, selectivity reduces the computational cost from O(G2)O(|G|^2) to O(G)O(|G|). For planar rotations, we leverage the disk bispectrum. For spherical 3D rotations, we introduce an augmented selective bispectrum at band-limit LL which reduces the cost from O(L3)O(L^3) to Θ(L2)\Theta(L^2) coefficients. We profile the entire library (for which we implemented various compute optimizations), showing that it delivers near-exact GG-invariance with its selective GG-bispectra computed in sub-millisecond time on GPU (up to commonly used bandlimits). We evaluate the benefits of incorporating GG-bispectra as pooling layers into deep learning architectures on three classical benchmark datasets --comparing against norm pooling, gated pooling, Fourier-ELU pooling, max pooling, and (non-equivariant) data-augmented convolutional baselines. Results show that GG-bispectra consistently outperform alternatives in the low-data, moderate-capacity regime.

Cite

@article{arxiv.2605.07270,
  title  = {bispectrum: Selective $G$-Bispectra Made Practical},
  author = {Johan Mathe and Adele Myers and Simon Mataigne and Nina Miolane},
  journal= {arXiv preprint arXiv:2605.07270},
  year   = {2026}
}
R2 v1 2026-07-01T12:56:56.592Z