HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

PHNNs: Lightweight Neural Networks via Parameterized Hypercomplex Convolutions

Eleonora Grassucci Aston Zhang Danilo Comminiello

PHNNs: Lightweight Neural Networks via Parameterized Hypercomplex Convolutions

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.

Code Repositories

elegan23/hypernets
Official
pytorch
Mentioned in GitHub
eleGAN23/QVAE
pytorch
Mentioned in GitHub
eleGAN23/QGAN
pytorch
Mentioned in GitHub
ispamm/hi2i
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
sound-event-detection-on-l3das21PHC SEDnet n=8
Error Rate: 0.56
F-Score: 0.553
SED-score: 0.503
sound-event-detection-on-l3das21PHC SEDnet n=16
Error Rate: 0.509
F-Score: 0.588
SED-score: 0.461
sound-event-detection-on-l3das21PHC SEDnet n=4
Error Rate: 0.453
SED-score: 0.407
sound-event-detection-on-l3das21PHC SEDnet n=2
Error Rate: 0.389
F-Score: 0.68
SED-score: 0.638
sound-event-detection-on-l3das21Quaternion SEDnet
Error Rate: 0.516
F-Score: 0.58
SED-score: 0.468

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp