Cross-Layer TopK: Dynamically Allocating Sparsity Across Layers in Transcoders
Anyuan Zhuo, Shaohua Zhang, Tianle Li, Yuan Lin, Diandian Gu, Jun Wang, Pinyan Lu
Key points
From the paper's conclusion- We propose Cross-Layer TopK, which sets a single L0 budget for the whole model and dynamically allocates it across layers during training.
Abstract
Cross-Layer Transcoders (CLTs) decompose the activations of large language models into human-interpretable features and trace how these features interact across layers to form circuits, making them a key tool for mechanistic interpretability. However, training CLTs effectively and efficiently is hard. Beyond the usual trade-off between sparsity and reconstruction quality, a CLT has to model all layers at once, which adds a further challenge. The common JumpReLU recipe controls sparsity only indirectly through a penalty, while the direct extension of TopK selects a fixed number of latents in every layer. Yet reconstruction difficulty differs widely across layers, and intermediate layers are much harder than others, so giving every layer the same budget is suboptimal. We propose Cross-Layer TopK, which sets a single L0 budget for the whole model and dynamically allocates it across layers during training. In a comparison with JumpReLU and other TopK variants on Qwen3-8B-Base, this gives lower FVU while using 20% fewer active latents than JumpReLU. The better reconstruction carries over to circuit tracing, yielding more complete circuits with higher replacement and completeness scores. The fixed per-token budget of Cross-Layer TopK also makes it easy to pair with sparse decoding, which cuts both computation and communication and gives a 2.9x speedup per training step. We further show that Cross-Layer TopK follows scaling laws in both latent size and sparsity. We have open-sourced the weights of our CLT at https://huggingface.co/ByteDance-Seed/Cross-Layer-TopK-CLT.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Comparing Sparsified MLPs and Transcoders: Many Transcoder Features Are Neurons in DisguisearXiv · 2026
- Sparse Transformer: a Controlled Testbed for Mechanistic InterpretabilityarXiv · 2026
- Active Budget Can Kill Sensitivity: Diagnosing and Repairing TopK Sparse Autoencoder ReliabilityarXiv · 2026
- TopK-Guided: Adaptive, Budget-Aware Activation Sparsity for Efficient LLM InferencearXiv · 2026
- Beyond Token Scale: Chunk-Level Sparse Autoencoders for Reliable Semantic Feature DiscoveryarXiv · 2026
- Scaling Laws for SAE Training DataarXiv · 2026