Abstract
We present a scalable and agile approach for ads image content moderation at Google, addressing the challenges of moderating massive volumes of ads with diverse content and evolving policies. The proposed method utilizes human-curated textual descriptions and cross-modal text-image co-embeddings to enable zero-shot classification of policy violating ads images, bypassing the need for extensive supervised training data and human labeling. By leveraging large language models (LLMs) and user expertise, the system generates and refines a comprehensive set of textual descriptions representing policy guidelines. During inference, co-embedding similarity between incoming images and the textual descriptions serves as a reliable signal for policy violation detection, enabling efficient and adaptable ads content moderation. Evaluation results demonstrate the efficacy of this framework in significantly boosting the detection of policy violating content.
1. Introduction
Moderating the massive volume of images in Google Ads is a "moving target" problem. Traditional approaches rely on supervised machine learning models that require thousands of human-labeled examples for every specific policy violation. This creates three major bottlenecks:
- Scalability: It is impossible to label enough data for every niche or "long-tail" violation.
- Agility: When policies change (e.g., new regulations on tobacco or financial products), training and deploying a new model takes too long.
- Diversity: Ads are incredibly varied, making it difficult for a single static classifier to maintain high precision across different contexts.
The authors aim to move from "training a classifier" to "describing a violation," allowing the system to catch new types of prohibited content almost instantly by leveraging the world knowledge inherent in pre-trained models.
2. Methodology
The proposed framework shifts the focus from image labeling to textual description engineering. The process consists of two primary components: the generation of a description database and an end-to-end enforcement pipeline.
2.1 Generation and Validation of Textual Descriptions
Instead of a single label like "Tobacco," the system uses a database of detailed descriptions (e.g., "a person holding a lit cigarette," "a close-up of a cigar box"). These are generated through a collaboration between Large Language Models (LLMs) and human domain experts. The LLM helps break down complex policy language into individual visual signals and uncovers "blind spots" that humans might overlook. To ensure these descriptions don't cause false positives, they undergo human-in-the-loop review and automated pruning against a small corpus of known ground-truth images.
2.2 Policy Enforcement Pipeline
During inference, the system follows a multi-stage logic to evaluate incoming ad images:
- Co-embedding: Both the incoming image and the text descriptions are converted into a shared semantic space using cross-modal embeddings.
- Matching: A fast k-Nearest Neighbor (kNN) search identifies the closest textual descriptions to the image based on cosine similarity.
- Tiered Decision Making: If there is a "clear match" with in-scope descriptions, the ad is automatically rejected. Ambiguous cases are sent to a fine-tuned LLM for nuanced analysis, and the most difficult cases are escalated to human experts.
3. Evaluation and Key Results
The system was evaluated using an internal Google Ads dataset specifically focused on tobacco-related content. The authors compared their zero-shot approach against an existing supervised binary classification model used in production.
The system significantly outperformed the baseline supervised model across all key metrics:
- Precision: Achieved 90.8%, surpassing the baseline's 89.1%.
- Incremental Coverage: Showed a massive 107.3% increase in true positives identified compared to the baseline.
- Relative Recall: Reached 63.4%, a significant jump from the baseline's 48.2%.
These results indicate that the zero-shot approach is not only more agile but also more effective at capturing policy-violating content that previously slipped through the cracks.
4. Discussion and Future Work
The core innovation of this work is the realization that a policy is better represented as a collection of natural language descriptions than as a discrete numerical class. This allows the system to leverage the vast "world knowledge" already present in pre-trained multi-modal models.
While the paper demonstrates strong results, some ads—such as those involving subtle satire or complex cultural context—still require human review. Future work will involve refining the LLM's ability to handle these nuances and exploring "label propagation" to visually similar images to further increase the efficiency of the moderation web.
Summary updated