Abstract
Parameterized Hypercomplex Neural Networks (PHNNs) introduce a flexible framework for convolutional layers that learn algebraic interaction rules directly from data. Unlike traditional hypercomplex models like Quaternion Neural Networks (QNNs), which are restricted to specific dimensions (e.g., 4D or 8D), PHNNs utilize Kronecker products to operate in any $n$-dimensional domain. This approach reduces parameter counts by a factor of $1/n$ while effectively capturing inter-channel correlations. Our evaluations across image classification and sound event detection benchmarks show that PHNNs consistently outperform standard real-valued and fixed-rule hypercomplex networks, even with significantly fewer parameters.
Introduction
Standard Convolutional Neural Networks (CNNs) are often over-parameterized, posing challenges for deployment on resource-constrained edge devices. Hypercomplex networks, such as QNNs, offer a potential solution by sharing parameters across dimensions, capturing inter-channel correlations with 75% fewer parameters than real-valued counterparts. However, these models are mathematically "stiff," requiring input dimensions to be powers of two. For instance, processing a 3-channel RGB image requires zero-padding to fit a 4D quaternion structure, leading to computational waste and architectural rigidity.
The Parameterized Hypercomplex Convolutional (PHC) Layer
To overcome these limitations, the authors propose the Parameterized Hypercomplex Convolutional (PHC) layer. Instead of hardcoding mathematical rules (like the Hamilton product), the PHC layer learns the organization of its filters through backpropagation.
The weight tensor $H$ is constructed as a sum of Kronecker products: $$H = \sum_{i=1}^n A_i \otimes F_i$$
In this formulation, $A_i$ are small, learnable $n \times n$ matrices that define interaction rules, while $F_i$ represents the actual convolutional filters. By setting $n$ as a hyperparameter, the model can adapt to the natural dimensionality of the data (e.g., $n=3$ for RGB images), ensuring that the number of free parameters is reduced to approximately $1/n$ of a standard layer.
Experimental Evaluation
The authors evaluated PHNNs on several benchmarks:
- Image Classification: SVHN, CIFAR-10, CIFAR-100, and ImageNet.
- Sound Event Detection (SED): The L3DAS21 dataset featuring multichannel Ambisonics recordings.
- Algorithmic Discovery: Toy datasets designed to verify if the PHC layer can "re-discover" known algebras like quaternions.
Key Results and Insights
PHNNs demonstrate that neural networks do not need to be told the rules of hypercomplex algebra. By learning the $A_i$ matrices, the model discovers efficient ways to relate input channels for specific tasks.
Efficiency and Accuracy
- Parameter Reduction: PHNNs consistently achieve a $1/n$ reduction. For example, a PHResNet50 ($n=3$) uses only 9.6M parameters compared to 25.7M for a standard ResNet50.
- Superior Performance: On ImageNet, PHResNet50 ($n=3$) achieved 68.58% accuracy, surpassing the real-valued baseline (67.99%) despite having 66% fewer parameters. On CIFAR-100, PHResNet152 ($n=4$) outperformed its real-valued counterpart by a significant 4% margin.
- Versatility: In Sound Event Detection, PHSEDnet ($n=2$) outperformed both standard and quaternion models across all metrics, proving its utility beyond vision tasks.
Conclusion
PHNNs provide a malleable and efficient alternative to standard and fixed-rule hypercomplex CNNs. By learning algebraic rules, they capture latent channel correlations and operate in natural data domains without padding. While the sum of Kronecker products adds a minor computational overhead, the significant parameter savings and accuracy gains make PHNNs a compelling choice for lightweight deep learning. Future work will explore automated selection of the hyperparameter $n$ and extending this approach to Transformer architectures.
Summary updated