Online Alternating Direction Method

Huahua Wang, Arindam BanerjeeICML 2012

Introduction

Online convex optimization is a powerhouse for large-scale machine learning, with algorithms like FOBOS, COMID, and Regularized Dual Averaging (RDA) leading the charge. However, these standard online methods struggle when optimization problems involve explicit linear equality constraints (e.g., $Ax + Bz = c$).

While the batch Alternating Direction Method (ADM) handles these constraints beautifully via variable splitting—making it highly popular for distributed optimization—adapting it to an online setting typically requires a computationally expensive "double-loop" algorithm. One would have to run the inner ADM loop to full convergence after every single new data point is revealed just to ensure constraints are met.

This paper introduces the Online Alternating Direction Method (OADM), bridging this gap by generalizing ADM to a single-pass online setting. By treating constraint violations as a form of regret, OADM eliminates the double loop while maintaining theoretical guarantees, enabling efficient, single-pass distributed online optimization.

Methodology and Key Insights

The authors build their approach in two main phases. First, they introduce a novel proof technique for standard batch ADM using variational inequalities, establishing a crisp $O(1/T)$ convergence rate that serves as the mathematical foundation for their online analysis. Second, they develop OADM. Instead of forcing constraints to be perfectly satisfied at every time step, OADM makes a single pass through the ADM update equations (updating the primal variables $x$ and $z$, then the dual variable $y$) as new data arrives.

Constraint Violation as Regret

The biggest conceptual leap is relaxing the need for strict feasibility at every step. To analyze this theoretically, the authors introduce a dual-regret framework. They measure both the standard objective regret (how well the algorithm minimizes the loss compared to the best fixed decision in hindsight) and a novel constraint violation regret (how much the linear constraints are violated over time). By allowing the constraint violation to accumulate as a sublinear regret ($o(T)$), single-pass online ADM becomes possible. The constraints are satisfied "in the long run."

OADM Convergence Behavior

The authors analyze two variants of OADM: one using a Bregman divergence regularization term for general cases, and one without it that relies on specific matrix properties (like $A$ being invertible). Elegantly, they also demonstrate that the well-known FOBOS (Forward-Backward Splitting) algorithm is actually a specific, inexact version of OADM where the linear constraints are trivial ($A=I, B=-I, c=0$).

Empirical Results

OADM matches the regret bounds of state-of-the-art unconstrained online algorithms while explicitly handling linear constraints. The authors proved $O(\sqrt{T})$ regret bounds for general convex functions and $O(\log T)$ bounds for strongly convex functions. Crucially, these bounds apply to both the objective function regret and the constraint violation regret.

The paper relies on synthetic datasets to evaluate the algorithms, generating random matrices and true sparse vectors to test on Generalized Lasso problems, including standard Lasso and Total Variation (TV) denoising tasks.

Performance on Lasso and Total Variation

On simulated Lasso tasks ($N=100$ examples, $n=1000$ dimensions, true sparsity = 100), OADM converged smoothly to the true sparsity level.

Sparsity Comparison Across Algorithms

As seen in the comparative evaluations, FOBOS oscillated wildly, while batch ADM and RDA were overly conservative, often driving sparsity to zero too aggressively. OADM, however, reliably identified the correct number of non-zeros. Similarly, on Total Variation tasks, OADM successfully and smoothly recovered the true signal patterns. Batch ADM showed obvious oscillations, while FOBOS and RDA either flattened the signal too much or oscillated depending on the hyperparameters.

Limitations and Future Work

Because OADM treats constraints as a form of regret, the algorithm does not guarantee strict feasibility at every single time step; solutions are only guaranteed to satisfy the constraints asymptotically. Furthermore, the specific OADM variant analyzed without Bregman divergence ($\eta = 0$) requires strong assumptions about the problem structure—specifically, that matrix $A$ is square and invertible—which limits its general applicability.

For future work, the authors suggest applying OADM to consensus optimization. This is a highly relevant area for distributed machine learning where local variables are updated separately on different machines and must reach a global consensus over time.

Summary updated

BibTeX
@inproceedings{wang2012online,
  author = {Huahua Wang and Arindam Banerjee},
  title = {{Online Alternating Direction Method}},
  booktitle = {International Conference on Machine Learning},
  year = {2012},
}
Figure