NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Using Salient Object Detection to Identify Manipulative Cookie Banners that Circumvent GDPR

Riley Grossman, Michael Smith, Cristian Borcea, Yi ChenarXiv 2025 · OpenReview

TL;DR

This paper introduces a novel computer vision approach using Salient Object Detection (SOD) to identify "aesthetic manipulation" in cookie banners, a dark pattern designed to subtly nudge users towards accepting data collection. They found that 38% of GDPR-compliant banners employ this manipulation, a higher rate than previously reported, and that EU websites are more likely to use it, suggesting an arms race between regulation and manipulative design.

What Problem Does This Paper Address?

The General Data Protection Regulation (GDPR) aims to give users more control over their personal data. A key component of this is the cookie banner, which theoretically allows users to consent or reject data collection. However, websites have a financial incentive to collect as much data as possible for targeted advertising. This creates a conflict where websites might comply with GDPR's letter but not its spirit, using "dark patterns" to trick users. One such pattern is "aesthetic manipulation," where the "accept" button is made more visually appealing (salient) than the "reject" button, making it harder for users to make an informed choice. Previous studies relied on simpler methods like identifying highlighted buttons, potentially underestimating the prevalence and sophistication of this manipulation. This paper aims to provide a more robust and comprehensive way to detect aesthetic manipulation, understand its prevalence, and explore how it varies based on user and website location.

Methods

The core innovation of this paper is the application of Salient Object Detection (SOD), a computer vision technique, to measure the "attention-grabbing" quality of elements within cookie banners. They use a pre-trained SOD model called DeepRare, which doesn't require additional training on their specific data.

Here's a breakdown of their approach:

  • Data Collection: They crawled 2,579 websites from both EU and US IP addresses, capturing screenshots of cookie banners.
  • Manual Labeling: Each banner was manually classified into one of 17 categories based on GDPR compliance and design features. This step also identified banners with multiple buttons (accept, reject, manage) that were suitable for SOD analysis.
  • Salient Object Detection (SOD): For the selected banners, DeepRare was used to generate pixel-level salience maps, highlighting the most attention-grabbing areas.
  • Button Salience Calculation: They developed a method to map these salience maps to specific buttons (accept, reject, manage) by calculating both the average and maximum salience scores within the button's bounding box. They then combined these scores to represent overall button salience.
  • Aesthetic Manipulation Detection: A key methodological contribution is defining aesthetic manipulation not just by button highlighting, but by comparing the salience scores of different buttons. They use a 7% threshold (based on psychophysics principles like Weber's Law) to determine if the "accept" button is significantly more salient than other buttons, indicating manipulation.
  • Identifying New Forms: Beyond button salience, they also analyzed design elements like button size, brightness, contrast, distance from the center, and formatting (link vs. button) to understand their impact on salience and identify new forms of aesthetic manipulation.

Datasets

The paper introduces a newly collected dataset of 2,579 cookie banner screenshots. This dataset is unique because:

  • It was collected from both EU and US IP addresses, allowing for the study of location-based differences.
  • It reflects the current state of cookie banners, collected in late 2024, after recent GDPR enforcement actions.
  • It includes a detailed manual categorization of banners into 17 types, offering a more granular analysis than previous datasets.

The authors plan to release this dataset to facilitate further research.

Key Insights and Ideas

  • SOD is a powerful tool for detecting subtle manipulation: By moving beyond simple visual cues like highlighting, SOD can uncover more sophisticated forms of aesthetic manipulation.
  • Aesthetic manipulation is widespread, even in compliant banners: The finding that 38% of compliant banners use this tactic is particularly concerning, suggesting that websites are finding ways to skirt the spirit of GDPR.
  • EU websites are more sophisticated manipulators: While EU websites show higher overall GDPR compliance, they are also more likely to employ aesthetic manipulation, indicating a strategic response to stricter regulations.
  • Location matters, but not always as expected: While EU websites are more likely to use aesthetic manipulation, the paper found that EU websites might change their banner design to be less compliant when accessed from a US IP address.
  • Button placement and contrast are key drivers of salience: The research identified button placement and contrast as significant factors influencing how attention-grabbing a button is, going beyond just color.

Key Results

  • Prevalence of Aesthetic Manipulation: 38.0% of compliant cookie banners were found to exhibit aesthetic manipulation, compared to 27.0% reported by prior work using simpler methods.
  • Location-Based Differences: EU websites were 48.3% more likely to use aesthetic manipulation than non-EU websites.
  • GDPR Compliance: EU websites and visitors from EU IP addresses were more likely to encounter compliant cookie banners. Conversely, non-EU websites visited from non-EU IPs had a compliance rate of only 13.5%, with 63.0% being non-compliant.
  • EU Websites Adapting to US Visitors: 13.9% of EU websites changed their banner design when accessed from a US IP address, often by removing the banner entirely, even though GDPR applies regardless of visitor location.
  • Factors Influencing Salience: Button contrast, button size, and proximity to the center of the page were found to significantly influence button salience. Darker buttons and those with higher contrast were more salient.

Limitations and Future Work

  • Threshold Sensitivity: While a 7% salience difference threshold was chosen based on psychophysics, the paper acknowledges that this is an imperfect measure and that higher thresholds might miss some cases of manipulation (as illustrated by Figure 12). Future work could explore more adaptive or context-aware thresholding.
  • Focus on Specific Banner Types: The SOD analysis was primarily conducted on banners with "Full," "Full choices," "Choices," "Manage," and "Corner Reject" categories. The authors note that other banner designs might also employ aesthetic manipulation, but these were considered less critical due to their already overt manipulative tactics.
  • Future Work Suggestions:
    • Developing improved detection mechanisms for other dark patterns (e.g., coercive text).
  • Using the collected dataset to generate ground truth saliency maps via eye-tracking studies for training supervised SOD models.
  • Training classifiers to identify the 17 cookie banner design categories.
  • Further investigating the reasons behind EU websites changing banner designs for US visitors.

Summary updated

BibTeX
@misc{grossman2025using,
  author = {Riley Grossman and Michael Smith and Cristian Borcea and Yi Chen},
  title = {{Using Salient Object Detection to Identify Manipulative Cookie Banners that Circumvent GDPR}},
  year = {2025},
  eprint = {2510.26967},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.26967},
}

Loading related content...

Figure