Tag
This paper audits kNNGuard, a training-free activation-based guardrail, and shows it degrades sharply on long-context prompts, then proposes three adaptations—Length-Routed Dual Bank, long-context embeddings, and Strided Window Pooling—that substantially recover AUROC for content moderation and RAG hallucination detection.