A Simple Algorithm for Online Decision Making

Rui Chen, Oktay Günlük, Andrea Lodi, Guanyi WangarXiv 2022 · DOI

Introduction

Online platforms, ranging from ride-hailing services to digital ad exchanges, process thousands of decisions per second. While the primary objective is often maximizing immediate rewards—such as revenue or click-through rates—there is a growing imperative to incorporate long-term fairness. Achieving this is difficult because fairness is a global property that must be maintained over time, whereas decisions are made locally and often involve discrete, non-convex constraints.

The Problem: Global Fairness vs. Local Decisions

The challenge of online fairness is two-fold. First, individual decisions are often "all-or-nothing" (e.g., assigning a task to one person or another), making it impossible to be perfectly fair at every instant. This necessitates managing a "fairness debt" that balances out over a longer horizon. Second, real-world constraints are frequently non-convex. Standard optimization tools typically struggle when fractional decisions are not an option.

Existing literature often treats fairness as a simple budget or requires fairness goals to be strictly bounded. This paper addresses a more general framework where fairness constraints can be non-linear, non-separable, and even unbounded—for instance, minimizing the relative disparity between groups over time.

A Primal-Dual Framework for Fairness

The authors propose a simple yet robust Primal-Dual algorithm that interprets fairness through an economic lens. The core of the approach lies in treating fairness constraints as dynamic "shadow prices."

Fairness Prices and Local Optimization

The algorithm maintains a vector of dual variables, $p_t$, representing the current "price" of violating fairness. If a specific group has been underserved, the price associated with that group's constraint increases. At each time step, the platform solves a perturbed local optimization problem: instead of maximizing reward alone, it maximizes reward minus the "fairness cost" (the price multiplied by the fairness impact). This mechanism naturally biases the system toward corrective, fair actions.

Handling Unboundedness

To accommodate fairness sets that may be infinitely large or unbounded, the authors employ the Motzkin decomposition. This mathematical tool ensures that the dual variable updates remain stable and well-defined, even when the underlying constraints are complex.

Key Results and Comparison

The paper provides rigorous theoretical guarantees for both reward performance and fairness violations. A significant finding is that while reward performance depends on the stochastic nature of arrivals, the fairness guarantee is deterministic. Regardless of how biased the sequence of incoming requests might be, the algorithm ensures that long-term fairness violations remain within a sublinear factor of the time horizon.

Comparison of the proposed framework with existing literature on online decision-making and fairness.

As shown in the comparison above, this work advances the state-of-the-art by supporting general non-convex local feasible sets and providing deterministic sublinear fairness violations, even for unbounded constraint sets.

Performance Metrics

  • Reward Regret: Under a random permutation model, the algorithm achieves an expected reward regret of $\tilde{O}(\sqrt{mT})$, where $m$ is the number of constraints and $T$ is the time horizon. This indicates that the online algorithm performs nearly as well as an offline optimizer with perfect foresight.
  • Fairness Violation: The algorithm guarantees a fairness violation of at most $O(\sqrt{mT})$ deterministically.
  • Structured Non-Stationarity: The authors introduce the "Grouped Random Permutation Model" to capture periodic demand patterns (e.g., weekday vs. weekend), providing a way to quantify performance degradation in seasonal environments.

Conclusion

By treating fairness as a dynamic shadow price, this research provides a practical and theoretically sound method for balancing immediate utility with long-term equity. The framework's ability to handle non-convexity and provide deterministic fairness guarantees makes it highly applicable to real-world online platforms. Future work may explore extending these results to fully adversarial settings and investigating the implications of these "fairness prices" in multi-agent environments where strategic behavior is present.

Summary updated

BibTeX
@misc{chen2022simple,
  author = {Rui Chen and Oktay Günlük and Andrea Lodi and Guanyi Wang},
  title = {{A Simple Algorithm for Online Decision Making}},
  year = {2022},
  eprint = {2211.03997},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.03997},
}
Figure