Skip to main content
QUICK REVIEW

[Paper Review] A Light Touch for Heavily Constrained SGD

Andrew Cotter, Maya R. Gupta|arXiv (Cornell University)|Dec 15, 2015
Stochastic Gradient Optimization TechniquesComputer Science3 citations
TL;DR

This paper proposes LightTouch, a stochastic optimization method for large-scale convex problems with many constraints, where only a subset of constraints are checked per iteration using a dynamically updated probability distribution over constraints. It achieves significantly reduced constraint checks—down to logarithmic dependence on m—while maintaining convergence, outperforming projected SGD in runtime on a real-world ranking task with 24,576 constraints.

ABSTRACT

Minimizing empirical risk subject to a set of constraints can be a useful strategy for learning restricted classes of functions, such as monotonic functions, submodular functions, classifiers that guarantee a certain class label for some subset of examples, etc. However, these restrictions may result in a very large number of constraints. Projected stochastic gradient descent (SGD) is often the default choice for large-scale optimization in machine learning, but requires a projection after each update. For heavily-constrained objectives, we propose an efficient extension of SGD that stays close to the feasible region while only applying constraints probabilistically at each iteration. Theoretical analysis shows a compelling trade-off between per-iteration work and the number of iterations needed on problems with a large number of constraints.

Motivation & Objective

  • To address the computational bottleneck of projected stochastic gradient descent (SGD) when dealing with a very large number of constraints.
  • To reduce the per-iteration cost of constraint evaluation in constrained optimization, especially when constraints are numerous but only a small fraction are active at the optimum.
  • To develop a practical algorithm that maintains feasibility while minimizing the number of constraint checks per iteration, improving scalability for large-scale machine learning problems.
  • To analyze and demonstrate improved convergence rates in terms of total constraint checks, particularly for problems with many constraints.

Proposed method

  • The method uses a probability distribution over constraints that evolves over time, concentrating on the most-violated constraints at each iteration.
  • At each iteration, only a small, randomly sampled subset of constraints is checked, and the solution is nudged toward feasibility based on these sampled constraints.
  • The algorithm maintains a running estimate of constraint violations and updates the sampling distribution to favor more violated constraints, reducing the number of checks on inactive constraints.
  • A variant, MidTouch, is proposed for strongly convex objectives, offering improved convergence rates by leveraging strong convexity.
  • The approach avoids full projections at each step by instead using a lightweight, probabilistic enforcement strategy, with a final projection only at the end.
  • The method is enhanced with dynamic minibatching to balance variance and computational cost across the three components of the stochastic update: the objective gradient, constraint sampling, and projection.

Experimental results

Research questions

  • RQ1Can we reduce the number of constraint checks per iteration in projected SGD for problems with a very large number of constraints without sacrificing convergence?
  • RQ2How can we efficiently identify and focus on the most relevant (i.e., most-violated) constraints in a large constraint set?
  • RQ3What is the theoretical trade-off between per-iteration computation and total number of constraint checks in large-scale constrained optimization?
  • RQ4Can a probabilistic, constraint-sampling strategy achieve comparable or better convergence than full projection methods in terms of runtime and feasibility?

Key findings

  • The total number of constraint checks required to achieve ϵ-suboptimality is reduced from O(m/ϵ²) to Õ((ln m)/ϵ² + m(ln m)^1.5/ϵ^1.5) for non-strongly convex problems.
  • For λ-strongly convex objectives, the dominant term in constraint checks decreases from O(m/λ²ϵ) to Õ((ln m)/λ²ϵ), with improved asymptotic dependence on m.
  • In practice, LightTouch checks fewer constraints per iteration than FullTouch and ApproxSGD, and the number of checks per iteration decreases over time as optimization progresses.
  • On a real-world YouTube ranking problem with 24,576 constraints and 612,587 examples, LightTouch outperforms both FullTouch and ApproxSGD in wall-clock runtime, despite the constraints being cheap to evaluate.
  • The algorithm’s performance advantage is expected to grow with more constraints or more expensive constraints, where the O(m) cost of maintaining the distribution becomes less dominant.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.