cs.AINov 20, 2026

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

Authors: Soheil Zibakhsh, Pedram Aghazadeh, Farinaz Koushanfar

Organizations: University of California San Diego, La Jolla, CA, USA

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.

Figures & tables

Explore similar work

CardsList
  1. ADTGuard: Adaptive Depth-Time Safeguard for Streaming Inference in Large Language Models

    Oct 27, 2026Chuming Wei, Churui Yang, Zihan Zhang +4LLM Safety MonitoringInference-Time Adaptation of Language Models

  2. Predict, Don't React: Value-Based Safety Forecasting for LLM Streaming

    Apr 5, 2026Pride Kavumba, Koki Wataoka, Huy H. Nguyen +2LLM GuardrailsLLM Safety Monitoring