Measuring Progress in Dictionary Learning for Language Model Interpretability with Board Game Models

Adam Karvonen, Benjamin Wright, Can Rager, Rico Angell, Jannik Brinkmann +4 more
7/31/2024
cs.LGcs.AIcs.CL

No official code found. Best implementation: adamkarvonen/SAE_BoardGameEval (26 stars, last commit 2025-01-28).

Abstract

What latent features are encoded in language model (LM) representations? Recent work on training sparse autoencoders (SAEs) to disentangle interpretable features in LM representations has shown significant promise. However, evaluating the quality of these SAEs is difficult because we lack a ground-truth collection of interpretable features that we expect good SAEs to recover. We thus propose to measure progress in interpretable dictionary learning by working in the setting of LMs trained on chess and Othello transcripts. These settings carry natural collections of interpretable features -- for example, "there is a knight on F3" -- which we leverage into $\textit{supervised}$ metrics for SAE quality. To guide progress in interpretable dictionary learning, we introduce a new SAE training technique, $\textit{p-annealing}$, which improves performance on prior unsupervised metrics as well as our new metrics.

View on arXivView PDF

Code Implementations(1)

262Shell, PythonApr 17, 20241 years ago

Similar Papers

Cite this paper

@article{karvonen2024measuring,
  title  = {Measuring Progress in Dictionary Learning for Language Model Interpretability with Board Game Models},
  author = {Adam Karvonen and Benjamin Wright and Can Rager and Rico Angell and Jannik Brinkmann and Logan Smith and Claudio Mayrink Verdun and David Bau and Samuel Marks},
  year   = {2024},
  eprint = {2408.00113},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2408.00113},
  url    = {http://arxiv.org/abs/2408.00113v2},
  journal = {NEURIPS 2024 2024}
}

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/2408.00113.svg)](https://codeofpaper.com/paper/2408.00113)

Discussion