Anatomy of Post-Training: Using Interpretability to Characterize Data and Shape the Learning Signal

Leon Bergen, Usha Bhalla, Sidharth Baskaran, Max Loeffler, Raphael Sarfati, Dhruvil Gala, Ryan Panwar, Santiago Aranguri, Thomas Fel, Atticus Geiger, Matthew Kowal, Siddharth Boppana, Daniel Balsam, Owen Lewis, Jack Merullo, Thomas McGrath, Ekdeep Singh LubanaarXiv 2026

TL;DR

Post-training language models by optimizing opaque scalar rewards often introduces unintended behaviors like sycophancy or over-stylization. This paper presents a data-centric framework that leverages Sparse Autoencoders (SAEs) to audit preference datasets at the concept level before training begins. By identifying and either "explaining away" or amplifying specific latent concepts through data, input, representation, or loss interventions, practitioners can precisely sculpt what a model learns.

What Problem Does This Paper Address?

Standard language model post-training pipelines (such as DPO or RLHF) typically compress diverse human preferences into a single scalar reward. This abstraction acts as a black box, giving practitioners little visibility into what the data is actually teaching the model. As a result, models frequently engage in reward hacking—learning shortcut solutions and spurious correlations that lead to undesirable off-target behaviors. Common examples include over-stylization (e.g., an obsession with bold text and emojis) and sycophancy (falsely validating incorrect user premises).

The authors address this lack of control by asking a fundamental question: Can we inspect a preference dataset before optimization and decide, at the level of human-interpretable concepts, exactly which behaviors the model should be allowed to learn?

Figure 1: Auditing Post-Training Data and Shaping the Learning Signal. We propose a data- centric pipeline for post-training grounded in interpretability tools. Specifically, our pipeline starts with (a) preference datasets and (b) identifies concepts which maximally distinguish the datasets via two-sample hypothesis tests, hence yielding hypotheses for behaviors a model might learn as a consequence of being trained on this specific dataset. (c) We highlight these concepts to the user via our interface and offer several methods that (d) allow them the ability to alter the learning signal by (e) explaining away concepts they would prefer the model did not learn.

Methods

The authors introduce a unified pipeline consisting of two core phases: Hypothesis Generation and Learning Signal Shaping.

  1. Hypothesis Generation: The pipeline uses Sparse Autoencoders (SAEs) to extract latent features from model activations and clusters them into high-level concepts. It operates in two modes:
  2. Prompt-Conditioned: Identifies response concepts that systematically shift between chosen and rejected completions given specific prompt types.
  3. Feature-Conditioned: Scans the entire dataset globally to find which specific regions preferentially reward or suppress a given response concept.
  4. Shaping the Learning Signal ("Explaining Away"): Once an undesirable concept is isolated, the framework unifies four distinct intervention protocols to prevent the model from adapting to it:
  5. Data Filtering: Preemptively removes or downweights training units where the preference signal is heavily predicted by the unwanted concept.
  6. Inoculation Prompting: Appends a context to the prompt that explicitly requests the concept, forcing the model to attribute its presence to the input rather than a global preference.
  7. Activation Steering: Shifts internal representations along the concept direction during training to alter the policy's prior distribution.
  8. Reward Shaping: Directly modifies the reward function or DPO margin by subtracting a score corresponding to the unwanted concept.
Figure 2: Operationalizations of Explaining Away Concepts. We illustrate the four ways of shaping the learning signal discussed in Sec. 2.1. The top row shows the stages at which our interventions are operationalized: data, representations, and the scalar loss/reward optimized during post-training. The bottom row shows interventions at each corresponding level: Data Filtering changes the training distribution by removing or downweighting units whose preference signal is explained by a concept; Inoculation Prompting appends a concept-inducing context, c, so the concept is attributed to the input rather than to the global preference signal; Activation Steering shifts representations along ±c, making the policy itself account for the concept; and Reward Shaping directly modifies the reward by subtracting a concept score, e.g., r′(x, y) = r(x, y) −λsc(x, y). Although these protocols intervene in different places—data, input, representations, or loss—they implement the same principle: explaining away a concept so that the optimal policy does not require its expression.

Datasets

