Fraud Detection
Goal: flag fraudulent transactions in real time (~50 ms) with high recall at a tolerable false-positive rate.
transaction -> feature service (real-time aggregates: #tx last 1h per card/device/IP, velocity,
geo distance from last tx, merchant risk) + static features
-> rules engine (hard blocks, allow lists)
-> model (GBDT / GNN on entity graph) -> score -> approve / step-up auth / block / manual review
labels: chargebacks (arrive weeks later) + analyst reviews -> retraining
- Extreme imbalance (0.1%): PR-AUC, recall at fixed FPR, cost-weighted metrics (fraud $ caught vs friction).
- Delayed & noisy labels, adversarial drift (fraudsters adapt) → frequent retraining, monitoring, anomaly detectors for novel patterns.
- Graph features: shared devices/cards/addresses link fraud rings.
- Explainability for analysts and regulators (SHAP, reason codes).