Design Scam Detection for Outgoing Transfers With Delayed Labels
Last updated: November 29, 2026
Quick Overview
Design an ML system that scores outgoing Wise transfers for authorised push payment scams (the customer is tricked into sending money), choosing between allow, warn, hold for review or block, when confirmed labels arrive weeks later and are incomplete.
Wise
November 29, 20260
0
0 solved
Design an ML system that scores outgoing Wise transfers for authorised push payment scams (the customer is tricked into sending money), choosing between allow, warn, hold for review or block, when confirmed labels arrive weeks later and are incomplete.
Scams where victims authorise the payment themselves are a major issue for money transfer providers, and regulators increasingly expect firms to prevent them and reimburse victims. Wise's ML engineers build models on transfer, recipient and behavioural signals under tight latency, and interviewers probe labelling, feedback loops and the cost of friction for honest customers.
What the Interviewer Expects
- Frames decisions as a cost-sensitive policy, not just a classifier threshold
- Builds features from sender history, recipient account graph, device and session behaviour, all point-in-time correct
- Handles delayed and biased labels (only reported scams get labelled, held transfers never mature)
- Defines offline and online evaluation including friction metrics
- Covers serving latency, fallbacks and monitoring for drift and new scam patterns
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 avoid the model learning only the scams your old rules already caught?
- How would you use the recipient side, given many recipients are at other banks?
- A warning screen reduces losses but also legitimate volume. How do you choose its threshold?
- How would you detect a brand-new scam campaign within hours?
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 each transfer at creation and again at funding within about 100 ms. Actions: allow, show a tailored warning (for example 'are you buying something you have not seen?'), hold for human review, bl...
High-Level Design
Transfer service calls a risk scoring service with the transfer id. It fetches online features from a feature store (Kafka/Flink aggregates), runs a gradient boosted model plus rules, and a **poli...