Abstract
Adaptive optimization algorithms like Adam have seen immense practical success, yet their theoretical guarantees often rely on assumptions of smoothness or convexity that real-world problems frequently violate. This paper introduces FEMA (First-order) and ZEMA (Zeroth-order), a new family of adaptive algorithms designed for weakly convex stochastic optimization. We establish the first non-asymptotic convergence rates for these methods in nonsmooth, nonconvex settings, demonstrating that adaptivity can be rigorously applied to complex objective functions even when gradients are unavailable.
Introduction
In modern machine learning, adaptive methods such as Adam and RMSProp are preferred for their ability to automatically tune learning rates. However, their theoretical foundations typically assume the objective function is either smooth or convex. Many practical applications, including robust phase retrieval and neural networks with specific activations, involve functions that are nonsmooth and nonconvex.
The authors address this by focusing on weakly convex functions—a class that includes many nonsmooth objectives. A function is weakly convex if it becomes convex upon the addition of a quadratic term. Prior to this work, it was unclear if adaptive methods could converge for such problems without requiring large mini-batches or smoothness assumptions.
Methodology: FEMA and ZEMA
The paper proposes two adaptive algorithms tailored for the weakly convex regime:
- FEMA (First-order EMA-type method): Inspired by AMSGrad, FEMA utilizes Exponential Moving Averages (EMA) of past subgradients to adaptively adjust the search direction and step size.
- ZEMA (Zeroth-order EMA-type method): Designed for "black-box" optimization where gradients are inaccessible, ZEMA employs randomized smoothing to estimate gradients from function value pairs before applying adaptive EMA logic.
The Moreau Envelope
To handle nonsmoothness, the authors utilize the Moreau envelope, a smooth approximation of the original function. Convergence is established by proving that the gradient of this envelope vanishes, indicating that the algorithm approaches a "nearly stationary" point of the original nonsmooth objective.
Theoretical and Empirical Results
The authors provide a comprehensive theoretical framework comparing FEMA and ZEMA against existing methods. A key finding is that these adaptive methods do not require increasing mini-batch sizes to handle noise, a common requirement in previous nonconvex optimization theories.
Performance Benchmarks
- Robust Phase Retrieval: FEMA and ZEMA significantly outperformed standard Stochastic Gradient Descent (SGD) and its zeroth-order counterparts, achieving lower optimality gaps with higher efficiency.
- Image Classification: On CIFAR-100 using ResNet-110 with ELU activations, the FEMA3 variant achieved a test error of 25.02%, surpassing standard SGD's 26.81%. This confirms that the theoretical benefits of adaptivity in weakly convex settings translate to improved generalization in deep learning.
Discussion and Limitations
While the paper marks a significant step forward, it highlights the "cost" of zeroth-order optimization. ZEMA's convergence rate of $O(d^2/\sqrt{T})$ reflects a higher sensitivity to dimensionality compared to FEMA's $O(d/\sqrt{T})$, which may limit its application in extremely high-dimensional spaces like large language models. Furthermore, while weak convexity is a broad class, extending these guarantees to fully general nonconvex, nonsmooth functions remains an open challenge.
Conclusion
By bridging the gap between adaptive optimization and weakly convex analysis, this work provides a rigorous foundation for using Adam-like methods in complex, nonsmooth environments. The introduction of FEMA and ZEMA offers practitioners robust tools for optimization where traditional assumptions fail.
Summary updated