Lune

EMNLP Findings2025

BiasFilter: An Inference-Time Debiasing Framework for Large Language Models

Xiaoqing Cheng, Ruizhe Chen, Hongying Zan, Yuxiang Jia, Min Peng

Abstract

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 BIAS-FILTER, 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, BIASFIL-TER 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 BIASFIL-TER effectively mitigates social bias across a range of LLMs while preserving overall generation quality.

Ask Lune

Ask anything. The answer quotes the paper.

Lune reads all of it and the papers around it, then shows you the passages behind every answer.

Questions to start from

Lune answers from

the full paper · 2 top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Cited by top-tier papers2

  1. Self-correcting for Debiasing Large Language ModelsXuan Feng, Shuai Zhao, Luwei Xiao, Tianlong Gu et al.ICML 2026 · 2 citations
  2. Knowing Bias, Doing Better: Mitigating Social Bias in LLMs via Know-Bias Neuron EnhancementJinhao Pan, Chahat Raj, Anjishnu Mukherjee, Sina Mansouri et al.ICML 2026

Builds on21

  1. Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
  2. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad et al.ACL 2020 · 1,224 citations
  3. RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI FeedbackHarrison Lee, Samrat Phatale, Hassan Mansoor, Thomas Mesnard et al.ICML 2024 · 598 citations
  4. Fast Model DeBias with Machine UnlearningRuizhe Chen, Jianfei Yang, Huimin Xiong, Jianhong Bai et al.NeurIPS 2023 · 110 citations
  5. ARGS: Alignment as Reward-Guided SearchMaxim Khanov, Jirayu Burapacheep, Yixuan LiICLR 2024 · 101 citations

Related papers

  1. DebFilter: Eradicating Biases Stashed in ValueSeung Hyuk Lee, Songkuk KimCVPR Findings 2026
  2. Social Bias Benchmark for Generation: A Comparison of Generation and QA-Based EvaluationsJiho Jin, Woosung Kang, Junho Myung, Alice OhACL Findings 2025
  3. Auto-Search and Refinement: An Automated Framework for Gender Bias Mitigation in Large Language ModelsYue Xu, Chengyan Fu, Li Xiong, Sibei Yang et al.NeurIPS 2025 · 3 citations
  4. Bi-directional Bias Attribution: Debiasing Large Language Models without Modifying PromptsYujie Lin, Kunquan Li, Yixuan Liao, Xiaoxin Chen et al.ICLR 2026 · 6 citations
  5. He is very intelligent, she is very beautiful? On Mitigating Social Biases in Language Modelling and GenerationAparna Garimella, Akhash Amarnath, Kiran Kumar, Akash Pramod Yalla et al.ACL Findings 2021 · 32 citations
Dusk over the sea between two cliffs drawn in fine vertical lines