False Sense of Security: Why Probing-based Malicious Input Detection Fails to Generalize

Read full text
Authors: Cheng Wang, Zeming Wei, Qin Liu, Wenxuan Zhou, Muhao Chen
Cited by: 0

Abstract

Large Language Models (LLMs) can comply with harmful instructions, raising serious safety concerns despite their impressive capabilities.Recent work has leveraged probing-based approaches to study the separability of malicious and benign inputs in LLMs' internal representations, and researchers have proposed using such probing methods for safety detection.We systematically re-examine this paradigm.Motivated by poor out-of-distribution performance, we hypothesize that probes learn superficial patterns rather than semantic harmfulness.Through controlled experiments, we confirm this hypothesis and identify the specific patterns learned: instructional patterns and trigger words.Our investigation follows a systematic approach, progressing from demonstrating comparable performance of simple n-gram methods, to controlled experiments with semantically cleaned datasets, to detailed analysis of pattern dependencies.These results reveal a false sense of security around current probingbased approaches and highlight the need to redesign both models and evaluation protocols, for which we provide further discussions in the hope of suggesting responsible further research in this direction.1

Fields of Study & Subjects

Adversarial Robustness in Machine Learning Advanced Malware Detection Techniques Spam and Phishing Detection

Publication details

Journal / source
Findings of the Association for Computational Linguistics: ACL 2026
Publisher
Association for Computational Linguistics
Pages
26100–26113
Publication date
1 January 2026
Language
EN