Skip to content

Optimizing multimodal jailbreak attacks against speech language modelsOn Optimizing Multimodal Jailbreaks for Spoken Language Models

arXiv· arXiv:2603.19127· Aravind Krishnan, Karolina Stańczak, Dietrich Klakow·Indexed by this site · 2026-10-12· Originally publishedSelected AttacksSelectedAttention38

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors use JAMA to jointly optimize text and audio for four SLMs on AdvBench, and claim jailbreak rates of 1.5×–20× those of unimodal attacks.

Threat modelWhite-box: simultaneously optimize the text suffix and audio perturbation δ to increase the probability that a safety-aligned SLM gives an affirmative harmful response to a malicious query. The model is frozen and gradients can be backpropagated to inputs; δ is projected to [-ε, ε]. The victim system is an SLM with differentiable audio feature extraction.

Questions
An SLM receives both speech and text, and existing jailbreaks mostly optimize only one modality. The authors ask: can robustness to single-modality adversarial optimization transfer to a setting where text and audio are optimized simultaneously.
Methods
Propose JAMA: use GCG to optimize discrete text suffixes and PGD to optimize continuous audio perturbations, reducing the loss of affirmative target strings on a batch of malicious queries. SAMA instead does GCG first, then PGD.
Experiments and results
Four SLMs evaluated on AdvBench with LLaMA Guard 3. The authors state JAMA jailbreak rates are 1.5×–20× higher than single-modality; Qwen2 Audio's GCG-only (length 16) is 90.9%, Gemma 3N's 4× suffix is 3.0%. SAMA takes 4×–6× less time.
Limitations and future work
The paper has no dedicated limitations section. The appendix leaves the gradient interaction where SAMA is sometimes higher than JAMA to future research. Experiments cover four SLMs with differentiable feature extraction, 480 AdvBench test queries, four base audios; the main text reports LLaMA Guard 3 and does not report defense evaluations.
Experimental setupAudio Flamingo 3、Qwen2 Audio (7B, Instruct) et al. · AdvBench、Switchboard · Jailbreak Success Rate、string matching
Evaluated models
Audio Flamingo 3Qwen2 Audio (7B, Instruct)Gemma 3N (E2B, IT)Qwen2.5 Omni (7B)
Benchmarks
AdvBenchSwitchboard
Metrics
Jailbreak Success Ratestring matching
AI summaryand selection rationaleThe researchers propose JAMA (Joint Audio-text Multimodal Attack), which uses GCG to optimize text suffixes and PGD to optimize audio perturbations, perturbing both modalities simultaneously, and increases jailbreak success rates on four speech language models to 1.5 to 20 times that of unimodal attacks. Evaluation covers Audio Flamingo 3, Qwen2 Audio, Gemma 3N, and Qwen2.5 Omni, using AdvBench data as well as audio types such as audiobooks, Switchboard conversations, and music; Gemma 3N, which is relatively robust to GCG unimodal attacks, is still jailbroken under longer PGD perturbations. The authors propose a sequential approximation method SAMA based on gradient dynamics, reducing computation time by 4 to 6 times with similar jailbreak rates, and argue that unimodal safety evaluation is insufficient to ensure the robustness of speech language models.

The researchers propose JAMA (Joint Audio-text Multimodal Attack), which uses GCG to optimize text suffixes and PGD to optimize audio perturbations, perturbing both modalities simultaneously, and increases jailbreak success rates on four speech language models to 1.5 to 20 times that of unimodal attacks. Evaluation covers Audio Flamingo 3, Qwen2 Audio, Gemma 3N, and Qwen2.5 Omni, using AdvBench data as well as audio types such as audiobooks, Switchboard conversations, and music; Gemma 3N, which is relatively robust to GCG unimodal attacks, is still jailbroken under longer PGD perturbations. The authors propose a sequential approximation method SAMA based on gradient dynamics, reducing computation time by 4 to 6 times with similar jailbreak rates, and argue that unimodal safety evaluation is insufficient to ensure the robustness of speech language models.

