1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
51 small wins to finish your pathNext question →
Design an LLM-assisted content moderation system for a social platform with 50M posts per day.
30-second answerSay your answer out loud first, then reveal.

Why tiers: 50M posts/day ≈ 580/s on average. Running a frontier LLM on everything is costly and slow, while classifiers are cheap. LLMs add value on nuanced cases: sarcasm, coded language, context-dependent harassment, new policy categories.
LLM component design
- Prompt includes the specific policy text, examples, and post context (thread, author history signals).
- Structured output:
{violation: bool, category, severity, policy_clause, rationale}. - Calibrate against expert labels; separate thresholds per category.
Other considerations
- Latency: pre-publication checks must be fast; deeper review can happen after publishing for lower-risk categories.
- Multilingual and code-mixed content: evaluate per language; Indic languages and transliterated text are often weak spots.
- Adversarial users: misspellings, text in images, emoji codes. Retrain often; use OCR for images.
- Fairness: monitor false positive rates across dialects and communities.
- Appeals and transparency: decisions are logged with the policy clause for user notices and audits.
- Reviewer wellbeing: blur or limit exposure to severe content.
Related
Slow is fine. Stopping is the only problem.