arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.24817cs.CRcs.ARcs.CLcs.LG
收藏

RouteScan: 通过专家路由遥测对MoE大语言模型安全性进行非侵入式审计

RouteScan: A Non-Intrusive Approach to Auditing MoE LLMs Safety via Expert Routing Telemetry

Zhejiang University(浙江大学);Donghua University(东华大学);Louisiana State University(路易斯安那州立大学)

Bo Lv, Zhiheng Xu, KeDong Xiu, Ruyi Ding, Tianhang Zheng, Zhibo Wang, Kui Ren

AI总结:

提出RouteScan,一种利用MoE模型GPU级专家路由遥测(如预填充阶段活跃线程数)作为微架构指纹,通过轻量级检测流水线识别恶意提示的非侵入式审计框架,在未见过的有害领域AUROC超0.93,新越狱包装下超0.96,且相比基于内容的审计方法具有隐私优势。

摘要:

混合专家(MoE)架构已成为扩展大型语言模型(LLM)日益重要的范式。随着MoE模型越来越多地部署在实际服务中,安全性审计变得必要,以验证这些模型在运行过程中是否产生或助长有害行为。然而,现有的基于内容的审计方法通常需要访问用户提示、模型输入或生成输出,可能暴露敏感用户信息,并在LLM安全性和用户隐私之间造成根本性紧张。另一方面,我们观察到,在MoE模型中,稀疏专家路由将不同输入映射到激活不同的专家执行模式,在低级GPU执行遥测中产生可测量的足迹。受此观察启发,我们提出RouteScan,一种通过GPU级专家路由遥测检测有害行为的非侵入式审计框架。具体而言,RouteScan利用预填充阶段分配给专家模块的活跃GPU线程数作为判别性微架构指纹,并构建轻量级检测流水线,隔离跨领域不变风险指标以精确识别恶意提示。对具有不同路由设计的开源MoE LLM的全面评估表明,RouteScan实现了强泛化,在未见过的有害领域AUROC超过0.93,在新型越狱包装下超过0.96。此外,经验性反演测试表明,收集的专家路由遥测为提示重建提供的信息有限,表明相对于基于内容的审计方法具有实际隐私优势。

英文摘要:

As Mixture-of-Experts (MoE) architectures are increasingly adopted for scaling Large Language Models (LLMs), safety auditing becomes necessary to verify whether these models produce or facilitate harmful behaviors during operation. However, existing content-based auditing methods typically require access to user prompts, model internals, or outputs, potentially exposing sensitive user information and creating a tension between LLM safety and user privacy. On the other hand, we observe that, in MoE models, different inputs induce different sparse expert-routing patterns, which produce measurable footprints in low-level GPU execution telemetry. We refer to these hardware-observable signals induced by expert-routing decisions as expert routing telemetry; they are derived from GPU execution rather than from router logits or token-level routing assignments. Inspired by this observation, we propose RouteScan, a non-intrusive auditing framework for detecting harmful behaviors through such routing-induced GPU telemetry. Specifically, RouteScan utilizes the number of active GPU threads allocated to expert modules during the prefilling phase as a discriminative micro-architectural fingerprint, and builds a lightweight detection pipeline that isolates cross-domain invariant risk indicators for the precise identification of malicious prompts. Comprehensive evaluations on four open-source MoE LLMs with distinct routing designs demonstrate that RouteScan achieves strong generalization, with an AUROC exceeding 0.91 on unseen harmful domains. Moreover, privacy stress tests show that, although aggregated execution telemetry retains input-related attribute information, full prompts and exact sensitive fields cannot be reliably recovered under the evaluated attacks.

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

↑