Overview
Coordinate descent is a highly efficient optimization method for machine learning, but picking the best coordinate to update—known as Steepest Coordinate Descent (SCD)—is usually too computationally expensive. This paper introduces Approximate Steepest Coordinate Descent (ASCD), a novel algorithm that uses cheap gradient approximations to select coordinates. ASCD is provably never worse than uniform random selection, but in practice, it achieves the massive speedups of steepest descent at almost no extra computational cost per iteration.
The Challenge of Coordinate Selection
In large-scale machine learning, such as training linear models on massive datasets, Coordinate Descent (CD) is a go-to optimization strategy. Instead of updating the whole model at once, CD updates one variable (coordinate) at a time.
The critical question is: Which coordinate should you update next? 1. Uniform Coordinate Descent (UCD): Pick a coordinate at random. It is computationally cheap but ignores the landscape of the loss function, leading to slower convergence. 2. Steepest Coordinate Descent (SCD): Pick the coordinate with the largest gradient (the Gauss-Southwell rule). This makes the most progress per step and can theoretically be up to $n$ times faster than UCD (where $n$ is the number of dimensions). However, finding the steepest coordinate requires computing the entire gradient at every step, which completely defeats the computational advantage of using CD.
The authors tackle this gap by asking: Can we get the convergence speed of SCD while maintaining the cheap per-iteration cost of UCD?
Approximate Steepest Coordinate Descent (ASCD)
The authors propose ASCD, which maintains a running approximation of the gradient for all coordinates instead of calculating the exact gradient.
Here is how it works:
- Upper and Lower Bounds: The algorithm tracks upper and lower bounds for the absolute value of each gradient component.
- The Active Set: Using these bounds, ASCD filters out coordinates that are provably "bad" (i.e., their upper bound is lower than the average lower bound of other coordinates). This leaves an "active set" of promising coordinates. The algorithm then picks a coordinate uniformly at random from this much smaller active set.
- The $\delta$-Gradient Oracle: After updating the chosen coordinate, ASCD must update its gradient estimates. To do this cheaply, the authors introduce a $\delta$-gradient oracle. Instead of doing expensive exact dot products, the oracle uses cheap proxies to estimate how the gradient changed. For example, in least-squares problems, you can bound the gradient change using just the pre-computed norms of the data matrix columns, turning an $O(d)$ operation into an $O(1)$ operation.
- Composite Functions: The authors also extend ASCD to handle composite functions (like L1-regularized Lasso) by adapting the Gauss-Southwell-q rule to work with their upper and lower bounds.
Theoretical and Practical Insights
- A "No-Lose" Guarantee: The most elegant theoretical contribution is that ASCD is provably safe. The expected progress of ASCD is strictly bounded between UCD and SCD. You will never do worse than random selection, but you have the potential to do much better.
- Extreme Robustness to Bad Estimates: The algorithm is highly tolerant of error because the true steepest direction is almost always safely kept inside the active set. Even incredibly crude approximations—like using static column norms as a proxy for gradient changes—work exceptionally well.
- No Initialization Required: Computing the exact gradient at the start of training is expensive. ASCD can be initialized with zero knowledge (infinite uncertainty bounds), and it will naturally "learn" the active set within a single epoch.
Performance and Results
The authors evaluated their method on synthetic sparse datasets and the RCV1 text categorization benchmark (20,242 samples, 47,236 dimensions).
- Convergence Speed: On both L1-regularized (Lasso) and L2-regularized (Ridge) problems, ASCD practically matches the fast convergence trajectory of exact SCD, vastly outperforming UCD.
- Active Set Reduction: On the real-world RCV1 dataset, ASCD successfully shrinks the active set to roughly 0.1% ($10^{-3}$) of the total coordinates. This allows the algorithm to focus all its computational effort on the tiny fraction of features that actually matter.
- Heuristic Success: A slightly cheaper heuristic version of the algorithm ("a-ASCD"), which drops some strict theoretical safety checks, performed identically to (and sometimes slightly better than) the strict ASCD in practice.
Limitations and Future Directions
While ASCD works beautifully for single-coordinate updates on a single machine, extending it to block-coordinate descent in a distributed setting could be challenging. Maintaining and synchronizing the active set and gradient bounds across a cluster introduces overhead.
However, the authors suggest that applying these approximation and active-set mechanisms to Stochastic Gradient Descent (SGD) is a highly promising avenue for future research, aiming to bring the same strong theoretical guarantees to SGD that they achieved for CD.
Summary updated