Design Fraud Scoring Inside the Authorization Path
Last updated: November 29, 2026
Quick Overview
Design an ML system that scores every card authorization for fraud risk in real time and feeds an approve, decline or step-up decision. Cover features, training labels, serving under a tight latency budget, monitoring and retraining.
American Express
November 29, 20260
0
0 solved
Design an ML system that scores every card authorization for fraud risk in real time and feeds an approve, decline or step-up decision. Cover features, training labels, serving under a tight latency budget, monitoring and retraining.
Fraud models are core to American Express because it carries the risk as issuer and acquirer in a closed loop, and false declines anger high-spend card members. This round checks whether you can connect model design to latency, label delay, cost-sensitive thresholds and safe rollout.
What the Interviewer Expects
- Defines the decision and its costs: fraud loss vs false decline friction
- Separates real-time, near-real-time and batch features with point-in-time correctness
- Handles delayed and noisy labels from chargebacks and customer claims
- Serves within a strict p99 budget with a fallback
- Uses champion and challenger with shadow scoring before rollout
- Monitors drift, decline rates and fraud basis points
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 would you avoid training-serving skew in velocity features?
- How do you pick thresholds per segment, such as Platinum vs new accounts?
- What do you do when a new fraud pattern appears that the model has never seen?
- How would you explain a decline to a regulator or a card member?
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 every authorization (tens of thousands per second at peak) within roughly 10 to 30 ms of the overall budget. Output a probability plus reason codes. Optimize expected cost: missed fraud costs th...
High-Level Design
- Feature store with three tiers: static (account age, card product, home location), streaming aggregates (spend and count per card in 1 h, 24 h, 7 d; new merchant; distance from last transaction)...