Problem
Roblox needed to detect policy violations in voice chat (profanity, bullying, discrimination, dating) across millions of minutes of speech per day and warn violators. The team started with no automation, almost no human-labeled audio and no models. A supervised model needed thousands of labeled hours per language, which would take years. Running speech recognition plus a text filter on every conversation was too slow at this volume.
Example from the article: the labeling chain transcribes a speech chunk as "Hi Dog. That player is ######.", splits it into two sentences, and the text filter marks only the second one as a policy violation.
Solution in brief
Label audio automatically by chaining speech recognition and the existing text filter, train on those machine labels, and validate only on a smaller human-labeled set from abuse reports. Then train a compact audio model that scores raw audio without transcription: a WavLM-style student distilled from a Whisper encoder teacher. Rare categories are merged into "other".
Questions this case answers
- How to train a classifier on raw audio for a policy-violation task when human labels are scarce but a trusted text classifier already exists
- How to shrink a high-accuracy model to meet a latency budget for scoring all traffic in near real time, when prevalence of violations is low
- How to build a real-time voice abuse classifier when there is almost no human-labeled data?
- How to get enough training labels for audio by reusing an existing text moderation filter?
Tools and methods
- Machine-labeling pipeline — silence-based chunking, ASR transcription, then the in-house text filter to label audio chunks
- Whisper — open-source ASR for labeling; its encoder is the teacher in distillation
- DistilBERT — extended DistilBERT plus regular expressions form the text filter ensemble
- Knowledge distillation — compact WavLM-style student learns from the Whisper-encoder teacher
- Quantization and voice activity detection (VAD) — speed-ups and input filtering for inference
Google or a one-time email code. No password.