Design a Content Moderation System

RankingAI Infrastructure TikTok

Design the content moderation system for a short-video app. Every uploaded video, comment and profile has to be checked against the platform's policies, harmful content must come down fast, and creators who are wrongly flagged need a way to appeal.

Functional:

  • Check every new video, comment and profile against policies (violence, nudity, hate, spam, minors' safety).
  • Automatically remove clear violations, and send unclear ones to human reviewers.
  • Let users report content, and let creators appeal a decision.
  • Re-check old content when a policy or a model changes.

Non-functional:

  • A video is checked before it reaches more than a handful of viewers; the riskiest categories within seconds of upload.
  • Human reviewers see the most urgent items first: high reach and high severity before everything else.
  • Every decision is recorded and explainable for appeals and audits.
  • Reviewer tools protect reviewers' wellbeing (blurring, limits on exposure).
  • 30 million new videos and 1 billion new comments a day.
  • 5% of videos are borderline and need a second look; 20,000 human reviewers in many languages.
  • Policies change monthly.

Training the classifiers themselves, legal takedown requests, and the upload pipeline.

System design
Loading editor...