Feedback Gradient Descent: Efficient and Stable Optimization with Orthogonality for DNNs

Fanchen Bu, Dong Eui Chang

Abstract

Enforcing orthogonality in neural network weights is a proven technique for stabilizing gradients and improving feature diversity. However, practitioners often face a trade-off between the mathematical rigor of Riemannian optimization and the computational efficiency of soft penalty methods. We present Feedback Gradient Descent (FGD), a framework that bridges this gap. By modeling optimization as a dynamical system with a feedback control loop, FGD maintains weights on the Stiefel manifold without expensive matrix decompositions. Our experiments show that FGD provides superior numerical stability and higher classification accuracy than standard SGD and state-of-the-art orthogonal methods across multiple architectures and datasets.

The Challenge of Orthogonality

In deep learning, a weight matrix $W$ is orthogonal if $W^T W = I$. This property is highly beneficial for preventing vanishing or exploding gradients in deep architectures. Current approaches generally fall into two categories:

  1. Riemannian Optimization: These methods use "hard" constraints to keep weights on the Stiefel manifold. While stable, they rely on computationally heavy operations like Singular Value Decomposition (SVD), making them impractical for large-scale models.
  2. Penalty Methods: These use "soft" constraints by adding a regularization term to the loss function. While fast, they allow weights to drift away from orthogonality, potentially degrading performance.

Feedback Gradient Descent (FGD)

FGD is inspired by "Feedback Integrators" from control theory. Instead of treating optimization as a series of discrete steps, FGD views it as a continuous-time dynamical system.

The Feedback Mechanism

The core of FGD is a feedback term added to the gradient update. In standard Euclidean optimization, discretization (like the Euler method) leads to "drift," where parameters move away from the desired manifold. FGD extends the optimization space and introduces a "magnetic pull" that constantly drags the weights back toward the Stiefel manifold. This ensures that the manifold becomes a "local attractor" for the optimization process.

Convergence of the FGD integrator to the Stiefel manifold. Subplot (a) shows the loss difference, while (b) illustrates the distance to the manifold over epochs for various algorithm configurations.

Efficiency and Momentum

To maintain the speed of Euclidean methods, FGD employs a first-order Neumann series approximation to avoid matrix inversions: $(\theta^T \theta)^{-1} \approx 2I - \theta^T \theta$. This reduces the complexity of orthogonal updates to simple matrix multiplications. Furthermore, FGD is the first framework to successfully combine manifold orthogonality with momentum-based optimization in a principled, continuous-time approach.

Experimental Evaluation

We evaluated FGD on standard benchmarks including CIFAR-10/100, SVHN, and ImageNet using architectures like ResNet and WideResNet.

Accuracy and Convergence

FGD consistently outperformed both standard SGD and existing orthogonal methods. For instance, on CIFAR-100 with WideResNet 28-10, FGD achieved an accuracy of 82.25%, compared to 81.47% for SGD and 81.90% for Cayley SGD.

Comparison of test accuracy (a) and training loss (b) for FGD, SGD, and other orthogonal methods (OCNN, SRIP) on CIFAR-100. The inset in (a) highlights the superior final accuracy of FGD.

Numerical Stability and Speed

FGD maintains a distance to the Stiefel manifold as low as $10^{-6}$, whereas soft penalty methods like SRIP or OCNN exhibit significant drift. Despite this high stability, FGD remains highly efficient—only 2-3% slower than penalty methods and up to 56% faster than hard-constraint methods like Cayley SGD.

Conclusion

Feedback Gradient Descent offers a "best of both worlds" solution for orthogonal DNNs. It provides the numerical guarantees of manifold optimization with the computational footprint of simple gradient descent. By leveraging control theory principles, FGD enables more stable and accurate training of deep architectures at scale.

Summary updated

BibTeX
@inproceedings{bu2022feedback,
  author = {Fanchen Bu and Dong Eui Chang},
  title = {{Feedback Gradient Descent: Efficient and Stable Optimization with Orthogonality for DNNs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i6.20558},
}
Figure