arXiv:2608.22312cs.CLAug 2026

Manuscript Offprint

arXiv:2608.22312

Text-Anchored Semantic Perturbations for Transferable Jailbreak Attacks on Multimodal Large Language Models

Wenyun Li, Guiping Cao, Xiangyuan Lan, Zheng Zhang

Abstract

Multimodal Large Language Models (MLLMs) have achieved remarkable progress in vision-language interaction, yet their safety alignment remains vulnerable to jailbreak attacks. A key challenge is that safety behavior learned in the textual space does not reliably transfer to fused cross-modal representations, leaving multimodal inputs exploitable through latent semantic cues. We propose Text-Anchored Semantic Perturbation Attack (TA-SPA), a black-box jailbreak framework that optimizes transferable perturbations in a text-anchored semantic space. TA-SPA integrates Text-Anchored Semantic Factorization (TASF), which encourages the separation of cross-modal semantic factors from modality-specific residuals, with Semantic-Preserving Augmentation (SPA), which diversifies harmful target anchors while preserving semantic consistency. Experiments show strong attack effectiveness and transfer to commercial MLLMs, with competitive performance under representative defenses. Additional controls and probing support the intended factorization without implying perfect disentanglement, motivating representation-level safety alignment beyond input-level filtering. Warning: This paper contains jailbroken contents that may be offensive in nature.

1 Introduction

Multimodal Large Language Models (MLLMs) have been widely deployed across a broad range of multimodal tasks, including multimodal reasoning (Zhang et al., 2024), visual question answering (Jian et al., 2024), and speech-to-text interaction (Zhang et al., 2023). By coupling modality-specific encoders with billion-parameter language backbones, such as GPT-4 (Achiam et al., 2023) and Llama (Touvron et al., 2023), MLLMs provide a unified interface for perception, reasoning, and language generation. Despite these impressive capabilities, their safety alignment remains fragile. In particular, malicious multimodal inputs can jailbreak MLLMs and induce harmful or policy-violating responses (Shen et al., 2024), raising critical concerns for real-world deployment (Li and Pun, 2023; Huang et al., 2026; Li et al., 2025b).

Current safety alignment techniques, including RLHF(Ouyang et al., 2022), DPO(Rafailov et al., 2024), and RLAIF(Lee et al., 2024), are primarily developed and optimized in the textual representation space. However, MLLMs make decisions over fused cross-modal representations, where visual(Li et al., 2022, 2025a), acoustic(Huang et al., 2023), or other non-textual features(Xu et al., 2025) are projected into the language model. This creates a potential representation gap between the space in which safety behavior is learned and the space in which multimodal inputs are processed. As a result, a model that robustly refuses harmful text-only prompts may still fail when the same intent is expressed or supported through seemingly benign visual content. This mismatch is consistent with MLLM safety vulnerabilities being associated not only with harmful textual instructions(Chen et al., 2025b), but also with imperfect transfer of text-centered alignment to multimodal representation spaces.

A growing body of multimodal jailbreak attacks has begun to expose this weakness. FigStep shows that harmful instructions rendered as typographic visual prompts can bypass text-centered safety filters by exploiting visual text understanding (Gong et al., 2025). HADES demonstrates that carefully crafted images can act as alignment backdoors by hiding and amplifying malicious intent through visual vulnerabilities (Li et al., 2024b). MML further exploits cross-modal reasoning by distributing malicious intent across visual content and textual guidance, allowing the model to reconstruct harmful instructions through multi-modal linkage (Wang et al., 2025b). While effective in specific settings, these attacks often depend on surface-level visual forms, typographic layouts, or explicit cross-modal decoding patterns. Consequently, they may suffer from limited cross-model transferability and can be mitigated by defenses such as OCR-based filtering(Jadhav et al., 2025), visual sanitization(Ciccotelli et al., 2025), or prompt-level screening(Han et al., 2025).

We investigate the hypothesis that this limitation is associated with entanglement between high-level semantic intent and low-level modality artifacts. Existing multimodal attacks(Niu et al., 2024) often optimize adversarial signals directly in pixel space or in entangled surrogate feature spaces. Such optimization can overfit to model-specific textures, layouts, high-frequency noise, or lexical patterns, producing perturbations that are effective on a particular surrogate but less transferable to unknown black-box MLLMs(Demontis et al., 2019). Moreover, current safety mechanisms may rely on superficial alignment shortcuts(Zhao et al., 2025b): they detect harmfulness from recognizable lexical cues or modality-specific residual patterns, rather than consistently verifying the underlying cross-modal semantic intent. Once these surface cues are removed or redistributed across modalities, harmful intent may remain semantically accessible to the model while becoming less visible to existing safety filters.

From this perspective, we propose a novel jail-break attack framework for MLLMs, termed Text-Anchored Semantic Perturbation Attack (TA-SPA). The key idea is to optimize adversarial perturbations in a text-anchored semantic space rather than in an entangled multimodal feature space. Specifically, TA-SPA consists of two complementary components. First, Text-Anchored Semantic Factorization (TASF) encourages multimodal representations to factor into a cross-modal semantic component and a modality-specific residual using public vision-language encoders. This design guides the attack toward high-level harmful intent rather than surrogate-specific visual artifacts. Second, Semantic-Preserving Augmentation (SPA) diversifies the residual geometry of target harmful responses while keeping their semantic factor fixed, thereby reducing overfitting to a single target sentence or lexical pattern. By encouraging semantic-residual separation and augmenting target-side residual variations, TA-SPA produces perturbations that are less dependent on superficial alignment shortcuts and more transferable across MLLM architectures, tokenizers, and safety mechanisms. The complete implementation and code for reproducing all experiments are available in our code repository.

In summary, our contributions are as follows:

  1. We investigate cross-modal semantic–residual entanglement as a potential contributor to fragile MLLM safety alignment. Our analysis is consistent with multimodal safety mechanisms over-relying on surface-level modality cues or lexical patterns while insufficiently verifying semantic intent in cross-modal representation space.

  2. We propose TA-SPA, a black-box multimodal jailbreak framework that attacks MLLMs through text-anchored semantic perturbation. TA-SPA introduces TASF to encourage semantic–residual factorization and SPA to construct semantically consistent yet residual-diverse target anchors, improving semantic robustness and transferability.

  3. We conduct extensive evaluations on open-source and commercial MLLMs across multiple benchmarks and defenses. Results show strong attack effectiveness and cross-model transfer, with competitive performance under evaluated defenses, motivating representation-level safety alignment beyond input filtering.

References (1)