MISO:在 vLLM 推理中在线监控 LLM 内部状态的新系统
Multi-Signal Internal-State Online Quality Monitoring for LLM Serving
推理时想同时跑幻觉检测、安全监控这些探针,卡在 CUDA graph 拿不到激活值?这篇 MISO 论文给了个工程解法:每次捕获一次激活,多个探针共享,vLLM 上开销不到 4%,比图内加内核的方案快好几倍,还附了 AutoGen 里的注入防护实测。
论文提出 MISO(Multi-Signal Internal-State Online monitoring),用于在 LLM 推理过程中实时监控幻觉、不安全输出和提示注入,成本远低于文本裁判方案。其核心思路是按“观测”而非按探针来整合监控:把多个活跃探针编译为每步捕获计划,在不改动的 CUDA graph 内部只捕获一次激活值,再在图外共享给各探针。
实验基于 vLLM:默认配置下 MISO 最多增加 0.4% 的中位 TPOT,16 个探针压力测试下为 1.4–3.8%;相比之下,图内探针内核方案增加 8.6–13.4%,且只支持 16 个探针中的 9 个。MISO 的数据导出量比静态捕获少 67 倍。
论文还展示了一个多智能体防护应用:在 AutoGen 多智能体框架中,MISO 将提示注入的传播率从 52% 降到 8%。对需要同时运行多个质量监控探针的生产部署来说,这套按观测复用捕获的方案给出了不牺牲 CUDA graph 性能的实现路径。
Multi-Signal Internal-State Online Quality Monitoring for LLM Serving
Internal-state probes can flag hallucinations, unsafe outputs, and prompt injections while an LLM is still generating, at a fraction of the cost of text judges. Production deployments need many such probes at once, chosen per request and reading different layers and tokens. Yet serving engines replay CUDA graphs over continuously batched requests, leaving no clean way to reach activations: host hooks give up graph replay, in-graph probe kernels slow every decoding step, and data-collection layers copy fixed layers whether or not any monitor needs them. We present MISO (\emph{Multi-Signal Internal-State Online} monitoring), a system for LLM serving built on one idea: integrate monitoring per \emph{observation}, one request's activation at one layer and step, rather than per probe. Because probe demand is sparse and overlapping, MISO compiles all active monitors into a per-step capture plan, captures each planned observation once inside an unchanged CUDA graph, and shares it across monitors outside the graph. On vLLM, MISO adds at most 0.4\% median TPOT by default and 1.4--3.8\% under 16-monitor stress, versus 8.6--13.4\% for in-graph kernels that support only 9 of the 16 monitors. It exports $67\times$ fewer bytes than static capture and powers a multi-agent guard that cuts hijacking propagation in AutoGen from 52\% to 8\%.
本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:vLLM、MISO、LLM推理、AI安全,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Yibo Zhao, Nengneng Yu, Sixian Xiong, Yunze Zhao, Zaoxing Liu),经 AITOP 多维评分管线结构化提炼。