Dynamic Decoupling of Placid Terminal Attractor-based Gradient Descent Algorithm

Jinwei Zhao, Marco Gori, Alessandro Betti, Stefano Melacci, Hongtao Zhang, Jiedong Liu, Xinhong HeiarXiv 2024 · DOI · arXiv

Introduction

Gradient Descent (GD) and its stochastic variants (SGD) are the foundational optimizers for modern machine learning. However, they are mathematically limited by asymptotic convergence: as the algorithm nears a minimum, the vanishing gradient slows progress, often trapping models in suboptimal local minima for extended periods. While adaptive methods like Adam or RMSProp improve convergence rates, they do not fundamentally alter this asymptotic nature.

Terminal Attractors (TA) offer a theoretical alternative by forcing convergence in finite time. Historically, however, TA methods have suffered from numerical instability; when the gradient approaches zero faster than the error, learning rates can explode. This paper introduces a "placid" mechanism to stabilize TA-based optimizers, enabling finite-time convergence without the risk of uncontrollable weight updates.

Proposed Methods: The Placid Framework

The authors propose a family of four adaptive learning rate schemes that transition from traditional control theory to a stable "placid" framework:

  1. Traditional Terminal Attractor (TA): Forces error to zero in finite time via Terminal Sliding Mode theory.
  2. Fast Terminal Attractor (FTA): Accelerates convergence for large errors by adding a linear term.
  3. Placid Terminal Attractor (PTA): Introduces a Sigmoid function $\delta(\cdot)$ to bound the learning rate, ensuring stability even when gradients are minimal.
  4. Placid Fast Terminal Attractor (PFTA): Combines FTA speed with placid bounding for optimal stability and performance.

The "Placid" innovation decouples gradient flow stages, allowing the algorithm to maintain high velocity far from minima and "jump" out of local traps while remaining stable enough to settle into a global minimum.

Experimental Evaluation

The proposed algorithms were evaluated on two distinct tasks: a synthetic function approximation task to verify theoretical convergence, and a benchmark image classification task training a ResNet-34 architecture on the CIFAR-10 dataset. The latter compared the new methods against industry standards including Adam, SGD, AdaGrad, and RMSProp.

Key Results and Performance

The experiments demonstrate that PFTA and PTA significantly outperform existing optimizers in both speed and final accuracy.

Training accuracy of ResNet-34 on CIFAR-10 comparing PFTA and PTA against standard optimizers.

As shown in the training accuracy curves, PFTA and PTA surpassed all other algorithms from the onset of training, reaching optimal solutions by the 50th epoch. In contrast, standard methods like Adam and Radam required significantly more epochs to reach comparable performance levels. Furthermore, the Placid methods exhibited a smoother trajectory toward the final minimum, avoiding the oscillations often seen in Adam.

Efficiency is another hallmark of the PFTA algorithm. Despite its complex theoretical foundation, its wall-clock runtime is highly competitive.

Runtime comparison across different optimization algorithms.

PFTA completed the training process in just 17 seconds, outperforming Adam (28s) and LBFGS (43s), and nearly matching the speed of specialized methods like Radam (13s) and RMSProp (15s).

Conclusion and Future Work

The Placid Terminal Attractor framework successfully addresses the instability of finite-time convergence methods. By capping the update "jump" using a Sigmoid function, the authors provide a robust mechanism for escaping local minima. Future research will focus on refining the directionality of these jumps to better target global minima neighborhoods and scaling the approach to larger datasets beyond CIFAR-10.

Summary updated

Abstract

Gradient descent (GD) and stochastic gradient descent (SGD) have been widely used in a large number of application domains. Therefore, understanding the dynamics of GD and improving its convergence speed is still of great importance. This paper carefully analyzes the dynamics of GD based on the terminal attractor at different stages of its gradient flow. On the basis of the terminal sliding mode theory and the terminal attractor theory, four adaptive learning rates are designed. Their performances are investigated in light of a detailed theoretical investigation, and the running times of the learning procedures are evaluated and compared. The total times of their learning processes are also studied in detail. To evaluate their effectiveness, various simulation results are investigated on a function approximation problem and an image classification problem.
BibTeX
@misc{zhao2024dynamic,
  author = {Jinwei Zhao and Marco Gori and Alessandro Betti and Stefano Melacci and Hongtao Zhang and Jiedong Liu and Xinhong Hei},
  title = {{Dynamic Decoupling of Placid Terminal Attractor-based Gradient Descent Algorithm}},
  year = {2024},
  eprint = {2409.06542},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.06542},
}
Figure