TL;DR
This paper establishes the theoretical connection between Quaternion Fourier Transform (QFT) matrices and Quaternionic Circulant matrices, showing that the right QFT of a convolution kernel directly computes the filter's left eigenvalues. Leveraging this relationship, the authors introduce an algorithm that computes the singular values of quaternionic convolutions in $O(N^2 \log N)$ rather than $O(N^6)$, enabling fast Lipschitz constant bounding for Quaternion Neural Networks.
What Problem Does This Paper Address?
When processing multi-channel signals (such as RGB images or spatial rotations), standard deep networks treat channels independently or combine them through real-valued matrix multiplications. Quaternions offer an elegant mathematical framework to model cross-channel interactions holistically as four-dimensional numbers.
However, quaternion algebra brings major theoretical and computational headaches:
- Multiplication is non-commutative ($ab \neq ba$).
- The equation $\mu^2 = -1$ has an infinite continuum of solutions on the unit sphere.
- Eigenvalue theory splits into two distinct, often infinite sets: left eigenvalues ($Ax = \lambda x$) and right eigenvalues ($Ax = x\lambda$).
In standard real and complex signal processing, Discrete Fourier Transform (DFT) matrices diagonalize circulant matrices (which represent circular convolutions), yielding the famous convolution theorem and fast singular value decomposition. In the quaternion domain, whether and how these matrix properties hold was poorly understood, making operations like bounding the Lipschitz constant of quaternion convolutional layers computationally prohibitive.
Methods
The authors formulate the matrix representations of the QFT ($Q_N^\mu$, parameterized by a pure unit axis $\mu$) and quaternionic circulant matrices ($C$):
- Left Eigenstructure via QFT: They prove that columns of the inverse QFT matrix $Q_N^{-\mu}$ serve as eigenvectors of the circulant matrix $C$, and their corresponding left eigenvalues are given directly by the right QFT of the convolution kernel.
- Symplectic Decomposition for Singular Values: To compute the spectral norm without building the massive doubly-block circulant matrix (which requires $N^4$ quaternion entries for 2D inputs), the authors expand $\|Cx\|^2$ using a symplectic (simplex/perplex) decomposition w.r.t. the transform axis. This simplifies the quadratic form into a block-diagonal matrix $\Xi$ containing only $1 \times 1$ and $2 \times 2$ Hermitian blocks.
- Spectral Norm Clipping: Singular values can be computed and projected into a bounded range $[0, c]$ by decomposing only these small $2 \times 2$ blocks. The clipped kernel is then reconstructed using an inverse right QFT, dropping time complexity from $O(N^6)$ to $O(N^2 \log N)$.
Datasets
- Synthetic Random Quaternion Filters: Benchmarks ranging from sizes $4 \times 4$ to $128 \times 128$ used to evaluate speed and numerical precision against brute-force Quaternion SVD (QSVD).
- CIFAR-10: Evaluated image classification performance using quaternion-adapted residual networks (QResNet32-small with 98k parameters and QResNet32-large with 454k parameters).
Key Insights and Ideas
- Circulant matrices unlock the left spectrum: While calculating left eigenvalues for general quaternion matrices is an unsolved numerical challenge, quaternionic circulant matrices are a remarkable exception: their left eigenvalues can be computed directly via the right QFT.
- Diagonalization is not symmetric: In the complex domain, $C = F^{-1}\Lambda F$. In quaternions, writing $C Q_N^{-\mu} = Q_N^{-\mu} \Lambda^\mu$ fails to produce a standard diagonalization because matrix multiplication from the right produces right eigenvalues, whereas the QFT eigenvectors correspond to left eigenvalues.
- Nearly decoupled quadratic forms: Non-commutativity prevents $\|Cx\|^2$ from collapsing into a purely diagonal form. However, because the columns of $Q_N^\mu$ share a single quaternion axis, cross-terms vanish except for paired frequency components $(n, [N - n]_N)$, structuring the entire spectrum into isolated $2 \times 2$ interactions.
- Quaternionic depthwise convolutions mix channels: Unlike standard real depthwise convolutions, quaternionic depthwise convolutions naturally perform channel mixing via the internal Hamilton product, offering higher representational capacity at small parameter budgets.
Key Results
- Computational Speedup: For a $32 \times 32$ convolution, computing singular values via the proposed method took 210 ms compared to ~69 seconds with brute-force QSVD. Full clipping and reconstruction took 280 ms versus 150 seconds (over $500\times$ faster). For filters of size $128 \times 128$, brute-force QSVD becomes practically impossible, while the proposed method completed in 2.59 seconds.
- Model Generalization: Bounding the Lipschitz constant ($c=1.0$) on CIFAR-10 improved test accuracy across architectures:
- QResNet32-small: Rose from 82.77% to 84.16% (peaking at 85.74% with $c = 0.50$).
- QResNet32-large: Rose from 80.73% to 85.29%.
- Invariance to Axis Selection: Experiments with multiple randomly chosen QFT axes $\mu$ yielded virtually identical training curves, confirming that the choice of axis does not hinder the regularizer.
Limitations and Future Work
- Strict Matrix Diagonalization: A true similarity diagonalization ($S \Lambda S^{-1}$) remains impossible due to the structural divergence between left and right eigenvalues in $\mathbb{H}$.
- Network Scope: Experiments focused primarily on depthwise/pointwise residual architectures on CIFAR-10; testing on larger datasets (e.g., ImageNet) or full multi-channel bi-convolutions remains open.
- Application to Classical Inverse Problems: The authors note that these circulant properties lay the groundwork for adapting classical image restoration, deblurring, and color deconvolution algorithms directly to the quaternion domain.
Summary updated