Detecting Dark Patterns in User Interfaces Using Logistic Regression and Bag-of-Words Representation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Umar, Aliyu, Lawan, Maaruf, Lawan, Adamu, Abdulkadir, Abdullahi, Dahiru, Mukhtar
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913618124079104
author Umar, Aliyu
Lawan, Maaruf
Lawan, Adamu
Abdulkadir, Abdullahi
Dahiru, Mukhtar
author_facet Umar, Aliyu
Lawan, Maaruf
Lawan, Adamu
Abdulkadir, Abdullahi
Dahiru, Mukhtar
contents Dark patterns in user interfaces represent deceptive design practices intended to manipulate users' behavior, often leading to unintended consequences such as coerced purchases, involuntary data disclosures, or user frustration. Detecting and mitigating these dark patterns is crucial for promoting transparency, trust, and ethical design practices in digital environments. This paper proposes a novel approach for detecting dark patterns in user interfaces using logistic regression and bag-of-words representation. Our methodology involves collecting a diverse dataset of user interface text samples, preprocessing the data, extracting text features using the bag-of-words representation, training a logistic regression model, and evaluating its performance using various metrics such as accuracy, precision, recall, F1-score, and the area under the ROC curve (AUC). Experimental results demonstrate the effectiveness of the proposed approach in accurately identifying instances of dark patterns, with high predictive performance and robustness to variations in dataset composition and model parameters. The insights gained from this study contribute to the growing body of knowledge on dark patterns detection and classification, offering practical implications for designers, developers, and policymakers in promoting ethical design practices and protecting user rights in digital environments.
format Preprint
id arxiv_https___arxiv_org_abs_2412_14187
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Detecting Dark Patterns in User Interfaces Using Logistic Regression and Bag-of-Words Representation
Umar, Aliyu
Lawan, Maaruf
Lawan, Adamu
Abdulkadir, Abdullahi
Dahiru, Mukhtar
Human-Computer Interaction
Machine Learning
Dark patterns in user interfaces represent deceptive design practices intended to manipulate users' behavior, often leading to unintended consequences such as coerced purchases, involuntary data disclosures, or user frustration. Detecting and mitigating these dark patterns is crucial for promoting transparency, trust, and ethical design practices in digital environments. This paper proposes a novel approach for detecting dark patterns in user interfaces using logistic regression and bag-of-words representation. Our methodology involves collecting a diverse dataset of user interface text samples, preprocessing the data, extracting text features using the bag-of-words representation, training a logistic regression model, and evaluating its performance using various metrics such as accuracy, precision, recall, F1-score, and the area under the ROC curve (AUC). Experimental results demonstrate the effectiveness of the proposed approach in accurately identifying instances of dark patterns, with high predictive performance and robustness to variations in dataset composition and model parameters. The insights gained from this study contribute to the growing body of knowledge on dark patterns detection and classification, offering practical implications for designers, developers, and policymakers in promoting ethical design practices and protecting user rights in digital environments.
title Detecting Dark Patterns in User Interfaces Using Logistic Regression and Bag-of-Words Representation
topic Human-Computer Interaction
Machine Learning
url https://arxiv.org/abs/2412.14187