The primary datasets used for training and evaluation include:

  • Dolci (Dolci-Instruct-SFT / DPO): A popular open-source preference dataset used to evaluate the pipeline under realistic training conditions.
  • LMSys-Chat-1M & The Pile (uncopyrighted): Used to train the BatchTopK SAEs.
  • OLMES & AlpacaEval: Utilized for evaluating general capabilities, logic, and conversational styling.
  • HarmBench & XSTest: Used to quantitatively benchmark safety safeguards and over-refusal behaviors.

Key Insights and Ideas

  • Mathematical Unification: The authors prove that the optimal policy under reward optimization represents an exponential tilt of the base distribution. If the reward function is treated as a product of independent concept classifiers, the log-reward decomposes additively. This elegant math explains why intervening at the data, input, or representation level can achieve the exact same "explaining away" effect.
  • Uncovering Hidden Dataset Flaws: Auditing the popular Dolci dataset revealed a startling insight: standard DPO training actually degrades safety safeguards, making models more vulnerable to jailbreaks. This happens because the preference data implicitly rewards compliance with unsafe queries, a signal surfaced clearly by the SAE audit.
  • The Power of Feature Splitting: SAE-based interventions (filtering and reward shaping) exhibit significantly fewer off-target side effects compared to traditional linear probes. Because SAEs split broad concepts into narrow, context-specific features, they allow for highly localized edits without corrupting correlated behaviors.

Key Results

  • Controlled Suppression: In synthetic data-poisoning experiments on Llama-3.1-8B (where traits like "Goblin Weave" or "Overconfidence" were intentionally injected), reward shaping, activation steering, and inoculation prompting successfully drove trait expression back down to unpoisoned baseline levels.
Figure 3: Behaviors can be induced by data and modulated with interventions. We validate our “explaining away” interventions in a controlled poisoning setup on Llama-3.1-8B. For each target trait—Goblin Weave, Cheerfulness, Conflict Avoidance, Formality, and Overconfidence—the x-axis compares the stock SFT checkpoint, the poisoned SFT checkpoint, the poisoned DPO checkpoint, and four post-suppression variants: inoculation prompting, activation steering, token filtering, and reward shaping. Bars report the percentage of sampled responses judged to express the target trait, with solid bars evaluated on Alpaca prompts and hatched bars evaluated on OLMES prompts. Light bars denote the stock and poisoned SFT baselines, red bars denote the poisoned DPO model, and brown bars denote the intervened models. Mildly poisoning the SFT and DPO data is sufficient to induce each target behavior, often with different prevalence across Alpaca and OLMES rollouts. Applying the interventions during post-training substantially reduces trait expression relative to poisoned DPO, though the degree of suppression depends on both the trait and intervention; token filtering is less reliable for broad, diffuse traits, while the other interventions more consistently explain away the poisoned behavior.
  • High Predictive Accuracy: The feature-conditioned pipeline strongly correlated with actual feature changes observed during standard DPO training ($R^2 = 0.9$).
  • Safeguard Recovery at Scale: Reward shaping consistently restored safety metrics across four distinct model families (Llama-3.1-8B, Olmo-3-7B, Olmo-3.1-32B, and Llama-3.1-70B) while successfully retaining the general capability gains provided by DPO.

Limitations and Future Work

The primary limitation of the current framework is its flat concept assumption—it assumes that the targeted concepts are statistically independent. In practice, human behaviors are highly compositional and hierarchical. For instance, style is a parent concept that encompasses markdown, tables, and bold text. Intervening on a single leaf feature often inadvertently impacts its siblings.

Additionally, modulating highly sparse or rare concepts remains difficult if the dataset lacks a dense enough signal to cleanly isolate the behavior. The authors note that future work must focus on developing structure-aware reward shaping that explicitly models conditional dependencies and hierarchies between concepts.

Summary updated

BibTeX
@misc{bergen2026anatomy,
  author = {Leon Bergen and Usha Bhalla and Sidharth Baskaran and Max Loeffler and Raphael Sarfati and Dhruvil Gala and Ryan Panwar and Santiago Aranguri and Thomas Fel and Atticus Geiger and Matthew Kowal and Siddharth Boppana and Daniel Balsam and Owen Lewis and Jack Merullo and Thomas McGrath and Ekdeep Singh Lubana},
  title = {{Anatomy of Post-Training: Using Interpretability to Characterize Data and Shape the Learning Signal}},
  year = {2026},
  eprint = {2606.12360},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.12360},
}
Figure