NeurIPS 2026QuestionsPapersAreasAboutMarkdown

The Sharp Directions Are Against You: Curvature Analysis of Activation Steering

Seyedarmin Azizi, Arya Fayyazi, Parsa Razmara, Erfan Baghaei Potraghloo, Souvik Kundu, Massoud Pedram

NeurIPS page · OpenReview · Open on the map

Category: LLM Reasoning, Memory & RAG › Activation Steering for LLM Control · Type: new method · Keywords: activation steering, contrastive activation addition, steering Hessian, sharp directions, flat directions, sharp removal

Areas: Safety & Security › Safe Alignment › Refusal and Activation Steering

Summary

Sharp removal improves activation steering by eliminating sharp directions that cause erratic behavior, preserving steering direction while reducing curvature.

Explained to a 5-year-old

People sometimes give computers little directions to make them behave nicely. These directions are like tiny arrows that point to where the computer should go. Sometimes the arrows point the wrong way and make the computer act badly. The researchers looked at these arrows and found some that cause big problems even if they are tiny. They made a simple fix that removes the bad arrows, so the computer follows the good directions better.

Explained to a 5-year-old, longer

When we talk to a computer, we can add a small push to its thoughts so it does something we want. This push is a vector that points in a certain direction. Sometimes this push works well, but other times it makes the computer do the opposite of what we intended. The researchers studied these pushes by looking at how the computer’s loss changes when the push is slightly altered. They discovered that some directions are very sharp-tiny changes cause huge swings in behavior-while other directions are flat and safe. By spotting and removing the sharp parts of the push, they keep the useful part of the direction but get rid of the noisy bits. This simple fix makes the computer’s behavior more reliable and helps it stay on the right track during long conversations.

For a technical reader

The paper computes a Hessian of the model’s loss with respect to the steering vector to understand its curvature, revealing sharp and flat eigenvectors. It shows that a small fraction of the vector (sharp directions) can flip behavior dramatically. By projecting out the sharp component, the authors preserve the original steering direction and magnitude while reducing curvature up to 12×. This correction, called sharp removal, consistently improves open-ended generation and reduces unintended behavior in jailbreaking tests.

Problem

Activation steering via contrastive activation addition often shifts model behavior in the wrong direction, making it unreliable for behavioral control. Understanding why this fragility occurs and how to stabilize steering vectors is a key challenge.

Method

The approach studies the steering vector's curvature by computing the steering Hessian, identifies sharp and flat directions via eigenvectors, and removes the sharp component from the steering vector to reduce curvature while preserving direction and magnitude.

Results

Removing sharp directions reduces curvature up to 12× (median 4×) while preserving direction (cosine >0.974) and norm (<3% reduction), and sharp removal outperforms standard CAA across 25 open-ended generation conditions. Anti-steer rates for sharp directions are 53-100%, despite accounting for only 1-5% of the CAA vector’s squared norm.

Contributions

The paper introduces the steering Hessian to analyze curvature of activation steering vectors, identifies sharp and flat directions, and proposes a one-line correction that removes the sharp component, yielding more robust steering. It also demonstrates that sharp directions cause large behavioral swings and act as noise in jailbreaking scenarios.

Practical relevance

The findings enable more reliable and lightweight behavioral control of language models at inference time, reducing the risk of unintended behavior without costly fine-tuning.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction