Research map / Large language models / Language, safety and interpretability
Self-Sanitize: Cognitive-Inspired In-Place Mitigation of LLM Harmful Responses
Wenjie Fu, Huandong Wang, Chen Gao, Guoan Wan, Junyao Gao, Yong Li, Tao Jiang
Huazhong University of Science and Technology · Tsinghua University · Beihang University · Tongji University
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 |
|---|---|---|---|
| add Self-Sanitize defense | LLMs (4 models) · PDL / UAL / PCL | harmful score: avg 48.29 -> 7.88 (PDL), 45.00 -> 3.00 (UAL), 28.78 -> 1.67 (PCL) | Improved |
| add Self-Sanitize defense | LLMs (4 models) · MT-Bench | score: 7.05 -> 7.04 | No clear effect |
| add Self-Sanitize defense | LLMs (4 models) · ICL score | score: 43.36 -> 41.96 | No clear effect |
| add Self-Sanitize defense | Mistral-Nemo-12B · PKU-SafeRLHF six domains | harmful score: 67.53 -> 11.09 | Improved |
| use hierarchical (two-level) Self-Monitor instead of flat classifier (ablation) | Self-Monitor · PDL/UAL/PCL | monitor accuracy: +0.25 (PDL), +0.30 (UAL), +0.21 (PCL) | Improved |
| replace Mistral monitor in Self-Defend with Llama-Guard-3-8B (ablation) | Self-Defend · PDL, Mistral-Nemo-12B | harmful score: 34.78 -> 19.23 | Improved |
| increase monitor window size k (ablation) | Self-Sanitize · PDL/UAL/PCL, LLaMA-3.1-8B | malicious score | Hurt |
| increase regurgitant cache length m (ablation) | Self-Sanitize · PDL/UAL/PCL, LLaMA-3.1-8B | malicious score | Improved |
| increase Qwen-2.5 model size (14B, 32B, 72B) | Self-Sanitize · PDL/UAL/PCL | harmful score | Improved |
| Self-Sanitize vs Self-Defend on PDL for LLaMA-2 | Self-Sanitize · PDL, LLaMA-2 | harmful score: 0.09 (Self-Defend) vs 19.99 (Self-Sanitize) | Hurt |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- SafeDecoding — SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding (ACL 2024) · better on 3 of 3 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems this paper states
- “Needs white-box access to internal activations, so it cannot be deployed on closed-source APIs.” → Methods need white-box access and cannot be used on closed models. (an open problem in safety alignment of LLMs)
Open problems in safety alignment of LLMs
How can LLM safety be shown to hold across languages, multi-turn use and models beyond small open ones?
- Safety is tested in English or a few languages only. · 30 papers state it
- Results come from a few open models, mostly small or mid-sized. · 26 papers state it
- Scores depend on an LLM judge that may be biased. · 23 papers state it
Closest papers by meaning
- SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal (ICLR 2025 · similarity 0.87)
- A Theoretical Understanding of Self-Correction through In-context Alignment (NeurIPS 2024 · similarity 0.87)
- Learning and Forgetting Unsafe Examples in Large Language Models (ICML 2024 · similarity 0.86)
- From Judgment to Interference: Early Stopping LLM Harmful Outputs via Streaming Content Monitoring (NeurIPS 2025 · similarity 0.85)
- CARE: Decoding-Time Safety Alignment via Rollback and Introspection Intervention (NeurIPS 2025 · similarity 0.85)
- Semantic Loss Guided Data Efficient Supervised Fine Tuning for Safe Responses in LLMs (ICLR 2025 · similarity 0.85)
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.