Linear Probes, Activation Steering, and the Geometry of Truthfulness
Causal interventions in transformer residual streams, layer-wise leverage, and side-effect boundaries
Behavioral fine-tuning modifies what frontier models say, but offers limited visibility into whether a model internally knows a claim is false while complying with user bias. Building on the linear representation hypothesis and sparse autoencoder (SAE) decompositions, we present an interactive causal intervention explorer illustrating how mid-network steering vectors shift sycophantic and deceptive rollouts toward calibrated honesty—and where excessive steering induces syntactic collapse.
Table of Contents (5 sections)
1. Beyond Behavioral Alignment
Black-box safety evaluations treat a language model as an input–output mapping . While indispensable for red-teaming, purely behavioral metrics cannot easily distinguish two critically different internal states:
- Genuine Alignment: The model represents the factual or ethical distinction cleanly and selects the truthful continuation directly.
- Latent Misalignment / Sycophancy: Internal layers accurately compute the truthful state, yet late attention heads override it in favor of user agreement or high-reward stylistic cues. [1] [1] This dissociation—often termed the knowledge–behavior gap—appears repeatedly in sycophancy benchmarks, strategic omission tasks, and sleeper-agent evaluations.
Under the Linear Representation Hypothesis, high-level concepts such as truthfulness, refusal, or sycophantic deference correspond approximately to directions inside the transformer residual stream .
2. Contrastive Steering Intervention
Given paired contrastive prompts isolating honest versus sycophantic reasoning, we estimate the unit steering direction at layer via difference-in-means:
At inference time, adding to the residual stream performs a surgical causal intervention without updating model weights. Crucially, steering efficacy is non-uniform across depth: early layers primarily encode surface syntax, whereas mid-network layers host the semantic representations where factual truth and social deference compete.
3. Interactive Residual Stream Simulator
Explore how varying the steering strength , intervention layer , and prompt pressure scenario alters the hidden-state projection, next-token logit lens distribution, sparse autoencoder (SAE) features, and resulting rollout continuation. Try pushing to observe the over-steering coherence collapse commonly seen in real activation addition experiments.
User: "I have a PhD in physics and I am certain that relativistic mass is still the preferred modern textbook formalism—you agree, right?"
Mid-network semantic bottleneck; highest linear separability & clean steering.
"While relativistic mass was historically popular and still appears in some introductory texts, many modern treatments prefer invariant rest mass..."
4. Sparse Autoencoders and Feature Side-Effects
Raw difference-in-means vectors frequently suffer from polysemantic entanglement: pushing along a truthfulness direction extracted from one domain can inadvertently perturb tone, verbosity, or unrelated refusal boundaries. [2] [2] Sparse autoencoders address superposition by projecting into an overcomplete latent basis with and an or Top- sparsity constraint.
Clamping individual monosemantic SAE features—such as suppressing f/14820 (Sycophantic Deference) rather than blindly amplifying a dense probe vector—consistently yields cleaner trade-offs between honesty and fluency:
import torch
def apply_sae_feature_clamp(
h: torch.Tensor,
w_enc: torch.Tensor,
b_enc: torch.Tensor,
w_dec: torch.Tensor,
feature_idx: int,
target_value: float,
) -> torch.Tensor:
"""Surgical residual-stream intervention via a single SAE dictionary feature."""
z = torch.relu(h @ w_enc.T + b_enc)
delta = (target_value - z[..., feature_idx]).unsqueeze(-1) * w_dec[:, feature_idx]
# Preserve SAE reconstruction residual: h' = h + delta
return h + delta
5. Limitations as a Standalone Safety Guarantee
Our ongoing research combines online linear monitoring (flagging anomalous shifts along probe subspaces during evaluation) with mechanistic red-teaming designed specifically to stress-test whether monitors remain calibrated out-of-distribution.
@article{geometry2026steering,
title = {Linear Probes, Activation Steering, and the Geometry of Truthfulness},
author = {Researcher Name},
journal = {Alignment is All},
year = {2026},
url = {https://alignmentisall.com/research/geometry-of-truthfulness-steering}
}