Dark patterns in e-commerce: a dataset and its baseline evaluations
Not on the map. Why?
Abstract (arXiv)
Dark patterns, which are user interface designs in online services, induce users to take unintended actions. Recently, dark patterns have been raised as an issue of privacy and fairness. Thus, a wide range of research on detecting dark patterns is eagerly awaited. In this work, we constructed a dataset for dark pattern detection and prepared its baseline detection performance with state-of-the-art machine learning methods. The original dataset was obtained from Mathur et al.'s study in 2019, which consists of 1,818 dark pattern texts from shopping sites. Then, we added negative samples, i.e., non-dark pattern texts, by retrieving texts from the same websites as Mathur et al.'s dataset. We also applied state-of-the-art machine learning methods to show the automatic detection accuracy as baselines, including BERT, RoBERTa, ALBERT, and XLNet. As a result of 5-fold cross-validation, we achieved the highest accuracy of 0.975 with RoBERTa. The dataset and baseline source codes are available at https://github.com/yamanalab/ec-darkpattern.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 11 of its 27 references that are in the map. First posted on arXiv 12 Nov 2022.
Builds on
11 of 27 references.
References · 11
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,501
- 2019Dark Patterns at Scale: Findings from a Crawl of 11K Shopping Websitescited by 19
- 2021What Makes a Dark Pattern... Dark? Design Attributes, Normative Considerations, and Measurement Methodscited by 15
- 2018An Empirical Study of Affiliate Marketing Disclosures on YouTube and Pinterestcited by 10
- 2020Circumvention by design -- dark patterns in cookie consents for online news outletscited by 7
- 2018Endorsements on Social Media: An Empirical Study of Affiliate Marketing Disclosures on YouTube and Pinterestcited by 4
- 2022Automated detection of dark patterns in cookie banners: how to do it poorly and why it is hard to do it any other waycited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 1.
3 papers.
- 2023Why is the User Interface a Dark Pattern? : Explainable Auto-Detection and its Analysiscited by 0
- 2024Detecting Dark Patterns in User Interfaces Using Logistic Regression and Bag-of-Words Representationcited by 0
- 2025Building UI/UX Dataset for Dark Pattern Detection and YOLOv12x-based Real-Time Object Recognition Detection Systemcited by 0
- 2025Building UI/UX Dataset for Dark Pattern Detection and YOLOv12x-based Real-Time Object Recognition Detection System20 Dec 2025
- 2024Detecting Dark Patterns in User Interfaces Using Logistic Regression and Bag-of-Words Representation9 Dec 2024
- 2023Why is the User Interface a Dark Pattern? : Explainable Auto-Detection and its Analysis30 Dec 2023