paper-with-me

Papers

Refusal in LLMs is an Affine Function

2024-11-13 · Thomas Marshall, Adam Scherlis, Nora Belrose

We propose affine concept editing (ACE) as an approach for steering language models' behavior by intervening directly in activations. We begin with an affine decomposition of model activation vectors and show that prior methods for steering model behavior correspond to subsets of terms of this decomposition. We then provide a derivation of ACE and use it to control refusal behavior on ten different models, including Llama 3 70B. ACE combines affine subspace projection and activation addition to reliably control the model's refusal responses across prompt types. We evaluate the results using LLM-based scoring on a collection of harmful and harmless prompts. Our experiments demonstrate that ACE consistently achieves more precise control over model behavior than existing methods and generalizes to models where directional ablation via affine subspace projection alone produces incoherent outputs. Code for reproducing our results is available at https://github.com/EleutherAI/steering-llama3 .

📄 PDF Abstract BibTeX arXiv:2411.09003

Code (1)

eleutherai/steering-llama3 공식 구현

Methods 이 논문이 사용한 방법론

LLaMA LLaMA is a collection of foundation language models ranging from 7B to 65B parameters. It is based on the transformer architecture with various improvements that were…

Similar Papers 제목 키워드 기반

The Geometry of Refusal in Large Language Models: Concept Cones and Representational Independence

2025-02-24 · Tom Wollschläger, Jannes Elstner, Simon Geisler, Vincent Cohen-Addad 외

The safety alignment of large language models (LLMs) can be circumvented through adversarially crafted inputs, yet the mechanisms by which these attacks bypass safety barriers remain poorly understood. Prior work suggest…

Safety Alignment

Cannot or Should Not? Automatic Analysis of Refusal Composition in IFT/RLHF Datasets and Refusal Behavior of Black-Box LLMs

2024-12-22 · Alexander von Recum, Christoph Schnabl, Gabor Hollbeck, Silas Alberti 외

Refusals - instances where large language models (LLMs) decline or fail to fully execute user instructions - are crucial for both AI safety and AI capabilities and the reduction of hallucinations in particular. These beh…

Deactivating Refusal Triggers: Understanding and Mitigating Overrefusal in Safety Alignment

2026-03-12 · Zhiyu Xue, Zimo Qi, Guangliang Liu, Bocheng Chen 외 arxiv

Safety alignment aims to ensure that large language models (LLMs) refuse harmful requests by post-training on harmful queries paired with refusal answers. Although safety alignment is widely adopted in industry, the over…

OR-Bench: An Over-Refusal Benchmark for Large Language Models

2024-05-31 · Justin Cui, Wei-Lin Chiang, Ion Stoica, Cho-Jui Hsieh

Large Language Models (LLMs) require careful safety alignment to prevent malicious outputs. While significant research focuses on mitigating harmful content generation, the enhanced safety often come with the side effect…

Safety Alignment

ORFuzz: Fuzzing the "Other Side" of LLM Safety -- Testing Over-Refusal

2025-08-15 · Haonan Zhang, Dongxia Wang, Yi Liu, Kexin Chen 외 arxiv

Large Language Models (LLMs) increasingly exhibit over-refusal - erroneously rejecting benign queries due to overly conservative safety measures - a critical functional flaw that undermines their reliability and usabilit…