Bias Ahead: Sensitive Prompts as Early Warnings for Fairness in Large Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Voria, Gianmario, De Lucia, Martina, Raia, Alessandra, De Lucia, Andrea, Catolino, Gemma, Palomba, Fabio
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914451515506688
author Voria, Gianmario
De Lucia, Martina
Raia, Alessandra
De Lucia, Andrea
Catolino, Gemma
Palomba, Fabio
author_facet Voria, Gianmario
De Lucia, Martina
Raia, Alessandra
De Lucia, Andrea
Catolino, Gemma
Palomba, Fabio
contents Large Language Models (LLMs) are being increasingly integrated into software systems, offering powerful capabilities but also raising concerns about fairness. Existing fairness benchmarks, however, focus on stereotype-specific associations, which limit their ability to anticipate risks in diverse, real-world contexts. In this paper, we propose sensitive prompts as a new abstraction for fairness evaluation: inputs that are not inherently biased but are more likely to elicit biased or inadequate responses due to the sensitivity of their content. We construct and release SensY, a dataset of 12,801 prompts, categorized as sensitive and non-sensitive, spanning seven thematic domains, combining synthetic generation and real user inputs. Using this dataset, we query three open-source LLMs and manually analyze 4,500 responses to evaluate their adequacy in answering sensitive prompts. Results show that while models often provide factually correct answers, they frequently fail to acknowledge the ethical, relational, or contextual implications of sensitive inputs. In addition, we develop an automated classifier for predicting prompt sensitivity, achieving robust performance on sensitive prompts. Our findings demonstrate that prompt sensitivity can serve as an effective early-warning mechanism for fairness risks in LLMs. This perspective shifts fairness assessment from reactive mitigation toward preventive design, enabling developers to anticipate and manage bias before deployment.
format Preprint
id arxiv_https___arxiv_org_abs_2604_05575
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Bias Ahead: Sensitive Prompts as Early Warnings for Fairness in Large Language Models
Voria, Gianmario
De Lucia, Martina
Raia, Alessandra
De Lucia, Andrea
Catolino, Gemma
Palomba, Fabio
Software Engineering
Large Language Models (LLMs) are being increasingly integrated into software systems, offering powerful capabilities but also raising concerns about fairness. Existing fairness benchmarks, however, focus on stereotype-specific associations, which limit their ability to anticipate risks in diverse, real-world contexts. In this paper, we propose sensitive prompts as a new abstraction for fairness evaluation: inputs that are not inherently biased but are more likely to elicit biased or inadequate responses due to the sensitivity of their content. We construct and release SensY, a dataset of 12,801 prompts, categorized as sensitive and non-sensitive, spanning seven thematic domains, combining synthetic generation and real user inputs. Using this dataset, we query three open-source LLMs and manually analyze 4,500 responses to evaluate their adequacy in answering sensitive prompts. Results show that while models often provide factually correct answers, they frequently fail to acknowledge the ethical, relational, or contextual implications of sensitive inputs. In addition, we develop an automated classifier for predicting prompt sensitivity, achieving robust performance on sensitive prompts. Our findings demonstrate that prompt sensitivity can serve as an effective early-warning mechanism for fairness risks in LLMs. This perspective shifts fairness assessment from reactive mitigation toward preventive design, enabling developers to anticipate and manage bias before deployment.
title Bias Ahead: Sensitive Prompts as Early Warnings for Fairness in Large Language Models
topic Software Engineering
url https://arxiv.org/abs/2604.05575