White-Box Sensitivity Auditing with Steering Vectors
Hannah Cyberey, Yangfeng Ji, David Evans
TL;DR
This work introduces a white-box sensitivity auditing framework for large language models that leverages activation steering to manipulate internal concept representations and assess model dependence on protected attributes. By extracting steering vectors for gender and race and applying controlled internal perturbations, the method measures directional sensitivity and tests invariance versus dependence against predefined task requirements. Across four high-stakes decision tasks, the approach consistently reveals bias risks that are often missed by traditional black-box input-output testing, and demonstrates robustness to different steering vectors and datasets. The framework enhances audit validity and interpretability, with practical implications for regulators and practitioners seeking reliable bias assessments in LLMs, supported by open-source code.
Abstract
Algorithmic audits are essential tools for examining systems for properties required by regulators or desired by operators. Current audits of large language models (LLMs) primarily rely on black-box evaluations that assess model behavior only through input-output testing. These methods are limited to tests constructed in the input space, often generated by heuristics. In addition, many socially relevant model properties (e.g., gender bias) are abstract and difficult to measure through text-based inputs alone. To address these limitations, we propose a white-box sensitivity auditing framework for LLMs that leverages activation steering to conduct more rigorous assessments through model internals. Our auditing method conducts internal sensitivity tests by manipulating key concepts relevant to the model's intended function for the task. We demonstrate its application to bias audits in four simulated high-stakes LLM decision tasks. Our method consistently reveals substantial dependence on protected attributes in model predictions, even in settings where standard black-box evaluations suggest little or no bias. Our code is openly available at https://github.com/hannahxchen/llm-steering-audit
