Leading and non-leading prompts: Quantifying gender bias in Large Language Models through BiasBloom corpus

The increasing use of Artificial Intelligence by non-experts underscores the need to address biases in its outputs, particularly in gendered languages like Spanish, where linguistic features reflect gender. This paper proposes a validated methodology to quantify gender bias in text generated by Large Language Models (LLMs) in Spanish. The approach involves creating gendered seed-word lists, building a Spanish-specific corpus using curated prompts, and analyzing gender polarity and co-occurrences within the generated text. Validated using five state-of-the-art LLMs—GPT-3.5, GPT-4o, Llama 3, Gemini 1.5, and Mixtral8x7b—this study provides a systematic framework for bias detection in Spanish and highlights differences in model performance. By addressing the challenges of bias in gendered languages, this research aims to contribute to the development of equitable AI systems and advances methodologies for bias quantification. The findings highlight gender disparities in LLMs, with masculine and feminine biases shifting depending on the discourse structure. Specifically, the analysis reveals a prevalence of masculine biases in non-leading prompts and feminine biases in leading prompts, underscoring the nuanced ways in which prompt positioning can influence gender representation in model outputs. • Methodology to quantify and analyze gender bias in Spanish language. • Analysis of gender bias in a corpus generated by LLMs. • Creation of resources in Spanish: seed-word lists and BiasBloom corpus. • Analysis of the text generated by different state-of-the-art. • Effective results in detecting and quantifying gender bias.

Authors

Institutions

Publication Details

Journal
Knowledge-Based Systems
Published
2025-06-19
DOI
https://doi.org/10.1016/j.knosys.2025.113915
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Leading and non-leading prompts: Quantifying gender bias in Large Language Models through BiasBloom corpus

Juan Pablo Consuegra‐Ayala, Paloma Moreda, Victoria Muñoz-García
Knowledge-Based Systems
Hate Speech and Cyberbullying Detection
article

Leading and non-leading prompts: Quantifying gender bias in Large Language Models through BiasBloom corpus

Juan Pablo Consuegra‐Ayala, Paloma Moreda, Victoria Muñoz-García
article en

Abstract

The increasing use of Artificial Intelligence by non-experts underscores the need to address biases in its outputs, particularly in gendered languages like Spanish, where linguistic features reflect gender. This paper proposes a validated methodology to quantify gender bias in text generated by Large Language Models (LLMs) in Spanish. The approach involves creating gendered seed-word lists, building a Spanish-specific corpus using curated prompts, and analyzing gender polarity and co-occurrences within the generated text. Validated using five state-of-the-art LLMs—GPT-3.5, GPT-4o, Llama 3, Gemini 1.5, and Mixtral8x7b—this study provides a systematic framework for bias detection in Spanish and highlights differences in model performance. By addressing the challenges of bias in gendered languages, this research aims to contribute to the development of equitable AI systems and advances methodologies for bias quantification. The findings highlight gender disparities in LLMs, with masculine and feminine biases shifting depending on the discourse structure. Specifically, the analysis reveals a prevalence of masculine biases in non-leading prompts and feminine biases in leading prompts, underscoring the nuanced ways in which prompt positioning can influence gender representation in model outputs. • Methodology to quantify and analyze gender bias in Spanish language. • Analysis of gender bias in a corpus generated by LLMs. • Creation of resources in Spanish: seed-word lists and BiasBloom corpus. • Analysis of the text generated by different state-of-the-art. • Effective results in detecting and quantifying gender bias.

Knowledge-Based SystemsVol. 325
University of Alicante (ES)
Gender equality
Openalex Percentile: Top 93%
Hate Speech and Cyberbullying Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Leading and non-leading prompts: Quantifying gender bias in Large Language Models through BiasBloom corpus — Juan Pablo Consuegra‐Ayala, Paloma Moreda, et al. · Knowledge-Based Systems (2025) | TGRS Research Map | TGRS