PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/ML System Design/Pinterest

Design an unsafe content detection system

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's competency in end-to-end machine learning system design for unsafe user-generated content detection, covering multimodal modeling, real-time inference and serving, scalability, reliability, evaluation metrics, policy-driven actions, and human-in-the-loop workflows.

  • hard
  • Pinterest
  • ML System Design
  • Machine Learning Engineer

Design an unsafe content detection system

Company: Pinterest

Role: Machine Learning Engineer

Category: ML System Design

Difficulty: hard

Interview Round: Onsite

## Scenario You are building a system that detects and mitigates unsafe user-generated content (UGC) on a large platform. Unsafe content can include: hate/harassment, sexual content, self-harm, violence, spam/scams, and policy-violating content. ## Task Design an end-to-end ML system to: 1. **Detect** unsafe content at upload/post time and after posting (e.g., via reports or virality). 2. **Take actions** (allow, down-rank, blur/interstitial, age-gate, block, queue for human review). 3. Support **multiple modalities** as applicable (text, images, video, audio), and account for multilingual content. ## Requirements (state assumptions if needed) - **Latency:** real-time decision for the user-facing publish path. - **Scale:** high QPS and large content volume. - **Quality:** minimize both false negatives (missed unsafe content) and false positives (incorrect takedowns). - **Reliability & safety:** auditing, appeal workflow, and policy evolution. ## Interviewer prompts to expect - What are the **modeling approaches** and feature signals? - What is your **serving architecture** (services, caches, async vs sync)? - How do you **evaluate** (offline metrics + online guardrails)? - How do you handle **concept drift/adversaries**, human-in-the-loop, and retraining?

Quick Answer: This question evaluates a candidate's competency in end-to-end machine learning system design for unsafe user-generated content detection, covering multimodal modeling, real-time inference and serving, scalability, reliability, evaluation metrics, policy-driven actions, and human-in-the-loop workflows.

Related Interview Questions

  • Design notification and feed recommenders - Pinterest
  • Design Detection Systems for Risk and Safety - Pinterest (medium)
  • Design a real-time home feed ranker - Pinterest (hard)
  • Design an ads system to improve CTR - Pinterest (hard)
  • Design Pin recommendation system - Pinterest (hard)
|Home/ML System Design/Pinterest

Design an unsafe content detection system

Pinterest logo
Pinterest
Jan 12, 2026, 12:00 AM
hardMachine Learning EngineerOnsiteML System Design
8
0
Loading...

Scenario

You are building a system that detects and mitigates unsafe user-generated content (UGC) on a large platform.

Unsafe content can include: hate/harassment, sexual content, self-harm, violence, spam/scams, and policy-violating content.

Task

Design an end-to-end ML system to:

  1. Detect unsafe content at upload/post time and after posting (e.g., via reports or virality).
  2. Take actions (allow, down-rank, blur/interstitial, age-gate, block, queue for human review).
  3. Support multiple modalities as applicable (text, images, video, audio), and account for multilingual content.

Requirements (state assumptions if needed)

  • Latency: real-time decision for the user-facing publish path.
  • Scale: high QPS and large content volume.
  • Quality: minimize both false negatives (missed unsafe content) and false positives (incorrect takedowns).
  • Reliability & safety: auditing, appeal workflow, and policy evolution.

Interviewer prompts to expect

  • What are the modeling approaches and feature signals?
  • What is your serving architecture (services, caches, async vs sync)?
  • How do you evaluate (offline metrics + online guardrails)?
  • How do you handle concept drift/adversaries , human-in-the-loop, and retraining?

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More ML System Design•More Pinterest•More Machine Learning Engineer•Pinterest Machine Learning Engineer•Pinterest ML System Design•Machine Learning Engineer ML System Design

Your design canvas — auto-saved

PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.