Abstract
Standard Convolutional Neural Networks (CNNs) typically treat kernels as independent entities, which can lead to a failure in capturing inherent structural correlations within high-dimensional data. This paper introduces Deep Octonion Networks (DONs), a novel deep learning framework that utilizes 8-dimensional hypercomplex numbers—octonions—to represent both data and weights. By leveraging the unique algebraic properties of octonions, DONs implement a structured weight-sharing scheme that significantly reduces parameter counts while improving classification accuracy. Our empirical evaluation on CIFAR-10 and CIFAR-100 benchmarks shows that DONs achieve superior performance and faster convergence compared to real-valued, complex, and quaternion-valued networks, specifically achieving an 8x reduction in parameters.
1. Introduction
In traditional deep learning architectures, convolutional kernels are treated as independent filters. While effective, this approach ignores potential predefined relationships between feature maps. Previous research has attempted to address this by moving into the hypercomplex domain, utilizing Complex-valued (2D) and Quaternion-valued (4D) networks. These architectures enforce structural relationships through hypercomplex algebra, acting as a form of regularization.
This paper pushes these boundaries further by introducing Octonion algebra (8D) into deep learning. The goal is to create a more efficient and compact representation capable of capturing rich, interrelated information that standard real-valued networks might overlook. By utilizing the non-commutative and non-associative properties of octonions, we propose a framework that inherently captures multi-dimensional correlations.
2. Methodology
To implement a fully functional deep learning framework in the octonion domain, we developed several core components:
2.1 Octonion Internal Representation
An octonion consists of one real part and seven imaginary parts ($e_1$ through $e_7$). In the context of a neural network, this is implemented by splitting $N$ feature maps into eight distinct groups, which are then treated as a single octonion-valued entity.
2.2 Octonion Convolution
The core innovation of this work is the octonion convolution. Unlike standard convolution where weights are independent, octonion multiplication follows a specific multiplication table. This results in a structured weight-sharing scheme where an $8 \times 8$ block of real-valued convolutions is controlled by only eight unique weight sets. This mathematical constraint effectively reduces the number of trainable parameters by a factor of eight compared to a real-valued network of the same width.
2.3 Octonion Batch Normalization
Standard batch normalization is insufficient for 8D hypercomplex data. We implement a "whitening" approach for Octonion Batch Normalization. This involves using the Cholesky decomposition of the $8 \times 8$ covariance matrix to ensure that all eight components of the octonion have equal variance and are properly scaled, maintaining the algebraic integrity of the signal during training.
2.4 Octonion Weight Initialization
Standard initialization techniques (e.g., He or Glorot) are designed for real-valued distributions. We derive a new initialization strategy based on the Rayleigh distribution. This ensures that the variance of the signal remains stable as it propagates through the 8D layers, preventing vanishing or exploding gradients.
3. Experimental Results
We evaluated the proposed DONs against Real (DRN), Complex (DCN), and Quaternion (DQN) counterparts using a 110-layer architecture on the CIFAR-10 and CIFAR-100 datasets.
3.1 Accuracy and Convergence
DONs achieved the lowest error rates across both benchmarks:
- CIFAR-10: DONs reached a 5.35% error rate, compared to 6.37% for the real-valued network.
- CIFAR-100: DONs reached a 24.60% error rate, outperforming the Quaternion-valued network (26.01%).
Furthermore, DONs exhibited significantly faster convergence in the early stages of training, particularly within the first 20 epochs, suggesting that the octonion structure provides a more effective inductive bias for image features.
3.2 Parameter Efficiency
The most striking result is the reduction in model size. While the Real-valued network required 3,619,844 parameters, the Octonion network achieved superior accuracy with only 481,150 parameters. This near 8x reduction highlights the efficiency of the octonion-based weight-sharing scheme.
4. Discussion
4.1 Structural Regularization and Multi-Task Learning
The success of DONs can be attributed to two primary factors. First, the octonion multiplication table acts as a form of "hard parameter sharing," providing a powerful structural regularization that prevents overfitting. Second, the architecture can be viewed through the lens of Multi-Task Learning (MTL). By treating the eight components of the octonion as related "tasks," the algebraic structure allows these components to share information and act as noise-reduction filters for one another, improving the learning rate of the shared representation.
4.2 Limitations
While DONs offer significant parameter savings, the computational overhead of the 8D batch normalization (whitening) is higher than standard BN. The complexity of the $8 \times 8$ covariance matrix operations may offset some of the speed gains provided by the reduced parameter count in certain hardware configurations.
5. Conclusion
Deep Octonion Networks represent a significant step forward in hypercomplex deep learning. By moving to 8D representations, we achieve state-of-the-art results with a fraction of the parameters required by traditional networks. Future work will explore the application of DONs to naturally high-dimensional data, such as multi-spectral imaging, and investigate the potential of even higher-dimensional algebras like Sedenions.
Summary updated