Robustly identifying concepts introduced during chat fine-tuning using crosscoders

Julian Minder, Clément Dumas, Caden Juang, Bilal Chugtai, Neel Nanda · DOI

Introduction

Fine-tuning a base language model into a chat-optimized assistant involves significant shifts in internal representations. Understanding these changes is the goal of "model diffing." A powerful tool for this task is the crosscoder, which learns a shared dictionary of concepts (latents) across both base and fine-tuned models. However, standard crosscoder training methods often produce artifacts that misidentify shared knowledge as novel chat-specific features.

The Sparsity Artifact Problem

Standard crosscoders rely on L1 regularization to enforce sparsity. While this produces a clean-looking trimodal distribution of "base-only," "shared," and "chat-only" latents, researchers have found this distribution is often a mathematical artifact rather than a reflection of the model's true state.

Specifically, L1 penalties cause two main issues:

  1. Complete Shrinkage: The penalty can force a concept's representation in the base model to zero if it is weaker than in the chat model, even if the concept is present in both.
  2. Latent Decoupling: The crosscoder may "invent" a new chat-only latent for a concept that exists in the base model but is represented differently.
Figure 1(a): The distribution of latents in an L1 crosscoder shows a distinct "chat-only" peak (blue) that is largely composed of sparsity artifacts.

Robust Identification: BatchTopK and Latent Scaling

To overcome these artifacts, the authors propose two major methodological improvements:

  • BatchTopK Loss: Instead of L1 regularization, this approach selects only the top k most active concepts per batch. This enforces sparsity without the direct pressure to shrink decoder norms to zero, making the resulting latents more robust.
  • Latent Scaling: A new diagnostic framework to validate "chat-only" latents. It uses two metrics: the Error Ratio ($\nu^\epsilon$), which detects if info is hidden in reconstruction error (Complete Shrinkage), and the Reconstruction Ratio ($\nu^r$), which checks if info is already captured by other base latents (Latent Decoupling).
Figure 2: Comparison of L1 and BatchTopK crosscoders using diagnostic metrics. BatchTopK (b) significantly reduces the number of false-positive chat-only latents compared to L1 (a), as shown in the cumulative count (c).

Key Results and Insights

By applying these methods to models like Gemma 2 2B and Llama 3, the researchers achieved a dramatic reduction in false positives. In some experiments, the false attribution rate for chat-only latents dropped from ~67% to just 0.7%.

Interpretable Chat Concepts

The validated latents reveal genuine functional changes introduced during fine-tuning:

  • Refusal Mechanisms: Specific latents trigger for harmful content or sensitive social topics.
  • False Information Detection: Latents that fire when a user provides factually incorrect prompts.
  • Chat Templates: Approximately 40% of genuine chat latents fire on template tokens (e.g., <start_of_turn>), acting as anchors that signal the model to switch into assistant mode.

Causal Validity

These identified latents are not just interpretable; they are causally functional. Patching these specific latents from the chat model back into the base model significantly closes the behavioral gap between the two, demonstrating that they capture the core logic of the fine-tuning process.

Conclusion

Moving beyond L1 regularization to BatchTopK loss and employing Latent Scaling diagnostics allows for a much more "honest" look at model fine-tuning. While challenges remain in distinguishing between truly novel concepts and massive representation shifts, these tools provide a robust foundation for peering into the black box of chat-tuning.

Summary updated

BibTeX
@inproceedings{minder2025robustly,
  author = {Julian Minder and Clément Dumas and Caden Juang and Bilal Chugtai 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