Zero-Shot Image Moderation in Google Ads with LLM-Assisted Textual Descriptions and Cross-modal Co-embeddings

Enming Luo, Wei Qiao, Katie Warren, Jingxiang Li, Eric Xiao, Krishna Viswanathan, Yuan Wang, Yintao Liu, Jimin Li, Ariel Fuxman

TL;DR

Google researchers have developed a zero-shot image moderation system for Google Ads that replaces traditional supervised training with LLM-generated textual policy descriptions. By matching image embeddings to these descriptions via cross-modal co-embeddings, the system achieves high-precision detection of policy violations with minimal manual labeling and rapid adaptability to evolving rules.

What Problem Does This Paper Address?

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:

  1. Scalability: It is impossible to label enough data for every niche or "long-tail" violation.
  2. Agility: When policies change (e.g., new regulations on tobacco or financial products), training and deploying a new model takes too long.
  3. 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.

Methods

The proposed framework shifts the focus from image labeling to textual description engineering. The process consists of three main stages:

1. Generation 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"). As shown in Figure 1, 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.

Generating textual descriptions for a policy by leveraging both LLMs and users with domain expertise.

2. Validation and Refinement

To ensure these descriptions don't cause false positives, they undergo a two-step validation:

  • Human-in-the-loop: Users review images retrieved by a specific description to confirm they are "in-scope."
  • Automated Pruning: Descriptions are matched against a small corpus of known ground-truth images. If a description frequently matches "clean" images, it is flagged as problematic and removed.

3. Policy Enforcement Pipeline

During inference, the system follows a multi-stage logic (illustrated in Figure 2):

  • Co-embedding: Both the incoming image and the text descriptions are converted into a shared semantic space (cross-modal embeddings).
  • Matching: A fast kNN search identifies the closest textual descriptions to the image.
  • 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.
An end-to-end system for ads image policy enforcement, leveraging cross-modal co-embeddings and a powerful LLM.

Datasets

The authors evaluated their approach using an internal Google Ads dataset specifically focused on tobacco-related content. They compared their zero-shot approach against an existing supervised binary classification model used in production.

Key Insights and Ideas

  • Policy as Language: The core "aha moment" is 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.
  • LLM as a Brainstorming Partner: Rather than just using LLMs for classification, the authors use them to expand the definition of a violation, helping experts think of edge cases they might have missed.
  • Zero-Shot Agility: Because no model training is required, the "turnaround time" from defining a new policy to enforcing it is drastically reduced.

Key Results

The system was tested on tobacco image detection and significantly outperformed the baseline supervised model across all key metrics:

Comparison between this approach and an existing binary classification model.
  • 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%.

The authors note that this implementation resulted in the removal of millions of policy-violating ads that were previously slipping through the cracks.

Limitations and Future Work

While the paper demonstrates strong results, some limitations and areas for future exploration include:

  • Nuance Handling: Even with LLM assistance, some ads are so nuanced (e.g., subtle satire or cultural context) that they still require the final tier of human review.
  • Embedding Constraints: The system's performance is inherently tied to the quality of the underlying cross-modal embedding model.
  • Label Propagation: The authors suggest that future work will involve "propagating" violation labels to visually similar images to further increase the efficiency of the moderation web.

Summary updated

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.
BibTeX
@inproceedings{luo2025zero,
  author = {Enming Luo and Wei Qiao and Katie Warren and Jingxiang Li and Eric Xiao and Krishna Viswanathan and Yuan Wang and Yintao Liu and Jimin Li and Ariel Fuxman},
  title = {{Zero-Shot Image Moderation in Google Ads with LLM-Assisted Textual Descriptions and Cross-modal Co-embeddings}},
  booktitle = {WSDM},
  year = {2025},
  doi = {10.1145/3701551.3706127},
}

Loading related content...

Figure