paper-with-me

홈 › Papers

Route Sparse Autoencoder to Interpret Large Language Models

2025-03-11 · Wei Shi, Sihang Li, Tao Liang, Mingyang Wan, Guojun Ma, Xiang Wang, Xiangnan He

Mechanistic interpretability of large language models (LLMs) aims to uncover the internal processes of information propagation and reasoning. Sparse autoencoders (SAEs) have demonstrated promise in this domain by extracting interpretable and monosemantic features. However, prior works primarily focus on feature extraction from a single layer, failing to effectively capture activations that span multiple layers. In this paper, we introduce Route Sparse Autoencoder (RouteSAE), a new framework that integrates a routing mechanism with a shared SAE to efficiently extract features from multiple layers. It dynamically assigns weights to activations from different layers, incurring minimal parameter overhead while achieving high interpretability and flexibility for targeted feature manipulation. We evaluate RouteSAE through extensive experiments on Llama-3.2-1B-Instruct. Specifically, under the same sparsity constraint of 64, RouteSAE extracts 22.5% more features than baseline SAEs while achieving a 22.3% higher interpretability score. These results underscore the potential of RouteSAE as a scalable and effective method for LLM interpretability, with applications in feature discovery and model intervention. Our codes are available at https://github.com/swei2001/RouteSAEs.

📄 PDF Abstract BibTeX arXiv:2503.08200

Code (1)

swei2001/routesaes 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Focus 설명 없음
Sparse Autoencoder A Sparse Autoencoder is a type of autoencoder that employs sparsity to achieve an information bottleneck. Specifically the loss function is constructed so that activations are…

Similar Papers 제목 키워드 기반

Temporal Sparse Autoencoders: Leveraging the Sequential Nature of Language for Interpretability

2025-10-30 · Usha Bhalla, Alex Oesterling, Claudio Mayrink Verdun, Himabindu Lakkaraju 외 arxiv

Translating the internal representations and computations of models into concepts that humans can understand is a key goal of interpretability. While recent dictionary learning methods such as Sparse Autoencoders (SAEs) …

Unlocking the Address Book: Dissecting the Sparse Semantic Structure of LLM Key-Value Caches via Sparse Autoencoders

2025-12-11 · Qingsen Ma, Dianyun Wang, Jiaming Lyu, Yaoye Wang 외 arxiv

The Key-Value (KV) cache is the primary memory bottleneck in long-context Large Language Models, yet it is typically treated as an opaque numerical tensor. In this work, we propose \textbf{STA-Attention}, a framework tha…

Efficient Dictionary Learning with Switch Sparse Autoencoders

2024-10-10 · Anish Mudide, Joshua Engels, Eric J. Michaud, Max Tegmark 외

Sparse autoencoders (SAEs) are a recent technique for decomposing neural network activations into human-interpretable features. However, in order for SAEs to identify all features represented in frontier models, it will …

Dictionary LearningMixture-of-Experts

CE-Bench: Towards a Reliable Contrastive Evaluation Benchmark of Interpretability of Sparse Autoencoders

2025-08-31 · Alex Gulko, Yusen Peng, Sachin Kumar arxiv

Sparse autoencoders (SAEs) are a promising approach for uncovering interpretable features in large language models (LLMs). While several automated evaluation methods exist for SAEs, most rely on external LLMs. In this wo…

AdaptiveK: Complexity-Driven Sparse Autoencoders for Interpretable Language Model Representations

2025-08-24 · Yifei Yao, Hanrong Zhang, Mengnan Du arxiv

Understanding the internal representations of large language models (LLMs) remains a central challenge for interpretability research. Sparse autoencoders (SAEs) offer a promising solution by decomposing activations into …