Design Fake Account Detection at LinkedIn Signup and Beyond

Last updated: November 29, 2026

Quick Overview

Design an ML system that detects fake LinkedIn accounts (spammers, scrapers and fake recruiters) at registration and throughout the account's life, minimizing harm to real members.

Microsoft
ML System Design
Machine Learning Engineer
Microsoft
November 29, 2026
Machine Learning Engineer
Onsite
ML System Design
Medium

0

0

0 solved


Design an ML system that detects fake LinkedIn accounts (spammers, scrapers and fake recruiters) at registration and throughout the account's life, minimizing harm to real members.

Fake profiles on LinkedIn drive scams and scraping, and the trust and safety team has to act at signup and again as behavior unfolds. The interviewer looks for staged detection, cluster-level signals, an action ladder, and how to evaluate with an adversary.

What the Interviewer Expects
  • Design staged models: at registration, early activity and ongoing
  • Use cluster or batch signals since fakes are created in bulk
  • Define an action ladder (challenge, restrict, remove) with appeals
  • Get labels from reviews, appeals and confirmed takedowns
  • Handle adversarial adaptation and fast rule deployment
  • Measure prevalence with sampling, not only detections
Key Topics to Cover
abuse detection
fake accounts
clustering
trust and safety
adversarial ML
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
  • How do you estimate how many fakes you are missing?
  • How would you detect a fake recruiter profile using a stolen photo?
  • How do you avoid harming legitimate members in regions with less signal?
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
  • Score registrations in real time, and existing accounts continuously as they act.
  • Actions: allow, phone or ID challenge, restrict (rate-limit invitations and messages), remove. Appeals for all.
  • ...
High-Level Design
  1. Registration model: features from signup (email domain, IP reputation, device fingerprint, name and photo signals, signup speed).
  2. Cluster detector: batch job every few minutes grouping r...

Submit Your Answer
Markdown supported