Temporal Crosscoders: Sparse Feature Discovery Across Sequence Positions
Abstract
Dictionary learning methods - such as Sparse Autoencoders (SAEs) and crosscoders - decompose model activations into human-interpretable building blocks. We introduce \textit{temporal crosscoders}, a simple and flexible framework for feature discovery in Large Language Models (LLMs). To properly evaluate temporal crosscoders we develop TempBench: a panel of synthetic and real-world tasks for evaluating temporal structures. Temporal crosscoders recover synthetic temporal structure and are competitive on real-world detection tasks, while steering performance varies by task. Our results establish temporal crosscoders as a simple and flexible framework for feature discovery, both local and temporal. We provide full code at the following repository: \url{https://github.com/chainik1125/temporal-crosscoders}.