ALMGuard: Safety Shortcuts and Where to Find Them as Guardrails for Audio-Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jin, Weifei, Cao, Yuxin, Su, Junjie, Xue, Minhui, Hao, Jie, Xu, Ke, Dong, Jin Song, Wang, Derui
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909878005530624
author Jin, Weifei
Cao, Yuxin
Su, Junjie
Xue, Minhui
Hao, Jie
Xu, Ke
Dong, Jin Song
Wang, Derui
author_facet Jin, Weifei
Cao, Yuxin
Su, Junjie
Xue, Minhui
Hao, Jie
Xu, Ke
Dong, Jin Song
Wang, Derui
contents Recent advances in Audio-Language Models (ALMs) have significantly improved multimodal understanding capabilities. However, the introduction of the audio modality also brings new and unique vulnerability vectors. Previous studies have proposed jailbreak attacks that specifically target ALMs, revealing that defenses directly transferred from traditional audio adversarial attacks or text-based Large Language Model (LLM) jailbreaks are largely ineffective against these ALM-specific threats. To address this issue, we propose ALMGuard, the first defense framework tailored to ALMs. Based on the assumption that safety-aligned shortcuts naturally exist in ALMs, we design a method to identify universal Shortcut Activation Perturbations (SAPs) that serve as triggers that activate the safety shortcuts to safeguard ALMs at inference time. To better sift out effective triggers while preserving the model's utility on benign tasks, we further propose Mel-Gradient Sparse Mask (M-GSM), which restricts perturbations to Mel-frequency bins that are sensitive to jailbreaks but insensitive to speech understanding. Both theoretical analyses and empirical results demonstrate the robustness of our method against both seen and unseen attacks. Overall, \MethodName reduces the average success rate of advanced ALM-specific jailbreak attacks to 4.6% across four models, while maintaining comparable utility on benign benchmarks, establishing it as the new state of the art. Our code and data are available at https://github.com/WeifeiJin/ALMGuard.
format Preprint
id arxiv_https___arxiv_org_abs_2510_26096
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ALMGuard: Safety Shortcuts and Where to Find Them as Guardrails for Audio-Language Models
Jin, Weifei
Cao, Yuxin
Su, Junjie
Xue, Minhui
Hao, Jie
Xu, Ke
Dong, Jin Song
Wang, Derui
Sound
Cryptography and Security
Machine Learning
Recent advances in Audio-Language Models (ALMs) have significantly improved multimodal understanding capabilities. However, the introduction of the audio modality also brings new and unique vulnerability vectors. Previous studies have proposed jailbreak attacks that specifically target ALMs, revealing that defenses directly transferred from traditional audio adversarial attacks or text-based Large Language Model (LLM) jailbreaks are largely ineffective against these ALM-specific threats. To address this issue, we propose ALMGuard, the first defense framework tailored to ALMs. Based on the assumption that safety-aligned shortcuts naturally exist in ALMs, we design a method to identify universal Shortcut Activation Perturbations (SAPs) that serve as triggers that activate the safety shortcuts to safeguard ALMs at inference time. To better sift out effective triggers while preserving the model's utility on benign tasks, we further propose Mel-Gradient Sparse Mask (M-GSM), which restricts perturbations to Mel-frequency bins that are sensitive to jailbreaks but insensitive to speech understanding. Both theoretical analyses and empirical results demonstrate the robustness of our method against both seen and unseen attacks. Overall, \MethodName reduces the average success rate of advanced ALM-specific jailbreak attacks to 4.6% across four models, while maintaining comparable utility on benign benchmarks, establishing it as the new state of the art. Our code and data are available at https://github.com/WeifeiJin/ALMGuard.
title ALMGuard: Safety Shortcuts and Where to Find Them as Guardrails for Audio-Language Models
topic Sound
Cryptography and Security
Machine Learning
url https://arxiv.org/abs/2510.26096