Pattern: content moderation
Media / entertainment — content moderation pattern. Per-category recall, cross-language parity, EU DSA exposure management.
A social platform, marketplace with user-generated content, or media-streaming service uses AI to moderate user content — text, image, video, audio — for policy violations across hate speech, harassment, CSAM, violence, misinformation, and more. The cost of under-moderation includes regulatory enforcement (EU DSA, OSA, state-level US laws); the cost of over-moderation is creator churn and First-Amendment-style litigation.
This pattern shows how to evaluate cross-language, per-category moderation accuracy.
What's at stake
EU Digital Services Act non-compliance
Up to 6% of global annual revenue
EU DSA
UK Online Safety Act non-compliance
Up to 10% of global annual revenue
OSA
Advertiser-boycott revenue impact
Multi-quarter advertiser pauses
Industry brand-safety reporting
Over-moderation creator-churn
Long-tail platform-health impact
Public creator-platform research
The evaluation pattern
A multi-criteria evaluation runs over a labeled trace set spanning every supported language and policy category.
Per-category classifier scorer — recall by policy category (hate speech, CSAM, violence, harassment, misinformation, sexual content, self-harm, regulated goods). Recall must meet per-category minimums; CSAM and self-harm categories require near-100%.
Cross-language parity scorer (custom code) — for each policy category, the per-language accuracy must be within 5 percentage points of the English baseline. Disparities above the threshold flag as regressions.
Borderline judge (GEPA-tuned against ≥50 trust-and-safety-team-labeled examples — scored output) — handles satire, news commentary, cultural context, reclaimed slurs. Higher false-positive cost than false-negative.
Latency scorer — moderation decisions must complete under per-tier SLOs (e.g., 200ms p95 for live-stream, 5s p95 for upload).
Don't have labels yet? See Bootstrap a judge before GEPA for the week-1 setup.
Continuous trace evaluation: sampled at 0.5% of moderation decisions, hourly. Per-language and per-category dashboards visible to T&S leadership; thresholds wired to PagerDuty for critical-category drift.
Configuration in code
What you get
Cross-language parity becomes a measured dimension on the T&S dashboard.
Per-category recall floors enforced — CSAM and self-harm regressions block release.
Auditor-readable evaluation history for EU DSA / OSA risk-assessment requirements.
Appeal-rate signal correlates with judge false-positive trend; T&S can investigate appeals upstream.
Stratix capabilities used
Custom code graders — cross-language parity
Judges with GEPA optimization — borderline-content scoring
Trace evaluations — continuous sampled
Notifications — PagerDuty + Slack routing
Replicate this
Get started: Use case: Continuous evaluation describes the rolling-sample shape this pattern uses.
Cookbook: catch hallucinations (analogous pattern for misinformation moderation)
Last updated
Was this helpful?