Fully Dynamic Online Selection through Online Contention Resolution Schemes

Vashist Avadhanula, Andrea Celli, Riccardo Colini-Baldeschi, Stefano Leonardi, Matteo Russo

Abstract

We study fully dynamic online selection problems in an adversarial/stochastic setting that includes Bayesian online selection, prophet inequalities, posted price mechanisms, and stochastic probing problems subject to combinatorial constraints. In the classical "incremental" version of the problem, selected elements remain active until the end of the input sequence. On the other hand, in the fully dynamic version of the problem, elements stay active for a limited time interval, and then leave. This models, for example, the online matching of tasks to workers with task/worker-dependent working times, and sequential posted pricing of perishable goods. A successful approach to online selection problems in the adversarial setting is given by the notion of Online Contention Resolution Scheme (OCRS), that uses a priori information to formulate a linear relaxation of the underlying optimization problem, whose optimal fractional solution is rounded online for any adversarial order of the input sequence. Our main contribution is providing a general method for constructing an OCRS for fully dynamic online selection problems. Then, we show how to employ such OCRS to construct no-regret algorithms in a partial information model with semi-bandit feedback and adversarial inputs.

Introduction

In classical online selection problems, such as the Secretary Problem or Prophet Inequalities, a decision-maker encounters a sequence of items and must make immediate, irrevocable decisions to accept or reject them. In these traditional "incremental" models, once an item is selected, it occupies a resource or constraint for the remainder of the process.

However, many real-world applications are inherently fully dynamic. For instance, in a gig-economy platform matching tasks to freelancers, a worker is unavailable while performing a task but becomes available again once the task is completed. Similarly, in warehouse management, a storage slot is occupied by a perishable good only until it is sold or expires. These scenarios introduce complex temporal packing constraints where resources are freed over time. This paper addresses the challenge of maximizing total reward in such dynamic environments, even when arrival orders are adversarial and item values are initially unknown.

Methodology

Online Contention Resolution Schemes (OCRS)

The authors utilize Online Contention Resolution Schemes (OCRS) as a foundational building block. An OCRS is a framework that takes a fractional solution to an optimization problem—often easy to compute but practically infeasible—and rounds it into a valid, integral selection in an online fashion. The paper introduces two primary "Black-box Reductions" to extend this concept to dynamic settings.

From OCRS to Temporal OCRS

The first reduction demonstrates that a "greedy" OCRS designed for standard constraints (like knapsack or matching) can be transformed into a temporal OCRS. By tracking the set of currently active items and using the standard OCRS as a subroutine, the algorithm can decide if a new arrival can be accepted without violating constraints relative to the items currently in the system. This effectively "flattens" the time dimension into a series of overlapping feasibility checks within a defined temporal packing constraint polytope.

From Temporal OCRS to No-Regret Algorithms

The second reduction extends the model to a repeated setting over $T$ stages. The authors develop algorithms that learn from past performance to optimize future selections. They analyze three distinct feedback models:

  1. Full-feedback: The rewards for all items are revealed at the end of a stage.
  2. Semi-bandit (White-box): Rewards are observed only for selected items, and the internal logic of the OCRS is known.
  3. Semi-bandit (Oracle): Rewards are observed only for selected items, and the OCRS is treated as an opaque black box.

Key Insights

  • The Power of Greediness: The transition from static to dynamic selection relies on the OCRS being greedy—making decisions based solely on the current state and arrival. This property is essential for handling the unpredictability of dynamic environments.
  • Temporal Polytope: By defining a mathematical structure for temporal constraints, the authors provide a rigorous way to handle time-varying feasibility, allowing dynamic problems to be solved with the same precision as static ones.
  • Necessity of Stages: The research highlights that in the presence of a powerful adversary, sublinear regret cannot be achieved within a single sequence. Learning requires the problem to repeat across multiple stages to identify patterns in rewards or arrivals.

Results

The proposed framework demonstrates that the competitive ratio of the original OCRS is preserved in the temporal version. If a standard selection algorithm is $c$-competitive, the resulting temporal algorithm remains $c$-competitive.

In the repeated adversarial setting, the authors establish the following regret bounds:

  • $\tilde{O}(m\sqrt{T})$ regret for full-feedback and "white-box" semi-bandit settings, where $m$ is the number of elements.
  • $\tilde{O}(T^{2/3})$ regret for the "black-box" oracle semi-bandit setting.

These results are highly generalizable, applying to any "downward-closed" constraint, including matroids, matchings, and knapsack problems.

Limitations and Future Work

While the framework is robust, it assumes that the underlying constraint structures (e.g., the bipartite graph in a matching problem) are fixed across stages. Future research could explore scenarios where the constraints themselves are chosen adversarially. Additionally, while the paper addresses semi-bandit feedback, "pure bandit" feedback—where only the total sum of rewards is observed—remains an open challenge. Finally, the computational overhead of implementing these reductions in high-frequency environments presents a practical engineering hurdle for future development.

Summary updated

BibTeX
@inproceedings{avadhanula2023fully,
  author = {Vashist Avadhanula and Andrea Celli and Riccardo Colini-Baldeschi and Stefano Leonardi and Matteo Russo},
  title = {{Fully Dynamic Online Selection through Online Contention Resolution Schemes}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i6.25821},
}
Figure