Route Sparse Autoencoder to Interpret Large Language Models. Shi, W., Li, S., Liang, T., Wan, M., Ma, G., Wang, X., & He, X. March, 2025. arXiv:2503.08200 [cs]
Paper doi abstract bibtex 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.
@misc{shi_route_2025,
title = {Route {Sparse} {Autoencoder} to {Interpret} {Large} {Language} {Models}},
url = {http://arxiv.org/abs/2503.08200},
doi = {10.48550/arXiv.2503.08200},
abstract = {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.},
urldate = {2025-03-12},
publisher = {arXiv},
author = {Shi, Wei and Li, Sihang and Liang, Tao and Wan, Mingyang and Ma, Gojun and Wang, Xiang and He, Xiangnan},
month = mar,
year = {2025},
note = {arXiv:2503.08200 [cs]},
keywords = {Computer Science - Machine Learning},
}
Downloads: 0
{"_id":"qcwNAfr4B9GMDn89s","bibbaseid":"shi-li-liang-wan-ma-wang-he-routesparseautoencodertointerpretlargelanguagemodels-2025","author_short":["Shi, W.","Li, S.","Liang, T.","Wan, M.","Ma, G.","Wang, X.","He, X."],"bibdata":{"bibtype":"misc","type":"misc","title":"Route Sparse Autoencoder to Interpret Large Language Models","url":"http://arxiv.org/abs/2503.08200","doi":"10.48550/arXiv.2503.08200","abstract":"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.","urldate":"2025-03-12","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Shi"],"firstnames":["Wei"],"suffixes":[]},{"propositions":[],"lastnames":["Li"],"firstnames":["Sihang"],"suffixes":[]},{"propositions":[],"lastnames":["Liang"],"firstnames":["Tao"],"suffixes":[]},{"propositions":[],"lastnames":["Wan"],"firstnames":["Mingyang"],"suffixes":[]},{"propositions":[],"lastnames":["Ma"],"firstnames":["Gojun"],"suffixes":[]},{"propositions":[],"lastnames":["Wang"],"firstnames":["Xiang"],"suffixes":[]},{"propositions":[],"lastnames":["He"],"firstnames":["Xiangnan"],"suffixes":[]}],"month":"March","year":"2025","note":"arXiv:2503.08200 [cs]","keywords":"Computer Science - Machine Learning","bibtex":"@misc{shi_route_2025,\n\ttitle = {Route {Sparse} {Autoencoder} to {Interpret} {Large} {Language} {Models}},\n\turl = {http://arxiv.org/abs/2503.08200},\n\tdoi = {10.48550/arXiv.2503.08200},\n\tabstract = {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.},\n\turldate = {2025-03-12},\n\tpublisher = {arXiv},\n\tauthor = {Shi, Wei and Li, Sihang and Liang, Tao and Wan, Mingyang and Ma, Gojun and Wang, Xiang and He, Xiangnan},\n\tmonth = mar,\n\tyear = {2025},\n\tnote = {arXiv:2503.08200 [cs]},\n\tkeywords = {Computer Science - Machine Learning},\n}\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Shi, W.","Li, S.","Liang, T.","Wan, M.","Ma, G.","Wang, X.","He, X."],"key":"shi_route_2025-1","id":"shi_route_2025-1","bibbaseid":"shi-li-liang-wan-ma-wang-he-routesparseautoencodertointerpretlargelanguagemodels-2025","role":"author","urls":{"Paper":"http://arxiv.org/abs/2503.08200"},"keyword":["Computer Science - Machine Learning"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/SimonOst","dataSources":["tFvQtGDPkqnJa6Fbq"],"keywords":["computer science - machine learning"],"search_terms":["route","sparse","autoencoder","interpret","large","language","models","shi","li","liang","wan","ma","wang","he"],"title":"Route Sparse Autoencoder to Interpret Large Language Models","year":2025}