Design a Real-Time Anti-Money-Laundering Transaction Monitoring Platform
Last updated: November 29, 2026
Quick Overview
Design a system that scores every payment across retail, card and corporate channels for money laundering risk, combines rules with machine learning, routes alerts to investigators, and keeps false positives low enough that the alert queue stays workable.
Citi
November 29, 20260
0
0 solved
Design a system that scores every payment across retail, card and corporate channels for money laundering risk, combines rules with machine learning, routes alerts to investigators, and keeps false positives low enough that the alert queue stays workable.
A global bank like Citi moves trillions of dollars a day across more than 90 countries, and AML and sanctions controls are under close regulatory scrutiny. The interviewer looks for a layered design (rules plus models plus network analysis), label scarcity handling, explainability for investigators, and auditability of every decision.
What the Interviewer Expects
- Separate real-time screening from near-real-time and batch detection
- Explain label sources and why they are sparse and delayed
- Feature store with consistent online and offline features
- Graph features for networks of accounts
- Explainable alerts and full audit trail
- Champion-challenger rollout under model risk governance
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How do you evaluate a model when only investigated alerts have labels?
- How would you detect structuring (many payments just below a reporting threshold)?
- How do you keep latency low enough to score payments before release?
- How do you prove to an examiner that a model change did not miss cases the old rules caught?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
Score all payments (thousands per second at peak, billions per year). Real-time path must answer within about 100 ms for payments that can be held before release; other typologies run over hours or da...
High-Level Design
Payments from all channels land on Kafka in a common schema. Three tiers:
- Real-time: sanctions list screening (fuzzy name matching) and a small set of hard rules plus a fast gradient boosted mo...