atlas

Research map / Large language models / AI and society

SafetyAnalyst: Interpretable, Transparent, and Steerable Safety Moderation for AI Behavior

ICML 2025 · Large language models › AI and society · approach: Human-centered trust and agency · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces SafetyAnalyst, an interpretable, steerable LLM prompt safety moderation framework that generates CoT harm-benefit trees, aggregates them with 28 weights, and distills the tree generator into Llama-3.1-8B.

Problem

Current LLM safety moderation systems are black-box classifiers whose decisions are hard to explain and difficult to steer toward different safety preferences or community values.

Approach

Generate a structured harm-benefit tree (stakeholders, actions, effects with likelihood, extent, immediacy) via chain-of-thought, then aggregate its leaves with a transparent, 28-parameter weighted model whose weights can be top-down or bottom-up aligned to safety preferences; teacher-generated trees are distilled into two Llama-3.1-8B specialists.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add harm features to the aggregation (ablation)SafetyAnalyst · WildGuardTest vanilla, WildGuardTest adversarial, and WildJailbreak vanillaF1: 78.6 vs 90.9; 71.1 vs 79.6; 76.6 vs 88.8Helped
Add benefit features to the aggregation (ablation)SafetyAnalyst · WildGuardTest vanilla, WildGuardTest adversarial, and WildJailbreak vanillaF1: 89.9 vs 90.9; 79.6 vs 79.6; 88.5 vs 88.8Mixed
Add action features to the aggregation (ablation)SafetyAnalyst · WildGuardTest vanilla, WildGuardTest adversarial, and WildJailbreak vanillaF1: 88.6 vs 90.9; 78.8 vs 79.6; 87.4 vs 88.8Helped
Add effect features to the aggregation (ablation)SafetyAnalyst · WildGuardTest vanilla, WildGuardTest adversarial, and WildJailbreak vanillaF1: 79.3 vs 90.9; 71.6 vs 79.6; 79.2 vs 88.8Helped
Add extent features to the aggregation (ablation)SafetyAnalyst · WildGuardTest vanilla, WildGuardTest adversarial, and WildJailbreak vanillaF1: 90.7 vs 90.9; 80.0 vs 79.6; 89.1 vs 88.8Mixed
Add likelihood features to the aggregation (ablation)SafetyAnalyst · WildGuardTest vanilla, WildGuardTest adversarial, and WildJailbreak vanillaF1: 82.0 vs 90.9; 74.4 vs 79.6; 76.6 vs 88.8Helped
Add immediacy features to the aggregation (ablation)SafetyAnalyst · WildGuardTest vanilla, WildGuardTest adversarial, and WildJailbreak vanillaF1: 90.5 vs 90.9; 80.5 vs 79.6; 89.3 vs 88.8Mixed
Use the SafetyAnalyst student model rather than GPT-4o-generated featuresAggregation model on WildJailbreak · WildJailbreak held-out test setF1: 91.8 -> 88.8Hurt
Distill harm-benefit tree generation into the student modelSafetyAnalyst · WildGuardTest and public prompt safety benchmarksF1No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: WildJailbreak WildChat AegisSafetyTrain SimpleSafetyTests HarmBench WildGuardTest AIR-Bench-2024 SORRY-Bench

Benchmarks: SimpleSafetyTests HarmBench WildGuardTest AIR-Bench-2024 SORRY-Bench

Metrics: F1 AUPRC AUROC

Baselines: OpenAI Moderation API Llama-Guard Llama-Guard-2 Llama-Guard-3 Aegis-Guard-Defensive Aegis-Guard-Permissive ShieldGemma-2B ShieldGemma-9B ShieldGemma-27B WildGuard GPT-4

Builds on: WildJailbreak AIR 2024 risk taxonomy QLoRA symbolic knowledge distillation

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