Multi-Signal Internal-State Online Quality Monitoring for LLM Serving
Yibo Zhao, Nengneng Yu, Sixian Xiong, Yunze Zhao, Zaoxing Liu
Abstract
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 fewer bytes than static capture and powers a multi-agent guard that cuts hijacking propagation in AutoGen from 52\% to 8\%.
Create a lesson
Metadata
- Categories
- cs.LG, cs.DC
Related papers
Mixing Expertise with Confidence: A Mixture of Experts Framework for Robust Multi-Modal Continual Learning
Shared title terminologycs.LGMd Abdullah Al Forhad, Yuansheng Zhu, Abhinab Acharya et al.
Optimistic Predicate Logic: Rethinking Multi-Objective Bayesian Optimization
Shared title terminologycs.LGQuoc Phong Nguyen, Sunil Gupta, Bryan Kian Hsiang Low et al.
Sheaf Dictionary Learning for Heterogeneous Network Signals
Shared title terminologycs.LGLeonardo Di Nino, Lorenzo Marinucci, Gabriele D'Acunto et al.
Automated Machine Learning for Time-Series Early Warning Systems: Separating Signal from Mirage Alarms
Shared title terminologycs.LGFrederick von Rönge
A PAC Theory of Post-Training: Feasibility, Compounding, and Internalization
Shared title terminologycs.LGNam H. Le
Compressing Gated DeltaNet States with a Shared Value Basis and an Adaptive Residual
Shared title terminologycs.LGIvan Krivorotov, Egor Maximov, Aleksei Merkelov et al.