Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Cheng, Xiaoqing, Chen, Ruizhe, Zan, Hongying, Jia, Yuxiang, Peng, Min
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2505.23829
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912403517603840
author Cheng, Xiaoqing
Chen, Ruizhe
Zan, Hongying
Jia, Yuxiang
Peng, Min
author_facet Cheng, Xiaoqing
Chen, Ruizhe
Zan, Hongying
Jia, Yuxiang
Peng, Min
contents Mitigating social bias in large language models (LLMs) has become an increasingly important research objective. However, existing debiasing methods often incur high human and computational costs, exhibit limited effectiveness, and struggle to scale to larger models and open-ended generation tasks. To address these limitations, this paper proposes BiasFilter, a model-agnostic, inference-time debiasing framework that integrates seamlessly with both open-source and API-based LLMs. Instead of relying on retraining with balanced data or modifying model parameters, BiasFilter enforces fairness by filtering generation outputs in real time. Specifically, it periodically evaluates intermediate outputs every few tokens, maintains an active set of candidate continuations, and incrementally completes generation by discarding low-reward segments based on a fairness reward signal. To support this process, we construct a fairness preference dataset and train an implicit reward model to assess token-level fairness in generated responses. Extensive experiments demonstrate that BiasFilter effectively mitigates social bias across a range of LLMs while preserving overall generation quality.
format Preprint
id arxiv_https___arxiv_org_abs_2505_23829
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle BiasFilter: An Inference-Time Debiasing Framework for Large Language Models
Cheng, Xiaoqing
Chen, Ruizhe
Zan, Hongying
Jia, Yuxiang
Peng, Min
Computation and Language
Mitigating social bias in large language models (LLMs) has become an increasingly important research objective. However, existing debiasing methods often incur high human and computational costs, exhibit limited effectiveness, and struggle to scale to larger models and open-ended generation tasks. To address these limitations, this paper proposes BiasFilter, a model-agnostic, inference-time debiasing framework that integrates seamlessly with both open-source and API-based LLMs. Instead of relying on retraining with balanced data or modifying model parameters, BiasFilter enforces fairness by filtering generation outputs in real time. Specifically, it periodically evaluates intermediate outputs every few tokens, maintains an active set of candidate continuations, and incrementally completes generation by discarding low-reward segments based on a fairness reward signal. To support this process, we construct a fairness preference dataset and train an implicit reward model to assess token-level fairness in generated responses. Extensive experiments demonstrate that BiasFilter effectively mitigates social bias across a range of LLMs while preserving overall generation quality.
title BiasFilter: An Inference-Time Debiasing Framework for Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2505.23829