Shifting Perspectives: Steering Vectors for Robust Bias Mitigation in LLMs

Zara Siddique, Irtaza Khalid, Liam D. Turner, Luis Espinosa-Anke
3/7/2025
cs.LGcs.AIcs.CL

No official code found. Best implementation: groovychoons/shifting-perspectives (8 stars, GPL-3.0, last commit 2026-02-16). 1 more below.

Abstract

We present a novel approach to bias mitigation in large language models (LLMs) by applying steering vectors to modify model activations in forward passes. We compute 8 steering vectors, each corresponding to a different social bias axis, such as age, gender, or race, on a training subset of the BBQ dataset and compare the effectiveness of these to 3 additional bias mitigation methods across 4 datasets. When optimized on the BBQ dataset, our individually tuned steering vectors achieve average improvements of 12.8% on BBQ, 8.3% on CLEAR-Bias, and 1% on StereoSet, and show improvements over prompting and Self-Debias in all cases, and improvements over fine-tuning in 12 out of 17 evaluations. In addition, steering vectors showed the lowest impact on MMLU scores of the four bias mitigation methods tested. The work presents the first systematic investigation of steering vectors for bias mitigation, and we demonstrate that they are a powerful and computationally efficient strategy for reducing bias in LLMs, with broader implications for enhancing AI safety.

View on arXivView PDF

Code Implementations(2)

GPL-3.0

The official repo for the paper 'Shifting Perspectives: Steering Vectors for Robust Bias Mitigation in LLMs'.

84TeX, PythonMar 7, 20258 months agoGPL-3.0
GPL-3.0

Shifting Perspectives: Steering Vectors for Robust Bias Mitigation in LLMs

00TeX, PythonDec 20, 202510 months agoGPL-3.0

Similar Papers

Cite this paper

@article{siddique2025shifting,
  title  = {Shifting Perspectives: Steering Vectors for Robust Bias Mitigation in LLMs},
  author = {Zara Siddique and Irtaza Khalid and Liam D. Turner and Luis Espinosa-Anke},
  year   = {2025},
  eprint = {2503.05371},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.05371v2}
}

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

Discussion