Design Graph-Based Detection of Coordinated Fake Account Rings

Last updated: November 29, 2026

Quick Overview

Abusers create thousands of Google accounts to send spam, post reviews and inflate engagement. Design a system that finds coordinated rings of fake accounts using graph structure, not just per-account features.

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

0

0

0 solved


Abusers create thousands of Google accounts to send spam, post reviews and inflate engagement. Design a system that finds coordinated rings of fake accounts using graph structure, not just per-account features.

Per-account classifiers miss accounts that each look normal; coordinated behavior shows up only in the graph. Interviewers check how you build the graph, which algorithms scale to billions of nodes, and how you act on clusters safely.

What the Interviewer Expects
  • Define nodes and edges from shared signals (devices, IPs, phone numbers, behavior)
  • Choose scalable algorithms like label propagation or connected components with thresholds
  • Combine graph features with per-account models (GNN or feature export)
  • Separate legitimate shared infrastructure like offices and carrier NAT
  • Plan enforcement with review and appeals at cluster level
Key Topics to Cover
Graph mining
Label propagation
Graph neural networks
Community detection
Cluster-level enforcement
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 avoid linking every user behind a mobile carrier's shared IP?
  • How would you use a graph neural network here and what are its costs?
  • How do you handle a ring that rotates devices every day?
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

Goal: identify clusters of accounts controlled by one actor, with enough confidence to disable or restrict them. Scale: billions of accounts, tens of billions of edges. Run daily, with faster incremen...

High-Level Design
  1. Signal extraction: for each account, collect device IDs, IP prefixes, phone numbers used for verification, recovery emails, sign-up timing, behavior sequences.
  2. Graph build: account nodes...

Submit Your Answer
Markdown supported