Mitigating Social Bias in Large Language Models: A Multi-Objective Approach within a Multi-Agent Framework

Zhenjie Xu, Wenqing Chen, Yi Tang, Xuanying Li, Cheng Hu +4 more
12/20/2024
cs.CL

Official code: Cortantse/MOMA (8 stars, MIT, last commit 2025-05-30).

Abstract

Natural language processing (NLP) has seen remarkable advancements with the development of large language models (LLMs). Despite these advancements, LLMs often produce socially biased outputs. Recent studies have mainly addressed this problem by prompting LLMs to behave ethically, but this approach results in unacceptable performance degradation. In this paper, we propose a multi-objective approach within a multi-agent framework (MOMA) to mitigate social bias in LLMs without significantly compromising their performance. The key idea of MOMA involves deploying multiple agents to perform causal interventions on bias-related contents of the input questions, breaking the shortcut connection between these contents and the corresponding answers. Unlike traditional debiasing techniques leading to performance degradation, MOMA substantially reduces bias while maintaining accuracy in downstream tasks. Our experiments conducted on two datasets and two models demonstrate that MOMA reduces bias scores by up to 87.7%, with only a marginal performance degradation of up to 6.8% in the BBQ dataset. Additionally, it significantly enhances the multi-objective metric icat in the StereoSet dataset by up to 58.1%. Code will be made available at https://github.com/Cortantse/MOMA.

View on arXivView PDF

Code Implementations(1)

Cortantse/MOMAOfficial100%
MIT

This repository accompanies the paper "Mitigating Social Bias in Large Language Models: A Multi-Objective Approach within a Multi-Agent Framework", which has been accepted at AAAI 2025 🎉 and is available as a preprint on arXiv 📄.

80Dec 10, 20241 years agoMIT

Similar Papers

Cite this paper

@article{xu2024mitigating,
  title  = {Mitigating Social Bias in Large Language Models: A Multi-Objective Approach within a Multi-Agent Framework},
  author = {Zhenjie Xu and Wenqing Chen and Yi Tang and Xuanying Li and Cheng Hu and Zhixuan Chu and Kui Ren and Zibin Zheng and Zhichao Lu},
  year   = {2024},
  eprint = {2412.15504},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.15504v2}
}

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/2412.15504.svg)](https://codeofpaper.com/paper/2412.15504)

Discussion