HeadEdit: Calibrating Language Model Behavior Through the Frozen Unembedding Matrix
Not on the map. Why?
Abstract (arXiv)
Alignment does not eliminate behavioral errors in language models. Models may still refuse benign requests, call unnecessary tools, or yield to false user claims. Current methods mitigate such errors as a computation problem, and rarely explore if the desired behavior is already encoded in the model's representation. Motivated by the observation that behavior-relevant information remains linearly decodable from the final hidden state even when the resulting logits produce the undesired behavior, we introduce HeadEdit, a gradient-free method that calibrates model behavior through the unembedding matrix. HeadEdit extracts a low-rank behavioral subspace from paired completions and uses each prompt's coordinates within it to generate a vocabulary-wide correction, thereby implementing implicitly adaptive steering without manually specified target tokens or parameter updates. HeadEdit improves all nine experimental settings across three tasks and three model families, with negligible inference overhead and no systematic loss of general capabilities. It also reveals a connection to gradient-based alignment. HeadEdit's low-dimensional representation partly predicts how preference tuning changes output logits on unseen prompts. The subspace learned from the model can also be reused after tuning, improving performance without re-extracting or retuning. These results show that HeadEdit provides a practical, lightweight, and interpretable way to calibrate model behavior through the unembedding matrix.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 39 of its 41 references that are in the map. First posted on arXiv 1 Oct 2026.
Builds on
39 of 41 references.
References · 39
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Let's Verify Step by Stepcited by 3,598
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2025Gemma 3 Technical Reportcited by 1,686
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,009
27 more
- 2023Towards Understanding Sycophancy in Language Modelscited by 988
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
- 2024SimPO: Simple Preference Optimization with a Reference-Free Rewardcited by 951
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 840
- 2023Steering Language Models With Activation Engineeringcited by 824
- 2024ORPO: Monolithic Preference Optimization without Reference Modelcited by 556
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
- 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 374
- 2024KTO: Model Alignment as Prospect Theoretic Optimizationcited by 256
- 2024SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusalcited by 224
- 2024OR-Bench: An Over-Refusal Benchmark for Large Language Modelscited by 222
- 2024Improving Instruction-Following in Language Models through Activation Steeringcited by 149
- 2024Semantics-Adaptive Activation Intervention for LLMs via Dynamic Steering Vectorscited by 61
- 2024DeAL: Decoding-time Alignment for Large Language Modelscited by 55
- 2024Fishing for Magikarp: Automatically Detecting Under-trained Tokens in Large Language Modelscited by 45
- 2024Extracting Prompts by Inverting LLM Outputscited by 40
- 2026Think Deep, Not Just Long: Measuring LLM Reasoning Effort via Deep-Thinking Tokenscited by 21
- 2026Spherical Steering: Geometry-Aware Activation Rotation for Language Modelscited by 17
- 2026LLM Agents Already Know When to Call Tools -- Even Without Reasoningcited by 17
- 2025Better Language Model Inversion by Compactly Representing Next-Token Distributionscited by 9
- 2025Rep2Text: Decoding Full Text from a Single LLM Token Representationcited by 7
- 2026Lost in Backpropagation: The LM Head is a Gradient Bottleneckcited by 6
- 2025LogitTrace: Detecting Benchmark Contamination via Layerwise Logit Trajectoriescited by 2
- 2025D-STEER - Preference Alignment Techniques Learn to Behave, not to Believe -- Beneath the Surface, DPO as Steering Vector Perturbation in Activation Spacecited by 2
- 2026SPINAL -- Scaling-law and Preference Integration in Neural Alignment Layerscited by 1
- 2026SAE as a Crystal Ball: Interpretable Features Predict Cross-domain Transferability of LLMs without Trainingcited by 1
- 2026Mechanistic Analysis of Alignment Algorithms in Language Modelscited by 1
Built on by
Not cited yet.