Table of Contents
Fetching ...

Alignment is Localized: A Causal Probe into Preference Layers

Archie Chaudhury

TL;DR

This work systematically analyze preference optimization for language model alignment by applying layer-wide causal patching between a base model and its tuned counterpart across human preference pairs, and shows that, at least for some language models, alignment from human-based, preferential tuning is a directional, low rank process, rather than diffuse and parameteric.

Abstract

Reinforcement Learning frameworks, particularly those utilizing human annotations, have become an increasingly popular method for preference fine-tuning, where the outputs of a language model are tuned to match a certain set of behavioral policies or guidelines. Reinforcement Learning through Human Feedback (RLHF) is perhaps the most popular implementation of such a framework, particularly for aligning LMs toward safety and human intent. However, the internal workings of how such alignment is achieved remain largely opaque. In this work, we systematically analyze preference optimization for language model alignment by applying layer-wide causal patching between a base model and its tuned counterpart across human preference pairs. We implement our methodology on \textit{Llama-3.2-1B}, and find that alignment is spatially localized: mid-layer activations encode a distinct subspace that causally determines reward-consistent behavior, while early and late layers remain largely unaffected. Utilizing LASSO regression, we also find that only a small number of layers possess non-zero coefficients linking activation distances to reward gains. Overall, we show that, at least for some language models, alignment from human-based, preferential tuning is a directional, low rank process, rather than diffuse and parameteric.

Alignment is Localized: A Causal Probe into Preference Layers

TL;DR

This work systematically analyze preference optimization for language model alignment by applying layer-wide causal patching between a base model and its tuned counterpart across human preference pairs, and shows that, at least for some language models, alignment from human-based, preferential tuning is a directional, low rank process, rather than diffuse and parameteric.

Abstract

Reinforcement Learning frameworks, particularly those utilizing human annotations, have become an increasingly popular method for preference fine-tuning, where the outputs of a language model are tuned to match a certain set of behavioral policies or guidelines. Reinforcement Learning through Human Feedback (RLHF) is perhaps the most popular implementation of such a framework, particularly for aligning LMs toward safety and human intent. However, the internal workings of how such alignment is achieved remain largely opaque. In this work, we systematically analyze preference optimization for language model alignment by applying layer-wide causal patching between a base model and its tuned counterpart across human preference pairs. We implement our methodology on \textit{Llama-3.2-1B}, and find that alignment is spatially localized: mid-layer activations encode a distinct subspace that causally determines reward-consistent behavior, while early and late layers remain largely unaffected. Utilizing LASSO regression, we also find that only a small number of layers possess non-zero coefficients linking activation distances to reward gains. Overall, we show that, at least for some language models, alignment from human-based, preferential tuning is a directional, low rank process, rather than diffuse and parameteric.
Paper Structure (16 sections, 6 equations, 7 figures, 2 tables)

This paper contains 16 sections, 6 equations, 7 figures, 2 tables.

Figures (7)

  • Figure 1: Mean per-layer causal effect of activation patching (DPO$\to$Base) on the Anthropic HHH preference pairs.
  • Figure 2: LASSO coefficients linking activation distance to reward gain ($\Delta \log p$). A single mid-layer dominates the attribution.
  • Figure 3: Causal patching results for source variants. The contrastive $(y^+ - y^-)$ representation drives positive alignment effects, while rejected activations reduce $\Delta \log p$.
  • Figure 4: Low-rank reconstruction results. A small number of principal components capture nearly all causal alignment effect.
  • Figure 5: Patching from the aligned model into the base increases $\Delta \log p$, demonstrating unidirectional causal flow of alignment information.
  • ...and 2 more figures