Introduction
Eigendecomposition (ED) is a fundamental operation in linear algebra, essential for techniques like Principal Component Analysis (PCA) and Zero-phase Component Analysis (ZCA) whitening. While these methods are standard in classical machine learning, integrating them into deep neural networks has been historically challenging due to numerical instability during the backward pass.
The core issue lies in the analytical derivative of the eigendecomposition. The gradient calculation involves a term proportional to $1/(\lambda_i - \lambda_j)$, where $\lambda_i$ and $\lambda_j$ are eigenvalues. In real-world datasets, eigenvalues are often clustered closely together. When $\lambda_i \approx \lambda_j$, the gradient explodes, leading to training failure. To circumvent this, practitioners often resort to "grouping" heuristics—splitting data into very small, independent groups—which sacrifices the network's ability to learn global feature correlations.
Methodology: A Hybrid Approach
To address the gradient explosion problem, researchers have developed a hybrid strategy that decouples the forward and backward passes of the eigendecomposition layer.
Forward Pass via SVD
The forward pass utilizes standard Singular Value Decomposition (SVD). SVD is numerically robust and provides high-precision eigenvectors even for large matrices. This ensures that the network's internal representations remain accurate during inference and the initial stages of training.
Backward Pass via Power Iteration
The critical innovation is in the backward pass. Instead of using the exact but unstable analytical gradient, the authors derive a gradient approximation based on the Power Iteration (PI) method. By formulating the gradient as a geometric series, they demonstrate that the gradient remains upper-bounded even when eigenvalues are identical.
A key efficiency gain comes from the "Aha" initialization: because the exact eigenvectors are already computed via SVD in the forward pass, they can be used to initialize the PI-based gradient calculation. This allows the approximation to converge extremely quickly. As shown in Figure 1, approximately 19 iterations are sufficient to achieve a high-quality, stable gradient approximation, making the method computationally efficient for deep learning workflows.
Key Results and Stability
The hybrid method significantly improves training stability and performance across standard benchmarks like CIFAR-10 and CIFAR-100.
Numerical Stability
In stress tests involving matrix dimensions of $d=64$, standard SVD and pure Power Iteration methods frequently suffered from numerical overflow, resulting in a 0% success rate for training completion. In contrast, the proposed hybrid method achieved a 100% success rate, demonstrating its robustness against eigenvalue clustering.
Performance Gains
The method enables the use of ZCA whitening on much larger feature dimensions than previously possible (up to $64 \times 64$ vs. the traditional $3 \times 3$). When applied to ResNet architectures on CIFAR-100, this approach outperformed standard Batch Normalization. For instance, a ResNet-18 using this ZCA approach achieved a 21.39% error rate, compared to 21.85% for the baseline.
As illustrated in Figure 6, the "Ours" method (hybrid SVD/PI) provides a much more stable training trajectory compared to pure PI-based methods, which exhibit significant spikes in training error.
Conclusion and Future Work
By combining the accuracy of SVD with the stability of bounded PI-based gradients, this hybrid approach makes eigendecomposition a "first-class citizen" in deep learning. It allows networks to handle large-scale decorrelation and denoising without the risk of numerical collapse. While the method is robust, future work may focus on further optimizing SVD performance on specialized hardware and extending these stable gradients to other domains like 3D pose estimation and graph neural networks.
Summary updated