AidUI: Toward Automated Recognition of Dark Patterns in User Interfaces
Not on the map. Why?
Abstract (arXiv)
Past studies have illustrated the prevalence of UI dark patterns, or user interfaces that can lead end-users toward (unknowingly) taking actions that they may not have intended. Such deceptive UI designs can result in adverse effects on end users, such as oversharing personal information or financial loss. While significant research progress has been made toward the development of dark pattern taxonomies, developers and users currently lack guidance to help recognize, avoid, and navigate these often subtle design motifs. However, automated recognition of dark patterns is a challenging task, as the instantiation of a single type of pattern can take many forms, leading to significant variability. In this paper, we take the first step toward understanding the extent to which common UI dark patterns can be automatically recognized in modern software applications. To do this, we introduce AidUI, a novel automated approach that uses computer vision and natural language processing techniques to recognize a set of visual and textual cues in application screenshots that signify the presence of ten unique UI dark patterns, allowing for their detection, classification, and localization. To evaluate our approach, we have constructed ContextDP, the current largest dataset of fully-localized UI dark patterns that spans 175 mobile and 83 web UI screenshots containing 301 dark pattern instances. The results of our evaluation illustrate that AidUI achieves an overall precision of 0.66, recall of 0.67, F1-score of 0.65 in detecting dark pattern instances, reports few false positives, and is able to localize detected patterns with an IoU score of ~0.84. Furthermore, a significant subset of our studied dark patterns can be detected quite reliably (F1 score of over 0.82), and future research directions may allow for improved detection of additional patterns.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 13 of its 56 references that are in the map. First posted on arXiv 12 Mar 2023.
Builds on
13 of 56 references.
References · 13
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2017EAST: An Efficient and Accurate Scene Text Detectorcited by 248
- 2021Screen Recognition: Creating Accessibility Metadata for Mobile Applications from Pixelscited by 57
- 2018Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile Appscited by 36
- 2021Screen Parsing: Towards Reverse Engineering of UI Models from Screenshotscited by 32
- 2020Object Detection for Graphical User Interface: Old Fashioned or Deep Learning or a Combination?cited by 29
- 2020Unblind Your Apps: Predicting Natural-Language Labels for Mobile GUI Components by Deep Learningcited by 25
- 2019(Un)informed Consent: Studying GDPR Consent Notices in the Fieldcited by 23
- 2020Owl Eyes: Spotting UI Display Issues via Visual Understandingcited by 16
- 2018Automated Reporting of GUI Design Violations for Mobile Appscited by 15
- 2020Translating Video Recordings of Mobile App Usages into Replayable Scenarioscited by 9
1 more
Built on by
Citing papers per year: 2023: 1; 2024: 4; 2025: 1; 2026: 3.
9 papers.
- 2025Investigating the Impact of Dark Patterns on LLM-Based Web Agentscited by 13
- 2024Automatically Detecting Online Deceptive Patternscited by 1
- 2023Why is the User Interface a Dark Pattern? : Explainable Auto-Detection and its Analysiscited by 0
- 2024MotorEase: Automated Detection of Motor Impairment Accessibility Issues in Mobile App UIscited by 0
- 2024From Exploration to Revelation: Detecting Dark Patterns in Mobile Appscited by 0
- 2024Detecting Dark Patterns in User Interfaces Using Logistic Regression and Bag-of-Words Representationcited by 0
- 2026On the Suitability of LLM-Driven Agents for Dark Pattern Auditscited by 0
- 2026Learning to Detect UI Principle Violations via Reinforcement Learningcited by 0
- 2026AI Watchdog: Agent Interfaces for Detecting and Defending Against Manipulative Dark Patterns in AI Conversationscited by 0
- 2026AI Watchdog: Agent Interfaces for Detecting and Defending Against Manipulative Dark Patterns in AI Conversations22 Aug 2026
- 2026Learning to Detect UI Principle Violations via Reinforcement Learning22 Jul 2026
- 2026On the Suitability of LLM-Driven Agents for Dark Pattern Audits4 Mar 2026
- 2025Investigating the Impact of Dark Patterns on LLM-Based Web Agents20 Oct 2025
- 2024Detecting Dark Patterns in User Interfaces Using Logistic Regression and Bag-of-Words Representation9 Dec 2024
- 2024From Exploration to Revelation: Detecting Dark Patterns in Mobile Apps27 Nov 2024
- 2024Automatically Detecting Online Deceptive Patterns11 Nov 2024
- 2024MotorEase: Automated Detection of Motor Impairment Accessibility Issues in Mobile App UIs20 Mar 2024
- 2023Why is the User Interface a Dark Pattern? : Explainable Auto-Detection and its Analysis30 Dec 2023