AI Paper Atlas

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

EMNLP 2024Large language models › Language, safety and interpretabilityapproach: Safety alignment of LLMs91 citations (OpenAlex)

Tsinghua University · Peking University · Beihang University · Zhongguancun Laboratory

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
8improved
1no clear effect
3hurt
2mixed

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 changedWhereMeasuredEffect
fine-tune Qwen-14B-Chat on the collected data (ShieldLM)Qwen-14B-Chat · Our Test Setaccuracy: 77.3 -> 89.3Improved
fine-tune Qwen-14B-Chat on the collected data (ShieldLM)Qwen-14B-Chat · DiaSafetyaccuracy: 56.2 -> 71.6Improved
add GPT-4 generated analysis to training (ablation)ShieldLM · Our Test Setaccuracy: 85.6 -> 89.3Improved
add GPT-4 generated analysis to training (ablation)ShieldLM · DiaSafetyaccuracy: 67.3 -> 71.6Improved
generate analysis after the label instead of before (CoT) (ablation)ShieldLM · DiaSafetyaccuracy: 56.0 -> 71.6Improved
use GPT-4 instead of GPT-3.5 to generate analyses (ablation)ShieldLM · Red Teamaccuracy: 83.0 -> 85.0Improved
add rules unseen during training to the prompt (ablation)ShieldLM · OOD sets (average)accuracy: 73.7 -> 79.0Improved
add rules unseen during training to the promptGPT-4 · OOD sets (average)accuracy: 70.0 -> 74.8Improved
add rules unseen during training to the promptGPT-3.5 · OOD sets (average)accuracy: 72.4 -> 70.5Hurt
add rules unseen during training to the promptQwen-14B-Chat · OOD sets (average)accuracy: 66.6 -> 67.4Mixed
add coarse-grained policy description to the promptGPT-4 · BeaverTails pilot subsetaccuracy: 65.1 -> 65.1No clear effect
add coarse-grained policy description to the promptGPT-3.5 · BeaverTails pilot subsetaccuracy: 64.1 -> 62.8Hurt

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.

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

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy