Efficient Training of Sparse Autoencoders for Large Language Models via Layer Clustering. Molinari, M., Ghilardi, D., & Belotti, F. In October, 2024.
Paper abstract bibtex Sparse Autoencoders (SAEs) have recently been employed as an unsupervised approach for understanding the inner workings of Large Language Models (LLMs). They reconstruct the model’s activations with a sparse linear combination of interpretable features. However, training SAEs is computationally intensive, especially as models grow in size and complexity. To address this challenge, we propose a novel training strategy that reduces the number of trained SAEs from one per layer to one for a given group of contiguous layers. Our experimental results on Pythia 160M highlight a 3x speedup without compromising the reconstruction quality and performance on downstream tasks. Therefore, layer clustering presents an efficient approach to train SAEs in modern LLMs.
@inproceedings{molinari_efficient_2024,
title = {Efficient {Training} of {Sparse} {Autoencoders} for {Large} {Language} {Models} via {Layer} {Clustering}},
url = {https://openreview.net/forum?id=vSrBzCzg4G},
abstract = {Sparse Autoencoders (SAEs) have recently been employed as an unsupervised approach for understanding the inner workings of Large Language Models (LLMs). They reconstruct the model’s activations with a sparse linear combination of interpretable features. However, training SAEs is computationally intensive, especially as models grow in size and complexity. To address this challenge, we propose a novel training strategy that reduces the number of trained SAEs from one per layer to one for a given group of contiguous layers. Our experimental results on Pythia 160M highlight a 3x speedup without compromising the reconstruction quality and performance on downstream tasks. Therefore, layer clustering presents an efficient approach to train SAEs in modern LLMs.},
language = {en},
urldate = {2025-01-15},
author = {Molinari, Marco and Ghilardi, Davide and Belotti, Federico},
month = oct,
year = {2024},
keywords = {\#ICLR{\textgreater}25, ❤️},
}
Downloads: 0
{"_id":"aTYjQmPB9NK2fHJr3","bibbaseid":"molinari-ghilardi-belotti-efficienttrainingofsparseautoencodersforlargelanguagemodelsvialayerclustering-2024","author_short":["Molinari, M.","Ghilardi, D.","Belotti, F."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Efficient Training of Sparse Autoencoders for Large Language Models via Layer Clustering","url":"https://openreview.net/forum?id=vSrBzCzg4G","abstract":"Sparse Autoencoders (SAEs) have recently been employed as an unsupervised approach for understanding the inner workings of Large Language Models (LLMs). They reconstruct the model’s activations with a sparse linear combination of interpretable features. However, training SAEs is computationally intensive, especially as models grow in size and complexity. To address this challenge, we propose a novel training strategy that reduces the number of trained SAEs from one per layer to one for a given group of contiguous layers. Our experimental results on Pythia 160M highlight a 3x speedup without compromising the reconstruction quality and performance on downstream tasks. Therefore, layer clustering presents an efficient approach to train SAEs in modern LLMs.","language":"en","urldate":"2025-01-15","author":[{"propositions":[],"lastnames":["Molinari"],"firstnames":["Marco"],"suffixes":[]},{"propositions":[],"lastnames":["Ghilardi"],"firstnames":["Davide"],"suffixes":[]},{"propositions":[],"lastnames":["Belotti"],"firstnames":["Federico"],"suffixes":[]}],"month":"October","year":"2024","keywords":"#ICLR\\textgreater25, ❤️","bibtex":"@inproceedings{molinari_efficient_2024,\n\ttitle = {Efficient {Training} of {Sparse} {Autoencoders} for {Large} {Language} {Models} via {Layer} {Clustering}},\n\turl = {https://openreview.net/forum?id=vSrBzCzg4G},\n\tabstract = {Sparse Autoencoders (SAEs) have recently been employed as an unsupervised approach for understanding the inner workings of Large Language Models (LLMs). They reconstruct the model’s activations with a sparse linear combination of interpretable features. However, training SAEs is computationally intensive, especially as models grow in size and complexity. To address this challenge, we propose a novel training strategy that reduces the number of trained SAEs from one per layer to one for a given group of contiguous layers. Our experimental results on Pythia 160M highlight a 3x speedup without compromising the reconstruction quality and performance on downstream tasks. Therefore, layer clustering presents an efficient approach to train SAEs in modern LLMs.},\n\tlanguage = {en},\n\turldate = {2025-01-15},\n\tauthor = {Molinari, Marco and Ghilardi, Davide and Belotti, Federico},\n\tmonth = oct,\n\tyear = {2024},\n\tkeywords = {\\#ICLR{\\textgreater}25, ❤️},\n}\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Molinari, M.","Ghilardi, D.","Belotti, F."],"key":"molinari_efficient_2024","id":"molinari_efficient_2024","bibbaseid":"molinari-ghilardi-belotti-efficienttrainingofsparseautoencodersforlargelanguagemodelsvialayerclustering-2024","role":"author","urls":{"Paper":"https://openreview.net/forum?id=vSrBzCzg4G"},"keyword":["#ICLR\\textgreater25","❤️"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"inproceedings","biburl":"https://bibbase.org/zotero/zzhenry2012","dataSources":["nZHrFJKyxKKDaWYM8"],"keywords":["#iclr\\textgreater25","❤️"],"search_terms":["efficient","training","sparse","autoencoders","large","language","models","via","layer","clustering","molinari","ghilardi","belotti"],"title":"Efficient Training of Sparse Autoencoders for Large Language Models via Layer Clustering","year":2024}