Meta Querier: Revealing Gender Stereotypes in LLM

In recent years, the rapid development of large language models (LLMs) and the widespread adoption of open-source foundational models have significantly advanced technological accessibility. LLMs generate response due to context window, which consists of current prompt and conversation history. However, LLMs still suffer from inherent stereotypes and biases in their generated content, which may lead to erroneous judgments in LLM-based applications and unintentionally perpetuate stereotypes. Most existing studies about LLM stereotypes pay more attention to single-turn conversations, which have no conversation context. This paper, however, focuses on LLMs' vulnerability in robustness for stereotypical bias in multi-turn conversations. In this paper, we propose MetaQuerier, an automated framework grounded in metamorphic testing, which employs a metamorphic-transformation strategy to construct multi-turn contextual consistent prompt pairs to evaluate stereotypical bias in LLMs. We conduct more than 260000 test prompts towards 8 famous LLMs in total. The results show that up to 58.8% of the prompt pairs generated by MetaQuerier detected violations.

Publication Details

Journal
Computer Fraud & Security
Published
2025-02-27
DOI
https://doi.org/10.52710/cfs.423
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Meta Querier: Revealing Gender Stereotypes in LLM

Computer Fraud & Security
Topic Modeling
article

Meta Querier: Revealing Gender Stereotypes in LLM

article en

Abstract

In recent years, the rapid development of large language models (LLMs) and the widespread adoption of open-source foundational models have significantly advanced technological accessibility. LLMs generate response due to context window, which consists of current prompt and conversation history. However, LLMs still suffer from inherent stereotypes and biases in their generated content, which may lead to erroneous judgments in LLM-based applications and unintentionally perpetuate stereotypes. Most existing studies about LLM stereotypes pay more attention to single-turn conversations, which have no conversation context. This paper, however, focuses on LLMs' vulnerability in robustness for stereotypical bias in multi-turn conversations. In this paper, we propose MetaQuerier, an automated framework grounded in metamorphic testing, which employs a metamorphic-transformation strategy to construct multi-turn contextual consistent prompt pairs to evaluate stereotypical bias in LLMs. We conduct more than 260000 test prompts towards 8 famous LLMs in total. The results show that up to 58.8% of the prompt pairs generated by MetaQuerier detected violations.

Computer Fraud & Security
Gender equality
Openalex Percentile: Top 78%
Topic Modeling
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.

Meta Querier: Revealing Gender Stereotypes in LLM · Computer Fraud & Security (2025) | TGRS Research Map | TGRS