From Exploration to Revelation: Detecting Dark Patterns in Mobile Apps
Jieshan Chen, Zhen Wang, Jiamou Sun, Zhenchang Xing, Qinghua Lu, Qing Huang, Xiwei Xu, Liming Zhu

TL;DR
This paper introduces AppRay, an automated system for detecting deceptive dark patterns in mobile apps, combining task-oriented exploration with contrastive learning to improve detection coverage and accuracy.
Contribution
The paper presents AppRay, a novel system that automates detection of intra- and inter-page deceptive patterns using LLM-guided exploration and a multi-label classifier, surpassing prior manual and limited methods.
Findings
AppRay achieves high precision (0.92) and recall (0.88) in detecting dark patterns.
It significantly outperforms prior methods with 27.14% to 1200% improvements.
The system detects previously unexplored deceptive patterns across diverse UI types.
Abstract
Mobile apps are essential in daily life but frequently employ deceptive patterns, such as visual emphasis or linguistic nudging, to manipulate user behavior. Existing research largely relies on manual detection, which is time-consuming and cannot keep pace with rapidly evolving apps. Although recent work has explored automated approaches, these methods are limited to intra-page patterns, depend on manual app exploration, and lack flexibility. To address these limitations, we present AppRay, a system that integrates task-oriented app exploration with automated deceptive pattern detection to reduce manual effort, expand detection coverage, and improve performance. AppRay operates in two stages. First, it combines large language model-guided task-oriented exploration with random exploration to capture diverse user interface (UI) states. Second, it detects both intra-page and inter-page…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
