Detection, Classification, and Mitigation of Gender Bias in Large Language Models

Xiaoqing Cheng, Hongying Zan, Lulu Kong, Jinwang Song, Min Peng
6/14/2025
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

With the rapid development of large language models (LLMs), they have significantly improved efficiency across a wide range of domains. However, recent studies have revealed that LLMs often exhibit gender bias, leading to serious social implications. Detecting, classifying, and mitigating gender bias in LLMs has therefore become a critical research focus. In the NLPCC 2025 Shared Task 7: Chinese Corpus for Gender Bias Detection, Classification and Mitigation Challenge, we investigate how to enhance the capabilities of LLMs in gender bias detection, classification, and mitigation. We adopt reinforcement learning, chain-of-thoughts (CoT) reasoning, and supervised fine-tuning to handle different Subtasks. Specifically, for Subtasks 1 and 2, we leverage the internal reasoning capabilities of LLMs to guide multi-step thinking in a staged manner, which simplifies complex biased queries and improves response accuracy. For Subtask 3, we employ a reinforcement learning-based approach, annotating a preference dataset using GPT-4. We then apply Direct Preference Optimization (DPO) to mitigate gender bias by introducing a loss function that explicitly favors less biased completions over biased ones. Our approach ranked first across all three subtasks of the NLPCC 2025 Shared Task 7.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{cheng2025detection,
  title  = {Detection, Classification, and Mitigation of Gender Bias in Large Language Models},
  author = {Xiaoqing Cheng and Hongying Zan and Lulu Kong and Jinwang Song and Min Peng},
  year   = {2025},
  eprint = {2506.12527},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.12527v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.12527.svg)](https://codeofpaper.com/paper/2506.12527)

Discussion