攻击音频大模型时,用编码器潜空间扰动比波形扰动更难被压缩防御。
Codec-Robust Attacks on Audio LLMs

- 在音频编码器潜空间生成扰动,避开压缩丢弃
- 跨码率攻击成功率85.5%,波形攻击不足26%
- 无需重训练即可迁移至MP3、AAC等编码器
现有针对音频大模型(Audio LLMs)的攻击多通过波形域扰动诱导恶意输出。为防御此类攻击,真实场景中的编码压缩预处理被用于检测和去除扰动。然而,现有攻击尚未展示对压缩的鲁棒性。本文提出CodecAttack,不直接扰动音频波形,而是在神经音频编码器的连续潜空间中优化扰动。我们发现,编码器的压缩通道虽会丢弃波形扰动,却能传输其潜空间中的扰动。为增强攻击在真实压缩通道下的效果,采用多码率直通期望-变换(EoT)方法,无需修改目标模型。在三种实际部署场景与三个目标模型上,CodecAttack在中等码率下对Opus的平均目标子串攻击成功率(ASR)达85.5%;而使用相同EoT强化的波形基线在任何码率下均未超过26%。攻击可迁移至未见编码器,在MP3上达到100% ASR,AAC-LC上达84%。频带能量分析显示,潜空间扰动集中在4kHz以下,即编码器分配最多比特的频段,而波形扰动扩散至高频,被编码器丢弃。结果表明,有损压缩无法可靠防御对抗音频,编码器感知攻击对已部署音频大模型构成现实威胁。
原文摘要 · Abstract (English)
Prior attacks on Audio Large Language Models (Audio LLMs) demonstrated that carefully crafted waveform-domain perturbations can force targeted adversarial outputs. As a defense mechanism against these attacks, real-world codec compression preprocessing has been studied to both detect and remove the perturbations. Yet no existing attack has demonstrated robustness against these compressions. We introduce CodecAttack, which optimizes a perturbation in a neural audio codec's continuous latent space rather than directly perturbing the audio waveform. We show that the codec's compression channel, which discards waveform perturbations, transmits perturbations crafted in its own latent space. To further harden the attack across real-world compression channels, we apply multi-bitrate straight-through Expectation-over-Transformation (EoT), all without modifying the target model. Across three realistic Audio LLM deployment scenarios and three target models, CodecAttack achieves an average 85.5% target-substring attack success rate (ASR) on Opus at moderate bitrates, while the waveform baseline trained with identical EoT hardening does not exceed 26% at any bitrate. The attack transfers to held-out codecs, reaching up to 100% ASR on MP3 and 84% on AAC-LC without retraining. A per-band energy analysis shows that the latent perturbation concentrates below 4kHz, exactly where codecs allocate the most bits, while the waveform baseline spreads into higher frequencies that codecs discard. These results demonstrate that lossy compression is not a reliable defense against adversarial audio and that codec-aware attacks pose a practical threat to deployed Audio LLM systems.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。