Alignment is Localized: A Causal Probe into Preference Layers Archie Chaudhury 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 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. K eywords AI Interpretability \cdot AI Safety \cdot AI Alignment 1 Introduction Aligning artificial intelligence systems, such as Language Models (LMs), is perhaps the most important cornerstone in contemporary artificial intelligence research. Modern frontier AI labs have seem to convened on utilizing human feedback combined with reinforcement learning to tune their models, assuming that the models they create, on their own, are misaligned by default to some degree. Techniques such as Reinforcement Learning from Human Feedback (RLHF) [ 1 ] and Direct Preference Optimization (DPO) [ 2 ] have enabled language models to generate outputs that are more helpful, honest, and harmless. These methods work by tuning an existing model toward behavior that is preferred by humans through labeled datasets, turning generalized token prediction systems into agents that can maintain a conversation with a human user and take actions on their behalf [ 3 ] . Yet, despite the sustained success of such methods, the internal mechanisms behind how a model reaches a degree of alignment with a human-dictated policy remains poorly understood. It is still unclear whether alignment is a diffuse phenomenon that affects all of the layers of a model, or whether it is localized, mediated through specific internal subspace that causally influence model behavior. In this work, we propose that preference-based alignment is indeed low-dimensional, and operates casually, influencing model behavior through a small set of internal directions that allow it to maintain its baseline knowledge, rather than a broad change. To empirically investigate this hypothesis, we conduct a series of causal intervention experiments between a base and preference-tuned variant of Llama-3.2-1B. Using activation patching [ 4 ] , we transplant hidden activations between models layer by layer and measure the resulting change in reward-aligned log-likelihoods. We further employ LASSO regression to identify which layers’ representational distances best predict reward improvements. The resulting sparse coefficients coincide with the mid-layer causal bottleneck, providing convergent evidence that alignment is both sparse and localized. Figure 1: Mean per-layer causal effect of activation patching (DPO \to Base) on the Anthropic HHH preference pairs. Our primary findings utilizing a standard RLHF dataset are as follows: Patching activations from the aligned model into the base model significantly increased preference-consistent behavior. Alignment effects are concentrated in a narrow range of mid-stack layers, with early and late layers showing little causal contribution. A small set of principal activation directions reproduce most of the alignment effect. Our experiments, although only done on one model pair, suggest that the same causal pathways that govern token prediction also mediate reinforcement learning gradients focused on alignment. 2 Related Work Reinforcement Learning from Human Feedback (RLHF) has emerged as the dominant paradigm for aligning large language models with human preferences [ 5 ] . Direct Preference Optimization (DPO) reformulates preference fine-tuning as a closed-form policy optimization problem in logit space. Mechanistic interpretability seeks to reverse-engineer neural networks into human-understandable components, identifying how specific neurons, heads, or circuits implement high-level functions [ 6 ] . Recent work has mapped interpretable features such as factual recall, induction heads [ 7 ] , and algorithmic reasoning. Activation patching has become a powerful tool in mechanistic interpretability, enabling researchers to isolate the causal contributions of specific activations or layers to model behavior. These efforts demonstrate that high-level behaviors can often be localized to small, linearly separable subspaces within model representations, particularly Anthropic’s analysis of RLHF models, which suggested that distinct subspaces may encode helpfulness and harmlessness preferences [ 8 ] . Numerous studies have demonstrated that fine-tuning and transfer learning often operate in low-dimensional subspaces of the full parameter or activation space. Methods such as Low-Rank Adaptation (LoRA) [ 9 ] show that large-scale models can be specialized using only a small number of learned directions. 3 Methodology Our primary goal was to determine where and how reinforcment learning aimed at producing alignment was encoded within Large Language Models (LLMs). We conduct all experiments using the Llama 3.2 1B model family released by Meta AI (2025) [ 10 ] . Specifically, we compare the base checkpoint (Llama-3.2-1B) with its instruction-tuned variant (Llama-3.2-1B-Instruct), which has been fine-tuned via a supervised finetuning process. Both checkpoints are publicly available on Hugging Face, share identical tokenizers, and maintain the same model architecture, ensuring feature-space compatibility for causal interventions. For preference supervision, we use the Anthropic Helpful–Harmless–Honest (HHH) dataset [ 8 ] , which contains human-annotated pairs of responses labeled as chosen or rejected according to safety and helpfulness criteria. From this corpus, we sample 80 pairs spanning a mixture of helpfulness and harmlessness scenarios to ensure diversity in alignment-relevant behaviors. Each prompt pair is a distinct test-case that allows us to measure how human preference manifests itself in internal representations. 3.1 Activation Patching For a given prompt, with a positive completion y^{+} and a negative completion y^{-} , we implement activation patching by first measuring the overall difference in the conditional log probablities of the response: \Delta\log p=\log p(y^{+}\mid x)-\log p(y^{-}\mid x), (1) A greater \Delta\log p value indicates that the response was more closely aligned with the human annotations corresponding to the postive, aligned responses. We record hidden activations from both the base and tuned models for each transformer layer during forward passes on the same input sequences. In the activation patching step, we replace a single layer’s hidden states in one model (the target ) with those from the other model (the source ), keeping all other layers fixed. We then recompute the model’s output log-probabilities and evaluate how this intervention modifies \Delta\log p . This difference reflects the causal contribution of that layer’s activations to alignment behavior. The effect of the tuned model on the baseline model is shown in Figure 1 . 3.2 Linear Probes and Sparse Regression Attribution To complement the causal patching experiments, we use linear probing and sparse regression to quantify where alignment information is represented within the network. For each preference pair, we compute the per-layer activation difference between the tuned and base models: \Delta h_{\ell}=h_{\ell}^{(\text{aligned})}-h_{\ell}^{(\text{base})}, (2) where h_{\ell} denotes the mean hidden representation of the final token at layer \ell . We then fit a simple linear probe to predict the behavioral alignment signal (the log-probability margin between preferred and rejected completions): \hat{y}_{\ell}=w_{\ell}^{\top}\|\Delta h_{\ell}\|_{2}+b_{\ell}, (3) providing an interpretable measure of how each layer’s representational shift correlates with aligned behavior. To identify the minimal set of influential layers, we apply LASSO regression [ 11 ] : \min_{w}\ \|Y-Xw\|_{2}^{2}+\lambda\|w\|_{1}, (4) where X contains per-layer activation distances \|\Delta h_{\ell}\|_{2} and Y is the observed causal effect ( \Delta\log p ) from patching. The resulting sparse coefficients highlight only the layers most predictive of alignment gains. 3.3 Complementary Experiments We also performed a set of complemntary experiements, including abalations and tuning to ensure our results were not one off, to further confirm our core hypothesis. Some of these experiments, such as the low rank reconstruction, actually provided new insights. (A1) Directionality. Patching activations from the tuned model into the base consistently increases \Delta\log p . We reverse this to see if it has any effect. A full set of results can found in section A1: Directionality of the appendix. (A2) Random and Identity Controls. To verify that observed effects are not spurious, we patch randomized activations and self-replacement controls. A full set of results can be found in section A2: Identity and Random Controls. of the appendix. (A3) \boldsymbol{\alpha} -Interpolation (Dose–Response). We scale the strength of the causal intervention with a mixing coefficient \alpha\in[0,1] . The results can be found in section A3: \boldsymbol{\alpha} -Interpolation. of the appendix. (A4) Source Variants. We patch activations corresponding to the chosen , rejected , and ( chosen – rejected ) differences separately, seeing if this changes the alignment signal. (A5) Low-Rank Reconstruction. We perform singular value decomposition (SVD) on the tuned activations and patch only the top- k principal components. 4 Results Our results show that human preference alignment emerges from a small, localized subspace of mid-layer representations. Specifically, for the small subset of dataset that we used and our model pair, layer 8 was where the majority of the reward associated with positive responses was concentrated. 4.1 Sparse Attribution (LASSO Coefficients) Table 1 reports the per-layer coefficients from the LASSO regression linking activation distance to reward gain (see Fig. 2 ). Only layer 8 exhibits a significant non-zero coefficient, confirming a sparse and highly localized attribution pattern. Table 1: Per-layer LASSO coefficients predicting reward gain ( \Delta\log p ) from activation distances. Layer 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Coeff 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -0.18 0.00 0.00 0.00 0.00 0.00 0.00 0.00 The resulting sparse coefficient pattern mirrors the causal patching peaks observed in the main experiment, reinforcing that alignment mechanisms are concentrated within a single mid-layer bottleneck. Figure 2: LASSO coefficients linking activation distance to reward gain ( \Delta\log p ). A single mid-layer dominates the attribution. 4.2 Source Variant Causality Figure 3 compares causal effects for activations derived from the chosen, rejected, and contrastive (chosen–rejected) representations. These representation can be defined as follows. The chosen representation represents the tuned model’s internal activations when producing the aligned (human-preferred) response. In turn, the rejected representation is the tuned model’s internal trajectory as it produces a dispreferred response. The contrastive representation is the difference vector between the two: the direction in activation space that separates aligned from misaligned behavior. The chosen and contrastive variants yield positive \Delta\log p effects across layers, while the rejected variant produces the opposite trend. This pattern supports the hypothesis that alignment representations encode a directed reward signal, rather than being a generalized feature transfer. Figure 3: Causal patching results for source variants. The contrastive (y^{+}-y^{-}) representation drives positive alignment effects, while rejected activations reduce \Delta\log p . 4.3 Low-Rank Reconstruction To test whether alignment lies in a low-dimensional subspace, making it low rank in addition to being localized, we perform singular value decomposition (SVD) on tuned activations and patch only the top- k components. We do this by collecting tuned activations H_{\ell}\in\mathbb{R}^{N\times d} from layer \ell across all tokens and examples: H_{\ell}=U\Sigma V^{\top}. We then reconstruct a low-rank approximation using only the top- k singular components: H_{\ell,\text{approx}}=U_{[:,:k]}\Sigma_{[:k,:k]}V_{[:,:k]}^{\top}. (5) This approximation preserves the dominant modes of variance within the aligned representation. We patch H_{\ell,\text{approx}} into the base model in place of the full tuned activations and remeasure the causal alignment effect ( \Delta\log p ). As shown in Figure 4 , retaining just 4 components ( \approx 15% of total variance) reproduces nearly the full alignment effect. Table 2: Low-rank reconstruction summary for (layer 9). Rank ( k ) Approx. Mean Full Mean Variance Ratio 4 161.6 160.3 0.986 Figure 4: Low-rank reconstruction results. A small number of principal components capture nearly all causal alignment effect. 5 Discussion Our experiments, although limited in scope, provide evidence that preferential, human annotated alignment is localized, directional, and low-rank. Across all causal interventions, patching midlayer activations from the preference-aligned Llama 3.2 Instruct model into its corresponding base model consistently increased the occurrence of aligned behavior. Linear probes and sparse regression (LASSO) revealed that alignment information is not uniformly distributed across the network but concentrated in a small set of middle layers. SVD analysis revealed that patching only the top proportion of activations could produce the full effect of alignment, indicating that alignment resides in a compact, low-dimensional subspace. 5.1 Limitations and Future Work As previously stated, our experiment was limited, focusing only only on a single model family and a subset of a single dataset. Our results may differ for models with different architectures, or for datasets with more diverse or different prompts. Our experiment also focused exclusively on linear, layer-based interventions. Studying non-linear, or cross-layer interventions, could be an interesting direction for future work. Future work could also focus on testing the transferability of discovered subspaces across models, modalities, and alignment dimensions, such as honesty, or less explicit behavioral patterns such as sycophancy. 6 Conclusion As the development of LMs continues, ensuring that they are aligned and safe will continue to be priority. This will be driven in large part by human feedback that dictates the manner in which models behave in production settings. Our experiment was concentrated on uncovering where and how human feedback is utilized within a model to make it more aligned. By combining activation patching, linear probing, and low-rank reconstruction, we show that preference alignment is directional, sparse, and ultimately localized within a mid-layer bottleneck. Appendix Supplementary Results We present supplementary figures corresponding to the key causal experiments. Each experiment isolates a distinct property of the alignment mechanism within the preference-aligned model. A1: Directionality Patching activations from the aligned model into the base consistently increases \Delta\log p , whereas the reverse direction (Base \rightarrow Aligned) yields minimal change. This confirms that alignment information flows asymmetrically, from tuned mid-layer representations into the base model’s output computation. Figure 5: Patching from the aligned model into the base increases \Delta\log p , demonstrating unidirectional causal flow of alignment information. A2: Identity and Random Controls. Control interventions demonstrate that alignment effects are not one off or isolated, at least within the context of our experiment; replacing activations with Gaussian noise or self-patching (Base \rightarrow Base) produces near-zero \Delta\log p . This validates that observed effects stem from genuine representational transfer rather than random activation perturbations. Figure 6: Identity and random control patching confirming causal specificity and non-spurious alignment transfer. A3: \boldsymbol{\alpha} -Interpolation. To test for continuity, we interpolate between base and aligned activations with a mixing coefficient \alpha\in[0,1] . The increase in \Delta\log p with \alpha demonstrates that alignment behavior scales proportionally with patch strength, consistent with previous results. Figure 7: Dose–response relationship between patch strength \alpha and alignment gain, confirming continuous dependency on representation strength. — Reproducibility Details All experiments were implemented in Python using the Hugging Face Transformers library. Causal interventions were applied with layerwise activation replacement hooks at model forward pass time. Statistical regression and SVD analyses were conducted using scikit-learn and NumPy, and all visualizations were generated via Matplotlib. We selected the LASSO regularization parameter \lambda via 5-fold cross-validation using the LassoCV implementation in scikit-learn . The cross-validation was performed over a log-spaced grid of \lambda values in the range [10^{-4},10^{1}] , following z-scoring of per-layer features \|\Delta h_{\ell}\|_{2} and mean-centering of the target variable ( \Delta\log p ). The reported coefficients correspond to the model’s cross-validation–optimal regularization parameter ( \alpha\_ in LassoCV ). Compute and Resources Experiments were performed on a single NVIDIA A100 GPU (80 GB) with mixed precision (fp16) enabled. Each evaluation batch contained one prompt pair, and per-layer patching was applied sequentially.