A first-order primal-dual method with adaptivity to local smoothness

Maria-Luiza Vladarean, Yura Malitsky, Volkan Cevher

Introduction: The Bottleneck in Primal-Dual Methods

Many complex problems in signal processing and machine learning are formulated as composite minimization problems: $\min_x f(x) + g(Ax)$. When the proximal operator of the composition $g \circ A$ is computationally intractable, researchers often rely on primal-dual splitting methods, such as the Condat-Vũ algorithm. These methods elegantly decouple the linear operator $A$ from the functions $f$ and $g$.

However, standard primal-dual methods suffer from two major practical pain points:

  1. Parameter Sensitivity: They require prior knowledge of global constants—specifically, the Lipschitz constant $L$ of the gradient $\nabla f$ and the operator norm $\|A\|$. Estimating these constants is often difficult and computationally expensive.
  2. Global Smoothness Assumptions: Theoretical guarantees typically assume that $f$ is "globally smooth." In reality, many useful functions (such as the exponential function) are only locally smooth, meaning their curvature changes drastically depending on the region of the search space.

While existing adaptive methods attempt to solve this by using linesearches—sub-procedures that test different stepsizes at every iteration—these introduce significant computational overhead.

The Solution: Adaptive Primal Dual Algorithm (APDA)

To address these limitations, researchers have introduced the Adaptive Primal Dual Algorithm (APDA). APDA is a novel first-order method that automatically tunes its stepsizes based on the local curvature of the objective function, completely eliminating the need for expensive linesearches.

How It Works

APDA's core innovation is a local stepsize rule that adapts to the function's geometry "for free" using information already computed during the algorithm's execution.

  • Local Smoothness Estimation: Instead of relying on a fixed, worst-case global constant $L$, APDA calculates a local estimate $L_k$. It does this by measuring the ratio of the change in gradients to the change in iterates: $\frac{\|\nabla f(x_k) - \nabla f(x_{k-1})\|}{\|x_k - x_{k-1}\|}$.
  • Linesearch-Free Adaptivity: The stepsize $\tau_k$ is updated dynamically at each step. A simple rule prevents the stepsize from growing too rapidly while ensuring it remains within a theoretically safe "stability zone."
  • Familiar Structure: APDA maintains the standard alternating structure of primal gradient steps and dual proximal steps, making it a "plug-and-play" upgrade for practitioners already familiar with primal-dual methods.

Key Insights and Theoretical Guarantees

By utilizing the information already present in the gradients, APDA can "feel" the local curvature and adjust its stride accordingly. This allows the algorithm to escape the "worst-case trap." Global constants are inherently conservative because they must account for the steepest possible part of the entire function. In contrast, APDA can take much larger steps in flatter regions of the objective, leading to significantly faster convergence.

Theoretically, APDA expands the reach of primal-dual methods to a much wider class of functions by proving convergence for functions that are only locally smooth. For general convex problems, APDA achieves an $O(k^{-1})$ ergodic convergence rate. Furthermore, if the function is locally strongly convex and the operator $A$ has full rank, the algorithm achieves a linear convergence rate.

Empirical Performance

APDA was rigorously evaluated across several standard benchmarks, demonstrating strong empirical performance:

  • Sparse Binary Logistic Regression: Tested on four datasets from the LIBSVM library (ijcnn, mushrooms, a9a, and covtype), APDA consistently outperformed both FISTA and the standard Condat-Vũ algorithm (CVA) on three out of the four datasets.
  • Robustness in Nonconvex Settings: Although primarily designed for convex problems, APDA was tested as a heuristic for nonconvex phase retrieval (reconstructing an image from the magnitude of its Fourier transform). Remarkably, APDA converged in every single test instance, whereas the standard CVA diverged in 80% of the cases.
  • Dynamic Stepsizes: Numerical evaluations confirm that APDA's stepsizes oscillate over orders of magnitude during execution, proving that it actively and effectively responds to the local landscape of the problem.

Limitations and Future Directions

While APDA represents a significant step forward, it has a few limitations. First, while it adapts to the smoothness of $f$, it still requires a known value or upper bound for the operator norm $\|A\|$. Fully automating adaptivity to $A$ remains an open challenge. Second, because the current version uses plain gradient steps for the primal variable, it cannot strictly enforce hard constraints (like $x \ge 0$) at every iteration; such constraints are only satisfied asymptotically. Finally, the algorithm introduces a hyperparameter $\beta$ (the ratio between primal and dual stepsizes) that the user must select, though the authors provide a robust range of values that work well across various tasks.

Summary updated

BibTeX
@inproceedings{vladarean2021first,
  author = {Maria-Luiza Vladarean and Yura Malitsky and Volkan Cevher},
  title = {{A first-order primal-dual method with adaptivity to local smoothness}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure