Abstract
Online content is filled with logos, from ads and social media posts to website branding and product placements. Consequently, these logos are prevalent in the extensive web-scraped datasets used to pretrain Vision-Language Models (VLMs). While these models have been shown to learn harmful correlations, whether these include logos remains understudied. We develop SLANT: A Spurious Logo ANalysis Toolkit. Our key finding is that some logos lead to spurious incorrect predictions; for example, adding the Adidas logo to a photo causes a model to classify a person as "greedy." SLANT contains a semi-automatic mechanism for mining such logos, consisting of a comprehensive logo bank, CC12M-LogoBank, and an algorithm that searches for logos that VLMs spuriously correlate with target concepts. We uncover logos correlated with negative human adjectives, the concept of "harmlessness" (allowing harmful content to bypass moderation), and user-provided object concepts. SLANT's logos can act as effective, low-tech attacks against foundational models. We also include two mitigation strategies: 10-crop augmentation and logo masking.
Introduction
Modern Vision-Language Models (VLMs) like CLIP are trained on massive, uncurated web-scraped datasets. While this scale enables impressive zero-shot capabilities, it also introduces "shortcuts" or spurious correlations. Researchers have identified many such shortcuts, but the impact of logos—ubiquitous and intentionally eye-catching elements of the web—has been largely ignored.
Logos present a unique challenge. They are often associated with specific brand identities, values, or contexts in the training data. If a VLM learns to associate a corporate logo with a negative human trait or a specific object, it introduces significant bias and security risks. For instance, models might unfairly judge individuals based on branding in their environment, or malicious actors could use logos as "low-tech" adversarial attacks to bypass content moderation filters.
Methods and Datasets
The authors introduce SLANT (Spurious Logo ANalysis Toolkit), a framework for semi-automated discovery and mitigation of logo-based spurious correlations.
CC12M-LogoBank
To facilitate this research, the study introduces CC12M-LogoBank, a curated collection of approximately 87,000 logo images. These were extracted from the Conceptual Captions 12M dataset using CLIP similarity scores to identify graphic symbols and watermarks.
Logo Mining and Mitigation
The toolkit employs a Logo Mining Algorithm to identify which logos trigger specific model behaviors. Given a target concept (e.g., "Traffic Light"), the algorithm "pastes" various logos from the bank onto a set of images and calculates a Spuriousity Metric, measuring the increase in the model's likelihood of predicting the target concept.
To address these vulnerabilities, SLANT proposes two "test-time" defenses that do not require retraining:
- 10-Crop Augmentation: The model averages predictions across ten different crops. Since logos are typically small, most crops will exclude them, diluting their influence.
- Logo Masking: Using an off-the-shelf object detector (OWLv2), the system identifies and masks logos before inference.
Key Insights and Results
The study evaluated SLANT across three primary domains: Hateful Meme Classification (HMC), human attribute perception, and standard object recognition (ImageNet).
Logos as Semantic Shortcuts
Many correlations are driven by simple visual features. For example, logos with red, green, and yellow primary colors often trigger "Traffic Light" classifications. More complex semantic associations also emerge; the Motorola logo was found to correlate strongly with "harmlessness," while the Adidas logo significantly increased "Greedy" and "Hostile" prediction rates for human faces.
Impact on Model Performance
- Content Moderation: In HMC tests, the True Positive Rate for catching "Hurtful" content dropped toward zero when spurious logos were added, effectively blinding the moderator.
- Object Recognition: On ImageNet, mined logos caused substantial decreases in accuracy. For certain classes, precision approached zero as the model became entirely distracted by the logo.
- Human Bias: Prediction rates for negative traits reached nearly 100% in some instances after adding multiple logos to a face image.
Discussion and Limitations
While SLANT's mitigation strategies are effective—with Logo Masking performing best for moderation and Cropping for ImageNet—a performance gap remains compared to clean images. Furthermore, the mining process currently requires minimal human filtering to distinguish truly spurious correlations from natural ones (e.g., an Apple logo on an iPhone).
As marketing trends and logos evolve, these spurious correlations represent a "moving target." Future work will expand this analysis to more complex tasks like image captioning and generative AI, ensuring that foundational models remain robust against the ever-changing landscape of web-scale branding.
Summary updated