Safe online convex optimization with multi-point feedback

Spencer Hutchinson, Mahnoosh Alizadeh

Abstract

Motivated by the stringent safety requirements often present in real-world applications, we study a safe online convex optimization (OCO) setting where the player must simultaneously achieve sublinear regret and zero constraint violation while using only zero-order information. Specifically, we consider a multi-point feedback setting where the player chooses $d + 1$ points in each round (where $d$ is the problem dimension) and receives the values of the constraint and cost functions at each point. We propose the Multi-Point Restrained Online Gradient Descent (MP-ROGD) algorithm, which leverages forward-difference gradient estimation and a dual-set strategy (optimistic and pessimistic action sets). We prove that this approach achieves $O(d \sqrt{T})$ regret and zero constraint violation, assuming the constraint function is smooth and strongly convex. Numerical studies further investigate the impacts of unknown constraints and zero-order feedback on empirical performance.

Introduction

Online Convex Optimization (OCO) is a robust framework for sequential decision-making. In the standard OCO model, a learner iteratively selects actions and incurs losses, typically within a known feasible region. However, in many safety-critical applications—such as power system management or clinical trials—the constraints defining the safe region are not known a priori and must be learned through interaction.

In these environments, the stakes are high: the learner cannot afford even a single violation of the safety constraints. This requirement, known as "zero constraint violation," is significantly more challenging than traditional OCO. Furthermore, the learner often lacks access to the gradients of the cost or constraint functions, receiving only "zero-order" feedback (the function values themselves). This paper addresses these challenges by utilizing multi-point feedback to estimate gradients and maintain strict safety.

The MP-ROGD Algorithm

To navigate the trade-off between exploration and safety without first-order information, we introduce the Multi-Point Restrained Online Gradient Descent (MP-ROGD) algorithm. The method is built upon two core technical pillars:

1. Forward-Difference Gradient Estimation

Since the algorithm does not have access to exact gradients, it queries the current action $x_t$ and $d$ additional perturbed actions. These perturbations are shifted by a small value $\delta$ along each coordinate axis. By evaluating the function at these $d+1$ points, MP-ROGD constructs a forward-difference estimate of the gradients for both the cost and constraint functions. The mathematical analysis demonstrates that as the perturbation $\delta$ decreases, the estimation error shrinks, allowing for accurate navigation of the decision space.

2. Optimistic and Pessimistic Action Sets

Gradient estimation is inherently noisy. To prevent estimation errors from leading to safety violations, MP-ROGD employs a dual-set strategy:

  • Optimistic Set: This set slightly overestimates the true safe region based on current data, allowing the algorithm to search for actions that minimize regret.
  • Pessimistic Set: This set strictly underestimates the safe region. By construction, any point within the pessimistic set is guaranteed to be safe relative to the true, unknown constraint.

In each round, the algorithm calculates a gradient descent step within the optimistic set to ensure high performance (low regret). It then projects or scales this "optimistic iterate" back into the pessimistic set. This ensures that the final action played is strictly safe, even in the presence of estimation uncertainty.

Key Results and Insights

Theoretical Guarantees

The primary contribution of this work is the proof that MP-ROGD guarantees zero constraint violations across all rounds $T$. Despite the lack of first-order information, the algorithm achieves a sublinear regret bound of $O(d \sqrt{T})$. This matches the theoretical rate achievable with exact first-order feedback, proving that safety and efficiency are possible even with zero-order multi-point feedback, provided the constraints are smooth and strongly convex.

Empirical Performance

Numerical simulations using synthetic linear and quadratic functions validate the theoretical findings. MP-ROGD successfully maintains safety throughout the learning process. However, the experiments reveal a "price of safety" and a "price of zero-order feedback." MP-ROGD exhibits higher empirical regret than algorithms that either have full knowledge of the constraints (MP-OGD) or access to exact gradients (ROGD). This highlights the inherent cost of maintaining strict safety in uncertain environments.

Limitations and Future Work

While MP-ROGD provides a rigorous framework for safe OCO, it has limitations. The query complexity scales linearly with the dimension $d$ ($d+1$ queries per round), which may be restrictive for very high-dimensional problems. Additionally, the current theoretical guarantees require the constraint function to be smooth and strongly convex, and the learner must start with a known strictly feasible point.

Future research directions include:

  • Exploring safe OCO with reduced feedback (e.g., one- or two-point feedback), which may require relaxing "zero violation" to "zero violation in expectation."
  • Extending the optimistic/pessimistic set paradigm to distributed online optimization and online control systems.

Summary updated

BibTeX
@inproceedings{hutchinson2024safe,
  author = {Spencer Hutchinson and Mahnoosh Alizadeh},
  title = {{Safe online convex optimization with multi-point feedback}},
  booktitle = {L4DC},
  year = {2024},
  url = {https://openreview.net/forum?id=BRv0BH6821},
}
Figure