Deceptive Patterns
‹ All reading

Don’t Detect, Just Correct: Can LLMs Defuse Deceptive Patterns Directly?

Author
René Schäfer, Paul Preuschoff, Rene Niewianda, Sophie Hahn, Kevin Fiedler, Jan Borchers
Date
25 Apr 2025
Publisher
CHI EA 2025 / ACM
Focus
AI & Automation, HCI & Psychology
Category
Academic Scholar

Explores whether LLMs can transform deceptive interface text or flows into less manipulative designs.

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.