Dark patterns in e-commerce: a dataset and its baseline evaluations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yada, Yuki, Feng, Jiaying, Matsumoto, Tsuneo, Fukushima, Nao, Kido, Fuyuko, Yamana, Hayato
Format: Preprint
Published: 2022
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910898321358848
author Yada, Yuki
Feng, Jiaying
Matsumoto, Tsuneo
Fukushima, Nao
Kido, Fuyuko
Yamana, Hayato
author_facet Yada, Yuki
Feng, Jiaying
Matsumoto, Tsuneo
Fukushima, Nao
Kido, Fuyuko
Yamana, Hayato
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2211_06543
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Dark patterns in e-commerce: a dataset and its baseline evaluations
Yada, Yuki
Feng, Jiaying
Matsumoto, Tsuneo
Fukushima, Nao
Kido, Fuyuko
Yamana, Hayato
Machine Learning
Cryptography and Security
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.
title Dark patterns in e-commerce: a dataset and its baseline evaluations
topic Machine Learning
Cryptography and Security
url https://arxiv.org/abs/2211.06543