arXiv AI By Mahmoud Abdelfattah, Hamid Nasiri, Peter Garraghan

kNNGuard: Turning LLM Hidden Activations into a Training-Free Configurable Guardrail

Read the original on arXiv AI →

arXiv:2607. 02072v1 Announce Type: cross Abstract: Large language models (LLMs) are increasingly deployed in domains requiring guardrails to detect unsafe, off-topic, or adversarial prompts.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Oct 9

BRANCH: Bypassing Multi-Scanner AI Guardrails

The paper introduces BRANCH, a method that bypasses multi-scanner AI guardrail systems by using a branching tree search to apply adversarial perturbations to individual scanners and optimizing across all scanners. BRANCH achieves a 100% attack success rate across six guardrail systems in 120 scenarios, using 72% fewer queries and 4.5× less wall‑clock time than existing techniques while preserving semantic meaning. The approach also transfers to 29 unseen guardrails, including eight commercial black‑box systems, sometimes reaching 100% success without further optimization.

By William Hackett, Peter Garraghan
arXiv AI
Sep 7

Robust and Efficient Guardrails with Latent Reasoning

The paper introduces COLAGUARD, a guardrail model that embeds multi-step safety reasoning into a continuous latent space, allowing efficient hidden-state propagation during inference. Compared to existing methods, COLAGUARD achieves an 8.24‑point macro‑F1 improvement over Llama Guard 3 and matches the explicit reasoning baseline GuardReasoner, while delivering a 12.9× speedup and a 22.4× reduction in token usage across ten moderation settings and eight safety benchmarks.

By Siddharth Sai, Xiaofei Wen, Muhao Chen
Hugging Face Trending Papers
Aug 18

Reflex-Guard: A Low-Latency Guardrail for LLM Prompt Safety Using Dense Semantic Embeddings

Reflex-Guard is a lightweight, locally running guardrail for large language models that uses jailbreak-aware preprocessing, compact sentence‑transformer embeddings, and seven fast binary classifiers to filter unsafe prompts. It achieves 95.9% recall on harmful prompts with an end‑to‑end latency of 37.6 ms, far faster than existing solutions such as Llama Guard 2 (255 ms) and SafeDecoding (723 ms). The system can detect all GCG suffix attacks and Base64‑encoded prompts at the default threshold, and it attains a Reflex Efficiency Score up to 16.79, outperforming its competitors.