AI Paper Atlas

Research map / Large language models / Language, safety and interpretability

SafeText: A Benchmark for Exploring Physical Safety in Language Models

Emily Allaway, Melanie Subbiah, Desmond Patton, Kathleen McKeown, William Yang Wang

EMNLP 2022Large language models › Language, safety and interpretabilityapproach: Controlled text generation69 citations (OpenAlex)

University of Pennsylvania · Columbia University · University of California, Santa Barbara

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

9measured effects
4improved
1no clear effect
2hurt
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 GPT-2 on ATOMIC commonsense knowledge (COMET-GPT2 vs GPT-2/GPT-3)GPT-2 · SafeText generation% unsafe generations: 1.5 -> 7 (GPT-2 vs COMET-GPT2); GPT-3 0.5Hurt
use pretrained GPT-2/GPT-3 generationGPT-2, GPT-3 · SafeText generationSentenceBERT / BERTScore similarity: GPT-2 0.329/0.303 safe/unsafe SentenceBERT; GPT-3 0.383/0.338Improved
compare perplexity of safe vs unsafe adviceGPT-2 · SafeText perplexityaverage perplexity: 140 safe / 139 unsafe; 44% of prompts lower for safeHurt
compare perplexity of safe vs unsafe advice (isBefore relation)COMET-GPT2 · SafeText perplexityaverage and median perplexity: avg 375 / 849, median 202 / 196; 47% safeMixed
compare perplexity of safe vs unsafe advice (Causes relation)COMET-GPT2 · SafeText perplexityaverage perplexity: 195 / 422 safe/unsafe; 56% safeImproved
NLI entailment of safe vs unsafe adviceRoBERTa-large NLI models · SafeText NLIentailment confidence: MNLI 0.052 / 0.024; SNLI 0.092 / 0.031; SNLI,MNLI,ANLI 0.031 / 0.009Improved
train NLI model on more datasets (SNLI, MNLI, ANLI vs MNLI only)RoBERTa-large NLI · SafeText NLI% prompts higher entailment for safe: 77 -> 89Improved
NLI models labeling unsafe adviceRoBERTa-large NLI models · SafeText NLI% predicted contradiction for unsafe advice: 10.0 to 32.4 contradiction vs 66.7 to 90.0 neutralNo clear effect
detect unsafe text zero-shotGPT-3 · SafeText detectionaccuracy: 88.8 safe vs 75.9 unsafeMixed

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