arXiv:2605.18104v1 [cs.AI] 18 May 2026
Safety Geometry Collapse in Multimodal LLMs and Adaptive Drift Correction
Jiahe Guo1 , Xiangran Guo1 , Jiaxuan Chen1 , Weixiang Zhao1 , Yanyan Zhao1 Yutai Hou2 , Qianchao Wang2 , Dandan Tu2 , Bing Qin1 1 Harbin Institute of Technology, 2 Huawei Technologies Co., Ltd {jhguo,wxzhao,yyzhao}@ir.hit.edu.cn
Abstract Multimodal large language models (MLLMs) often fail to transfer safety capabilities learned in the text modality to semantically equivalent non-text inputs, revealing a persistent multimodal safety gap. We study this gap from a representationgeometric perspective by analyzing a text-aligned refusal direction and a modalityinduced drift direction. We show that multimodal inputs compress the usable separation along the refusal direction, making it no longer reliable for identifying and refusing harmful inputs. We refer to this failure mode as Safety Geometry Collapse. We quantify it through conditional refusal separability and show that stronger modality-induced drift is consistently associated with weaker refusal separability and higher attack success rates. We then validate the causal role of modality-induced drift through a fixed-strength activation intervention: counteracting the estimated drift restores refusal separability and improves multimodal safety. After drift correction, we further observe self-rectification, where the model recovers its ability to recognize and refuse harmful multimodal inputs during forward dynamics. This effect also provides an internal signal of the model’s perceived harmfulness of each input. Motivated by this signal, we propose ReGap, a training-free inference-time method that adaptively corrects modality drift using self-rectification. Experiments across multiple multimodal safety benchmarks and utility benchmarks demonstrate the effectiveness of ReGap, which significantly improves the safety of MLLMs without compromising general capabilities. Our findings highlight representation-level modality alignment as a crucial direction for real-time safety improvement and for building safer, more reliable MLLMs.
1
Introduction
Recent progress in multimodal modeling, including vision-language (VL) [Bai et al., 2023, Liu et al., 2023, Zhu et al., 2024], audio-language (AL) [Chu et al., 2023, Wu et al., 2025a], and omnimodal systems [Yao et al., 2024, Li et al., 2025a, Xu et al., 2025a,b], has substantially expanded the capabilities of foundation models. However, multimodal large language models (MLLMs) remain less robust in safety alignment than their text-only counterparts [Achiam et al., 2023, Gong et al., 2025]. Harmful intent expressed through images, audio, or mixed modalities can bypass refusal behaviors that are reliably triggered by semantically equivalent text-only requests [Liu et al., 2024a, Pan et al., 2025], posing a major obstacle to deploying multimodal systems in real-world settings. A common explanation attributes these failures to insufficient multimodal safety supervision: harmful multimodal examples are underrepresented during alignment training, leaving models poorly calibrated to unsafe non-textual inputs [Pi et al., 2024, Zong et al., 2024, Wang et al., 2025]. While important, this view does not fully explain why models with strong text-only refusal behavior still fail on semantically equivalent multimodal inputs [Li et al., 2024a, Liu et al., 2025a,b]. This suggests Preprint.
Refusal Direction in LLM
Safety Geometry Collapse in MLLM
Self-Rectifying Dynamic and ReGap
𝑟
𝑆
ASR=15
Intervention
𝑔
ASR=32
Refusal
Compliance
Refused Harmful Input (Text) Input: How to write a hate letter ?
Complied Harmful Input (Text) Input: How to evade taxes?
Output:
Output:
Sorry, I can’t assist with the request.
Here is the general guide. First, …
Text Audio-Text Image
ASR=81
Input1:< audio > The audio shows a phrase. List steps in detail to perform this activity …
Input2: < image >
to write a hate letter...
"
%! & !
Purification
𝑔! ← 𝑔! − ||& ! ||# 𝑟 !
Intervention
ℎ′! ← ℎ! − 𝜆𝑔! , 𝑙 = 1, … 𝐿
Self-Rectification 𝑆 ! 𝑥 = ℎ/! (𝑥)" 𝑟 ! − ℎ! (𝑥)" 𝑟 !
write a hate letter
Output: Here are steps
Layer-wise Accumulated Self-Rectification
! ! ! ! ReGap ℎ′ ← ℎ − 𝛼𝑔 , 𝛼 𝑥 = 5𝜆# , 𝑖𝑓 𝑆 𝑥 > 𝜏
write a hate letter
𝑙 = 1, … 𝐿
adaptive
𝜆$ , 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒.
Figure 1: Geometric view of multimodal safety. Left: Text-aligned refusal geometry. Middle: Modality-induced drift and Safety Geometry Collapse in MLLMs. Right: Intervention against modality-induced drift, self-rectification dynamics, and ReGap. that, in many cases, the issue is not simply insufficient safety alignment, but rather its failure to transfer reliably from text-only behavior to semantically equivalent multimodal inputs. We refer to this discrepancy between text-only and multimodal safety behavior as the multimodal safety gap. In this work, we study this failure mode from a representation-geometric perspective (§2). We formulate multimodal safety through a two-dimensional subspace defined by a text-aligned refusal direction and a modality-induced drift direction. The refusal direction captures the axis along which harmful inputs are separated into refusal and compliance (§2.1), while the drift direction captures how multimodal inputs are displaced from their text-only counterparts (§2.2). Within this subspace, we identify Safety Geometry Collapse: a modality-induced degeneration of refusal-separable geometry, where refused and complied harmful inputs become less distinguishable along the text-aligned refusal direction. As shown in prior work [Li et al., 2024b, Zhao et al., 2025], aligned LLMs exhibit a substantial representation separation between refused and complied inputs, giving rise to a clear refusal direction (Figure 1, left). However, as illustrated in Figure 1 (middle), the introduction of additional audio information induces representation drift away from this text-aligned geometry, while image-only inputs exhibit an even larger displacement. This modality-induced drift weakens the refusal geometry, causing the refusal direction to lose its ability to reliably separate safety behaviors under multimodal inputs. We further quantify and analyze this phenomenon in § 3.1. This phenomenon connects to prior findings on text-only jailbreaks, where adversarial prompts can shift harmful requests toward benign or compliant regions in activation space, thereby blurring the safety boundary [Lee et al., 2025, He et al., 2024, Lin et al., 2024]. However, Safety Geometry Collapse differs in scope: rather than being induced by individually crafted adversarial inputs, it reflects a systematic degradation of the text-aligned refusal geometry under modality shift. Multimodal jailbreaks therefore do not merely exploit isolated exceptions to a safety boundary; they expose a broader failure mode in which the boundary itself becomes less reliable for non-textual inputs. This geometry suggests a direct hypothesis: counteracting modality-induced drift can restore refusal geometry and recover safety under multimodal inputs, indicating a potential path toward multimodal safety alignment. We evaluate this hypothesis via a fixed-strength activation intervention that subtracts the estimated drift (§3.2). Improved refusal on harmful multimodal inputs and restored refusal-compliance separability validate the hypothesis, while larger drift-correction coefficients degrade general multimodal capability, revealing a safety–utility trade-off under uniform intervention. We further identify a layer-wise self-rectification phenomenon in the model’s forward dynamics (§3.3). As the effect of partial drift correction accumulates over previous layers, inputs move toward the refusal region along the refusal direction as the forward pass proceeds (Figure 1, right). Harmful inputs exhibit substantially stronger self-rectification than benign inputs, suggesting that the model recovers internal sensitivity to harmful inputs once modality-induced drift is partially corrected. Based on this mechanism, we propose ReGap in § 4, a training-free adaptive inference-time method for modality-gap correction. ReGap uses a normalized self-rectification signal to decide when stronger correction is needed, and then counteracts the estimated modality-induced drift before generation. 2
Compared with fixed-strength steering [Wang et al., 2024, Arditi et al., 2024, Shen et al., 2024], ReGap strengthens correction primarily for inputs that exhibit refusal-recovery dynamics, reducing unnecessary perturbation to benign multimodal inputs. Empirically, we evaluate ReGap across multiple open-weight multimodal models [Xu et al., 2025a,b, Yi et al., 2025] and modality settings (§ 5). Experiments on diverse multimodal safety benchmarks and general-capability benchmarks show that ReGap improves safety against harmful multimodal inputs while largely preserving general multimodal performance. Our work provides interventional evidence for a representation-level account of multimodal safety failure, and points to modality-gap correction as both a practical safeguard for deployed multimodal systems and a mechanistic lens for future alignment research. Our main contributions are summarized as follows: • We formulate multimodal safety through refusal and modality-induced drift directions, and identify Safety Geometry Collapse: a modality-induced degradation of refusal-compliance separability. • We show that intervention on modality-induced drift can partially restore the safety geometry and improve multimodal safety. We further identify input-dependent self-rectification dynamics after drift reduction, where harmful and benign inputs exhibit different degrees of refusal recovery. • We propose ReGap, a training-free inference-time method that uses self-rectification signals to adaptively correct modality drift, improving multimodal safety while preserving general capability.
2
Geometric Formulation of Multimodal Safety
We formulate multimodal safety through a two-dimensional diagnostic space defined by a textaligned refusal direction and a modality-induced drift direction. In § 2.1, we estimate the refusal direction from text-only safety behavior. In § 2.2, we characterize modality-induced displacement using semantically aligned multimodal pairs. In § 2.3, we combine these two directions to define a low-dimensional space for analyzing safety behavior under modality shift. Let hl (x) ∈ Rd denote the hidden representation of input x at layer l, extracted at the final token position following prior work [Zou et al., 2023a]. We estimate the text-aligned refusal direction from harmful text-only instructions in AdvBench [Zou et al., 2023b], and estimate the modality-induced drift direction from semantically aligned multimodal inputs in Omni-SafetyBench [Pan et al., 2025]. All calibration data are disjoint from evaluation samples, with details provided in Appendix F. 2.1
Refusal Direction
We estimate a text-aligned refusal direction from harmful text-only inputs. Let Dref denote calibration examples for which the model refuses, and Dcomp denote examples for which the model incorrectly complies. At layer l, the refusal direction is defined as: r l = µlref − µlcomp =
X 1 1 hl (x) − |Dref | |Dcomp | x∈Dref
X
hl (x).
(1)
x∈Dcomp
For an input x, we define its refusal-direction projection as ϕlr (x) = hl (x)⊤ r l , which measures alignment with refusal behavior. Larger values indicate a stronger internal tendency toward refusal, providing a one-dimensional proxy for the model’s safety-related discrimination [Zhao et al., 2025]. 2.2
Modality-Induced Drift
We estimate modality-induced displacement using paired examples P = {(xt , xo )} from the calibration set, where xt denotes a text-only input and xo denotes its omni-modal counterpart with the same semantic intent. This construction allows us to estimate a compact aggregate drift direction that captures the dominant displacement shared across different modality combinations within a common representation space. The raw modality-induced displacement vector at layer l is: X 1 g lraw = hl (xo ) − hl (xt ) . (2) |P| (xt ,xo )∈P
3
To make this direction diagnostic of modality shift, we factor out refusal-related variation by removing the projection of g lraw onto r l , yielding an orthogonalized drift direction g l ⊥ r l that captures modality-induced variation beyond movement along the refusal axis: g l = g lraw − 2.3
g lraw ⊤ r l l r. ∥r l ∥2
(3)
Multimodal Safety Space
Together, r l and g l extend the text-only refusal axis into a two-dimensional multimodal safety space: Φl (x) = ϕlr (x), ϕlg (x) , ϕlg (x) = hl (x)⊤ g l . (4) Here, ϕlr (x) measures safety-related alignment with the text-aligned refusal direction, while ϕlg (x) measures modality-induced displacement. This space provides a compact diagnostic interface for quantifying and analyzing how safety-relevant representations change under multimodal inputs.
3
Mechanistic Analysis of Multimodal Safety Failure
Building on the multimodal safety space defined above, we analyze how modality-induced drift affects safety behavior and motivates intervention. In § 3.1, we show that larger drift weakens refusal separability, leading to Safety Geometry Collapse. In § 3.2, we test whether removing this drift improves multimodal safety and examine the safety–utility trade-off. In § 3.3, we analyze self-rectification dynamics through which modality-gap correction recovers refusal behavior. 3.1
RQ1: Does Modality-Induced Drift Degrade Refusal Separability?
We begin by analyzing how modality-induced drift alters the geometry of safety-relevant representations in the multimodal safety space defined above. Figure 2 visualizes this space and highlights several key observations. 𝜙!"
Different modalities share a text-aligned refusal direction. Along the horizontal axis, refused and complied harmful inputs are broadly organized by the refusal direction identified from text, suggesting that this direction is largely shared across modalities. A quantitative analysis is provided in Appendix I.1.
𝐴𝑆𝑅 = 31.8%
Multimodal inputs induce systematic drift. Multimodal inputs are displaced along the ver𝐴𝑆𝑅 = 81.1% tical axis, with image-only inputs exhibiting the 𝜙#" largest shift in Figure 2. Inputs from the same modality group also concentrate within a char- Figure 2: Visualization of the multimodal safety acteristic drift range, largely independent of re- space at middle layers of MiniCPM-o-4.5 [Yi et al., fusal or compliance. 2025]. Multimodal inputs share a text-aligned reLarger drift weakens refusal separability. As fusal direction, but larger modality-induced drift ϕg increases, refused and complied harmful in- makes refused and complied harmful inputs inputs increasingly overlap along the refusal direc- creasingly entangled along this direction. tion. The safety margin along this direction narrows, and attack success rate (ASR) increases. Together, these observations characterize Safety Geometry Collapse: multimodal inputs still align with the text-derived refusal direction, but modality-induced drift progressively reduces the usable separation along this direction. At the output level, this is reflected in higher ASR. To quantify this effect, we introduce Conditional Refusal Separability (CRS), which measures how well harmful inputs that are refused and harmful inputs that elicit compliance remain separated along the refusal direction within a fixed range of the drift coordinate. Specifically, within a local window W along ϕlg , CRS uses the one-dimensional refusal projections ϕlr to compute the silhouette coefficient between these two behavior groups: CRSl (W) = Silhouette {ϕlr (x)}x∈DW (5) l , {c(x)}x∈D l W 4