paper-with-me

Papers

FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steering

2025-04-20 · Yichen Li, Zhiting Fan, Ruizhe Chen, Xiaotang Gai, Luqi Gong, Yan Zhang, Zuozhu Liu

Large language models (LLMs) are prone to capturing biases from training corpus, leading to potential negative social impacts. Existing prompt-based debiasing methods exhibit instability due to their sensitivity to prompt changes, while fine-tuning-based techniques incur substantial computational overhead and catastrophic forgetting. In this paper, we propose FairSteer, a novel inference-time debiasing framework without requiring customized prompt design or model retraining. Motivated by the linear representation hypothesis, our preliminary investigation demonstrates that fairness-related features can be encoded into separable directions in the hidden activation space. FairSteer operates in three steps: biased activation detection, debiasing steering vector (DSV) computation, and dynamic activation steering. Specifically, it first trains a lightweight linear classifier to detect bias signatures in activations, and then computes DSVs as intervention directions derived from small contrastive prompt pairs. Subsequently, it performs debiasing by adjusting activations with DSVs in the inference stage. Comprehensive evaluation with six LLMs demonstrates the superiority of FairSteer across question-answering, counterfactual input evaluation and open-ended text generation tasks. Code will be released.

📄 PDF Abstract BibTeX arXiv:2504.14492

Code (0)

등록된 구현이 없습니다.

Tasks

counterfactualFairnessQuestion AnsweringText Generation

Similar Papers 제목 키워드 기반

Beyond Spurious Signals: Debiasing Multimodal Large Language Models via Counterfactual Inference and Adaptive Expert Routing

2025-09-18 · Zichen Wu, Hsiu-Yuan Huang, Yunfang Wu arxiv

Multimodal Large Language Models (MLLMs) have shown substantial capabilities in integrating visual and textual information, yet frequently rely on spurious correlations, undermining their robustness and generalization in…

Multimodal ReasoningSentiment AnalysisSarcasm Detection

Beyond Hidden-Layer Manipulation: Semantically-Aware Logit Interventions for Debiasing LLMs

2025-10-25 · Wei Xia arxiv

We proposed Static and Dynamic -- two zero-shot logits-layer debiasing methods. Dynamic reduces bias by up to 70% with minimal fluency loss. Logits intervention outperforms hidden-layer approaches. We show semantic-aware…

DebiasRAG: A Tuning-Free Path to Fair Generation in Large Language Models through Retrieval-Augmented Generation

2026-05-15 · Rui Chu, Bingyin Zhao, Thanh Quoc Hung Le, Duy Cao Hoang 외 arxiv

Large language models (LLMs) have achieved unprecedented success due to their exceptional generative capabilities. However, because they depend on knowledge encapsulated from training corpora, they may produce hallucinat…

Prompt Engineering

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

2025-05-28 · Xiaoqing Cheng, Ruizhe Chen, Hongying Zan, Yuxiang Jia 외

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 effectiv…

Fairness

Teacher-Student Training for Debiasing: General Permutation Debiasing for Large Language Models

2024-03-20 · Adian Liusie, Yassir Fathullah, Mark J. F. Gales

Large Language Models (LLMs) have demonstrated impressive zero-shot capabilities and versatility in NLP tasks, however they sometimes fail to maintain crucial invariances for specific tasks. One example is permutation se…