Design Content Moderation Using LLMs
The interviewer asksA social platform with 50 million posts a day wants to use LLMs for content moderation. Design the system.
AI Safety PMForward Deployed EngineerAI Infrastructure PM (secondary)AdvancedSystem design roundRepresentative20–30 min
On this page
The 30-second version
- 50 million posts a day is too many for an LLM call each: tier it.
- Tier 1: fast, cheap classifiers clear most posts.
- Tier 2: LLM reviews uncertain posts against the written policy, with reasons.
- Tier 3: human reviewers for the hardest and highest-impact cases; appeals.
- Measure precision and recall per policy category on labelled samples.
What it's really testing
- Tiered design for scale
- Cost reasoning
- Moderation metrics
How to structure your answer
- Requirements and policies.
- Tiered pipeline.
- Cost.
- Quality and appeals.
The interview, played out
- InterviewerA social platform with 50 million posts a day wants to use LLMsLarge language model. A model trained to predict the next token of text, used to generate and reason over language. Read the full explanation for content moderation. Design the system.
- CandidateWhat policies, how fast must decisions happen, and is there an appeal process?
- Revealed when askedAbout ten policy categories; harmful posts should come down within minutes; appeals exist.
- CandidateAn LLM call on all 50 million posts a day would be very expensive and slow, so tier it. Tier one: fast, cheap classifiers on every post; most are clearly fine and pass straight through. Tier two: the uncertain few percent go to an LLM that reads the post against the written policy and gives a decision with a reason. Tier three: people review the hardest and most impactful cases, and all appeals.
- Strong moveUses tiers so the expensive model only sees uncertain cases.
- CandidateThe LLM's reasons help reviewers and appeals, and its decisions on reviewed cases become training data for tier one.
- InterviewerHow do you measure it?
- CandidatePrecision and recall per policy, on regular labelled samples: how much harmful content we catch, and how much we wrongly remove.
- Missed signalShould give rough numbers: e.g. 3% to the LLM is 1.5 million calls a day.
The strong answer, distilled
- Tiering: cheap classifiers for all; LLM for uncertain cases; people for hardest and appeals.
- Scale: e.g. 3% routed = 1.5M LLM calls/day, affordable versus 50M.
- LLM role: policy-based decisions with reasons.
- Learning loop: LLM and reviewer decisions train the tier-one classifiers.
- Metrics: precision and recall per policy on labelled samples; appeal overturn rate.
This is one strong answer, not the only one.
How it's scored
| Dimension | Weak (2) | Passable (3) | Strong (5) |
|---|---|---|---|
| Scale | LLM on everything | Mentions cost | Tiered with rough numbers |
| Roles | Model decides alone | Some human review | Clear roles per tier and appeals |
| Measurement | None | Accuracy | Precision and recall per policy |
Round scorecard: FDE: AI system design round, filled in for the mock candidate
| Dimension | Weak | Passable | Strong | The mock candidate |
|---|---|---|---|---|
| Requirements | Assumes them. | Asks about scale. | Users, data, scale, latency, cost and risk, before drawing anything. | Strong. Asked about policies, latency needs and appeal process. |
| Architecture | One component. | A reasonable flow. | Full skeleton, then depth on the parts this system depends on. | Strong. Tiered: cheap classifiers first, LLM for uncertain cases, people for edge cases. |
| Quality and evals | None. | Mentions testing. | Evals per component and end to end, and how they're built. | Strong. Precision and recall per policy, measured on labelled samples. |
| Failure and cost | Ignored. | Mentions one. | Fallbacks, guardrails, latency and cost levers, tied to requirements. | Strong. Showed why LLMs on every post is unaffordable. |
How the answer changes by role
| Role | What to emphasise |
|---|---|
| AI Safety PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation | Policy, appeals and metrics |
| Forward Deployed EngineerForward Deployed Engineer. An engineer embedded with customers who scopes, builds and ships AI solutions into production. Read the full explanation | Building it into the customer's pipeline |
| AI Infrastructure PM | Throughput and cost of each tier |
Common mistakes
- One LLM call per post
- No human tier
- A single accuracy number
More follow-ups to practise
- "Adversaries change wording to evade." Hint: monitor evasion; retrain fast.
- "A new policy is added overnight." Hint: LLM tier adapts fastest; classifiers follow.
Go deeper
- Module: AI system design
- Framework: AI System Design Framework
- Framework: Opening Any Interview Answer
- Lesson: The shape of an AI system
- Lesson: Designing for latency and cost
- Lesson: Designing for failure
- Also tests: Trust and safety operations
- Also tests: Orchestration and routing
Sources
Representative question: written to match system design rounds for AI product roles, not a specific reported interview.