Robust Dynamic Staffing with Predictions

Yiding Feng, Vahideh H. Manshadi, Rad Niazadeh, Saba Neyshabouri

Introduction

In modern logistics and last-mile delivery operations, staffing decisions are rarely static. Managers must navigate a complex temporal trade-off: hiring workers well in advance when labor availability is high but demand forecasts are imprecise, or waiting until the day of operation when demand is clear but the labor pool has diminished. This "Catch-22" of sequential hiring is a central challenge for companies like Amazon, where gig-economy labor markets fluctuate rapidly.

Traditional operations research models, such as the "Newsvendor" problem, typically assume a single decision point. While Bayesian sequential models exist, they often struggle in practice because they require a perfectly specified "prior" distribution of demand and are computationally intensive. This paper introduces a robust, prior-free framework that leverages sequential forecasts—modeled as adversarial uncertainty intervals—to develop a computationally efficient and minimax-optimal staffing strategy.

The Problem: Balancing Timing and Uncertainty

The core difficulty in dynamic staffing lies in the evolution of information. As the operating day approaches, forecasts become more accurate, but the "availability rate" (the fraction of workers willing to accept a job) typically drops.

Existing Bayesian approaches attempt to solve this using Markov Decision Processes (MDPs). However, these methods face two major hurdles:

  1. Distributional Dependency: They require an accurate probability distribution of future demand, which is difficult to obtain for volatile delivery markets.
  2. Computational Complexity: Solving these models often requires discretizing state spaces, leading to a "curse of dimensionality" that makes them too slow for real-time operational use.

Methodology: Adversarial Predictions and LP Emulation

Instead of relying on probability distributions, the authors model uncertainty through Adversarial Predictions. In this framework, the decision-maker receives a sequence of uncertainty intervals that shrink over time. The goal is to minimize the worst-case cost against an adversary who chooses demand from within these intervals.

The "Single-Switch" Insight

A key theoretical contribution of the paper is identifying the "worst-case" scenario. The authors prove that for any algorithm, the most damaging strategy an adversary can employ is a "single-switch." In this scenario, the adversary signals high demand early on to trick the manager into over-hiring while labor is available, then suddenly switches to signaling low demand once it is too late to reverse the hiring decisions.

The LP-based Emulator

Building on this insight, the authors develop a two-stage approach:

  1. Offline Optimization: They formulate a polynomial-size Linear Program (LP) that characterizes the minimax-optimal cost against the single-switch adversary.
  2. Online Emulation: They provide an "emulator oracle" (Procedure 1) that translates the offline LP solution into real-time hiring decisions. This approach is proven to be minimax-optimal against any adversarial sequence of predictions, not just the single-switch variety.

To further improve performance, the authors introduce a "Re-solving" variant (Algorithm 3). This version updates the LP at every time step as new data arrives, maintaining minimax optimality while significantly improving average-case performance.

Experimental Evaluation

The framework was tested using synthetic datasets designed to mirror real-world last-mile delivery conditions, informed by the authors' collaboration with Amazon. The experiments compared the robust algorithms against traditional Bayesian optimal policies and common machine learning models (Linear Regression, Ridge Regression, and Random Forest).

Key Results

  • Computational Speed: In a 14-day horizon experiment, the "Minimax-OPT++" algorithm was 18,194 times faster than an empirical discretized optimal Bayesian policy. This speed makes the robust framework viable for large-scale, real-time applications.
  • Cost Efficiency: Despite being "distribution-free," the robust algorithm achieved a 5.6% cost reduction compared to the estimated Bayesian optimum in standard scenarios.
  • Resilience to Forecast Bias: Machine learning models often produce biased forecasts. When faced with such bias, the authors' algorithms achieved costs nearly five times lower than simple greedy heuristics, demonstrating the value of the robust interval-based approach.

Discussion and Limitations

While the framework offers significant advantages in speed and robustness, it utilizes a "fluid relaxation," treating workers and demand as continuous variables. For smaller delivery stations where hiring a single worker significantly impacts the budget, further research into integral hiring decisions and rounding analysis is required.

Additionally, the current model assumes labor availability rates are known. While the authors suggest the results generalize to interval-based availability, future work could explore fully stochastic supply models. Beyond staffing, this "adversarial prediction" framework holds potential for other classic operations problems, such as revenue management and resource allocation under uncertainty.

Conclusion

By decoupling the strategic complexity of forecasting from the tactical execution of hiring, this research provides a scalable solution for dynamic staffing. It demonstrates that one does not need a perfect "crystal ball" to make optimal decisions; rather, a robust understanding of the "clock"—how uncertainty and availability evolve over time—is sufficient to drive significant operational improvements.

Summary updated

BibTeX
@inproceedings{feng2025robust,
  author = {Yiding Feng and Vahideh H. Manshadi and Rad Niazadeh and Saba Neyshabouri},
  title = {{Robust Dynamic Staffing with Predictions}},
  booktitle = {EC},
  year = {2025},
  doi = {10.1145/3736252.3742496},
}
Figure