Problem
A bank's fraud team works with a positive class that is both rare and mixed. Fraud is under one in ten thousand transactions, labels can arrive late, and each subtype is often orders of magnitude rarer than fraud as a whole. A model per subtype overfits to history and degrades when behaviour shifts. One classifier on all fraud is dominated by the frequent patterns and gives little capacity to rare or emerging ones. New scams slip through, and customers with the least financial resilience lose the most.
Example from the article: Monzo's Fincrime team tested the idea on unauthorised card fraud, where its production LightGBM model was the baseline.
Solution in brief
Train one neural network with a shared backbone on several related tasks: the fraud label plus auxiliary labels such as fraud type and payment method. Joint training pushes the backbone to learn structure common to many behaviours. Feed the resulting fraud embeddings, together with the raw features, into the LightGBM model.
Questions this case answers
- How to detect rare or new subtypes of a heterogeneous positive class when per-subtype labels are too scarce and one pooled classifier is dominated by frequent patterns
- How to evaluate whether a classifier generalises to a positive subtype absent from training
- How to detect rare or previously unseen fraud subtypes when each subtype has too few labels for its own model?
- How to stop one pooled fraud classifier from being dominated by the most frequent fraud patterns?
Tools and methods
- Multi-task learning — shared backbone, one head per task, joint training.
- LightGBM — the production baseline and, per Fig. 1, the final scorer fed with the embeddings.
- Held-out subtype evaluation — an entire fraud type removed from training to test generalisation.
Google or a one-time email code. No password.