PHNNs: Lightweight Neural Networks via Parameterized Hypercomplex Convolutions

Eleonora Grassucci, Aston Zhang, Danilo Comminiello
10/8/2021
cs.LGcs.AIcs.CV

Official code: eleGAN23/HyperNets (57 stars, MIT, PyTorch, last commit 2026-06-11).

Abstract

Hypercomplex neural networks have proven to reduce the overall number of parameters while ensuring valuable performance by leveraging the properties of Clifford algebras. Recently, hypercomplex linear layers have been further improved by involving efficient parameterized Kronecker products. In this paper, we define the parameterization of hypercomplex convolutional layers and introduce the family of parameterized hypercomplex neural networks (PHNNs) that are lightweight and efficient large-scale models. Our method grasps the convolution rules and the filter organization directly from data without requiring a rigidly predefined domain structure to follow. PHNNs are flexible to operate in any user-defined or tuned domain, from 1D to $n$D regardless of whether the algebra rules are preset. Such a malleability allows processing multidimensional inputs in their natural domain without annexing further dimensions, as done, instead, in quaternion neural networks for 3D inputs like color images. As a result, the proposed family of PHNNs operates with $1/n$ free parameters as regards its analog in the real domain. We demonstrate the versatility of this approach to multiple domains of application by performing experiments on various image datasets as well as audio datasets in which our method outperforms real and quaternion-valued counterparts. Full code is available at: https://github.com/eleGAN23/HyperNets.

View on arXivView PDF

Code Implementations(1)

eleGAN23/HyperNetsOfficial100%
PyTorchMIT

Hypercomplex Neural Networks with PyTorch

5710Python, Jupyter NotebookOct 5, 20214 months agoMIT
convolutional-neural-networksefficient-neural-networkshypercomlpex-parameterizationhypercomplexhypercomplex-algebra+10 more

Similar Papers

Cite this paper

@article{grassucci2021phnns,
  title  = {PHNNs: Lightweight Neural Networks via Parameterized Hypercomplex Convolutions},
  author = {Eleonora Grassucci and Aston Zhang and Danilo Comminiello},
  year   = {2021},
  eprint = {2110.04176},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.04176}
}

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/2110.04176.svg)](https://codeofpaper.com/paper/2110.04176)

Discussion