Why it was selectedThe paper compares unimodal and jointly optimized attacks on four speech language models, showing that unimodal-only safety evaluation overestimates model robustness.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors ask whether robustness to single-modality adversarial optimization transfers to simultaneous optimization of text and audio.

    Whether unimodal robustness still holds when text and audio are adversarially optimized simultaneously.

    • Scenario: SLMs put speech processing and language generation into the same end-to-end pipeline, used for spoken dialogue, spoken question answering, and speech translation. The authors argue that safety alignment is already an inherent stage in development, but jailbreaks persist; converting LLMs to SLMs, or converting malicious text to speech, makes queries that would otherwise be rejected easier to jailbreak.
    • Existing gaps: The authors claim existing attacks are largely unimodal, usually optimizing only speech, with the other modality present but not optimized. They argue that robustness claims made only under unimodal settings overestimate the safety of multimodal systems.
    • Core question: The authors argue that attackers will amplify malicious signals across all available input modalities and ask: does robustness to unimodal adversarial optimization transfer to multimodal settings.
    • Proposed method: white-box framework JAMA, which uses GCG and PGD to simultaneously perturb text suffixes and audio; then SAMA for sequential approximation. The authors claim code and data are provided.
    • Threat model:
      • Goal: induce harmful responses by increasing the probability of an affirmative target string.
      • Knowledge: the paper states white-box. The model is frozen, and gradients are computed with respect to suffix embeddings and audio perturbations.
      • Capabilities: simultaneously modify the discrete suffix and continuous perturbation δ, projecting δ to [-ε, ε]. The base audio can be speech or non-speech.
      • Victim system: an SLM with differentiable audio feature extraction and safety alignment.
  2. What related research exists?

    The introduction discusses single-modality speech jailbreaks, vision-language optimization attacks, and non-optimization text-audio combined attacks.

    The paper has no separate Related Work section; related discussion is in the introduction.

    Cross-modal vulnerabilities and acoustic perturbations

    • Yang et al. (2025) [8]: after converting an LLM to an SLM, queries the LLM would reject exhibit jailbreaks. Chen et al. (2026) [9]: converting malicious text to speech lowers refusal rates. The authors use these two to discuss that adding speech worsens jailbreaks.
    • Noise or background [8, 10], pitch, volume, or speech rate [11, 12], and different accents [12, 13] are written to increase jailbreak rates. The paper does not compare these manual perturbations with JAMA one by one.
    • AdvWave (Kang et al., 2025) [14] and Gupta et al. (2025) [15]: gradient perturbations on speech input to force jailbreaks. The authors state that such literature typically optimizes only one modality.

    Benchmarks and adjacent multimodal attacks

    • Jailbreak-AudioBench [12], JALMBench [16], AudioJailbreak [17]: jailbreak benchmarks evaluating SLMs with input perturbations. The paper only notes the existence of these benchmarks.
    • Wang et al. (2025) [18]: multimodal optimization attacks on vision-language models. The authors state this is one of the closest works, but the modality is vision-language.
    • Yang et al. (2026) [19]: text-audio combined attack, but in a non-optimization stance, and discusses SALMONN-Guard. The authors explicitly separate it from optimization-based attacks.

    Optimization methods, baselines, and datasets

    • The authors state that GCG [20] and PGD [22] are popular SOTA jailbreak optimization methods in each modality. GCG optimizes discrete suffixes, PGD optimizes continuous perturbations.
    • Baseline methods: PGD-only (S empty, only δ optimized) [15], and GCG-only (with suffix, x=0) [20], with other hyperparameters the same as the joint attack. Benchmark: AdvBench [23].

    The authors position this work beyond single-modality optimization: simultaneously optimizing text and audio on SLMs with GCG and PGD, and examining whether single-modality robustness transfers to this setting. SAMA is a sequential approximation of JAMA's computational cost.

  3. How does the paper address this problem?

    JAMA first updates the audio perturbation on the same loss, then performs GCG suffix search; SAMA instead uses two stages.

    On a frozen SLM, JAMA simultaneously updates a discrete suffix and a continuous audio perturbation on the same batch of malicious queries, reducing the loss of the affirmative target string. SAMA first optimizes only the suffix, then fixes the suffix and optimizes the audio.

    Problem Setup

    • Each malicious query qi is paired with a base audio x and an affirmative target yi. On the text side, N optimizable suffix tokens are appended; on the audio side, a perturbation δ is added. The paper uses an English sentence beginning with agreement to provide the requested content as an example; the original sentence is not transcribed here.
    • The model is frozen. The waveform first passes through the model's feature extractor to become a spectrogram before entering the SLM. The authors choose an extractor without gradient shattering and rewrite the numpy implementation in torch to enable backpropagation.
    • To make the attack generalize, the loss is averaged over Q queries. In the experiments, this batch is 8 queries randomly drawn from the first 40 entries of the AdvBench train split; the resulting suffix and noisy audio are then used on the remaining test queries.
    • The joint loss is Ljoint=1/Q∑i=1Q L(yi∣ qi,s1,…,sN,x+δ), i.e., the average loss of the affirmative target under the current suffix and noisy audio.

    PGD and GCG

    • PGD: L2-normalized gradient steps on the continuous perturbation, then projected back to [-ε, ε], to maintain perceptual similarity with the original audio. The paper writes ε=0.001, learning rate 0.01, 1000 steps, settings following [15].
    • The update is δ(t+1)=Πϵ(δ(t)−η g(t)), where g is the L2-normalized gradient of the loss with respect to δ, and Π clips elementwise to [-ε, ε].
    • GCG: gradient on the suffix embeddings, take Top-K at each position, randomly replace one position to form candidates, select the one with the lowest loss. Search width 32, top-k 16, 1000 steps. Special tokens are masked in the gradient. The final suffix is the one with the lowest loss during optimization.

    JAMA's Update Order

    • Algorithm 1: δ is initialized to U(-ε, ε). Each step first computes the joint loss, performs one PGD step, then evaluates GCG candidates.
    • The main text writes that GCG's forward pass is conditioned on the current perturbed audio x+δ^(t); Algorithm 1's GCG step uses the just-updated x+δ^(t+1). The paper does not explain this discrepancy.
    • Joint optimization runs for 1000 steps. Evaluation uses the suffix and perturbation pair with the lowest joint loss.

    SAMA

    • The motivation comes from gradient energy: in early joint optimization, the text gradient is relatively larger. The authors hypothesize that one can first optimize the GCG tokens, then optimize PGD.
    • The first stage has no audio; GCG runs for 1000 steps, recording the best suffix during training. The second stage fixes that suffix, introduces audio, and runs another 1000 PGD steps. Other hyperparameters are the same as in §3.
    • GCG candidate evaluation is therefore no longer conditioned on the adversarial audio. The authors use this to reduce computational cost on long audio.

    Success Determination

    • The test set is the remaining 480 entries of AdvBench, greedy decoding, five random seeds.
    • Success is determined by string matching [20] and LLaMA Guard 3. The main text reports LLaMA Guard 3; the authors state that string matching trends are consistent, with numbers not in the main text.
    • The paper does not specify LLaMA Guard 3's decision threshold or harmful categories.
  4. What experiments did the paper conduct?

    The authors state JAMA is 1.5×–20× relative to single-modality; Gemma 3N's GCG-only is 3.0%.

    Experimental Setup

    • Models tested: Audio Flamingo 3, Qwen2 Audio (7B, Instruct), Gemma 3N (E2B, IT), Qwen2.5 Omni (7B). All are safety-aligned SLMs with differentiable audio feature extractors. Appendix B additionally mentions interference experiments on Gemini, with no jailbreak rates.
    • Data: AdvBench. Optimization uses 8 randomly drawn from the first 40 entries of the train split; testing uses the remaining 480. Five random seeds. Decoding is greedy. The same suffix and noisy audio pair is used for test queries.
    • Base audio: male-voice audiobook narration, Switchboard conversation (one male and one female), music. Figure 7 is ordered as Switchboard-Male, Switchboard-Female, Music, Audiobook.
    • Baselines and hyperparameters: PGD-only (S empty) and GCG-only (x=0). 1000 steps; PGD is L2-normalized, lr=0.01, ε=0.001; GCG width 32, top-k 16.
    • Length axes: in Figures 2/7, the two Qwen models use GCG 0/2/4/8/16, PGD 0/1/2/4 seconds; Audio Flamingo 3 uses GCG 0/2/4/8/32, PGD 0/1/2/4 seconds; Gemma 3N uses GCG 0/8/16/32/64, PGD 0/2/4/8 seconds.
    • Metrics: jailbreak rate (%), error as standard error. The main text uses LLaMA Guard 3. The paper does not perform significance tests, nor does it state the number of repetitions per query.

    Main Results

    The table below is the Music-initialized corner of Figure 7, not the maximum of that grid. No-attack and GCG-only do not vary with base audio.

    Swipe horizontally to read the table

    ModelNo attackGCG-only (longest suffix)PGD-only (longest)JAMA (longest×longest)
    Qwen2.5 Omni (7B)11.2±0.059.5±3.8 (16)11.3±5.9 (4s)84.5±1.6 (16×4s)
    Qwen2 Audio (7B, Instruct)1.5±0.090.9±1.6 (16)61.8±15.0 (4s)91.2±1.4 (16×4s)
    Audio Flamingo 33.5±0.032.6±10.7 (32)31.3±2.0 (4s)68.7±5.7 (32×4s)
    Gemma 3N (E2B, IT)0.8±0.03.0±0.9 (64)18.8±11.1 (8s)68.1±5.0 (64×8s)
    • The authors state that on the four models, joint optimization is higher than either single modality, at 1.5×–20× relative to single-modality (abstract and contributions list; conclusion writes up to 20×). Not every cell in Figure 7 is simultaneously higher than both single modalities: Qwen2.5 Omni, Switchboard, PGD 4 seconds, GCG 2 is 16.9%±12.0, lower than the same column's PGD-only 31.4%±11.9; the two cells' standard errors overlap, and the paper performs no tests.
    • The main text writes GCG-only at length 16 as 59% and 90.9%; the former corresponds to 59.5% in the table. The authors consider PGD-only weaker than GCG-only, possibly because the speech encoder weakens the perturbation; music is the best PGD initialization, possibly because its frequency range is wider than human voice.
    • The authors state that when GCG is already strong on Qwen, JAMA mainly acts as an amplifier; interactions appear when short suffixes or weak PGD fail alone. Appendix A.1 states that Gemma 3N is an exception, with stronger success rates mainly appearing with music initialization. The grid peak is GCG 32, PGD 8 seconds at 73.6%±6.1, higher than the upper-right corner of the table. The authors' qualitative analysis suggests that the semantics of audiobook or speech may interfere with compliance and lower success rates.

    Optimization Dynamics and Representations

    • The gradient energy ratio ρ is the text gradient norm divided by dimensionality, then divided by the same quantity on the audio side. Figure 3a's vertical axis is approximately 0–0.25, horizontal axis 0–1000 steps, with no per-point annotations in the figure. The caption states that early GCG gradients dominate; on Figure 5b, the authors state that the joint loss first drops sharply like GCG, then slowly like PGD.
    • Figure 3b is Qwen2.5 Omni's last-layer t-SNE, configuration from Figure 2, left panel GCG 16, PGD 4 seconds, right panel GCG 4, PGD 4 seconds. The caption states that with longer GCG the attack subspace separates, with left jailbreak rate 79% and right 49%, without specifying the base audio. These two percentages match the 79.1%±1.0 and 49.2%±8.2 for that model on Switchboard, PGD 4 seconds, GCG 16 and GCG 4 in Figure 7; the paper does not state whether they are the same setting.
    • §5 writes that four linear classifiers reach 99% using only the first two principal components. The appendix states that before dimensionality reduction they are close to or fully separated, and two dimensions suffice; Figure 5c includes Gemma 3N, Qwen2.5 Omni, Qwen2 Audio, and the main text does not list other accuracies in the figure per model. The authors state they could not distinguish successful from failed JAMA and speculate the information is in a nonlinear space. Figure 8 specifies music as the PGD base signal and does not include Audio Flamingo 3. Figure 5a's legend writes Gemma 3B, while the main text model name is Gemma 3N; the main text does not give centroid distance ratio numbers.

    Sequential Approximation SAMA

    • Figure 4a plots the jailbreak rate difference (JAMA−SAMA), horizontal axis GCG length, taking each model's maximum PGD length, with audio Audiobook and Music. The authors state the gap averages about 10% and shrinks as GCG lengthens; when both are long enough they approach each other. The authors state SAMA is sometimes higher than JAMA, possibly because it avoids gradients with opposite directions.
    • Timing is 8 GCG tokens, 4-second PGD, a single NVIDIA-H100 80GB. The authors state SAMA takes 4×–6× less time than JAMA (§6, Figure 4b); the abstract writes 4× to 6× faster, the conclusion writes up to 6×. SAMA runs 1000 steps per stage, with total steps exceeding JAMA's 1000 steps.
    • Appendix Figure 6a on Switchboard shows trends broadly consistent with §6. Gemma on Switchboard is an outlier: the authors state that under optimal conditions SAMA is 20% higher than JAMA and consider it possibly due to gradient interaction. In Figure 6b, the authors state that both absolute losses appear to converge to comparable values at the end.

    Other Ablations and Analyses

    • The authors state that on Qwen, audio duration is positively correlated with jailbreak rate; and state that this trend is absent in prior SALMONN work [15]. This paper does not test SALMONN.
    • Gemma 3N, Audiobook, GCG 64, PGD 8 seconds is 38.7%±9.7; the same corner on Switchboard is 24.1%±3.3, and Switchboard 2 is 27.9%±9.7 (Figure 7), all lower than the music grid's 68.1%.
    • Appendix B.1: the authors state that on Qwen2 Audio, text attacks have higher jailbreak rates than its backbone LLM, but do not give the backbone name or numbers; silence or Gaussian interference does not transfer stably, and has no effect on Gemini.
    • Appendix B.2: early joint optimization shows little to no improvements on Qwen2 Audio and Gemma 3N; after shortening GCG, the former shows interactions, while the latter requires longer PGD to show what the authors call meaningful jailbreak rates. No individual numbers.
    • String matching numbers are not in the main text. Appendix A.4's Tables 1–4 give the first 64 tokens of responses for the four models under specified configurations; not transcribed here.
  5. What are some points that can be further explored?

    The paper does not specifically discuss limitations, only leaving the SAMA outperformance caused by gradient interaction to future work.

    Limitations and Future Directions Noted by the Authors

    • The paper has no dedicated Limitations, Discussion, or Future Work section. The conclusion argues that single-modality safety evaluation is insufficient and calls for defenses in the combined attack space, without framing any experimental gap as a limitation.
    • Appendix A.3 states: on Gemma with Switchboard, SAMA is higher than JAMA; the authors consider this possibly due to gradient interaction and leave it to future research.
    • Appendix B.3 again leaves the performance gap caused by gradient interaction to future work.

    Experimental Coverage

    • Formally evaluated models are Audio Flamingo 3, Qwen2 Audio (7B, Instruct), Gemma 3N (E2B, IT), Qwen2.5 Omni (7B). §3 states that only models without gradient shattering and whose feature extraction can be made backpropagatable are selected.
    • Data is AdvBench: 8 for optimization, 480 for testing, 5 random seeds, greedy decoding. Base audio is male-voice audiobook, one male and one female Switchboard, and music.
    • Attacks are white-box GCG, PGD, JAMA, SAMA. 1000 steps; PGD lr=0.01, ε=0.001; GCG width 32, top-k 16. Main-text metric is LLaMA Guard 3 jailbreak rate.
    • Analysis includes gradient energy ratio, last-layer t-SNE, PCA linear classification and centroid distance (§5, Appendix A.2), and SAMA's jailbreak rate difference and timing on a single H100 (§6, configuration 8 GCG tokens, 4-second PGD).
    • The paper does not report defense or adaptive attack evaluations, does not report LLaMA Guard 3's threshold, does not report main-text string matching numbers, and does not report specific centroid distance ratio values per model. Appendix B on Gemini only reports interference experiments with no effect, with no jailbreak rates.
  6. Summarize the main content of the paper

    JAMA jointly optimizes text and audio; the authors state jailbreak rates can reach 1.5×–20× of single-modality.

    JAMA is a white-box text-audio joint jailbreak against SLMs. The authors ask: does the robustness seen when adversarially optimizing only one modality still hold when both modalities are optimized together.

    • Approach: average the loss of the affirmative target over 8 AdvBench queries; each step first updates the audio noise with PGD, then selects the suffix with GCG on that audio. The resulting suffix and noisy audio pair is used on the remaining 480 test queries. SAMA first optimizes the suffix without audio for 1000 steps, then fixes the suffix and optimizes the noise for 1000 steps. Main-text success rates are determined by LLaMA Guard 3.
    • Single-modality: at length 16, Qwen2 Audio's GCG-only is 90.9%, Qwen2.5 Omni is written as 59% in the main text (Figure 7 is 59.5%). Gemma 3N at 4× suffix is 3.0%. The authors consider PGD-only weaker.
    • Joint attack: the authors state that across four SLMs and four audios, JAMA is 1.5×–20× relative to single-modality; the conclusion separately writes up to 20×. Qwen2 Audio, Music, suffix 16, 4 seconds, JAMA is 91.2% (Figure 7). Gemma 3N, Music, suffix 32, 8 seconds is 73.6%; the authors state that this model's stronger joint success rates mainly appear with music initialization. Short-suffix cells are not necessarily simultaneously higher than both single modalities.
    • Approximation and representation: the authors state that SAMA and JAMA jailbreak rates differ on average by about 10%, and on 8 tokens, 4 seconds, a single H100, SAMA takes 4×–6× less time. The authors state that successful joint attacks are farther from the no-attack region in last-layer representations; the four linear classifiers in §5 reach 99% with the first two principal components.
    • Authors' conclusion: in multimodal scenarios, single-modality safety evaluation alone is insufficient; defenses against combined attacks are needed before release.

Related papers

Show 3 more papers
Read originalarxiv.org