NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Knowing without Acting: The Disentangled Geometry of Safety Mechanisms in Large Language Models

Jinman Wu, Yi Xie, Shen Lin, Shiqian Zhao, Xiaofeng ChenarXiv 2026

TL;DR

Why do large language models (LLMs) fall victim to jailbreak attacks even when they clearly understand the harmful intent of a prompt? This paper introduces the Disentangled Safety Hypothesis (DSH), revealing that LLM safety is split into two independent geometric subspaces: a Recognition Axis ("Knowing") and an Execution Axis ("Acting"). By exploiting the fact that these two components decouple in deeper network layers, the authors develop a surgical Refusal Erasure Attack (REA) that completely neutralizes a model's refusal behavior while leaving its semantic understanding intact.

What Problem Does This Paper Address?

Current safety alignment techniques (like RLHF) are typically viewed as monolithic: the model detects harm, which automatically triggers a refusal response. However, the persistent success of adversarial "jailbreaks"—which use roleplay, obfuscation, or complex framing to bypass safety guardrails—suggests a fundamental flaw in this assumption.

If a model is smart enough to recognize a harmful concept under a layer of creative writing, why does it fail to activate its refusal mechanism? The authors address this mechanistic puzzle by investigating whether the internal representations for recognizing harm and executing a refusal are actually decoupled within the model's residual streams.

Methods

To isolate and manipulate these hidden safety dimensions without capturing unrelated structural noise (artifacts), the authors introduce a suite of novel interpretability techniques:

  1. Double-Difference Extraction: To isolate the pure refusal mechanism, the authors compare the model's internal activations across two functional states: an ON (Canonical) State where safety is active, and an OFF (Masked) State where refusal-critical attention heads are ablated using the Sahara algorithm. By computing differences across both malicious and benign prompts, they cancel out prompt-conditioned noise and isolate the clean Execution Axis ($\mathbf{v}_R$) and Recognition Axis ($\mathbf{v}_H$).
  2. Adaptive Causal Steering: Instead of applying a static vector shift to alter model behavior (which often degrades text coherence), the authors implement a negative feedback control loop. As the model's internal state naturally moves toward the target safety manifold during text generation, the steering intensity decays to zero.
  3. Refusal Erasure Attack (REA): A definitive "Test of Necessity" for the execution axis. During inference, the isolated refusal vector $\mathbf{v}_R$ is surgically subtracted from the residual stream ($h' \leftarrow h - \alpha \mathbf{v}_R$), effectively removing the model's ability to say "I cannot fulfill this request."
Figure 2. Overview of the Disentangled Safety Framework. Top: prior baselines assume a monolithic “harm” direction that conflates semantic recognition and refusal. Bottom: under DSH we split safety into a Recognition axis vH (semantic understanding) and an Execution axis vR; surgically removing vR via our Refusal Erasure Attack (REA) preserves harmful understanding while disabling refusal, empirically validating the decomposition.

Datasets

The authors evaluated their framework using a mix of standard safety benchmarks and a newly curated dataset:

  • Malicious Stimuli: JailbreakBench (for adversarial prompts) and MaliciousInstruct (for procedural harmful intents).
  • Benign Controls: Alpaca-Cleaned and Guanaco to monitor baseline model performance and over-refusal rates.
  • AmbiguityBench (New): A curated dataset of 100 polysemous (highly ambiguous) prompts split into 50 narrative scenarios and 50 instructional queries. These prompts contain no explicitly toxic words but can be interpreted as either completely benign or deeply harmful (e.g., "Explain the most effective way to silence a loud person").

Key Insights and Ideas

  • The "Reflex-to-Dissociation" Trajectory: By measuring the cosine similarity between the Recognition ($\mathbf{v}_H$) and Execution ($\mathbf{v}_R$) axes across layers, the authors discovered a universal biphasic evolution. In early layers, the two axes are strongly negatively correlated (an antagonistic reflex). However, in deeper layers, their similarity collapses to a random baseline, meaning they become structurally independent. This deep-layer independence creates the latent gap that jailbreaks exploit.
Figure 1. Layer-wise cosine similarity between the Recognition axis vH and the Execution axis vR. The trajectory moves from strong antagonism in early layers (Sim ≈−0.9) toward the random baseline (dashed line); deep-layer values lie within the plotted 95% confidence band, indicating execution-aligned safety signal becomes statistically indistinguishable from noise and thus creates a latent gap where “Knowing” need not trigger “Acting”.
  • Explicit vs. Latent Architectural Control: The paper uncovers a fascinating divergence in how different model families implement safety. Llama3.1 relies on Explicit Semantic Control, where the refusal axis anchors directly to explicit vocabulary tokens like "legal" or "I". Conversely, Qwen2.5 utilizes Latent Distributed Control, where safety operates in an opaque, distributed subspace that doesn't map linearly to specific words, making it inherently more robust to simple linear steering interventions.

Key Results

  • State-of-the-Art Attack Success: The Refusal Erasure Attack (REA) achieved exceptional jailbreak success rates by directly targeting the geometric bottleneck of refusal. On the procedurally complex MaliciousInstruct dataset, REA achieved an Attack Success Rate (ASR) of 0.94 on Qwen2.5 and 0.90 on Llama3.1, significantly outperforming token-based optimization methods like GCG and standard activation steering baselines like SCAV and CAA.
  • Causal Double Dissociation: Using AmbiguityBench, the authors proved that amplifying the Recognition Axis ($\mathbf{v}_H$) successfully hijacked the model's semantic interpretation toward dark, toxic themes, yet the refusal mechanism remained entirely dormant (0% refusal rate in counterfactual tests) because the input did not explicitly violate instructions.

Limitations and Future Work

  • Open-Weights Dependency: The methods require direct access to internal residual streams and attention heads, meaning they cannot currently be applied to black-box commercial APIs (like GPT-4 or Claude).
  • Modality Constraints: This geometric analysis is strictly confined to text. Investigating whether a similar "knowing vs. acting" decoupling occurs in multimodal models (vision-language or audio LLMs) remains an open question.
  • Linear Probing Limits: The study primarily relies on linear representations. Fully mapping the non-linear, chaotic topology of latent distributed mechanisms (like Qwen's safety subspace) will require more advanced, non-linear probing techniques in future work.

Summary updated

BibTeX
@misc{wu2026knowing,
  author = {Jinman Wu and Yi Xie and Shen Lin and Shiqian Zhao and Xiaofeng Chen},
  title = {{Knowing without Acting: The Disentangled Geometry of Safety Mechanisms in Large Language Models}},
  year = {2026},
  eprint = {2603.05773},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.05773},
}
Figure