Design Detection of Collusive Fake Trips Between Riders and Drivers
Last updated: November 29, 2026
Quick Overview
Design an ML system that detects fake or collusive trips, where riders and drivers coordinate to farm incentives or promotions, and decide whether to block payouts in near real time.
Uber
November 29, 20260
0
0 solved
Design an ML system that detects fake or collusive trips, where riders and drivers coordinate to farm incentives or promotions, and decide whether to block payouts in near real time.
Uber spends heavily on driver incentives and rider promotions, which attracts organized fraud such as GPS spoofing and collusive trip rings. Senior MLE interviews probe graph features, adversarial adaptation, label scarcity and how model scores turn into safe actions on driver earnings.
What the Interviewer Expects
- Defines fraud patterns and the cost of false positives on legitimate drivers
- Combines trip-level real-time scoring with graph-based ring detection
- Addresses weak and delayed labels
- Designs actions with tiers (hold, review, block) and appeals
- Plans for adversaries adapting to the model
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 detect GPS spoofing specifically?
- How do you set thresholds when false positives cut a driver's income?
- How do you find new fraud rings the model has never seen?
- How do you measure the system's impact if blocked fraud leaves no outcome label?
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
Detect trips that did not represent real transport (or were inflated) to collect incentives or promos. Score each trip at completion within a few seconds, before incentive credit or instant cash-out. ...
High-Level Design
- Streaming features from trip events: GPS trace consistency (speed jumps, mock location flags, route versus road network), trip shape (very short trips, repeated same origin and destination), de...