From Exploration to Revelation: Detecting Dark Patterns in Mobile Apps

Jieshan Chen, Zhen Wang, Jiamou Sun, Wenbo Zou, Zhenchang Xing +3 more
11/27/2024
cs.SEcs.AIcs.HC

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Mobile apps are essential in daily life, yet they often employ dark patterns, such as visual tricks to highlight certain options or linguistic tactics to nag users into making purchases, to manipulate user behavior. Current research mainly uses manual methods to detect dark patterns, a process that is time-consuming and struggles to keep pace with continually updating and emerging apps. While some studies targeted at automated detection, they are constrained to static patterns and still necessitate manual app exploration. To bridge these gaps, we present AppRay, an innovative system that seamlessly blends task-oriented app exploration with automated dark pattern detection, reducing manual efforts. Our approach consists of two steps: First, we harness the commonsense knowledge of large language models for targeted app exploration, supplemented by traditional random exploration to capture a broader range of UI states. Second, we developed a static and dynamic dark pattern detector powered by a contrastive learning-based multi-label classifier and a rule-based refiner to perform detection. We contributed two datasets, AppRay-Dark and AppRay-Light, with 2,185 unique deceptive patterns (including 149 dynamic instances) across 18 types from 876 UIs and 871 benign UIs. These datasets cover both static and dynamic dark patterns while preserving UI relationships. Experimental results confirm that AppRay can efficiently explore the app and identify a wide range of dark patterns with great performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2024from,
  title  = {From Exploration to Revelation: Detecting Dark Patterns in Mobile Apps},
  author = {Jieshan Chen and Zhen Wang and Jiamou Sun and Wenbo Zou and Zhenchang Xing and Qinghua Lu and Qing Huang and Xiwei Xu},
  year   = {2024},
  eprint = {2411.18084},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.18084v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.18084.svg)](https://codeofpaper.com/paper/2411.18084)

Discussion