TL;DR
Standard tools for interpreting Large Language Models (LLMs) inspect model activations one token at a time, which is a bit like trying to understand a melody by analyzing isolated musical notes. This paper introduces Temporal Crosscoders (TXCs)—a simple framework that reads across windows of tokens to uncover multi-token, narrative-level concepts—and TempBench, a benchmark suite to rigorously test them. It turns out that temporal awareness is a superpower for uncovering hidden, spread-out structures, though single-token methods still hold their ground when concepts are strictly local.
What Problem Does This Paper Address?
To understand what happens inside an LLM, researchers use Sparse Autoencoders (SAEs). SAEs act like prisms, decomposing messy, dense neural activations into sparse, human-interpretable "features" (directions in activation space corresponding to concepts like "Golden Gate Bridge" or "sarcasm").
However, standard SAEs operate on a flawed assumption: they look at a single token at a time. Natural language doesn't work like that. Meaning, syntax, and reasoning unfold across phrases, sentences, and paragraphs. When you force a dictionary to chop multi-token concepts into single-token slices, you fragment the underlying picture. While a few recent methods have tried adding temporal penalties to training losses, the field lacked both a simple architecture for pooling features across time and a standardized way to test if these temporal methods actually work.
Methods
If you are familiar with layerwise crosscoders—which pool features across different layers of a neural network—the Temporal Crosscoder (TXC) is wonderfully intuitive: just swap the layer index for a sequence position index.
Instead of encoding a single token's activation, a TXC takes a sliding window of $T$ consecutive token activations. It projects all of them into a single, shared sparse latent vector using position-specific encoder weights, applies a BatchTopK sparsity function, and then reconstructs the entire window using position-specific decoder weights.
What makes this neat is its flexibility. Because it shares a pool of latents across time without rigid priors, a feature can choose to reconstruct just a single token (mimicking a standard SAE), or it can span the entire window to capture a broader, multi-token thought.
Datasets
Because prior temporal dictionaries were evaluated in isolation, the authors built TempBench, an evaluation suite combining new synthetic tasks with real-world LLM behavioral tests:
- Synthetic HMM Benchmarks (New): Prior synthetic benchmarks fired ground-truth features independently at each token. The authors generalize this using Hidden Markov Models (HMMs) so feature firings have genuine temporal history. This includes Shamir Secret Sharing (a cryptographic puzzle where single tokens reveal mathematically zero information about a temporal secret), Denoising (separating sticky hidden states from noisy token emissions), and Coupling (recovering shared parent chains driving local features).
- Real-World Tasks:
- SAEBench (36 sparse-probing tasks on
gemma-2-2b-itfor static concept detection). - MATH-500 (detecting and steering multi-token "backtracking" in reasoning models like
DeepSeek-R1-Distill-Llama-8B). - Emergent Misalignment (controlling broad misaligned behavior in
Qwen-2.5-7B-Instructfinetuned on bad medical advice). - HH-RLHF (decomposing human preference data into chosen vs. rejected responses, used here as a negative control where response length is a heavy confounder).
Key Insights and Ideas
- The right unit of explanation depends on the task: Temporal dictionaries aren't universally "better" than per-token SAEs. When evidence is spread across nearby tokens (like a model realizing it made a math error and backtracking), TXCs shine. When a task is sensitive to response-length artifacts (like HH-RLHF), temporal aggregation can actually smear representations and amplify spurious correlations.
- Complementary tools, not substitutes: TXCs (which share latents across a window) and Temporal SAEs / T-SAEs (which encode single tokens but use contrastive loss to make neighbors agree) have opposite strengths! TXCs excel at uncovering hidden temporal secrets and detecting reasoning shifts, while T-SAEs are better at steering misaligned personas and handling RLHF data.
- Detection $\neq$ Steering: Just because an architecture is great at detecting a multi-token behavior doesn't mean pulling on its features will causally steer the model effectively.
Key Results
- Cracking Temporal Secrets: In the Shamir Secret Sharing task (order $h=2$, where you must combine at least 3 timesteps to beat random guessing of $1/11$), TXC is the only architecture to rise above chance, approaching near-perfect accuracy as window size grows.
- Synthetic Global Recovery: TXC achieves the highest full-code denoising score ($R^2_{\text{global}} = 0.48$), handily beating per-token TopK SAEs. In the Coupling task, temporal models (TXC and T-SAE) hit $0.99$ global alignment (
gAUC), whereas TopK SAE drops from $0.92$ to $0.44$ as capacity shifts toward noisy local tokens. - Real-World Detection vs. Steering:
- On SAEBench sparse probing, temporal methods take the lead: TXC reaches $0.932\text{--}0.935$ mean AUC, edging out TopK SAE ($0.919$).
- For Backtracking, TXC dominates detection (reaching $0.240$ average precision at 32 features vs. $0.197$ for TopK SAE and $0.193$ for T-SAE). Yet for causal steering, last-token TopK SAE induces more backtracking ($+0.107$ events) than TXC ($+0.037$).
- On HH-RLHF and Emergent Misalignment, T-SAE outperforms TXC—achieving the largest steering dynamic range ($25.9$ vs. TXC's $19.8$) and recovering $14/20$ semantic preference features compared to TXC's $7/20$.
Limitations and Future Work
The authors are candid about what remains unsolved. First, TXCs currently rely on short, fixed windows (e.g., 5 to 20 tokens); scaling to paragraph- or document-length contexts without blowing up compute will require clever tricks like hierarchical windows, state-space compression, or tensor networks. Second, the paper maps what happens empirically, but lacks a theoretical framework to predict in advance which real-world tasks will favor TXCs over standard SAEs.
Looking ahead, two avenues stand out: combining TXCs with cross-layer crosscoders to track features across both time and network depth simultaneously, and merging TXCs with the contrastive objectives of T-SAEs to get the best of both worlds in a single dictionary.
Summary updated