Google Ads Content Moderation with RAG

Jimin Li
Eric Xiao
Yi-ting Chen
Enming Luo
Megan Oftelie
Tiantian Fang
Bill Li
Zhimin Wang
Zhongli Ding
Yintao Liu
2025

Abstract

Keeping ad content policy classifiers up to date while maintaining the high quality bar is a significant challenge, especially with new threats emerging constantly. This paper introduces a new application to apply RAG-inspired in-context learning to accelerate content policy enforcement, especially when mitigating new emerging violations. Our application leverages RAG-based LLM inference for classification tasks and incorporates augmented reasoning information for better performance. We also developed a practical framework to enforce new violation patterns in O(1) days demonstrating improved memorization and generalization capabilities compared to traditional parametric and non-parametric models.
×