PlugGuard: A Streaming Safeguard for Large Models via Latent Dynamics-Guided Risk Detection
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:46 UTC · 68115166467b ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,28 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "GCZH9CNhPK"- }- ],- "title": "PlugGuard: A Streaming Safeguard for Large Models via Latent Dynamics-Guided Risk Detection",- "authors": [- "Xiaodan Li",- "Mengjie Wu",- "Yao Zhu",- "Yunna Lv",- "YueFeng Chen",- "Cen Chen",- "Jianmei Guo",- "Hui Xue"- ],- "abstract": "Large models (LMs) are powerful content generators, yet their open‑ended nature can also introduce potential risks, such as generating harmful or biased content.\nExisting guardrails mostly perform post-hoc detection that may expose unsafe content before it is caught, \nand the latency constraints further push them toward lightweight models, limiting detection accuracy.\nIn this work, we propose PlugGuard, a novel plug-in framework that enables streaming risk detection within the LM generation pipeline. \nPlugGuard leverages intermediate LM hidden states through a Streaming Latent Dynamics Head (SLD), which models the temporal evolution of risk across the generated sequence for more accurate real-time risk detection.\nTo ensure reliable streaming moderation in real applications, we introduce an Anchored Temporal Consistency (ATC) loss to enforce monotonic harm predictions by embedding a benign-then-harmful temporal prior. Besides, for a rigorous evaluation of streaming guardrails, we also present StreamGuardBench—a model-grounded benchmark featuring on-the-fly responses from each protected model, reflecting real-world streaming scenarios in both text and vision–language tasks.\nAcross diverse models and datasets, PlugGuard consistently outperforms state-of-the-art post-hoc guardrails and prior plug-in probes (15.61% higher average F1), while using only 20M parameters and adding less than 0.5 ms of per-token latency.\nThe code and StreamGuardBench are released at **PlugGuard** to facilitate research on streaming guardrails.",- "year": 2026,- "venue": "ICLR 2026 submission",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "ae2b917b-f82a-4cfb-b8c4-328f62d045f4"}
paper.json added
+++ b/paper.json@@ -0,0 +1,18 @@+{+ "title": "PlugGuard: A Streaming Safeguard for Large Models via Latent Dynamics-Guided Risk Detection",+ "authors": [+ "Xiaodan Li",+ "Mengjie Wu",+ "Yao Zhu",+ "Yunna Lv",+ "YueFeng Chen",+ "Cen Chen",+ "Jianmei Guo",+ "Hui Xue"+ ],+ "abstract": "Large models (LMs) are powerful content generators, yet their open‑ended nature can also introduce potential risks, such as generating harmful or biased content.\nExisting guardrails mostly perform post-hoc detection that may expose unsafe content before it is caught, \nand the latency constraints further push them toward lightweight models, limiting detection accuracy.\nIn this work, we propose PlugGuard, a novel plug-in framework that enables streaming risk detection within the LM generation pipeline. \nPlugGuard leverages intermediate LM hidden states through a Streaming Latent Dynamics Head (SLD), which models the temporal evolution of risk across the generated sequence for more accurate real-time risk detection.\nTo ensure reliable streaming moderation in real applications, we introduce an Anchored Temporal Consistency (ATC) loss to enforce monotonic harm predictions by embedding a benign-then-harmful temporal prior. Besides, for a rigorous evaluation of streaming guardrails, we also present StreamGuardBench—a model-grounded benchmark featuring on-the-fly responses from each protected model, reflecting real-world streaming scenarios in both text and vision–language tasks.\nAcross diverse models and datasets, PlugGuard consistently outperforms state-of-the-art post-hoc guardrails and prior plug-in probes (15.61% higher average F1), while using only 20M parameters and adding less than 0.5 ms of per-token latency.\nThe code and StreamGuardBench are released at **PlugGuard** to facilitate research on streaming guardrails.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}