NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Conservative Stochastic Optimization With Expectation Constraints

Zeeshan Akhtar, Amrit Singh Bedi, Ketan RajawatIEEE TSP 2020

Abstract

This paper addresses the challenge of solving stochastic optimization problems subject to expectation-based constraints, which are common in fair machine learning and structured matrix completion. We introduce two novel algorithms: the Conservative Stochastic Optimization Algorithm (CSOA) and its projection-free counterpart, FW-CSOA. By employing a "conservative" tightening technique within a stochastic augmented Lagrangian framework, these algorithms achieve zero average constraint violation while maintaining optimal or near-optimal convergence rates for the objective function.

Introduction

In many modern machine learning applications, optimizing a loss function is insufficient; models must also satisfy constraints defined over the data distribution. For instance, in fair classification, one might require the average prediction rate to be equal across demographic groups. These are formulated as expectation constraints: $E[h(x, \theta)] \le 0$.

Existing primal-dual or saddle-point methods often struggle with these constraints for three reasons:

  1. Unknown Distributions: The underlying distribution is unknown, and only stochastic samples are available.
  2. Persistent Violation: Most methods allow $O(T^{-1/2})$ constraint violation, which never truly reaches zero.
  3. Projection Overhead: Standard methods require expensive projection steps onto complex feasible sets.

Proposed Methodology: The Conservative Approach

The core innovation of this work is the "conservative" tightening of constraints. Instead of solving the original problem, we solve a stricter version: $E[h(x, \theta)] + v \le 0$, where $v$ is a time-varying tightening parameter.

CSOA: Projection-Based Optimization

CSOA utilizes a stochastic augmented Lagrangian framework. The inclusion of a quadratic penalty on dual variables helps control their growth without requiring restrictive assumptions about their boundedness. By decaying the buffer $v$ at a rate of $T^{-1/2}$, the algorithm effectively cancels out stochastic noise, leading to zero average constraint violation.

FW-CSOA: Projection-Free Optimization

For domains where projections are computationally prohibitive (e.g., nuclear-norm balls), we propose FW-CSOA. This algorithm replaces the projection step with a linear optimization (Frank-Wolfe step). To maintain stability under stochastic gradients, FW-CSOA incorporates momentum-based recursive gradient tracking, which is essential for handling functional expectation constraints in a projection-free manner.

Theoretical Comparison

The following table compares CSOA and FW-CSOA with existing state-of-the-art methods in terms of their convergence rates and constraint satisfaction properties.

Comparison of CSOA and FW-CSOA against existing literature.

As shown in the table, CSOA achieves the optimal $O(T^{-1/2})$ optimality gap while being the first to guarantee zero constraint violation. FW-CSOA is the first projection-free algorithm designed for expectation constraints, achieving an $O(T^{-1/4})$ gap with zero violation.

Experimental Evaluation

We evaluated our algorithms on two primary tasks:

  • Fair Classification (Adult Dataset): CSOA demonstrated significantly more stable fairness metrics (the $p\%$-rule) compared to G-OCO, which exhibited high volatility in constraint satisfaction.
  • Structured Matrix Completion: FW-CSOA outperformed Stochastic Conditional Gradient Descent (SCGD) in both recovery error and constraint satisfaction on synthetic low-rank matrices.

Conclusion

CSOA and FW-CSOA provide a robust framework for stochastic optimization with expectation constraints. The "conservative" buffer technique proves to be a powerful tool for achieving strict feasibility without sacrificing convergence speed. Future work will focus on closing the theoretical gap in FW-CSOA's convergence rate and extending the framework to non-linear functional constraints.

Summary updated

BibTeX
@article{akhtar2020conservative,
  author = {Zeeshan Akhtar and Amrit Singh Bedi and Ketan Rajawat},
  title = {{Conservative Stochastic Optimization With Expectation Constraints}},
  journal = {IEEE Trans. Signal Process.},
  year = {2020},
  doi = {10.1109/tsp.2021.3082467},
}
Figure