[논문 리뷰] Benchmarking Bias in Large Language Models during Role-Playing
BiasLens는 역할 연기 중 LLM의 편향을 자동으로 시험하는 프레임워크로, 11개 인구통계에 걸친 33,000개의 편향 촉발 질문을 통해 6개 모델을 평가하고 72,716개의 편향 응답을 보고합니다. 저자들은 벤치마크와 연구 확장을 위한 스크립트를 공개합니다.
Large Language Models (LLMs) have become foundational in modern language-driven 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 introduce BiasLens, a fairness testing framework designed to systematically expose biases in LLMs during role-playing. Our approach uses LLMs to generate 550 social roles across a comprehensive set of 11 demographic attributes, producing 33,000 role-specific questions targeting various forms of bias. These questions, spanning 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 benchmark, we conduct extensive evaluations of six advanced LLMs released by OpenAI, Mistral AI, Meta, Alibaba, and DeepSeek. Our benchmark reveals 72,716 biased responses across the studied LLMs, with individual models yielding between 7,754 and 16,963 biased responses, underscoring the prevalence of bias in role-playing contexts. To support future research, we have publicly released the benchmark, along with all scripts and experimental results.
연구 동기 및 목표
- 역할 연기가 LLM 출력에 사회적 편향을 유발하는지 평가한다.
- 역할 연기 시나리오에 대한 자동화된 공정성 테스트 프레임워크(BiasLens)를 개발한다.
- 여러 인구통계 속성에 걸친 대규모 편향 벤치마크를 구축하고 공개한다.
- 여섯 개 주요 LLM에서 편향 확산을 평가하고 역할 연기 효과와 비결정성을 분석한다.
제안 방법
- GPT-4o를 사용해 11개 인구통계 속성을 아우르는 550개의 사회적 역할을 생성한다.
- 각 역할에 대해 자동으로 60개의 질문(Yes/No, Choice, Why)을 생성하여 총 33,000개 질문이 되며, 나중에 32,864개로 정제한다.
- 테스트 오라클: Yes/No 및 Choice에 대해 규칙 기반의 오라클을 설계하고, Why 질문에는 LLM 기반의 다수결 투표를 사용한다.
- 질문당 여섯 개의 LLM에 세 번씩 질의하고 다수 응답(2/3)으로 편향을 분류한다.
- 공개를 위해 개방형 벤치마크, 스크립트 및 실험 결과를 제공한다.

실험 결과
연구 질문
- RQ1RQ1: 역할 연기 중 LLM의 편향을 드러내는 데 BiasLens의 효과는 어느 정도인가?
- RQ2RQ2: BiasLens가 노출한 편향이 수동 평가에 의해 타당한가?
- RQ3RQ3: 역할이 부여되지 않으면 역할 연기 중 관찰된 편향이 지속되는가?
- RQ4RQ4: LLM의 비결정성이 공정성 테스트 결과에 어떤 영향을 미치는가?
주요 결과
- 벤치마크는 여섯 개 LLM에 걸친 72,716개의 편향 응답을 식별한다.
- 개별 모델은 7,754개에서 16,963개의 편향 응답을 생성한다.
- Llama-3-8B가 여섯 모델 중 가장 높은 편향 수를 보인다(16,963).
- 역할 연기 진술을 제거하면 편향 응답이 평균 24.3% 감소한다.
- 모델 편향 수준은 외부 리더보드의 전체 모델 능력 순위와 반드시 일치하지 않는다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.