Skip to main navigation Skip to search Skip to main content

Unveiling the Tricks: Automated Detection of Dark Patterns in Mobile Applications

  • Jieshan Chen
  • , Jiamou Sun
  • , Sidong Feng
  • , Zhenchang Xing
  • , Qinghua Lu
  • , Xiwei Xu
  • , Chunyang Chen
  • CSIRO Agriculture and Food
  • Monash University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

44 Scopus citations

Abstract

Mobile apps bring us many conveniences, such as online shopping and communication, but some use malicious designs called dark patterns to trick users into doing things that are not in their best interest. Many works have been done to summarize the taxonomy of these patterns and some have tried to mitigate the problems through various techniques. However, these techniques are either time-consuming, not generalisable or limited to specific patterns. To address these issues, we propose UIGuard, a knowledge-driven system that utilizes computer vision and natural language pattern matching to automatically detect a wide range of dark patterns in mobile UIs. Our system relieves the need for manually creating rules for each new UI/app and covers more types with superior performance. In detail, we integrated existing taxonomies into a consistent one, conducted a characteristic analysis and distilled knowledge from real-world examples and the taxonomy. Our UIGuard consists of two components, Property Extraction and Knowledge-Driven Dark Pattern Checker. We collected the first dark pattern dataset, which contains 4,999 benign UIs and 1,353 malicious UIs of 1,660 instances spanning 1,023 mobile apps. Our system achieves a superior performance in detecting dark patterns (micro averages: 0.82 in precision, 0.77 in recall, 0.79 in F1 score). A user study involving 58 participants further showed that UIGuard significantly increases users' knowledge of dark patterns. We demonstrated potential use cases of our work, which can benefit different stakeholders, and serve as a training tool for raising awareness of dark patterns.

Original languageEnglish
Title of host publicationUIST 2023 - Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology
PublisherAssociation for Computing Machinery, Inc
ISBN (Electronic)9798400701320
DOIs
StatePublished - 29 Oct 2023
Externally publishedYes
Event36th Annual ACM Symposium on User Interface Software and Technology, UIST 2023 - San Francisco, United States
Duration: 29 Oct 20231 Nov 2023

Publication series

NameUIST 2023 - Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology

Conference

Conference36th Annual ACM Symposium on User Interface Software and Technology, UIST 2023
Country/TerritoryUnited States
CitySan Francisco
Period29/10/231/11/23

Keywords

  • Dark Pattern
  • Ethical Design
  • Mobile App
  • User Interface

Fingerprint

Dive into the research topics of 'Unveiling the Tricks: Automated Detection of Dark Patterns in Mobile Applications'. Together they form a unique fingerprint.

Cite this