AWS fine-tunes BERTweet LLM to classify toxic speech for a large gaming company
A large gaming company needed to automate detection of toxic speech in player interactions but lacked sufficient labeled training data and had cost and time constraints that made training a custom language model from scratch unviable.
The PoC two-stage model architecture required double the model monitoring, increased costs from running two models, and slower inference speed, prompting a redesign to a single-stage model before production.
AWS ProServe MLDT productionized a single-stage bertweet-base-offensive model that met the customer's accuracy threshold while improving ease of maintenance and lowering cost; precision decreased by only 3% compared to the two-stage approach.
Show all 8 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
AWS ProServe MLDT productionized a single-stage bertweet-base-offensive model that met the customer's accuracy threshold while improving ease of maintenance and lowering cost; precision decreased by only 3% compared t…
What tools did this team use?
Amazon SageMaker, BERTweet, bertweet-base-offensive, bertweet-base-hate, Hugging Face, RoBERTa.
What results were reported?
binary classifier precision (2-stage PoC): .92; binary classifier F1 (2-stage PoC): .91; binary classifier AUC (2-stage PoC): .92; fine-grained classifier F1 (2-stage PoC): .81 (source-reported, not independently verified).
What failed first in this deployment?
The PoC two-stage model architecture required double the model monitoring, increased costs from running two models, and slower inference speed, prompting a redesign to a single-stage model before production.
How is this compliance monitoring AI workflow structured?
Voice/text excerpt submitted → LLM fine-tuned on labeled data → Two-stage PoC classification → Single-stage production classification → Classification result produced.