Computer Science > Machine Learning
Title:Multi-Signal Internal-State Online Quality Monitoring for LLM Serving
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 $67\times$ fewer bytes than static capture and powers a multi-agent guard that cuts hijacking propagation in AutoGen from 52\% to 8\%.
| Subjects: | Machine Learning (cs.LG) ; Distributed, Parallel, and Cluster Computing (cs.DC) |
|---|---|
| ACM classes: | C.4; I.2.0 |
| Cite as: | arXiv:2612.03021 [cs.LG] |
| (or arXiv:2612.03021v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2612.03021 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.