AI
New White-Box Method Reveals Hidden Bias in Large Language Models That Black-Box Tests Miss
Researchers propose a technique using steering vectors to audit LLMs by examining their internal workings, uncovering substantial gender bias in high-stakes decision tasks where conventional evaluations found little or none.
A team of computer scientists has developed a more effective way to detect bias in large language models by looking inside their computational processes rather than just observing their outputs. The work addresses a significant gap in how AI systems are currently audited for fairness.
The Limitation of Current Auditing Practices#
Existing audits of large language models typically rely on black-box evaluation methods, which test a model by feeding it inputs and examining what it produces. This approach has critical drawbacks: auditors can only construct tests based on what they can express in text, and many socially important properties—like gender bias—are abstract concepts that are difficult to measure through input-output interactions alone. These text-based heuristics often miss subtle but meaningful patterns of unfair behavior.
How the New Method Works#
The researchers propose a white-box sensitivity auditing framework that uses activation steering to probe model behavior at the internal level. Rather than relying solely on text prompts, the technique directly manipulates key concepts within the model's neural computations that are relevant to its decision-making task. This allows auditors to conduct controlled sensitivity tests by adjusting these internal representations and observing how predictions change.
Testing in High-Stakes Scenarios#
The team applied their method to four simulated high-stakes decision tasks where language models are asked to make consequential choices. Across these scenarios, their internal auditing approach consistently revealed substantial dependence on protected attributes—such as gender—in the model's predictions. Crucially, many of these bias patterns went undetected by standard black-box evaluations, which suggested little or no bias in the same contexts.
Implications for AI Oversight#
The findings suggest that regulatory audits and operator-directed assessments of language models may be substantially underestimating the extent to which these systems exhibit discrimination. By examining model internals through steering vectors, auditors can identify fairness issues that surface-level testing overlooks, enabling more rigorous accountability and more informed decisions about where and how to deploy such systems. The researchers have made their code publicly available to support broader adoption of this auditing approach.

