Research map / Large language models / Language, safety and interpretability
False Sense of Security: Why Probing-based Malicious Input Detection Fails to Generalize
Cheng Wang, Zeming Wei, Qin Liu, Wenxuan Zhou, Muhao Chen
National University of Singapore · Peking University · University of California, Davis · University of Southern California
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| evaluate on OOD data instead of in-distribution data | SVM probe, Gemma-3-4b-it · HarmBench (train BeaverTailsEval) | accuracy: 99.6 -> 29.5 | Hurt |
| train on ForbiddenQuestions instead of BeaverTailsEval | SVM probe, Gemma-3-27b-it · HarmBench OOD | accuracy: 16.5 -> 0.0 | Hurt |
| replace harmful words with benign ones, keeping structure (ablation) | SVM probe, Gemma-3-4b-it · AdvBench | accuracy: 99.0 -> 24.4 | Hurt |
| paraphrase cleaned prompts to remove instructional patterns (ablation) | SVM probe, Gemma-3-4b-it · AdvBench | accuracy: 24.4 -> 82.7 | Improved |
| paraphrase cleaned prompts (ablation) | SVM probe, Qwen2.5-14B-Instruct · HarmBench | accuracy: 36.5 -> 100.0 | Improved |
| use naive Bayes n-gram classifier instead of probe | naive Bayes (unigram/bigram) · in-distribution datasets | accuracy: 0.84 to 1.00 accuracy | No clear effect |
| test on benign XSTest safe subset with malicious-looking words | probing classifiers · XSTest safe | false positive rate: 40-80% false positive rate | Hurt |
| use first layer rather than last layer (ablation) | SVM probe, Gemma-3-4b-it · OOD AdvBench | accuracy: 24.0 vs 34.2 (all layers collapse) | No clear effect |
| use base rather than instruction-tuned model (ablation) | SVM probe, Gemma-3-4b · OOD AdvBench | accuracy: 33.1 vs 34.2 | No clear effect |
| use MLP instead of SVM probe (ablation) | MLP probe, Gemma-3-4b-it · paraphrased AdvBench | accuracy: 82.7 -> 90.2 | Mixed |
| prompt LLM zero-shot instead of probing hidden states | Gemma-3, Llama-3.1, Qwen-2.5 · AdvBench | accuracy: 99.2/99.8/99.4 vs poor OOD probe accuracy | Improved |
Open problems this paper states
- “Analysis is restricted to decoder-only transformer models, leaving other architectures unexamined.” → Results come from small open models, not frontier or reasoning models. (an open problem in data and hallucination detection)
- “Evaluation focuses mainly on English-language datasets, so other languages and cultural contexts are untested.” → Tested only on English text in the detection setups. (an open problem in data and hallucination detection)
Open problems in data and hallucination detection
Can hallucinations and training-data use be detected without model internals, across languages, long outputs and larger models?
- Needs internal states or token probabilities, so closed API models are out. · 19 papers state it
- Results come from small open models, not frontier or reasoning models. · 17 papers state it
- Tested only on English text in the detection setups. · 10 papers state it
Closest papers by meaning
- XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models (NAACL 2024 · similarity 0.90)
- Do as I do (Safely): Mitigating Task-Specific Fine-tuning Risks in Large Language Models (ICLR 2025 · similarity 0.90)
- HarmAug: Effective Data Augmentation for Knowledge Distillation of Safety Guard Models (ICLR 2025 · similarity 0.89)
- On Prompt-Driven Safeguarding for Large Language Models (ICML 2024 · similarity 0.88)
- Safety Pretraining: Toward the Next Generation of Safe AI (NeurIPS 2025 · similarity 0.88)
- Cannot See the Forest for the Trees: Invoking Heuristics and Biases to Elicit Irrational Choices of LLMs (ICML 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.