Robustly identifying concepts introduced during chat fine-tuning using crosscoders

Julian Minder, Clément Dumas, Bilal Chughtai, Neel Nanda

TL;DR

Standard $L_1$-regularized crosscoders frequently misidentify shared concepts as unique to fine-tuned chat models due to optimization artifacts ("Complete Shrinkage" and "Latent Decoupling"). By introducing a diagnostic metric called Latent Scaling and switching to BatchTopK crosscoders, the authors eliminate these false discoveries, uncovering genuinely chat-specific, causally impactful features—such as refusal triggers, persona queries, and fact-checking—that concentrate heavily on conversational template tokens.

What Problem Does This Paper Address?

Understanding how fine-tuning alters a language model’s internal representations—a subfield called model diffing—is essential for interpreting safety alignment and instruction-following. Crosscoders are multi-model Sparse Autoencoders (SAEs) that map activations from both a base and a fine-tuned model to a shared dictionary of latent concepts. When a latent has an active decoder direction in the chat model but zero norm in the base model, prior work assumed it was a newly introduced concept.

The authors show this assumption is flawed: standard $L_1$ crosscoder training creates mathematical artifacts that drive the base decoder norm to zero even when the concept is present in the base model:

  1. Complete Shrinkage: The $L_1$ penalty penalizes $\|d_j^{\text{base}}\|_2 + \|d_j^{\text{chat}}\|_2$. If a concept activates more strongly in the chat model, the optimizer zeroes out the base direction entirely to save loss.
  2. Latent Decoupling: A shared concept can be represented by a single chat-only latent in the chat model while being reconstructed by a linear combination of other latents in the base model without extra sparsity penalty.

Methods

  • Latent Scaling: A diagnostic tool that measures whether a candidate "chat-only" latent direction ($d_j^{\text{chat}}$) actually explains base model activations when scaled by an optimal scalar $\beta$. It yields two ratios via closed-form least squares:
  • Error Ratio ($\nu_j^\varepsilon$): Quantifies whether the chat direction explains the base model's reconstruction error. A high ratio indicates Complete Shrinkage.
  • Reconstruction Ratio ($\nu_j^r$): Quantifies whether the chat direction aligns with the base model's existing reconstruction. A high ratio indicates Latent Decoupling. Truly chat-specific latents must have both $\nu_j^\varepsilon \approx 0$ and $\nu_j^r \approx 0$.
  • BatchTopK Crosscoders: Instead of an $L_1$ penalty, sparsity is enforced directly by selecting the top $n \cdot k$ latents across a batch based on their scaled activation norms, entirely bypassing $L_1$ shrinkage dynamics.
  • Causal Patching: Latents identified as chat-specific are patched from the chat decoder into the base model's residual stream at layer 13 to measure their reduction in KL divergence relative to the full chat model's output distribution.

Datasets

  • Training Data: 100 million tokens evenly sampled from FineWeb (pretraining web text) and LMSYS-Chat-1M (real-world user dialogues).
  • Evaluation Data: Validation subsets of LMSYS-Chat-1M and synthetic multi-turn prompts generated to probe safety, refusal, and factual-inquiry behaviors.

Key Insights and Ideas

  • $L_1$ Decoder Geometry is Biased: The $L_1$ crosscoder penalty decomposes across separate norms ($\sqrt{x^2} + \sqrt{y^2}$), creating sharp gradients toward axis-aligned sparsity that artificially split shared representations into "model-specific" ones.
  • BatchTopK Inherent Robustness: BatchTopK crosscoders naturally avoid these artifacts. They identified far fewer candidate chat-only latents (134 vs. 3,176 in $L_1$), but these latents were robust, with near-zero error and reconstruction ratios.
  • Template Tokens are Behavioral Hubs: A striking 40% of BatchTopK chat-only latents activate predominantly on special template tokens (e.g., <sot>, <eot>), and 67% activate on them at least one-third of the time. The transition from base to chat behavior is largely orchestrated at prompt and role boundaries.

Key Results

  • Spurious Latent Elimination: In the $L_1$ crosscoder, 18% of latents classified as "chat-only" by relative norm difference ($\Delta_{\text{norm}}$) overlapped with the central 95% distribution of shared latents under Latent Scaling. BatchTopK exhibited zero overlap.
  • Causal Effectiveness: When patching the top 50% of latents into the base model (specifically measuring the first 9 generated tokens):
  • $L_1$ ranked by $\Delta_{\text{norm}}$ failed to outperform the bottom 50% (KL divergence $\sim 0.62$ vs. $\sim 0.52$).
  • $L_1$ filtered by Latent Scaling successfully isolated causal latents, drastically reducing KL divergence from $\sim 0.74$ to $\sim 0.50$.
  • BatchTopK with simple $\Delta_{\text{norm}}$ achieved an immediate drop from $\sim 0.98$ to $\sim 0.51$.
  • Interpretable Chat-Specific Concepts: Validated latents include highly specific refusal modes (harmful instructions vs. stereotype generation vs. post-refusal state), detection of user misinformation/false premises, personal self-identity questions ("Can you love?"), and response length constraints.

Limitations and Future Work

  • Model Scale and Depth: Experiments were restricted to Gemma 2 2B at a single layer (layer 13). Validating crosscoder scaling dynamics across larger parameter models and multi-layer diffing setups remains future work.
  • Template Token Mechanics: While template tokens were shown to harbor a disproportionate share of chat-specific activations, the precise causal mechanism mediating downstream token generation from these positions requires further exploration.

Summary updated

Abstract

Model diffing is the study of how fine-tuning changes a model's representations and internal algorithms. Many behaviours of interest are introduced during fine-tuning, and model diffing offers a promising lens to interpret such behaviors. Crosscoders are a recent model diffing method that learns a shared dictionary of interpretable concepts represented as latent directions in both the base and fine-tuned models, allowing us to track how concepts shift or emerge during fine-tuning. Notably, prior work has observed concepts with no direction in the base model, and it was hypothesized that these model-specific latents were concepts introduced during fine-tuning. However, we identify two issues which stem from the crosscoders L1 training loss that can misattribute concepts as unique to the fine-tuned model, when they really exist in both models. We develop Latent Scaling to flag these issues by more accurately measuring each latent's presence across models. In experiments comparing Gemma 2 2B base and chat models, we observe that the standard crosscoder suffers heavily from these issues. Building on these insights, we train a crosscoder with BatchTopK loss and show that it substantially mitigates these issues, finding more genuinely chat-specific and highly interpretable concepts. We recommend practitioners adopt similar techniques. Using the BatchTopK crosscoder, we successfully identify a set of genuinely chat-specific latents that are both interpretable and causally effective, representing concepts such as false information and personal question, along with multiple refusal-related latents that show nuanced preferences for different refusal triggers. Overall, our work advances best practices for the crosscoder-based methodology for model diffing and demonstrates that it can provide concrete insights into how chat tuning modifies language model behavior.
BibTeX
@inproceedings{minder2025robustly,
  author = {Julian Minder and Clément Dumas and Bilal Chughtai and Neel Nanda},
  title = {{Robustly identifying concepts introduced during chat fine-tuning using crosscoders}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=yFdNygEryH},
}
Figure