Source-linked AI summary
AEGIS: Audio Endogenous Guarding via Internal Signals Against Large Audio-Language Model Jailbreaks
Yu-Ling Liao, Tzu-Chin Chiu, Zong-You Chen, Chi-Lei Tsai, Shao-Yuan Lo
TL;DR
Audio jailbreaks raise the question of whether models fail to recognize harmful intent or fail to refuse despite retaining risk information. The paper probes layer-wise risk and refusal signals and introduces AEGIS, which selectively activates downstream safety adapters from a mid-layer risk gate. In-domain, AEGIS reduces average unsafe rate from 17.9% to 0.4%, while increasing over-refusal on benign inputs only marginally.
Problem
Successful audio jailbreaks leave unclear whether harmful-intent risk is lost internally or remains represented without triggering refusal.
Source: §1 · p. 1Method
Results
Across 18 model-benchmark pairs, AEGIS reduces average unsafe rate from 17.9% to 0.4% in-domain and to 2.6% under leave-one-benchmark-out evaluation.
Source: §5.2 · p. 4Takeaways & Limitations
The results support selective internal intervention as an effective approach to stronger refusal across heterogeneous audio jailbreaks while limiting over-refusal.
Source: §6 · p. 4, §5.2 · p. 4The analysis relies on proxy measures, requires access to model internals, and does not cover all audio jailbreaks or adaptive attacks targeting the defense.
Source: §6 · p. 4
Abstract
from arXiv · showhide
Large audio-language models (LALMs) expand language models to process and interpret audio, but also expose them to heterogeneous audio jailbreaks. We ask whether successful jailbreaks reflect failures to recognize harmful intent or failures occurring after such recognition. Layer-wise probing reveals the latter: risk-related information remains decodable from intermediate representations, yet the internal risk signal fails to translate into refusal in later-layer processing. We identify this discrepancy as the risk-to-refusal gap. Building on this finding, we propose AEGIS, a detect-then-intervene defense whose mid-layer risk gate selectively activates downstream safety adapters. Across six LALMs and three heterogeneous audio jailbreak benchmarks, AEGIS reduces the average unsafe rate from 17.9% to 0.4%, while causing only a marginal increase in over-refusal on benign inputs. These results establish selective internal intervention as an effective path toward more robust refusal in LALMs. The code is available at https://github.com/azzzzliao/aegis-audio-defense.
1. INTRODUCTION
Audio jailbreaks span heterogeneous attack types, and existing defenses do not explain whether successful attacks erase risk recognition or fail to turn recognized risk into refusal. The paper identifies this risk-to-refusal gap and proposes AEGIS, which uses mid-layer risk signals to selectively strengthen later safety intervention; evaluations report lower unsafe rates with limited over-refusal.
1. INTRODUCTION
- Audio jailbreaks include semantic and multilingual obfuscation, paralinguistic variation, compositional audio, and adversarial waveform perturbations.Existing defenses address different generation stages, but do not locate where safety alignment breaks down when a jailbreak succeeds.Source: §1 · p. 1
- Successful jailbreaks leave risk information increasingly decodable in middle and late layers while refusal probability remains near zero, a discrepancy termed the risk-to-refusal gap.The pattern is reported for Qwen2-Audio and observed similarly across five other models.Source: §1 · p. 1
- AEGIS uses a probe-selected mid-layer risk score to selectively activate later LoRA-based safety adapters, strengthening refusal for high-risk inputs while limiting intervention on benign inputs.The risk gate reads the hidden representation and produces a continuous risk score.Source: §1 · p. 1
- Across six LALMs and three heterogeneous benchmarks, AEGIS reduces the average unsafe rate from 17.9% to 0.4% in-domain, with marginally increased over-refusal on benign inputs.The evaluation also reports transfer of the learned risk signal and intervention to jailbreak distributions excluded from training.Source: §1 · pp. 1–2, Figure 1 · p. 1
- The paper frames its contributions as identifying the gap, introducing selective late-layer intervention, and evaluating safety across heterogeneous benchmarks and held-out settings.It reports limited over-refusal alongside the safety improvements.Source: §1 · p. 2
2. RELATED WORK
Prior work documents diverse audio jailbreak mechanisms and defenses spanning prompting, input guards, safety training, and inference-time intervention. How retained risk information fails to translate into refusal under audio jailbreaks remains less understood.
2. RELATED WORK
- Audio safety studies cover semantic and compositional manipulations, acoustic and paralinguistic variation, and adversarial waveform perturbations, while evaluating harmful behavior and benign-input over-refusal.The cited evaluation sets include AdvBench and JBB-Behaviors for harmful behavior and XSTest for over-refusal.Source: §2 · p. 2
- Existing defenses range from safety prompts and pre-generation guards to safety training and inference-time intervention, but the translation of retained risk into refusal in LALMs remains less understood.The paper investigates this relationship through layer-wise probing and selective safety intervention.Source: §2 · p. 2
3. LAYER-WISE RISK-TO-REFUSAL GAP
The section distinguishes loss of harmful-intent recognition from retained risk that fails to trigger refusal. Layer-wise probes show the latter pattern under successful audio jailbreaks, motivating intervention on the retained mid-layer signal.
3. LAYER-WISE RISK-TO-REFUSAL GAP
- The analysis distinguishes whether a successful jailbreak erases risk information internally or leaves it encoded without triggering refusal.It traces layer-wise risk decodability and refusal tendency to separate these possibilities.Source: §3 · p. 2
- Under undefended successful jailbreaks, risk-related information becomes increasingly decodable in middle and deep layers even as refusal tendency remains near zero.The paper calls this mismatch the risk-to-refusal gap and uses it to motivate selective later-layer intervention.Source: §3 · p. 2
4. AEGIS: DETECT-THEN-INTERVENE DEFENSE
AEGIS uses a mid-layer risk gate to selectively activate late-layer safety adapters while keeping the base LALM frozen. Its training combines response-token language modeling with risk supervision and a sparsity penalty on gate activation.
4. AEGIS: DETECT-THEN-INTERVENE DEFENSE
- Table 1 covers unsafe rates across six LALMs and three jailbreak benchmarks, comparing in-domain training with LOBO training that excludes the target benchmark.Parentheses indicate changes from the undefended model.Source: Table 1 · p. 3
- AEGIS keeps the base LALM frozen while jointly training a mid-layer risk gate and late-layer LoRA safety adapters.The gate’s selected layer is chosen separately for each model using layer-wise probing.Source: §4 · pp. 2–3
- The gate maps the final prompt-token representation to a continuous score estimating unsafe-input risk and controlling downstream intervention.The score is produced by an MLP using a sigmoid function.Source: §4 · p. 3
- For inputs above a risk threshold, the gate scales late-layer adapter updates, with intervention strength increasing until a predefined refusal criterion is met.The gate score scales low-rank residual updates, minimizing their effect on low-risk inputs.Source: §4 · p. 3
- Training combines response-token language-model loss with binary cross-entropy risk supervision and an L1 sparsity penalty that discourages unnecessary gate activation.Prompt tokens are masked from the language-model loss.Source: §4 · p. 3
5. EXPERIMENTS
Experiments evaluate AEGIS across six LALMs and heterogeneous jailbreak benchmarks, finding large unsafe-rate reductions in both in-domain and held-out-benchmark settings. Ablations and defense comparisons examine its safety–utility trade-off, while layer-wise analysis shows increased late-layer refusal tendency.
5.1. Experimental Setup
- Evaluation spans six LALMs and three heterogeneous benchmarks, with LOBO holding out one benchmark; defense comparisons use Qwen2-Audio.The benchmarks cover signal-level perturbations, semantic obfuscation, multilingual attacks, and compositional jailbreaks in multi-speaker dialogue.Source: §5.1 · pp. 3–4
5.3. Comparison with Representative Defenses
- AEGIS is the only method below 1% unsafe rate across all three benchmarks; SARSteer remains at 26.9% on SACRED, while AEGIS raises XSTest over-refusal by 5.3 percentage points.The comparison uses Qwen2-Audio under the same evaluation setting.Source: Table 3 · p. 4, §5.3 · p. 4
5.2. Overall Safety, Utility, and Design Effect
- 17.9% to 0.4% average unsafe rate in-domain; LOBO average unsafe rate is 2.6%, with XSTest over-refusal rising 6.3 percentage points on average.The in-domain result averages across 18 model-benchmark pairs; LOBO holds the target benchmark entirely out of training.Source: §5.2 · p. 4
- Full and Always-on increase XSTest over-refusal by 22.1 and 21.9 percentage points, respectively, compared with 5.3 points for AEGIS.Full applies safety LoRA across decoder layers; Always-on removes the risk gate and intervenes on every input.Source: §5.2 · p. 4, Table 2 · p. 4
5.4. Closing the Risk-to-Refusal Gap
- After intervention, late-layer refusal tendency rises sharply, reconnecting decodable risk information with refusal and narrowing the risk-to-refusal gap.The comparison is between AEGIS’s post-intervention tendency and the near-zero refusal tendency without it.Source: §5.4 · p. 4
6. CONCLUSION
The conclusion identifies a mismatch between internally decodable risk and weak refusal, and presents AEGIS as a selective intervention that improves safety while limiting over-refusal. The authors also note limits in their analysis, model access, and attack coverage.
- The risk-to-refusal gap is the persistence of decodable risk information alongside weak refusal tendency under successful audio jailbreaks.Source: §6 · p. 4
- AEGIS selectively converts retained mid-layer risk signals into late-layer safety interventions and improves safety in in-domain and LOBO settings while limiting over-refusal.Source: §6 · p. 4
- The analysis uses proxy measures, requires access to model internals, and does not cover the full range of audio jailbreaks or adaptive attacks against the defense.Source: §6 · p. 4
7. COMPLIANCE WITH ETHICAL STANDARDS
The study uses existing public benchmarks, collects no new human-subject data, and required no ethical approval.