atlas

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

The Art of Saying No: Contextual Noncompliance in Language Models

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Safety alignment of LLMs · 2 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 CoCoNot, a taxonomy-driven benchmark (1,000 eval prompts) and synthetic training set for contextual noncompliance beyond safety, benchmarks many LMs, and finds LoRA continued finetuning of Tulu-2 improves noncompliance while preserving general capabilities.

Problem

Chat LMs are trained to be helpful but should sometimes decline requests beyond unsafe content, such as incomplete, unsupported, indeterminate, and humanizing requests; existing work focuses mainly on safety refusals and models show high compliance on these other categories.

Approach

A five-category contextual noncompliance taxonomy with subcategory-specific acceptable behaviors, used to build the CoCoNot evaluation set and a synthetic training set with contrast (should-comply) queries; training compares SFT from scratch, continued SFT, LoRA, and DPO on contrast preference data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add CoCoNot training data through SFT from the pretrained Llama-2 modelLlama-2 7B · CoCoNot Incompletecompliance rate: 25.8 -> 5.3Helped
Continue training all parameters on CoCoNot rather than using LoRA (ablation)Tulu-2 7B · CoCoNot Contrastcompliance rate: 90.8 -> 31.4Hurt
Add matched-sized T2M samples during continued full-parameter SFT (ablation)Tulu-2 7B · CoCoNot Contrastcompliance rate: 31.4 -> 54.9Helped
Use LoRA for continued SFT on CoCoNot instead of full-parameter continued SFT (ablation)Tulu-2 7B · MMLU-0EM: 48.0 -> 50.0Helped
Use LoRA for continued SFT on CoCoNot (ablation)Tulu-2 7B · CoCoNot Contrastcompliance rate: 31.4 -> 90.8Helped
Merge the adapter trained on Tulu-2-no-refusal with Tulu-2 (ablation)Tulu-2-no-refusal 7B LoRA · CoCoNot Unsupportedcompliance rate: 39.4 -> 12.8Helped
DPO on CoCoNot preference data to prefer compliant answers to benign queriesTulu-2 7B LoRA · CoCoNot Contrastcompliance rate: 90.8 -> 93.1Helped
Add a system prompt instructing noncomplianceGPT-4 · CoCoNot Incompletecompliance rate: 29.8 / 19.6Helped
Add a system prompt instructing noncomplianceGPT-4o · CoCoNot Incompletecompliance rate: 8.9 / 30.2Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CoCoNot Tulu2Mix SituatedQA WildChat XSTest HarmBench ToxiGen MMLU AlpacaEval BBH GSM8k TydiQA

Benchmarks: CoCoNot XSTest HarmBench ToxiGen AlpacaEval MMLU BBH GSM8k TydiQA TruthfulQA Codex-Eval

Metrics: compliance rate attack success rate toxic output percentage accuracy win rate

Baselines: GPT-4 GPT-4o Claude-3 Sonnet Llama-3-70b Llama-2-70b Mixtral Mistral Tulu-2-70b-dpo Vicuna

Builds on: Self-Instruct XSTest Tulu 2 DPO LoRA

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