Introduction
Image-to-Image (I2I) translation—the process of mapping an image from one domain to another while preserving content—has seen significant advances with models like StarGANv2. However, these state-of-the-art architectures often rely on tens of millions of parameters, making them computationally expensive and difficult to deploy on edge devices. Furthermore, traditional convolutional neural networks (CNNs) treat the Red, Green, and Blue (RGB) channels as independent features, potentially overlooking the rich inter-channel correlations that define human color perception.
In this work, researchers introduce PHStarGANv2, a framework that leverages hypercomplex algebra to achieve high-quality I2I translation with up to 75% fewer parameters than standard real-valued models. By treating RGB channels as a single multidimensional entity, the model captures complex color relationships more naturally and efficiently.
Methodology
Hypercomplex and Parameterized Hypercomplex Layers
The core innovation lies in replacing standard real-valued convolutional layers with hypercomplex layers. In a Quaternion StarGANv2, weights are represented as quaternions, forcing the network to learn relationships between four components (e.g., RGB plus a padding channel) through the Hamilton product.
To generalize this beyond 4D space, the authors utilize Parameterized Hypercomplex (PH) layers. These layers use a sum of Kronecker products to define algebra for any $n$-dimensional space. For RGB images, setting $n=3$ allows the model to process color channels as a single unit without unnecessary padding, while reducing the parameter count by a factor of $1/n$.
RandInteger Initialization
A significant challenge in training hypercomplex networks is weight initialization. Standard methods like Xavier initialization often lead to "degeneracy" in PH layers, where weights shrink toward zero due to the multiplicative nature of Kronecker products. To solve this, the authors proposed RandInteger Initialization, which randomly selects values from $\{-1, 0, 1\}$ to define the underlying algebra rules, ensuring a stable weight distribution during training.
Experimental Results
Efficiency and Parameter Reduction
The PHStarGANv2 ($n=4$) architecture demonstrates massive efficiency gains, reducing the parameter count from 87 million to 22 million and slashing storage requirements from 307MB to 76MB. Even the more mathematically elegant $n=3$ variant (tailored for RGB) achieves a 67% reduction in parameters.
Qualitative and Quantitative Performance
Despite the drastic reduction in size, the hypercomplex models maintain competitive realism and superior diversity. On the CelebA-HQ and AFHQ benchmarks, PHStarGANv2 consistently outperformed the original StarGANv2 in LPIPS scores, indicating a better ability to generate diverse styles from random noise.
Visually, the hypercomplex models produce sharper features and more consistent textures, particularly in complex translations involving hair and facial structure. This suggests that the multidimensional approach to color processing provides a more robust inductive bias for style transfer.
Conclusion
PHStarGANv2 proves that hypercomplex algebra is a powerful tool for building efficient generative models. By rethinking how neural networks process multidimensional data like RGB images, researchers can achieve significant parameter savings without sacrificing image quality. Future work may extend these hypercomplex layers to even higher-dimensional data, such as video or multispectral medical imaging.
Summary updated