Random Multi-Constraint Projection: Stochastic Gradient Methods for Convex Optimization with Many Constraints

Mengdi Wang, Yichen Chen, Jialin Liu, Yuantao GuarXiv 2015

TL;DR

This paper introduces a new class of "random multi-constraint projection" algorithms for solving large-scale convex optimization problems with many constraints. These algorithms efficiently combine stochastic gradient descent with novel random projection techniques, achieving convergence rates comparable to standard stochastic gradient descent but with significantly better practical performance, especially for problems with complex constraint structures.

What Problem Does This Paper Address?

Many real-world optimization problems, particularly in machine learning and large-scale computing, involve minimizing a function that is defined as an expectation (stochastic objective) and is subject to a vast number of constraints. These constraints often form a feasible region that is the intersection of many individual convex sets. While standard stochastic gradient descent (SGD) is efficient for unconstrained or simply constrained problems, its performance degrades significantly when the feasible set is complex and requires expensive projections. Existing methods that use random projections onto single constraints can be slow due to oscillations. This paper tackles the challenge of developing efficient algorithms that can handle a large number of constraints by intelligently sampling and projecting onto a small subset of these constraints at each step, aiming for faster convergence and better practical performance.

Methods

The core contribution is a new family of "random multi-constraint projection" algorithms. These algorithms operate in two steps per iteration:

  1. Optimality Update: A standard stochastic gradient descent (SGD) step is performed to update the current iterate based on a sampled subgradient of the objective function.
  2. Feasibility Update: Instead of projecting onto the entire complex feasible set, the algorithms project onto a subset of constraints. The novelty lies in how this projection is performed. Three distinct feasibility update schemes are proposed:
  3. Averaging Projection (Algorithm 1): The iterate is projected onto the average of multiple randomly selected constraint sets. This is a generalization of existing single-constraint projection methods.
  4. Max-Distance Projection (Algorithm 2): The iterate is projected onto the constraint set that is "most distant" from the current iterate among a randomly selected subset.
  5. Polyhedral-Set Projection (Algorithm 3): A new polyhedral set is constructed from the randomly sampled constraint sets, and the iterate is projected onto this constructed set. This is the most sophisticated approach.

The paper provides theoretical guarantees for the almost sure convergence of these algorithms and analyzes their feasibility and optimality errors, establishing new convergence rate benchmarks.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and numerical experiments on synthetic problems.

Key Insights and Ideas

  • Constraint Randomization is Powerful: The paper demonstrates that intelligently randomizing constraint projections, especially by sampling multiple constraints, can significantly improve convergence speed and stability compared to projecting onto a single random constraint.
  • Polyhedral Projection is Key: The "polyhedral-set projection" scheme (Algorithm 3) emerges as the most efficient, particularly when constraints have an "irregular" spatial distribution. This is because it can create a tighter approximation of the feasible set than simply picking the furthest constraint.
  • No Slowdown from Randomization: A surprising finding is that, contrary to initial intuition, constraint randomization does not slow down the convergence of stochastic first-order methods compared to standard SGD (up to constant factors). This means we can gain the benefits of handling many constraints without sacrificing theoretical efficiency.
  • Feasibility and Optimality are Coupled: The convergence analysis reveals that feasibility error and optimality error are intertwined. The feasibility update step directly impacts the optimality error, and vice-versa.

Key Results

  • Almost Sure Convergence: All three proposed algorithms are proven to converge almost surely to an optimal solution under mild assumptions on the objective function and sampling oracle.
  • New Convergence Rate Benchmarks: The paper provides the first complete convergence rate results for random multi-constraint projection algorithms.
  • For convex objectives, optimality error converges at a rate of $O(k^{-1})$ (or $O(\log k / k)$ for strongly convex objectives).
  • Feasibility error converges at a rate of $O(k^{-\alpha})$ for some $\alpha \in (0,1)$, depending on the stepsize and the constant $C$ related to the feasibility update scheme.
  • Algorithm 3 Outperforms: Numerical experiments consistently show that Algorithm 3 (polyhedral-set projection) significantly outperforms Algorithm 1 (averaging) and the baseline single-constraint projection method. Algorithm 2 (max-distance projection) also performs well, often matching Algorithm 3 in specific scenarios (like spherical constraints).
  • Efficiency Gains: The paper demonstrates that using multiple sample constraints per iteration (larger $M$) leads to better sample efficiency, especially for Algorithm 3.

Limitations and Future Work

  • Assumption 2 (Linear Regularity): The theoretical analysis relies on a "linear regularity" condition (Assumption 2), which, while mild and satisfied in many practical cases, might not hold for all possible constraint sets.
  • Worst-Case vs. Average Performance: While Algorithm 3 is generally superior, there are specific "worst-case" scenarios (e.g., only one violated constraint) where its performance is identical to Algorithm 2. The paper argues that these scenarios are rare in practice.
  • Step-size Optimization Trade-off: The paper notes that optimizing step-sizes for the fastest expected optimization error convergence might lead to a loss of almost sure convergence.
  • Future Work: The authors suggest further investigation into refining the analysis for specific cases and exploring the practical implications of the proposed algorithms in more complex, real-world applications. The numerical results on SVMs and sphere-like constraints are a step in this direction.

Summary updated

BibTeX
@misc{wang2015random,
  author = {Mengdi Wang and Yichen Chen and Jialin Liu and Yuantao Gu},
  title = {{Random Multi-Constraint Projection: Stochastic Gradient Methods for Convex Optimization with Many Constraints}},
  year = {2015},
  eprint = {1511.03760},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.03760},
}
Figure