Design Real-Time Fraud Detection for Instant P2P Transfers

Last updated: November 29, 2026

Quick Overview

Design an ML system that scores every peer-to-peer transfer in real time and decides to allow, hold for step-up verification, or block, aiming to stop account takeover and scam payouts while keeping friction low for legitimate members. Cover features, labels, training, serving and monitoring.

Chime
ML System Design
Machine Learning Engineer
Chime
November 29, 2026
Machine Learning Engineer
System Design Round
ML System Design
Hard

0

0

0 solved


Design an ML system that scores every peer-to-peer transfer in real time and decides to allow, hold for step-up verification, or block, aiming to stop account takeover and scam payouts while keeping friction low for legitimate members. Cover features, labels, training, serving and monitoring.

An ML system design round in the style of Chime's risk teams, set on instant member-to-member transfers where money is gone within seconds and labels (fraud claims, disputes) arrive days or weeks later. The interviewer looks for a realistic label strategy, low-latency feature serving, and a decision layer tied to dollar costs rather than accuracy.

What the Interviewer Expects
  • Define the decision and its cost matrix in dollars and friction
  • Design labels that handle delay and partial observability
  • Propose real-time and batch features with point-in-time correctness
  • Describe serving with a latency budget and fallbacks
  • Explain thresholding, step-up actions and champion/challenger rollout
  • Cover monitoring for drift and adversarial adaptation
Key Topics to Cover
Fraud Detection
Delayed Labels
Feature Store
Graph Features
Thresholding
Model Monitoring
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • Labels for blocked transfers never arrive. How do you avoid a feedback loop?
  • How would you use the graph of who pays whom?
  • What features would catch a fresh account takeover after a SIM swap?
  • How do you set thresholds differently for new and tenured members?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements

For each transfer (sender, recipient, amount, device, session context) return allow, step-up (re-auth, confirm recipient, short hold) or block within ~100 ms. Objective: minimize expected loss plus fr...

High-Level Design

Transfer service -> Risk Decision Service -> feature fetch from an online feature store (Redis-like, fed by a stream processor) -> model server (gradient boosted trees) -> policy layer...


Submit Your Answer
Markdown supported

Related Questions