scimeatlas

Research map / Large language models / Reasoning and chain of thought

ShieldHead: Decoding-time Safeguard for Large Language Models

Zitao Xuan, Xiaofeng Mao, Da Chen, Xin Zhang, Yuhan Dong, Jun Zhou

ACL 2025Large language models › Reasoning and chain of thoughtapproach: Efficient LLM servingopen problems in this approach22 citations (OpenAlex)

Tsinghua University · Ant Group · University of Bath

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

14measured effects
12improved
2hurt

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
add sentence-level supervision alongside token loss (ablation)ShieldHead (Llama3.1-8B) · Prompt avgF1: 73.7 -> 78.1Improved
add sentence-level supervision alongside token loss (ablation)ShieldHead (Llama3.1-8B) · Response avgF1: 77.6 -> 81.7Improved
add token-level supervision to sentence-level supervision (ablation)ShieldHead (Llama3.1-8B) · Prompt avgF1: 76.7 -> 78.1Improved
add label disambiguation to token-level supervision (ablation)ShieldHead (Llama3.1-8B) · Prompt avgF1: 75.8 -> 78.1Improved
add label disambiguation to token-level supervision (ablation)ShieldHead (Llama3.1-8B) · Response avgF1: 79.7 -> 81.7Improved
token-level labels without disambiguation versus sentence-level only (ablation)ShieldHead (Llama3.1-8B) · Prompt avgF1: 76.7 -> 75.8Hurt
increase MLP head from 1 to 5 layers (ablation)ShieldHead (Llama3.1-8B) · Prompt avgF1: 76.5 -> 81.1Improved
increase MLP head from 1 to 5 layers (ablation)ShieldHead (Llama3.1-8B) · Response avgF1: 78.7 -> 83.7Improved
increase MLP head beyond 5 layers (6) (ablation)ShieldHead (Llama3.1-8B) · Response avgF1: 83.7 -> 83.5Hurt
moving-average prototype update (gamma 0.99->0.95) versus simple average (gamma=0) (ablation)ShieldHead (Llama3.1-8B) · Prompt avgF1: 76.8 -> 78.1Improved
decrease sigma from 0.98 to 0.5 during training versus fixed sigma (ablation)ShieldHead (Llama3.1-8B) · Prompt avgF1: 75.8 -> 78.1Improved
use Gemma2-9B instead of Llama3.1-8B as base model (ablation)ShieldHead · Response avgF1: 79.7 -> 84.3Improved

Open problems in efficient LLM serving

Do efficient-serving and inference-saving methods hold up on larger models, other hardware and real workloads?

All 5 open problems and what was already tried →

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