Abstract
While Stochastic Dual Coordinate Ascent (SDCA) is a staple for efficient regularized loss minimization, its traditional derivation relies heavily on duality, complicating its analysis and limiting its application to convex individual losses. This paper presents a "dual-free" version of SDCA that operates entirely in the primal space. By reinterpreting SDCA as a variance-reduced stochastic gradient method, the author proves that linear convergence is achievable even when individual loss functions are non-convex, provided their average remains convex.
Introduction
The core problem in machine learning optimization is often formulated as the minimization of a regularized empirical loss:
$$\min_{w \in \mathbb{R}^d} P(w) := \frac{1}{n} \sum_{i=1}^n \phi_i(w) + \frac{\lambda}{2} \|w\|^2$$
Stochastic Dual Coordinate Ascent (SDCA) has long been favored for its ability to achieve linear convergence on such problems. However, its traditional reliance on a dual objective creates significant hurdles. First, the dual-based proofs are often mathematically opaque and unintuitive. Second, in modern contexts where individual losses ($\phi_i$) might be non-convex—such as in certain robust regression tasks or specific neural network layers—the dual problem may not be well-defined or solvable, rendering standard SDCA inapplicable.
The Dual-Free Framework
This work introduces Dual-Free SDCA, an algorithm that maintains the efficiency of coordinate ascent without requiring a dual objective. Instead of optimizing dual variables, the algorithm maintains a set of "pseudo-dual" vectors $\alpha_1, \dots, \alpha_n \in \mathbb{R}^d$. These vectors serve as proxies for the gradients of the individual loss functions.
The algorithm operates through a simple iterative process:
- Random Sampling: Pick a random index $i$ from the dataset.
- Pseudo-Dual Update: Update the corresponding vector $\alpha_i$ as a convex combination of its previous value and the negative gradient of the current loss function: $\alpha_i^{(new)} = (1-\theta)\alpha_i^{(old)} - \theta \nabla \phi_i(w)$.
- Primal Update: Update the weight vector $w$ based on the change in $\alpha_i$.
By working directly in the primal space, the analysis becomes significantly more straightforward, bypassing the complexities of Fenchel duality.
SDCA as Variance Reduction
A pivotal insight of this paper is the formalization of SDCA as a variance-reduced stochastic gradient method. In "vanilla" Stochastic Gradient Descent (SGD), the gradient estimate always contains noise (variance), which typically requires a decaying learning rate and results in sub-linear convergence.
Dual-Free SDCA, however, uses the pseudo-dual vectors to track the evolution of the gradients. As the weight vector $w$ approaches the optimal solution, the variance of these gradient estimates drops to zero. This property allows the algorithm to maintain a constant step size and achieve linear convergence, placing it in the same family of modern optimizers as SVRG (Stochastic Variance Reduced Gradient) and SAG (Stochastic Average Gradient).
Theoretical Guarantees
The paper provides two primary convergence results that expand the theoretical reach of SDCA:
1. The Convex Case
For $L$-smooth and convex individual loss functions, Dual-Free SDCA achieves a convergence rate of $\tilde{O}((L/\lambda + n) \log(1/\epsilon))$. This matches the best-known rates for traditional SDCA but is achieved through a much simpler, primal-only proof.
2. The Non-Convex Case
Most significantly, the paper proves that linear convergence is possible even when individual functions $\phi_i$ are non-convex, provided that their average (the total empirical loss) remains convex. In this setting, the algorithm achieves a rate of $\tilde{O}((L^2/\lambda^2 + n) \log(1/\epsilon))$. While this shows a worse dependence on the condition number ($L/\lambda$) compared to the convex case, it represents a major theoretical leap by relaxing the requirement for individual convexity.
Conclusion and Future Work
By removing the necessity of duality, this research simplifies the understanding of coordinate ascent and extends its utility to a broader class of optimization problems. The ability to guarantee linear convergence for non-convex individual losses is particularly relevant for complex machine learning models where global convexity is maintained via regularization despite local non-convexities.
A remaining open question is whether the convergence rate for the non-convex case can be improved to match the $L/\lambda$ dependence found in the convex case. Additionally, while this work addresses cases where the average loss is convex, extending variance-reduction benefits to fully non-convex landscapes—such as those found in deep learning—remains a critical frontier for future research.
Summary updated