Non-Parametric Stochastic Sequential Assignment With Random Arrival Times

Danial Dervovic, Parisa Hassanzadeh, Samuel Assefa, Prashant Reddy

Introduction

In many operational contexts, decision-makers face the challenge of allocating a finite resource to tasks that arrive sequentially and unpredictably. For instance, a cybersecurity team may have the capacity to investigate only a fixed number of potential threats per day. This scenario is a classic example of the Sequential Assignment Problem (SAP). Traditionally, solving this problem optimally required precise knowledge of the task arrival process and value distributions, often modeled through complex systems of Ordinary Differential Equations (ODEs). However, in practice, such parameters are rarely known a priori.

This paper introduces Non-Parametric Sequential Allocation (NPSA), a data-driven framework that learns optimal decision thresholds directly from historical logs. NPSA bridges the gap between theoretical optimality and practical application by replacing rigid mathematical assumptions with non-parametric estimates.

The Sequential Assignment Problem

The SAP involves three key components:

  1. Random Arrivals: Tasks (jobs) arrive at stochastic intervals throughout a fixed time horizon.
  2. Intrinsic Value: Each job carries a value (e.g., the severity of a security breach or the dollar amount of a fraudulent transaction).
  3. Immediate Decision: Upon arrival, the agent must decide whether to accept the job (consuming one capacity unit) or reject it, hoping for a higher-value job later.

Prior theoretical solutions established the foundation using ODEs, but these solutions are brittle when the underlying distributions are unknown or non-stationary. NPSA addresses this by learning from data.

The NPSA Algorithm

NPSA operates in three phases:

  1. Non-Parametric Estimation: Using $M$ historical realizations, the algorithm estimates the time-varying arrival rate $\lambda(t)$ and the Mean Shortage Function $\phi(y)$, which characterizes the expected value of jobs exceeding a threshold $y$.
  2. Numerical Optimization: These estimates are fed into a numerical ODE solver to compute critical curves $y_k(t)$. These curves represent the dynamic thresholds required to accept a job when $k$ capacity units remain at time $t$.
  3. Dynamic Decision Rule: At test time, a job with value $v$ arriving at time $t$ with $k$ slots left is accepted if $v > y_k(t)$.

The authors provide a rigorous proof that as the number of training samples $M$ increases, the expected reward of NPSA converges in probability to the true theoretical optimum.

Experimental Evaluation

The NPSA algorithm was tested on synthetic datasets (Exponential and Lomax distributions) and two real-world fraud detection datasets: cc-fraud and ieee-fraud.

Convergence and Performance

A primary strength of NPSA is its sample efficiency. On synthetic data, the algorithm achieves near-optimal performance with relatively few historical training realizations, typically reaching stability between 50 and 100 samples.

Figure 1: Performance of NPSA as a function of training realizations M. The algorithm converges rapidly to the theoretical optimum for various capacity levels n.

Robustness to Distributional Shifts

A critical finding is NPSA's robustness to "covariate shift" in the arrival process. In many real-world scenarios, the frequency of events may change (e.g., a sudden spike in fraud attempts). NPSA maintains high performance even when the arrival rate at test time differs significantly from the training data.

Figure 5: Robustness of NPSA to shifts in the test data arrival rate λ'. The algorithm captures a significant fraction of the optimal reward even when the arrival rate is an order of magnitude different from training.

Real-World Application: Fraud Detection

On the cc-fraud dataset, NPSA outperformed standard "Hindsight" baselines once the inspection capacity was sufficient ($n \geq 60$). In the ieee-fraud e-commerce dataset, NPSA's performance was comparable to a "Full Knowledge" baseline, which represents an unattainable upper bound. Notably, NPSA prioritizes high-value transactions, catching more monetary value than greedy approaches that might catch more total transactions but of lower individual value.

Conclusion

NPSA provides a robust, data-driven solution to the sequential assignment problem, eliminating the need for parametric assumptions about arrival processes. While the current model assumes risk neutrality and instantaneous processing, its proven convergence and empirical robustness make it a powerful tool for real-time decision-making in high-stakes environments like fraud detection and cybersecurity.

Summary updated

BibTeX
@inproceedings{dervovic2021non,
  author = {Danial Dervovic and Parisa Hassanzadeh and Samuel Assefa and Prashant Reddy},
  title = {{Non-Parametric Stochastic Sequential Assignment With Random Arrival Times}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/579},
}
Figure