Deception at Scale: Deceptive Designs in 1K LLM-Generated Ecommerce Components

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Chen, Ziwei, Shen, Jiawen, Luna, Zhang, Hanyu, Vaccaro, Kristen
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908816497442816
author Chen, Ziwei
Shen, Jiawen
Luna
Zhang, Hanyu
Vaccaro, Kristen
author_facet Chen, Ziwei
Shen, Jiawen
Luna
Zhang, Hanyu
Vaccaro, Kristen
contents Recent work has shown that front-end code generated by Large Language Models (LLMs) can embed deceptive designs. To assess the magnitude of this problem, identify the factors that influence deceptive design production, and test strategies for reducing deceptive designs, we carried out two studies which generated and analyzed 1,296 LLM-generated web components, along with a design rationale for each. The first study tested four LLMs for 15 common ecommerce components. Overall 55.8% of components contained at least one deceptive design, and 30.6% contained two or more. Occurence varied significantly across models, with DeepSeek-V3 producing the fewest. Interface interference emerged as the dominant strategy, using color psychology to influence actions and hiding essential information. The first study found that prompts emphasizing business interests (e.g., increasing sales) significantly increased deceptive designs, so a second study tested a variety of prompting strategies to reduce their frequency, finding a values-centered approach the most effective. Our findings highlight risks in using LLMs for coding and offer recommendations for LLM developers and providers.
format Preprint
id arxiv_https___arxiv_org_abs_2502_13499
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Deception at Scale: Deceptive Designs in 1K LLM-Generated Ecommerce Components
Chen, Ziwei
Shen, Jiawen
Luna
Zhang, Hanyu
Vaccaro, Kristen
Human-Computer Interaction
Artificial Intelligence
Machine Learning
Recent work has shown that front-end code generated by Large Language Models (LLMs) can embed deceptive designs. To assess the magnitude of this problem, identify the factors that influence deceptive design production, and test strategies for reducing deceptive designs, we carried out two studies which generated and analyzed 1,296 LLM-generated web components, along with a design rationale for each. The first study tested four LLMs for 15 common ecommerce components. Overall 55.8% of components contained at least one deceptive design, and 30.6% contained two or more. Occurence varied significantly across models, with DeepSeek-V3 producing the fewest. Interface interference emerged as the dominant strategy, using color psychology to influence actions and hiding essential information. The first study found that prompts emphasizing business interests (e.g., increasing sales) significantly increased deceptive designs, so a second study tested a variety of prompting strategies to reduce their frequency, finding a values-centered approach the most effective. Our findings highlight risks in using LLMs for coding and offer recommendations for LLM developers and providers.
title Deception at Scale: Deceptive Designs in 1K LLM-Generated Ecommerce Components
topic Human-Computer Interaction
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2502.13499