Abliteration glossary: refusal direction and more

The vocabulary of abliteration and refusal research, defined plainly.

Glossary What is Abliteration? Removing the Refusal Direction Abliteration removes a language model's refusal behavior by finding the refusal direction in its activations and projecting it out of the weights. Glossary What is Directional Ablation? Erasing One Direction Directional ablation removes one direction from a model's activations at inference time by subtracting each activation's projection onto that direction. Glossary What is HarmBench? The Automated Red Teaming Benchmark HarmBench is a standardized benchmark for automated red teaming and robust refusal, with 510 harmful behaviors and a classifier that judges attack success. Glossary What is a Jailbreak? Prompts That Bypass Model Safety A jailbreak is a prompt crafted to make a safety-trained language model produce output it was trained to refuse, through role-play, encoding or suffixes. Glossary What is JailbreakBench? An Open Jailbreak Benchmark JailbreakBench is an open robustness benchmark for LLM jailbreaks: 100 harmful and 100 benign behaviors, a leaderboard and a repository of attack prompts. Glossary What is Over-Refusal? When Models Decline Safe Prompts Over-refusal is when a language model declines a safe request because it resembles a harmful one, such as refusing to explain how to kill a Python process. Glossary What is Prompt Injection? Untrusted Text as Instructions Prompt injection is an attack in which untrusted text in a model's input, such as a web page or email, overrides the application's own instructions. Glossary What is Red Teaming? Adversarial Testing for AI Systems AI red teaming is adversarial testing of a model or AI application: attacking it the way a real adversary would to find harmful or unsafe behavior first. Glossary What is the Refusal Direction? The Vector Behind Refusals The refusal direction is a single vector in a chat model's residual stream that mediates refusal: removing it stops refusals, adding it causes them. Glossary What is Refusal Rate? How Often a Model Says No Refusal rate is the share of prompts in a test set that a language model declines to answer, measured with a fixed prompt set, judge and settings. Glossary What is the Residual Stream? A Transformer's Main Path The residual stream is the running vector in a transformer that each attention and MLP layer reads from and adds its output to, token by token. Glossary What is a System Prompt? Operator Instructions for LLMs A system prompt is the operator's instruction message that sets a language model's role, scope, tone and output format before any user message is read. Glossary What is an Uncensored Model? LLMs With Refusals Removed An uncensored model is a language model modified to answer requests its original version refused, through refusal-filtered fine-tuning or abliteration. Glossary What is Weight Orthogonalization? A Rank-One Weight Edit Weight orthogonalization edits every matrix that writes to a model's residual stream so it can no longer write along one direction, such as refusal. Glossary What is XSTest? A Test Suite for Exaggerated Safety XSTest is a test suite of 250 safe prompts and 200 unsafe contrast prompts that measures exaggerated safety, or over-refusal, in large language models.