Chapter 14. Case Study 1: Financial Services—Real-Time Fraud Detection at GlobalBank
The introduction to Chapter 13 described the gap between notebook models and production systems. Now we’ll see exactly how GlobalBank bridged that gap—and the surprises it encountered along the way.
Note
All code examples in this chapter are tested and validated with AutoGluon 1.4.0. For complete implementations, detailed outputs, experimental variations, and additional advanced techniques, refer to the companion Jupyter notebook Supplementary_Code_A_Fraud_Detection.ipynb.
AutoGluon is actively being developed. Visit the AutoGluon website for the most current documentation and installation instructions.
Business Problem and Context
In 2023, global payment fraud losses exceeded $32 billion, with online transaction fraud representing the fastest-growing segment. For GlobalBank, a major financial institution processing 50 million transactions daily, fraud detection wasn’t just about preventing losses—it was fundamental to the company’s business survival.
GlobalBank faced a perfect storm of challenges:
| Challenge | Description |
|---|---|
| Speed requirements | Payment decisions were needed in under 100 milliseconds to avoid cart abandonment. |
| Extreme class imbalance | Only 0.08% of transactions were fraudulent (1 in 1,250). |
| Evolving fraud patterns | Fraudsters constantly adapted tactics, requiring models that could detect novel attack patterns. |
| Customer experience | False positives led to customer frustration ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access