kNNGuard failure modes in long prompts
AI-generated summary Researcher Niccolò Ronchetti identifies performance degradation in training-free guardrails like kNNGuard when applied to long-context prompts. The study proposes three adaptations, including a length-routed dual reference bank and strided window pooling, to address vulnerabilities in long inputs.