Overcoming Sparsity Artifacts in Crosscoders to Interpret Chat-Tuning

Julian Minder, Clément Dumas, C. Juang, Bilal Chughtai, Neel Nanda
4/1/2025
36 citations

No official code found. Best implementation: science-of-finetuning/crosscoder_learning (29 stars, Python, MIT, last commit 2026-02-04). 1 more below.

Abstract

Model diffing is the study of how fine-tuning changes a model's representations and internal algorithms. Many behaviors of interest are introduced during fine-tuning, and model diffing offers a promising lens to interpret such behaviors.

Show full abstract

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 chat-specific latents that are both interpretable and causally effective, representing concepts such as $\textit{false information}$ and $\textit{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 model behavior.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
science-of-finetuning/crosscoder_learningCommunity29PythonMIT2026-02-04
science-of-finetuning/sparsity-artifacts-crosscodersCommunity19Jupyter Notebook–2025-11-21
MIT

Modified to support crosscoder training.

2910Python, ShellOct 21, 202410 months agoMIT

Code for the "Overcoming Sparsity Artifacts in Crosscoders to Interpret Chat-Tuning" paper.

199Jupyter Notebook, PythonOct 18, 20241 years ago

Similar Papers

Cite this paper

@article{minder2025overcoming,
  title  = {Overcoming Sparsity Artifacts in Crosscoders to Interpret Chat-Tuning},
  author = {Julian Minder and Clément Dumas and C. Juang and Bilal Chughtai and Neel Nanda},
  year   = {2025},
  eprint = {2504.02922},
  archivePrefix = {arXiv},
  doi    = {10.52202/085713-3551},
  url    = {https://doi.org/10.52202/085713-3551},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.02922.svg)](https://codeofpaper.com/paper/2504.02922)

Discussion