Inference-Time Decomposition of Activations (ITDA): A Scalable Approach to Interpreting Large Language Models

Patrick Leask, Neel Nanda, N. A. Moubayed
2/14/2026

No official code found. Best implementation: pleask/itda (9 stars, last commit 2025-05-29).

Abstract

Sparse autoencoders (SAEs) are a popular method for decomposing Large Langage Models (LLM) activations into interpretable latents. However, due to their substantial training cost, most academic research uses open-source SAEs which are only available for a restricted set of models of up to 27B parameters. SAE latents are also learned from a dataset of activations, which means they do not transfer between models. Motivated by relative representation similarity measures, we introduce Inference-Time Decomposition of Activations (ITDA) models, an alternative method for decomposing language model activations. To train an ITDA, we greedily construct a dictionary of language model activations on a dataset of prompts, selecting those activations which were worst approximated by matching pursuit on the existing dictionary. ITDAs can be trained in just 1% of the time required for SAEs, using 1% of the data. This allowed us to train ITDAs on Llama-3.1 70B and 405B on a single consumer GPU. ITDAs can achieve similar reconstruction performance to SAEs on some target LLMs, but generally incur a performance penalty. However, ITDA dictionaries enable cross-model comparisons, and a simple Jaccard similarity index on ITDA dictionaries outperforms existing methods like CKA, SVCCA, and relative representation similarity metrics. ITDAs provide a cheap alternative to SAEs where computational resources are limited, or when cross model comparisons are necessary. Code available at https://github.com/pleask/itda.

View on arXivView PDF

Code Implementations(1)

pleask/itdaCommunity100%
95PythonOct 7, 20241 years ago

Similar Papers

Cite this paper

@article{leask2026inferencetime,
  title  = {Inference-Time Decomposition of Activations (ITDA): A Scalable Approach to Interpreting Large Language Models},
  author = {Patrick Leask and Neel Nanda and N. A. Moubayed},
  year   = {2026},
  eprint = {2505.17769},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2505.17769},
  journal = {ICML 2025 2025}
}

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

Discussion