Don't Detect, Just Correct: Can LLMs Defuse Deceptive Patterns Directly?
Abstract
Deceptive (or dark) patterns, UI design strategies manipulating users against their best interests, have become widespread. We introduce an idea for technical countermeasures against such patterns. It feeds the HTML code of web elements that may contain deceptive patterns into a large language model (LLM) and iteratively prompts it to make these elements less manipulative. We evaluated our approach with GPT-4o and self-created web elements. The most consistent results appeared after three iterations, with 91% of deceptive elements being less manipulative and 96% not more manipulative than originally. We contribute our minimal and improved prompts and a labeled dataset of all 2,600 redesigns with the LLM’s justifications for its changes. We also performed preliminary tests on real websites to show and discuss the feasibility of our approach in the field. Our findings suggest that LLMs can defuse certain deceptive patterns without prior model training, promising a major advance in fighting these manipulations.
- Venue
- CHI 2025
- Volume
- Proceedings of the Extended Abstracts of the CHI Conference on Human Factors in Computing Systems
- DOI
- 10.1145/3706599.3719683
- https://dl.acm.org/doi/pdf/10.1145/3706599.3719683
- Anthology ID
2025.chi-ea.201
Cite
@inproceedings{schafer-etal-2025-dont,
title = {{Don't Detect, Just Correct: Can LLMs Defuse Deceptive Patterns Directly?}},
author = {René Schäfer and Paul Miles Preuschoff and Rene Niewianda and Sophie Hahn and Kevin Fiedler and Jan Borchers},
booktitle = {Proceedings of the Extended Abstracts of the CHI Conference on Human Factors in Computing Systems},
isbn = {9798400713958},
year = {2025},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3706599.3719683},
url = {https://doi.org/10.1145/3706599.3719683},
abstract = {Deceptive (or dark) patterns, UI design strategies manipulating users against their best interests, have become widespread. We introduce an idea for technical countermeasures against such patterns. It feeds the HTML code of web elements that may contain deceptive patterns into a large language model (LLM) and iteratively prompts it to make these elements less manipulative. We evaluated our approach with GPT-4o and self-created web elements. The most consistent results appeared after three iterations, with 91\% of deceptive elements being less manipulative and 96\% not more manipulative than originally. We contribute our minimal and improved prompts and a labeled dataset of all 2,600 redesigns with the LLM’s justifications for its changes. We also performed preliminary tests on real websites to show and discuss the feasibility of our approach in the field. Our findings suggest that LLMs can defuse certain deceptive patterns without prior model training, promising a major advance in fighting these manipulations.}
}