Yelp deploys fine-tuned LLMs to proactively detect inappropriate reviews in real time
Yelp needed to detect hate speech, lewdness, threats, and other inappropriate content in user reviews at scale and in real time, requiring high precision to avoid delaying legitimate reviews while preventing harmful content from being published.
Prior automated approaches to inappropriate content detection had unsatisfactory tradeoffs between precision and recall, prompting iteration toward LLMs.
Since deploying the LLM pipeline, Yelp's moderators proactively prevented 23,600+ reviews from ever publishing to the platform in 2023, with ongoing moderator feedback expected to further improve the model's recall.
Frequently asked questions
What did this team achieve with this AI workflow?
Since deploying the LLM pipeline, Yelp's moderators proactively prevented 23,600+ reviews from ever publishing to the platform in 2023, with ongoing moderator feedback expected to further improve the model's recall.
What tools did this team use?
Large Language Models, HuggingFace model hub, Redshift, S3, MLFlow, MLeap, t-SNE.
What results were reported?
Reviews proactively prevented from publishing: 23,600+; User-reported reviews removed in 2022: 26,500+ (source-reported, not independently verified).
What failed first in this deployment?
Prior automated approaches to inappropriate content detection had unsatisfactory tradeoffs between precision and recall, prompting iteration toward LLMs.
How is this compliance monitoring AI workflow structured?
Moderator dataset curation → Similarity-based dataset augmentation → Embedding cluster analysis → LLM fine-tuning for classification → Mock traffic threshold calibration → Real-time review classification → Human review of flagged content → Moderator-driven model retraining.