AI Paper Atlas

Research map / Large language models / Alignment and preferences

Using In-Context Learning to Improve Dialogue Safety

Nicholas Meade, Spandana Gella, Devamanyu Hazarika, Prakhar Gupta, Di Jin, Siva Reddy, Yang Liu, Dilek Hakkani-Tür

EMNLP 2023 · Large language models › Alignment and preferences · approach: LLM-as-judge and feedback data · 44 citations (OpenAlex) · Carnegie Mellon University, Amazon, McGill University

Read the 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 changedWhereMeasuredEffect
add ten retrieved dense safety demonstrationsOPT-6.7B · DiaSafety% safe (Classifier): 57.79 -> 77.57Improved
increase number of safety demonstrationsOPT models · ProsocialDialog and DiaSafety% safe (Classifier)Improved
retrieve similar demonstrations (BM25 or dense) instead of random (ablation)OPT models · ProsocialDialog% safe (Classifier)Improved
retrieve with BM25 instead of random (ablation)OPT models · DiaSafety% safe (Classifier)No clear effect
use ten demonstrations on safe inputsOPT-6.7B · Commonsense-Dialogues% safe (Classifier): 83.20 -> 89.86Improved
use ten demonstrations on safe inputsOPT-13B · Commonsense-DialoguesF1: 11.01 -> 11.60Improved
add dense demonstrations (response quality, human eval)OPT-30B · ProsocialDialogprosocial win rate: 8.67 vs 71.11 (win %)Improved
add dense demonstrationsOPT-30B · ProsocialDialogengaging win rate: 45.78 vs 35.33 (win %)Mixed
add demonstrationsOPT-30B · ProsocialDialogresponse diversity (Self-Bleu): 5.55 -> 12.26Hurt
use in-context learning instead of DirectorOPT-6.7B · DiaSafety% safe (Classifier): 79.82 vs 77.57Hurt
use in-context learning instead of fine-tuning on safe responsesOPT-6.7B · DiaSafetyLlm-Eval win rate: 41.89 -> 69.14Improved
change demonstration order (random, top first, top last) (ablation)OPT with dense retriever · ProsocialDialog and DiaSafety% safe (Classifier)No clear effect

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