Research map / Large language models / Language, safety and interpretability
ShieldLM: Empowering LLMs as Aligned, Customizable and Explainable Safety Detectors
Zhexin Zhang, Yida Lu, Jingyuan Ma, Di Zhang, Rui Li, Pei Ke, Hao Sun, Lei Sha, Zhifang Sui, Hongning Wang, Minlie Huang
Tsinghua University · Peking University · Beihang University · Zhongguancun Laboratory
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 |
|---|---|---|---|
| fine-tune Qwen-14B-Chat on the collected data (ShieldLM) | Qwen-14B-Chat · Our Test Set | accuracy: 77.3 -> 89.3 | Improved |
| fine-tune Qwen-14B-Chat on the collected data (ShieldLM) | Qwen-14B-Chat · DiaSafety | accuracy: 56.2 -> 71.6 | Improved |
| add GPT-4 generated analysis to training (ablation) | ShieldLM · Our Test Set | accuracy: 85.6 -> 89.3 | Improved |
| add GPT-4 generated analysis to training (ablation) | ShieldLM · DiaSafety | accuracy: 67.3 -> 71.6 | Improved |
| generate analysis after the label instead of before (CoT) (ablation) | ShieldLM · DiaSafety | accuracy: 56.0 -> 71.6 | Improved |
| use GPT-4 instead of GPT-3.5 to generate analyses (ablation) | ShieldLM · Red Team | accuracy: 83.0 -> 85.0 | Improved |
| add rules unseen during training to the prompt (ablation) | ShieldLM · OOD sets (average) | accuracy: 73.7 -> 79.0 | Improved |
| add rules unseen during training to the prompt | GPT-4 · OOD sets (average) | accuracy: 70.0 -> 74.8 | Improved |
| add rules unseen during training to the prompt | GPT-3.5 · OOD sets (average) | accuracy: 72.4 -> 70.5 | Hurt |
| add rules unseen during training to the prompt | Qwen-14B-Chat · OOD sets (average) | accuracy: 66.6 -> 67.4 | Mixed |
| add coarse-grained policy description to the prompt | GPT-4 · BeaverTails pilot subset | accuracy: 65.1 -> 65.1 | No clear effect |
| add coarse-grained policy description to the prompt | GPT-3.5 · BeaverTails pilot subset | accuracy: 64.1 -> 62.8 | Hurt |
Later papers that compared with this method
1 later accepted paper reports ShieldLM 7B as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- SAFETY-J: Evaluating Safety with Critique (EMNLP 2024 · better on 8 of 8 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.
Closest papers by meaning
- SafetyPrompts: A Systematic Review of Open Datasets for Evaluating and Improving Large Language Model Safety (AAAI 2025 · similarity 0.89)
- From Judgment to Interference: Early Stopping LLM Harmful Outputs via Streaming Content Monitoring (NeurIPS 2025 · similarity 0.89)
- Finding and Reactivating Post-Trained LLMs' Hidden Safety Mechanisms (NeurIPS 2025 · similarity 0.88)
- CASE-Bench: Context-Aware SafEty Benchmark for Large Language Models (ICML 2025 · similarity 0.87)
- Safe Delta: Consistently Preserving Safety when Fine-Tuning LLMs on Diverse Datasets (ICML 2025 · similarity 0.87)
- MLLMGuard: A Multi-dimensional Safety Evaluation Suite for Multimodal Large Language Models (NeurIPS 2024 · similarity 0.87)
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.
