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

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

30 Oct 2025NeurIPSarXiv:2510.26096added by Syntology

Weifei Jin, Yuxin Cao, Junjie Su, Minhui Xue, Jie Hao, Ke Xu, Jin Song Dong, Derui Wang

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2510.26096")

Code

Syntology Ran 1 of 12 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · honoured contract.

By repository: found in paper text by Syntology: 12 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

WeifeiJin/ALMGuard found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 1 ran; 1 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
11unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from WeifeiJin/ALMGuard. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

sinusoids WeifeiJin/ALMGuard/whisper/model.py found in paper text by Syntology ran · honoured contract fingerprinted no licence file found · pointer only · e529c9641c178fe0 · report
extract_prefix_number WeifeiJin/ALMGuard/AIR-bench/cal_score.py found in paper text by Syntology unverified no licence file found · pointer only · f0ae8c33b1126961 · report
get_input_embeds WeifeiJin/ALMGuard/utils.py found in paper text by Syntology unverified no licence file found · pointer only · 9f41cd96267d6bc7 · report
get_sorrybench_pipeline WeifeiJin/ALMGuard/llm_evaluation.py found in paper text by Syntology unverified no licence file found · pointer only · c87203973f499743 · report
load_audio WeifeiJin/ALMGuard/whisper/audio.py found in paper text by Syntology unverified no licence file found · pointer only · 80abc0b281d75575 · report
load_perturb WeifeiJin/ALMGuard/eval_qwen.py found in paper text by Syntology unverified no licence file found · pointer only · f8a39516628f22a9 · report
load_perturb WeifeiJin/ALMGuard/utils.py found in paper text by Syntology unverified no licence file found · pointer only · 73c92993abbf3787 · report
mel_filters WeifeiJin/ALMGuard/whisper/audio.py found in paper text by Syntology unverified no licence file found · pointer only · 12c6c409a1e359c3 · report
openai_tts WeifeiJin/ALMGuard/datasets/openai_tts.py found in paper text by Syntology unverified no licence file found · pointer only · 14a82fce86cab897 · report
pad_or_trim WeifeiJin/ALMGuard/whisper/audio.py found in paper text by Syntology unverified no licence file found · pointer only · 9f13de1c23e4003d · report
qwen_infer WeifeiJin/ALMGuard/eval_qwen.py found in paper text by Syntology unverified no licence file found · pointer only · c60dd1ae7e5aaea9 · report
sorrybench_evaluate WeifeiJin/ALMGuard/llm_evaluation.py found in paper text by Syntology unverified no licence file found · pointer only · 1dea33e18fd05a0f · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2510.26096, was issued in October 2025, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections