Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Why is the User Interface a Dark Pattern? : Explainable Auto-Detection and its Analysis (2401.04119v1)

Published 30 Dec 2023 in cs.HC, cs.AI, and cs.LG

Abstract: Dark patterns are deceptive user interface designs for online services that make users behave in unintended ways. Dark patterns, such as privacy invasion, financial loss, and emotional distress, can harm users. These issues have been the subject of considerable debate in recent years. In this paper, we study interpretable dark pattern auto-detection, that is, why a particular user interface is detected as having dark patterns. First, we trained a model using transformer-based pre-trained LLMs, BERT, on a text-based dataset for the automatic detection of dark patterns in e-commerce. Then, we applied post-hoc explanation techniques, including local interpretable model agnostic explanation (LIME) and Shapley additive explanations (SHAP), to the trained model, which revealed which terms influence each prediction as a dark pattern. In addition, we extracted and analyzed terms that affected the dark patterns. Our findings may prevent users from being manipulated by dark patterns, and aid in the construction of more equitable internet services. Our code is available at https://github.com/yamanalab/why-darkpattern.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (20)
  1. H. Brignull. (2010) ”Dark Patterns.” Deceptive Design - user interfaces crafted to trick you. [Online]. Available: https://www.deceptive.design/ [Accessed: Aug. 10, 2023].
  2. A. Mathur, G. Acar, M. J. Friedman, E. Lucherini, J. Mayer, M. Chetty, and A. Narayanan, “Dark patterns at scale: Findings from a crawl of 11k shopping websites,” in Proceedings of the ACM on Human-Computer Interaction, vol. 3, no. 81, November 2019, pp. 1–32.
  3. T. H. Soe, O. E. Nordberg, F. Guribye, and M. Slavkovik, “Circumvention by design - dark patterns in cookie consent for online news outlets,” in Proceedings of the 11th Nordic Conference on Human-Computer Interaction: Shaping Experiences, Shaping Society, no. 19, 2020, pp. 1–12.
  4. C. L. José P. Zagal, Staffan Björk, “Dark patterns in the design of games.” in Foundations of Digital Games 2013. Society for the Advancement of the Science of Digital Games, 2013.
  5. L. Di Geronimo, L. Braz, E. Fregnan, F. Palomba, and A. Bacchelli, “UI dark patterns and where to find them: A study on mobile applications and user perception,” in Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems, 2020, pp. 1–14.
  6. C. M. Gray, Y. Kou, B. Battles, J. Hoggatt, and A. L. Toombs, “The dark (patterns) side of ux design,” in Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems, 2018, pp. 1–14.
  7. California Secretary of State. (2021) The California Privacy Rights Act of 2020. [Online]. Available: https://thecpra.org/ [Accessed: Aug. 10, 2023].
  8. Federal Trade Commission (FTC). (2021) Enforcement Policy Statement Regarding Negative Option Marketing. [Online]. Available: https://www.ftc.gov/system/files/documents/public_statements/1598063/negative_option_policy_statement-10-22-2021-tobureau.pdf [Accessed: Aug. 10, 2023].
  9. Organisation for Economic Co-operation and Development. (2022) Dark commercial patterns. [Online]. Available: https://www.oecd-ilibrary.org/science-and-technology/dark-commercial-patterns_44f5e846-en [Accessed: Aug. 10, 2023].
  10. European Data Protection Board (EDPB). (2022) Dark patterns in social media platform interfaces: How to recognise and avoid them. [Online]. Available: https://edpb.europa.eu/system/files/2022-03/edpb_03-2022_guidelines_on_dark_patterns_in_social_media_platform_interfaces_en.pdf [Accessed: Aug. 10, 2023].
  11. Y. Yada, J. Feng, T. Matsumoto, N. Fukushima, F. Kido, and H. Yamana, “Dark patterns in e-commerce: a dataset and its baseline evaluations,” in 2022 IEEE International Conference on Big Data (Big Data).   IEEE Computer Society, 2022, pp. 3015–3022.
  12. S. M. H. Mansur, S. Salma, D. Awofisayo, and K. Moran, “Aidui: Toward automated recognition of dark patterns in user interfaces,” in 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE), 2023, pp. 1958–1970.
  13. M. T. Ribeiro, S. Singh, and C. Guestrin, “”why should i trust you?”: Explaining the predictions of any classifier,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016, p. 1135–1144.
  14. S. M. Lundberg and S.-I. Lee, “A unified approach to interpreting model predictions,” in Proceedings of the 31st International Conference on Neural Information Processing Systems.   Curran Associates Inc., 2017, p. 4768–4777.
  15. J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of deep bidirectional transformers for language understanding,” in Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Minnesota, USA, Jun. 2019, pp. 4171–4186.
  16. Y. Liu, M. Ott, N. Goyal, J. Du, M. Joshi, D. Chen, O. Levy, M. Lewis, L. Zettlemoyer, and V. Stoyanov, “RoBERTa: A Robustly Optimized BERT Pretraining Approach,” arxiv:1907.11692, 2019.
  17. A. Mathur, M. Kshirsagar, and J. Mayer, “What makes a dark pattern… dark? design attributes, normative considerations, and measurement methods,” in Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems, no. 360, 2021, pp. 1–18.
  18. M. Nouwens, I. Liccardi, M. Veale, D. Karger, and L. Kagal, “Dark patterns after the gdpr: Scraping consent pop-ups and demonstrating their influence,” in Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems.   Association for Computing Machinery, 2020, pp. 1–13.
  19. S. Hidaka, S. Kobuki, M. Watanabe, and K. Seaborn, “Linguistic dead-ends and alphabet soup: Finding dark patterns in japanese apps,” in Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems, 2023, pp. 1–13.
  20. I. Loshchilov and F. Hutter, “Decoupled weight decay regularization,” arXiv:1711.05101, 2017.
User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (4)
  1. Yuki Yada (4 papers)
  2. Tsuneo Matsumoto (2 papers)
  3. Fuyuko Kido (2 papers)
  4. Hayato Yamana (9 papers)