Tradeoffs in streaming binary classification under limited inspection resources

Parisa Hassanzadeh, Danial Dervovic, Samuel Assefa, Prashant Reddy, Manuela Veloso

Introduction

In financial security, machine learning models serve as the primary defense against fraud. However, these models do not autonomously halt transactions; they generate alerts for human investigation. Given that human resources are finite, institutions can only inspect a small fraction of daily alerts. This paper, a collaboration between J.P. Morgan AI Research and U.S. Bank, introduces a mathematical framework to quantify fraud detection rates under specific "inspection budgets."

Problem Statement

Standard machine learning metrics like AUC or F1-score often fail to capture operational realities. In a streaming environment, transactions arrive continuously. A static threshold might exhaust the daily budget on early, low-confidence alerts, leaving no capacity for high-confidence frauds arriving later. The core challenge is optimizing the selection of transactions for inspection within a fixed budget $k$.

Methodology

The researchers modeled transaction arrivals using a Non-Homogeneous Poisson Process (NHPP) to account for diurnal volume fluctuations. They evaluated four selection strategies:

  1. Static Thresholds: A fixed score cutoff.
  2. Dynamic Thresholds: An adaptive curve adjusting for time and remaining budget.
  3. Random Sampling: A baseline selection.
  4. Batch Processing: An offline theoretical upper bound.

The study utilized the IEEE-CIS Fraud Detection dataset, training Gradient Boosted Decision Trees (GBDT), Random Forests (RF), and Logistic Regression (LR) classifiers.

Classifier Performance and Score Distribution

The effectiveness of any selection strategy is fundamentally tied to the classifier's ability to separate classes.

ECDF of classifier scores for non-fraudulent and fraudulent transactions across different models.

As shown in the Empirical Cumulative Distribution Function (ECDF) plots, GBDT provides the sharpest separation between fraudulent and non-fraudulent scores, which is crucial for maximizing detection at low inspection capacities.

Empirical Results

The primary finding is the significant advantage of adaptive strategies.

Comparison of fraud detection performance across different selection strategies as a function of inspection budget.

Dynamic thresholds consistently outperform static ones, operating within a 0.01 margin of the theoretical "Batch Processing" upper bound. This suggests that by adjusting thresholds based on temporal arrival patterns, organizations can achieve near-optimal detection without the latency of batch processing. Conversely, static thresholds fall short, particularly as the inspection budget becomes more constrained.

Conclusion

Decoupling model training from operational selection allows for a better understanding of the ROI of inspection resources. Dynamic thresholds offer a practical, high-performance solution for streaming fraud detection, bridging the gap between theoretical model potential and real-world resource limitations. Future work will explore non-identical fraud costs and adversarial arrival patterns.

Summary updated

BibTeX
@inproceedings{hassanzadeh2021tradeoffs,
  author = {Parisa Hassanzadeh and Danial Dervovic and Samuel Assefa and Prashant Reddy and Manuela Veloso},
  title = {{Tradeoffs in streaming binary classification under limited inspection resources}},
  booktitle = {ICAIF},
  year = {2021},
  doi = {10.1145/3490354.3494401},
}
Figure