Scollr summary
What this paper is about
An empirical study on fairness testing of LLMs in role-playing scenarios, using LLMs to generate 550 social roles spanning a comprehensive set of 11 demographic attributes and employing a combination of rule-based and LLM-based strategies to identify biased responses.
Full abstract
Read the full abstract
Large Language Models (LLMs) have become foundational in modern language-driven software applications, profoundly influencing daily life. A critical technique in leveraging their potential is role-playing, where LLMs simulate diverse roles to enhance their real-world utility. However, while research has highlighted the presence of social biases in LLM outputs, it remains unclear whether and to what extent these biases emerge during role-playing scenarios. In this paper, we conduct an empirical study on fairness testing of LLMs in role-playing scenarios. To enable this testing, we use LLMs to generate 550 social roles spanning a comprehensive set of 11 demographic attributes, producing 33,000 role-specific questions that target various forms of bias. These questions, covering Yes/No, multiple-choice, and open-ended formats, are designed to prompt LLMs to adopt specific roles and respond accordingly. We employ a combination of rule-based and LLM-based strategies to identify biased responses, rigorously validated through human evaluation. Using the generated questions as the test cases, we conduct extensive evaluations of 10 advanced LLMs. The evaluation reveal 107,580 biased responses across the studied LLMs, with individual models yielding between 7,579 and 16,963 biased responses, underscoring the prevalence of bias in role-playing contexts. To support future research, we have publicly released the dataset, along with all scripts and experimental results.
Direct answer
What can I do from this paper page?
Use this page to scan "Fairness Testing of Large Language Models in Role-Playing" quickly: start with the summary and abstract, then check the authors, source, topics, and related papers. From here, open Scollr to follow Natural Language Processing Techniques research, save the paper, or map adjacent work.
Research areas
Follow related topics
Citation
BibTeX
@article{Li2026Fairness,
title = {Fairness Testing of Large Language Models in Role-Playing},
author = {Xinyue Li and Zhenpeng Chen and Jie M. Zhang and Yiling Lou and Tianlin Li and Weisong Sun and Yang Liu and Xuanzhe Liu},
journal = {Proceedings of the ACM on software engineering.},
year = {2026},
doi = {10.1145/3808106},
url = {https://doi.org/10.1145/3808106}
}
FAQ
Using this paper in a discovery workflow
How do I find related work for this paper?
Use the related papers and topic links on this page as starting points. In Scollr, you can also open the paper and build a literature map around its references, citing papers, and related work.
How can I keep up with new Natural Language Processing Techniques research papers?
Follow Natural Language Processing Techniques research in Scollr. New papers from the topic flow into a personalized feed, and you can save useful studies to revisit later.
Can I cite this paper from this page?
This page includes a static BibTeX block for Fairness Testing of Large Language Models in Role-Playing. Always verify the DOI, source, and publication details against the publisher record before submitting a manuscript.
Follow this research in Scollr
Follow the topics and authors behind this paper, save useful studies, and build a literature map when you are ready to go deeper.
Get the app