Uncertainty Quantification for Transformer Models for Dark-Pattern Detection
Javier Mu\~noz, \'Alvaro Huertas-Garc\'ia, Carlos, Mart\'i-Gonz\'alez, Enrique De Miguel Ambite

TL;DR
This paper introduces uncertainty quantification methods for transformer models to improve dark-pattern detection, enhancing transparency and trustworthiness without sacrificing performance, and analyzing environmental impacts.
Contribution
It proposes a differential fine-tuning approach with uncertainty quantification using SNGPs and BNNs for dark-pattern detection in transformer models.
Findings
Uncertainty quantification maintains model performance.
Provides insights into challenging prediction instances.
Environmental impact varies with uncertainty methods.
Abstract
The opaque nature of transformer-based models, particularly in applications susceptible to unethical practices such as dark-patterns in user interfaces, requires models that integrate uncertainty quantification to enhance trust in predictions. This study focuses on dark-pattern detection, deceptive design choices that manipulate user decisions, undermining autonomy and consent. We propose a differential fine-tuning approach implemented at the final classification head via uncertainty quantification with transformer-based pre-trained models. Employing a dense neural network (DNN) head architecture as a baseline, we examine two methods capable of quantifying uncertainty: Spectral-normalized Neural Gaussian Processes (SNGPs) and Bayesian Neural Networks (BNNs). These methods are evaluated on a set of open-source foundational models across multiple dimensions: model performance, variance in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCCD and CMOS Imaging Sensors · Infrared Target Detection Methodologies · Optical Polarization and Ellipsometry
MethodsSparse Evolutionary Training
