Coordinate Linear Variance Reduction for Generalized Linear Programming

Chaobing Song, Cheuk Yin Lin, Stephen Wright, Jelena Diakonikolas

Introduction

Linear Programming (LP) is a foundational tool in optimization. "Generalized" Linear Programming (GLP) extends this framework by incorporating simple convex regularizers and set constraints. While traditional interior-point methods are highly robust for medium-scale GLPs, they become prohibitively expensive at modern "data science scales" because they require factoring massive matrices.

First-order methods (FOMs) offer a scalable alternative, but existing approaches often struggle with two major bottlenecks:

  1. Conditioning: Their convergence speed typically depends on the "spectral norm" ($L$) of the constraint matrix, which can be excessively large if the data is poorly scaled or ill-conditioned.
  2. Sparsity: Many stochastic algorithms have a per-iteration cost that scales with the total number of variables ($d$), failing to capitalize on the fact that real-world constraint matrices are often highly sparse.

To address these challenges, researchers have introduced Coordinate Linear Variance Reduction (CLVR; pronounced "clever"), a novel first-order algorithm designed to solve GLPs at a massive scale by exploiting the linear structure of constraints.

The CLVR Algorithm

CLVR operates by reformulating the GLP into an equivalent primal-dual min-max problem (a Lagrangian). It builds upon several key algorithmic innovations to achieve scalability:

  • Coordinate Updates with Dual Extrapolation: Instead of updating all dual variables simultaneously, CLVR selects one row (or a block of rows) of the constraint matrix at a time. Crucially, unlike many primal-dual methods that extrapolate on primal variables, CLVR extrapolates on dual variables. This subtle shift significantly simplifies the implementation of sparse updates.
  • Linear Variance Reduction: The algorithm leverages the linear structure of the dual problem to cancel out errors introduced by random sampling. This provides a "variance reduction" effect without the computationally expensive initialization steps required by previous state-of-the-art methods like VRPDA².
  • Lazy Updates: For sparse matrices, CLVR only updates the specific primal variables connected to the chosen constraint row. This keeps the per-iteration computational cost strictly proportional to the number of non-zeros in that specific row, rather than the total number of variables.
  • Restart Scheme: For standard LPs, the authors implement a restart strategy based on a defined "LPMetric." By periodically restarting the algorithm, CLVR achieves empirical linear convergence, approaching the exact solution at a consistent exponential rate.

Theoretical Advantages: $R$ vs. $L$

The most significant theoretical contribution of CLVR is its improved complexity bounds.

Comparison of theoretical complexities for various first-order methods. CLVR uniquely bounds complexity using the maximum row norm ($R$) and scales per-iteration cost by the non-zeros in a row.

As shown in the comparison table, CLVR’s complexity scales with the maximum row norm ($R$) of the constraint matrix $A$, rather than its spectral norm ($L$). In many practical, ill-conditioned datasets, $R$ is significantly smaller than $L$. This theoretical distinction translates to massive practical speedups. Furthermore, the per-iteration cost is bounded by $\mathcal{O}(\text{nnz}(\text{row}(A)))$, confirming its optimal adaptation to data sparsity.

Applications in Distributionally Robust Optimization

To validate CLVR, the authors applied it to Distributionally Robust Optimization (DRO) problems. The paper demonstrates that complex DRO problems—specifically those using $f$-divergence or Wasserstein metrics for their ambiguity sets—can be elegantly reformulated as GLPs by introducing sparsely connected auxiliary variables.

This reformulation allows a general-purpose solver like CLVR to efficiently tackle problems that previously required specialized, often slower, algorithms. The researchers evaluated this approach on four standard machine learning datasets of varying sparsity and dimensionality: a9a, gisette, rcv1, and news20 (which scales up to ~2.7 million samples and ~5.5 million features).

Empirical Results

  • Efficiency: In numerical experiments, CLVR consistently outperformed other primal-dual methods (including PDHG and SPDHG) in terms of both the number of data passes and actual wall-clock time.
  • Sparsity Scaling: On the highly sparse rcv1 dataset, CLVR utilizing a block size of 10 was significantly faster than its competitors, proving its ability to exploit the sparse structure of the reformulated DRO problem.
  • Competitive with Production Solvers: CLVR reached high-accuracy solutions ($10^{-8}$) faster than industry-standard solvers like GLPK and Gurobi (using the Simplex method) on the gisette and rcv1 datasets.

Limitations and Future Work

While CLVR is highly efficient, commercial solvers like Gurobi still hold an advantage on certain datasets (like a9a using the barrier method). The authors attribute this to Gurobi's sophisticated "presolve" heuristics, which identify and remove redundant constraints before optimization begins. Integrating a presolver into CLVR is a primary direction for future work.

Additionally, while the adaptive restart scheme works exceptionally well empirically, a full theoretical convergence analysis for halving the LPMetric remains an open research question. Finally, like many first-order methods, CLVR requires tuning a step-size parameter ($\gamma$); developing automated hyperparameter tuning would further enhance its out-of-the-box utility.

Summary updated

BibTeX
@inproceedings{song2022coordinate,
  author = {Chaobing Song and Cheuk Yin Lin and Stephen Wright and Jelena Diakonikolas},
  title = {{Coordinate Linear Variance Reduction for Generalized Linear Programming}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=1eFNx2uaTN},
}
Figure