# Run One, Get Two: Near-Free Streaming Safety Checks for Local LLMs

> Source: <https://arxiv.org/abs/2611.26975>
> Published: 2026-11-23 05:00:00+00:00

**Recommendation:** Batch the safety guard as a second decode row sharing the generator's weights and KV cache to cut guard overhead; on Qwen3-0.6B this added under 4% latency per token and beat a dedicated guard on 12 of 17 benchmarks.
More in the playbook "Inference and self-hosting": <https://wpnews.pro/playbooks/inference-serving>

# Computer Science > Artificial Intelligence

  [Submitted on 20 Nov 2026]

# Title:Run One, Get Two: Near-Free Streaming Safety Checks for Local LLMs

[View PDF](https://arxiv.org/pdf/2611.26975)

[HTML (experimental)](https://arxiv.org/html/2611.26975v1)

Abstract:Local LLM assistants decode for one user at a time, so decoding is bound by memory bandwidth and leaves compute idle. Streaming safety checks today trade accuracy against cost. A dedicated guard model is accurate but nearly doubles the latency per token, while a hidden-state probe is cheap but less accurate. We present ToRA, an adapter that runs a second model as an extra row in the generator's decode step, sharing its weights and KV cache. Dual-row kernels read each weight once for both rows. On Qwen3-0.6B, ToRA matches or beats a dedicated streaming guard, with higher F1 on 12 of 17 benchmarks. It detects 11.8 points more unsafe responses than the probe at a similar cost, under 4% added latency per token.
    

## Submission history

From: Soheil Zibakhsh Shabgahi [
[view email](https://arxiv.org/show-email/42d9b1d3/2611.26975)]

**[v1]** Fri, 20 Nov 2026 01:53:11 UTC (125 KB)

### Additional Features

### Current browse context:

cs.AI

### References & Citations

Loading...

# Bibliographic and Citation Tools

Bibliographic Explorer 

*(*[What is the Explorer?](https://info.arxiv.org/labs/showcase.html#arxiv-bibliographic-explorer))
Connected Papers 

*(*[What is Connected Papers?](https://www.connectedpapers.com/about))
Litmaps 

*(*[What is Litmaps?](https://www.litmaps.co/))
scite Smart Citations 

*(*[What are Smart Citations?](https://www.scite.ai/))
# Code, Data and Media Associated with this Article

alphaXiv 

*(*[What is alphaXiv?](https://alphaxiv.org/))
CatalyzeX Code Finder for Papers 

*(*[What is CatalyzeX?](https://www.catalyzex.com))
DagsHub 

*(*[What is DagsHub?](https://dagshub.com/))
Gotit.pub 

*(*[What is GotitPub?](http://gotit.pub/faq))
Hugging Face 

*(*[What is Huggingface?](https://huggingface.co/huggingface))
ScienceCast 

*(*[What is ScienceCast?](https://sciencecast.org/welcome))
# Demos

# Recommenders and Search Tools

Influence Flower 

*(*[What are Influence Flowers?](https://influencemap.cmlab.dev/))
CORE Recommender 

*(*[What is CORE?](https://core.ac.uk/services/recommender))
# 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**](https://info.arxiv.org/labs/index.html).
