arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.12414cs.LGcs.CR
收藏

SpectralGuard: 在状态空间模型中检测内存崩溃攻击

SpectralGuard: Detecting Memory Collapse Attacks in State Space Models

Independent Researcher(独立研究者)

Davi Bonetto

AI总结:

研究针对状态空间模型中的内存崩溃攻击问题,提出SpectralGuard方法,通过监测谱稳定性提升模型安全性,实现高检测率和低延迟。

摘要:

状态空间模型(SSMs)如Mamba通过输入依赖的递归实现线性时间序列处理,但此机制引入了关键安全漏洞。我们证明离散转移算子的谱半径rho(A-bar)决定了有效记忆范围:当攻击者通过梯度基Hidden State Poisoning将rho驱动至零时,内存从数百万个token崩溃至仅十余个,无声破坏推理能力而不触发输出级警报。我们证明了逃避存在定理,表明对于任何仅输出的防御,都存在对抗性输入同时引起谱崩溃并逃避检测,然后引入SpectralGuard,一种实时监控器,追踪所有模型层的谱稳定性。SpectralGuard在非自适应攻击下实现F1=0.961,最强自适应设置下保持F1=0.842,每token延迟低于15毫秒。因果干预和跨架构迁移至混合SSM-Attention系统证实,谱监控为递归基础模型提供了一个原则性、可部署的安全层。

英文摘要:

State Space Models (SSMs) such as Mamba achieve linear-time sequence processing through input-dependent recurrence, but this mechanism introduces a critical safety vulnerability. We show that the spectral radius rho(A-bar) of the discretized transition operator governs effective memory horizon: when an adversary drives rho toward zero through gradient-based Hidden State Poisoning, memory collapses from millions of tokens to mere dozens, silently destroying reasoning capacity without triggering output-level alarms. We prove an Evasion Existence Theorem showing that for any output-only defense, adversarial inputs exist that simultaneously induce spectral collapse and evade detection, then introduce SpectralGuard, a real-time monitor that tracks spectral stability across all model layers. SpectralGuard achieves F1=0.961 against non-adaptive attackers and retains F1=0.842 under the strongest adaptive setting, with sub-15ms per-token latency. Causal interventions and cross-architecture transfer to hybrid SSM-Attention systems confirm that spectral monitoring provides a principled, deployable safety layer for recurrent foundation models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