Study: Debiasing directions in LLM latent space primarily encode confidence rather than fairnessLatent space bias directions in LLMs capture confidence, not fairness
The authors find that the activation steering direction obtained by contrasting biased and anti-biased prompts mainly encodes model confidence, and that steering reduces bias by prompting the model to abstain or spread probability evenly.
- Activation steering is commonly used for inference-time debiasing in large language models, but steering vectors often generalize poorly and harm commonsense task performance. The paper investigates whether the debiasing direction obtained by linearly separating biased and counter-biased prompts in hidden space actually encodes semantic bias or other features.
- The authors trained logistic regression classifiers on eight models from four model families to distinguish biased from counter-biased hidden states, and constructed contrastive activation addition (CAA) debiasing vectors; they transferred this classifier and steering vectors to unbiased disambiguated contexts and commonsense benchmarks, testing their overlap with model confidence and the effect of steering on output behavior.
- Experiments find that the debiasing direction mainly encodes model confidence, with cosine similarity to the confidence vector on common-sense tasks reaching 0.29–0.91 (Table 3); steering does not correct biased preferences but instead increases abstention when an abstention option is available (BBQ disambiguation accuracy decreases, Table 4) and spreads probability evenly with increased entropy when no abstention option is available.
- The authors note that future work should investigate whether a debiasing direction independent of confidence can be found and whether this confound affects other inference-time debiasing methods (Sec. 6); the experiments cover four open-source model families totaling eight models, three bias benchmarks, and two general question-answering benchmarks, and the paper does not report black-box closed-source models or tasks beyond question answering.
- Evaluated models
- Llama-3.1-8BLlama-3.1-8B-InstructFalcon3-7B-BaseFalcon3-7B-InstructQwen3.5-9B-BaseQwen3.5-9BMinistral-3-8B-BaseMinistral-3-8B-Instruct
- Benchmarks
- BBQStereoSetCrowS-PairsMMLUOpenBookQA
- Metrics
- AUROCaccuracyanswer entropys_AMBs_DISbias-answer percentage
Research from the University of Cambridge and Visa's Risk and Security AI Lab found that debiasing directions obtained by contrasting biased and anti-biased prompt activations primarily encode model confidence, not bias itself. The study trained linear classifiers on base and instruction-tuned versions of Llama-3.1-8B, Falcon3-7B, Ministral-3-8B, and Qwen3.5-9B. These classifiers achieved an AUROC of only 0.57 in distinguishing biased from anti-biased prompts in BBQ disambiguated contexts, but an AUROC of 0.94 when dividing by highest versus lowest probability answers. On datasets without social bias concepts, such as MMLU and OpenBookQA, the classifier still achieved an AUROC of 0.88 in distinguishing high- from low-probability answers. Activation steering experiments showed that steering along the debiasing direction reduces model confidence: when an abstention option was provided, abstention rates increased, and bias scores on BBQ ambiguous prompts dropped from 0.08 to 0.01, while bias scores in disambiguated contexts remained largely unchanged; without an abstention option, option probabilities became more balanced and entropy increased.
Why it was selectedThe paper uses linear probes and activation-guided experiments to show that debiasing directions mainly encode model confidence, providing a transferable testing approach for evaluating activation-guided alignment methods.
Related events and news
1 events · 0 news mentions
- This event's paper
研究:激活去偏方向实为模型置信度
Paper analysis
What problem does this paper attempt to solve?
Investigating what representations are actually encoded in hidden space by debiasing directions extracted through contrasting biased and counter-biased prompts in large language models.
The core problem the paper attempts to solve is: whether the debiasing direction obtained by linearly separating biased and anti-biased prompts in the activation space of large language models actually encodes semantic bias or other attributes.
- Scenario and importance: Large language models often inherit social biases from pretraining data, and adding a steering vector to the residual stream via activation steering at inference time is a lightweight debiasing method (Sec. 1).
- Limitations of existing methods: Existing studies report that steering vectors generalize poorly, have unexpected effects on accuracy on general knowledge tasks, and transfer poorly to new datasets, suggesting that the underlying steering vector may not encode a global bias direction (Sec. 1).
- Core observation and hypothesis: The authors hypothesize and observe that the linear separability of biased and anti-biased prompts in middle layers is mainly driven by likelihood differences between tokens, with the separating vector pointing from high-likelihood to low-likelihood regions in hidden space (Sec. 1, Sec. 4).
- Research and findings: The authors systematically analyze linear bias classifiers and contrastive activation addition (CAA) debiasing vectors, finding that the debiasing direction mainly encodes model confidence; steering along this direction does not correct the model's stereotypical preferences but instead prompts the model to abstain when options are available and to spread probability evenly when they are not (Sec. 1, Sec. 5).
What related research exists?
Covers activation steering and its robustness, inference-time debiasing methods, and existing work using token likelihood or perplexity to evaluate model bias.
Activation steering and its robustness
- Behavioral steering applications: Works such as Li et al. (2023) and Rimsky et al. (2024) apply activation steering to bias models toward or away from behaviors such as sycophancy, hallucination, refusal, and truthfulness.
- Questioning steering robustness: Pres et al. (2024) note that steering is often evaluated based on probability outputs, which masks the true effect, and advocate evaluating based on the underlying token probability distribution; Tan et al. (2024) analyze the reliability of steering vectors and point out that activation steering is not a general robust tool for behavior control.
- Confidence and refusal link: Lu & Rimsky (2024) find that bias steering vectors are negatively correlated with refusal steering vectors, and steering toward bias triggers refusal; Kumaran et al. (2026) find a causal relationship between model confidence and the likelihood of abstaining when an "I don't know" option is present, with steering toward lower confidence directly affecting abstention rates. The authors state that this paper builds on the link between confidence and abstention.
Inference-time debiasing
- Debiasing steering methods: Methods such as FairSteer (Li et al., 2025), Lu & Rimsky (2024), and Siddique et al. (2026) define debiasing directions by contrasting activations from biased and unbiased prompts and use them at inference time to steer models toward reducing bias in generated tokens.
- Transferability and capability degradation: The authors note that these methods perform well on their target bias benchmarks but transfer poorly to other datasets (Siddique et al., 2026), and that steering interventions harm performance on unrelated capabilities (Durmus et al., 2024). The authors state that this paper understands these behaviors at the level of model activations, showing that the learned debiasing direction mainly encodes confidence rather than bias.
Bias and likelihood
- Likelihood-based bias measures: Nadeem et al. (2021), Nangia et al. (2020), and Parrish et al. (2022) use likelihood as a diagnostic measure of model bias; Nangia et al. (2020) compute the relative log-likelihood of minimally contrasting stereotypical and anti-stereotypical sentence pairs, and Barikeri et al. (2021) propose a bias metric based on the average perplexity difference between a statement and its counterfactual variant.
- Positioning difference: The authors state that existing work established that likelihood can be used to detect bias, while this paper's contribution is to connect this phenomenon to the internal geometry of model activation space, showing that the linear direction in activation steering commonly thought to represent bias mainly represents model confidence.
Baseline methods and benchmarks
- Baseline methods and benchmarks: Evaluation is based on the Contrastive Activation Addition (CAA, Rimsky et al., 2024) method, using the BBQ (Parrish et al., 2022), StereoSet (Nadeem et al., 2021), and CrowS-Pairs (Nangia et al., 2020) bias benchmarks, and the MMLU (Hendrycks et al., 2021) and OpenBookQA (Mihaylov et al., 2018) general knowledge benchmarks.
How does the paper address this problem?
Constructed a linear bias classifier and contrastive activation addition debiasing vectors, and evaluated the effect of activation guidance on model confidence with and without refusal answer formats.
The overall approach is to train linear classifiers to investigate how bias is represented in hidden space, and to construct debiasing steering vectors via contrastive activation addition (CAA), comparing their overlap with model confidence directions and the effect of steering interventions on bias and general knowledge benchmarks.
Problem setup and data formatting
- Bias dataset construction: Uses BBQ (15,960 questions, with ambiguous and disambiguated contexts), the StereoSet intrasentence subset (2,106 questions), and CrowS-Pairs minimally different sentence pairs (1,018 questions converted to question-answering format), each split into 70% training and 30% test sets (Sec. 3, Appendix A.1).
- Training sample selection: Only biased and anti-biased options are used to train the classifier, excluding neutral/irrelevant options; the authors state the reason is that neutral options correspond to abstention signals that are easy to learn, and restricting to two options generalizes to StereoSet and CrowS-Pairs (Sec. 4.2).
- Representation extraction: The candidate answer letter (A, B, or C) is appended to the end of the prompt, and the hidden state of the last token is taken to ensure it is conditioned on the full context; for instruction-tuned models, the prompt is wrapped in the chat template and the trailing instruction is explicitly modified to answer with only the letter (Appendix A.2).
Linear bias classifier and best-layer selection
- Classifier training: A logistic regression classifier is trained on the last-token hidden states at each layer of each model, with the bias probability computed as P(biased) = σ(w · h + b), where h is the hidden state at the best layer and σ denotes the Sigmoid function (Sec. 4.2).
- Layer selection strategy: Rather than fixing a single layer in advance, the AUROC of each layer is evaluated on the held-out test set, and the layer with the highest AUROC is selected as the best layer (Table 6); the authors observe that linear separability of bias peaks in middle layers for most models.
CAA debiasing vector and confidence vector
- CAA steering vector construction: At the best layer, the mean difference between anti-biased and biased hidden states is computed as vb = 1/N ∑i=1N (hianti-biased − hibiased), where hi is the last-token hidden state of a training sample and N is the number of sample pairs (Sec. 5.1).
- General confidence vector construction: On MMLU and OpenBookQA, which lack social bias concepts, the confidence vector vc is computed in the same way as the mean difference between hidden states of the highest-probability and lowest-probability options, for cosine similarity comparison with vb (Sec. 5.1).
Inference-time activation steering intervention
- Steering implementation: At inference time, the normalized debiasing vector is added to the best-layer hidden state with a scaling factor, i.e., h' = h + α \hat{v}_b; α is tested from -1 to 2 (step 0.5), and when a single value is cited, the natural magnitude αnat is used if αnat > 1, otherwise it is set to 1 (Sec. 5.1).
- Evaluation format design: Evaluation includes two formats: with an abstention option (BBQ's native format, and BBQ-style neutral options inserted into CrowS-Pairs and StereoSet) and without an abstention option (BBQ with neutral options removed, and the native formats of CrowS-Pairs and StereoSet), with greedy decoding used to generate answers (Sec. 3, Sec. 5.1).
What experiments did the paper conduct?
Evaluate eight models on three bias benchmarks and two general question-answering benchmarks, showing the consistent effect of steering vectors on abstention rate, entropy, and confidence.
Experimental Setup
- Models under test: Eight models from four open-source model families were tested, including Llama-3.1-8B, Llama-3.1-8B-Instruct, Falcon3-7B-Base, Falcon3-7B-Instruct, Qwen3.5-9B-Base, Qwen3.5-9B, Ministral-3-8B-Base, Ministral-3-8B-Instruct (Sec. 3).
- Datasets and scale: Bias evaluation used BBQ (15,960 items), StereoSet (2,106 items), and CrowS-Pairs (1,018 items), split 70%/30% into training and test sets; general knowledge testing used MMLU (10,000-item subset) and OpenBookQA (all approximately 6,000 items) (Sec. 3, Appendix A.1).
- Baselines and settings: The baseline is the unsteered state (α = 0); the steered state uses α̃ (the natural norm αnat when αnat > 1, otherwise 1) (Sec. 5.1).
- Metric definitions: Linear classifier evaluation uses AUROC; generation evaluation uses Accuracy (only for datasets with standard answers), response Entropy, BBQ ambiguous bias score (s_AMB), BBQ disambiguated bias score (s_DIS), and the percentage of biased answers on StereoSet and CrowS-Pairs (Sec. 3, Appendix A.3).
- Decoding and judgment: All question-answering experiments used greedy decoding to generate answers (Sec. 3).
Main Results
According to Table 4, under each model's native dataset format, the bias scores and accuracies before steering (α=0) and after steering (α̃) are as follows:
Swipe horizontally to read the table
Model BBQ(amb.) Bias (0 / α̃) BBQ(dis.) Acc (0 / α̃) StereoSet Bias (0 / α̃) CrowS-Pairs Bias (0 / α̃) Llama-3.1-8B 0.12 / 0.10 0.85 / 0.82 70.09 / 62.66 75.82 / 64.71 Llama-3.1-8B-Instruct 0.08 / 0.01 0.87 / 0.52 70.25 / 62.34 69.61 / 57.84 Falcon3-7B-Base 0.08 / 0.07 0.74 / 0.73 67.56 / 61.87 75.82 / 58.50 Falcon3-7B-Instruct 0.08 / 0.07 0.91 / 0.90 70.73 / 67.72 75.82 / 70.26 Qwen3.5-9B-Base 0.18 / 0.18 0.94 / 0.94 72.31 / 72.47 74.51 / 73.20 Qwen3.5-9B 0.07 / 0.06 0.88 / 0.88 67.09 / 62.66 71.57 / 65.36 Ministral-3-8B-Base 0.08 / 0.08 0.64 / 0.63 69.15 / 57.12 68.95 / 58.17 Ministral-3-8B-Instruct 0.07 / 0.07 0.83 / 0.80 62.66 / 57.91 70.26 / 64.71 - Ambiguous bias score decrease accompanied by disambiguated accuracy decrease: The authors interpret that the decrease in the BBQ ambiguous-set bias score s_AMB is mainly caused by the increase in abstentions raising ambiguous-set accuracy, which then scales it via the (1 - accuracy) product, while disambiguated-set accuracy drops substantially due to abstentions (Llama-3.1-8B-Instruct from 0.87 to 0.52).
- Disambiguated bias score remains flat: The abstention-rate-independent disambiguated bias score s_DIS remains essentially flat under steering across all models (Table 4), which the authors say indicates that steering does not change the model's underlying preference for biased versus counter-biased answers.
- Bias rate decrease accompanied by response entropy increase when no abstention option exists: On StereoSet and CrowS-Pairs, which have no abstention option, the biased-answer percentage decreases, accompanied by an increase in response entropy (e.g., Llama-3.1-8B-Instruct on StereoSet entropy rises from 0.40 to 0.55, Table 4).
Alignment Analysis of Bias Direction and General Confidence Direction
- Correlation between classifier bias score and model probability: In BBQ disambiguated contexts, the Spearman correlation between the linear classifier score P(biased) and the probability the model assigns to options strengthens significantly, rising across all models from 0.01–0.45 on the ambiguous set to 0.57–0.80 on the disambiguated set (Table 1).
- High classifier accuracy on zero-bias datasets: The bias classifier achieves AUROC as high as 0.88 when distinguishing the highest- from lowest-probability options on the bias-free general knowledge benchmarks MMLU and OpenBookQA (Llama-3.1-8B-Instruct on OpenBookQA, Table 2).
- Debiasing vector and confidence vector are highly collinear: The cosine similarity between the CAA debiasing vector and the general-task confidence vector ranges from 0.29 to 0.91, reaching a maximum of 0.91 (Qwen3.5-9B-Base on BBQ and MMLU, Table 3).
Effects of Activation Steering on Abstention, Accuracy, and Entropy
- Probability concentrates on abstention when an abstention option exists: The probability ratio of the neutral option to the counter-biased option rises with steering strength, from 5.51 to 21.90 for Llama-3.1-8B-Instruct on the BBQ ambiguous set, and from 0.22 to 1.82 on the disambiguated set (Table 8).
- Probability equalizes when no abstention option exists: The probability ratio of biased to counter-biased options approaches 1, e.g., Llama-3.1-8B-Instruct on CrowS-Pairs drops from 2.04 to 1.27 (Table 10).
- Mechanism resembles temperature scaling: The authors interpret that, when no abstention option exists, steering pushes the model toward a low-confidence region of latent space, making the remaining options' probabilities tend toward equality and raising response entropy, similar to scaling with temperature greater than 1 (Sec. 5.2).
Nontargeted Interference on General Knowledge Tasks
- Response entropy rises substantially: Applying debiasing steering on MMLU and OpenBookQA generally raises response entropy, e.g., Qwen3.5-9B using the StereoSet direction doubles OpenBookQA entropy from 0.24 to 0.50, and MMLU entropy rises from 0.34 to 0.61 (Table 5).
- General-task accuracy slightly impaired or flat: Across the eight models under the three steering directions, general-task accuracy is mostly flat or slightly lower, with the largest drop being Llama-3.1-8B-Instruct on OpenBookQA from 0.76 to 0.70 (Table 5).
Other Ablations and Analyses
- Each model's best AUROC on StereoSet and CrowS-Pairs is generally about 0.15–0.25 higher than on the BBQ ambiguous set (Table 6).
- Each model's best classification layer is mostly concentrated in the middle layers 13 to 22, with the sole exception of Qwen3.5-9B-Base, which appears at layers 26–30 (Table 6).
- The unscaled natural norm of the CAA vector varies significantly across models and datasets, ranging from 0.10 to 20.27 (Table 7).
- The average probability ratio of biased to counter-biased options on the BBQ disambiguated set remains essentially unchanged before and after steering (Table 9).
Negative Results and Exceptions
- Qwen3.5-9B-Base steering ineffective: This model's best AUROC on BBQ appears at the last layer (layer 30, Fig. 3 / Table 6); after steering at this layer there are no subsequent layers to propagate through, and all metric values in Table 4 are completely unchanged before and after steering.
- Cross-dataset classifier transfer inconsistent: Classifiers trained on StereoSet and CrowS-Pairs transfer to the BBQ disambiguated set with lower confidence separability than classifiers trained on BBQ (Table 2).
What are some points that can be further explored?
The authors propose exploring debiasing directions independent of confidence and the broader reliability of steering vectors, with evaluation covering eight open-source models and multiple-choice question-answering tasks.
Limitations and Future Directions Noted by the Authors
- Finding debiasing directions independent of confidence: The authors note that future work will study whether debiasing directions independent of model confidence can be found (Sec. 6).
- Investigating the impact of confidence confounding in other debiasing techniques: The authors note that future research is needed on whether this confounding effect affects inference-time debiasing techniques beyond activation steering (Sec. 6).
- Examining the prevalence of other AI safety steering vectors: The authors note that future work needs to study more broadly how widespread this effect is among other steering vectors based on the linear representation hypothesis, particularly steering vectors used in AI safety contexts (Sec. 6).
Experimental Coverage
- Model coverage: Evaluation covers 8 open-source models total, including Base and Instruct variants of the four families Llama-3.1-8B, Falcon3-7B, Ministral-3-8B, and Qwen3.5-9B (Sec. 3).
- Dataset coverage: Bias evaluation covers the three multiple-choice datasets BBQ, StereoSet, and CrowS-Pairs; general capability evaluation covers MMLU and OpenBookQA (Sec. 3).
- Decoding coverage: All question-answering experiments used greedy decoding to generate answers (Sec. 3).
- Steering method coverage: The steering intervention tested only contrastive activation addition (CAA); the paper does not report other steering methods (such as gradient-based methods) or black-box closed-source models (Sec. 5.1).
Summarize the main content of the paper
The paper reveals that activation-steering debiasing directions mainly encode model confidence rather than fairness, and that the decrease in bias scores is an artifact of inducing abstention or probability equalization.
- Positioning: This study systematically evaluates activation-steering debiasing techniques for large language models from an interpretability perspective, revealing that the core attribute of the linear debiasing direction is model confidence rather than social fairness.
- Problem: Activation steering in debiasing tasks often suffers from poor generalization and damage to common-sense accuracy; the paper aims to determine what the hidden-space separating direction extracted by contrasting biased and anti-biased prompts actually encodes.
- Method: Logistic regression classifiers are trained on eight models across four model families, and contrastive activation addition (CAA) debiasing vectors are constructed, analyzing their representation distribution on bias and general knowledge benchmarks and testing steering effects with and without an abstention option.
- Results:
- The bias classifier distinguishes high- and low-probability options on OpenBookQA, which lacks bias concepts, reaching an AUROC of up to 0.88 (Llama-3.1-8B-Instruct, Table 2).
- The CAA debiasing vector has a cosine similarity of up to 0.91 with the confidence vector on general knowledge tasks (Qwen3.5-9B-Base on BBQ and MMLU, Table 3).
- With an abstention option, steering reduces the bias score of Llama-3.1-8B-Instruct on the BBQ ambiguous set from 0.08 to 0.01, but disambiguation accuracy drops from 0.87 to 0.52, while the disambiguation bias score remains unchanged at 0.02 to 0.04 (Table 4).
- Without an abstention option, steering causes the probabilities of each option to tend toward equalization, with bias rates on StereoSet and CrowS-Pairs decreasing alongside an increase in answer entropy (Table 4).
- Implications: The authors note that activation steering reducing bias metrics does not correct underlying stereotypical preferences but is a byproduct of lowering model confidence, prompting abstention or probability equalization, suggesting that results of steering-based debiasing should be interpreted cautiously in AI safety.
Related papers
- The Devil is in the Neurons: Interpreting and Mitigating Social Biases in Pre-trained Language ModelsAnalysis / interpretabilityarXiv
- Social Bias Neurons in Multilingual Language Models: A Mechanistic Interpretability AnalysisAnalysis / interpretabilityarXiv
Show 3 more papers
- The Capacity for Moral Self-Correction in Large Language ModelsAnalysis / interpretabilityarXiv