Disentangling Dense Embeddings with Sparse Autoencoders. O'Neill, C., Ye, C., Iyer, K., & Wu, J. F. August, 2024. arXiv:2408.00657 [cs] TLDR: This work bridges the gap between the semantic richness of dense embeddings and the interpretability of sparse representations, and shows how interpretable features can be used to precisely steer semantic search, allowing for fine-grained control over query semantics.
Paper doi abstract bibtex Sparse autoencoders (SAEs) have shown promise in extracting interpretable features from complex neural networks. We present one of the first applications of SAEs to dense text embeddings from large language models, demonstrating their effectiveness in disentangling semantic concepts. By training SAEs on embeddings of over 420,000 scientific paper abstracts from computer science and astronomy, we show that the resulting sparse representations maintain semantic fidelity while offering interpretability. We analyse these learned features, exploring their behaviour across different model capacities and introducing a novel method for identifying ``feature families'' that represent related concepts at varying levels of abstraction. To demonstrate the practical utility of our approach, we show how these interpretable features can be used to precisely steer semantic search, allowing for fine-grained control over query semantics. This work bridges the gap between the semantic richness of dense embeddings and the interpretability of sparse representations. We open source our embeddings, trained sparse autoencoders, and interpreted features, as well as a web app for exploring them.
@misc{oneill_disentangling_2024,
title = {Disentangling {Dense} {Embeddings} with {Sparse} {Autoencoders}},
url = {http://arxiv.org/abs/2408.00657},
doi = {10.48550/arXiv.2408.00657},
abstract = {Sparse autoencoders (SAEs) have shown promise in extracting interpretable features from complex neural networks. We present one of the first applications of SAEs to dense text embeddings from large language models, demonstrating their effectiveness in disentangling semantic concepts. By training SAEs on embeddings of over 420,000 scientific paper abstracts from computer science and astronomy, we show that the resulting sparse representations maintain semantic fidelity while offering interpretability. We analyse these learned features, exploring their behaviour across different model capacities and introducing a novel method for identifying ``feature families'' that represent related concepts at varying levels of abstraction. To demonstrate the practical utility of our approach, we show how these interpretable features can be used to precisely steer semantic search, allowing for fine-grained control over query semantics. This work bridges the gap between the semantic richness of dense embeddings and the interpretability of sparse representations. We open source our embeddings, trained sparse autoencoders, and interpreted features, as well as a web app for exploring them.},
urldate = {2025-01-15},
publisher = {arXiv},
author = {O'Neill, Charles and Ye, Christine and Iyer, Kartheik and Wu, John F.},
month = aug,
year = {2024},
note = {arXiv:2408.00657 [cs]
TLDR: This work bridges the gap between the semantic richness of dense embeddings and the interpretability of sparse representations, and shows how interpretable features can be used to precisely steer semantic search, allowing for fine-grained control over query semantics.},
keywords = {\#NIPS{\textgreater}24, Computer Science - Machine Learning, ❤️},
}
Downloads: 0
{"_id":"z5mSwLfZvE4pbRfTt","bibbaseid":"oneill-ye-iyer-wu-disentanglingdenseembeddingswithsparseautoencoders-2024","author_short":["O'Neill, C.","Ye, C.","Iyer, K.","Wu, J. F."],"bibdata":{"bibtype":"misc","type":"misc","title":"Disentangling Dense Embeddings with Sparse Autoencoders","url":"http://arxiv.org/abs/2408.00657","doi":"10.48550/arXiv.2408.00657","abstract":"Sparse autoencoders (SAEs) have shown promise in extracting interpretable features from complex neural networks. We present one of the first applications of SAEs to dense text embeddings from large language models, demonstrating their effectiveness in disentangling semantic concepts. By training SAEs on embeddings of over 420,000 scientific paper abstracts from computer science and astronomy, we show that the resulting sparse representations maintain semantic fidelity while offering interpretability. We analyse these learned features, exploring their behaviour across different model capacities and introducing a novel method for identifying ``feature families'' that represent related concepts at varying levels of abstraction. To demonstrate the practical utility of our approach, we show how these interpretable features can be used to precisely steer semantic search, allowing for fine-grained control over query semantics. This work bridges the gap between the semantic richness of dense embeddings and the interpretability of sparse representations. We open source our embeddings, trained sparse autoencoders, and interpreted features, as well as a web app for exploring them.","urldate":"2025-01-15","publisher":"arXiv","author":[{"propositions":[],"lastnames":["O'Neill"],"firstnames":["Charles"],"suffixes":[]},{"propositions":[],"lastnames":["Ye"],"firstnames":["Christine"],"suffixes":[]},{"propositions":[],"lastnames":["Iyer"],"firstnames":["Kartheik"],"suffixes":[]},{"propositions":[],"lastnames":["Wu"],"firstnames":["John","F."],"suffixes":[]}],"month":"August","year":"2024","note":"arXiv:2408.00657 [cs] TLDR: This work bridges the gap between the semantic richness of dense embeddings and the interpretability of sparse representations, and shows how interpretable features can be used to precisely steer semantic search, allowing for fine-grained control over query semantics.","keywords":"#NIPS\\textgreater24, Computer Science - Machine Learning, ❤️","bibtex":"@misc{oneill_disentangling_2024,\n\ttitle = {Disentangling {Dense} {Embeddings} with {Sparse} {Autoencoders}},\n\turl = {http://arxiv.org/abs/2408.00657},\n\tdoi = {10.48550/arXiv.2408.00657},\n\tabstract = {Sparse autoencoders (SAEs) have shown promise in extracting interpretable features from complex neural networks. We present one of the first applications of SAEs to dense text embeddings from large language models, demonstrating their effectiveness in disentangling semantic concepts. By training SAEs on embeddings of over 420,000 scientific paper abstracts from computer science and astronomy, we show that the resulting sparse representations maintain semantic fidelity while offering interpretability. We analyse these learned features, exploring their behaviour across different model capacities and introducing a novel method for identifying ``feature families'' that represent related concepts at varying levels of abstraction. To demonstrate the practical utility of our approach, we show how these interpretable features can be used to precisely steer semantic search, allowing for fine-grained control over query semantics. This work bridges the gap between the semantic richness of dense embeddings and the interpretability of sparse representations. We open source our embeddings, trained sparse autoencoders, and interpreted features, as well as a web app for exploring them.},\n\turldate = {2025-01-15},\n\tpublisher = {arXiv},\n\tauthor = {O'Neill, Charles and Ye, Christine and Iyer, Kartheik and Wu, John F.},\n\tmonth = aug,\n\tyear = {2024},\n\tnote = {arXiv:2408.00657 [cs]\nTLDR: This work bridges the gap between the semantic richness of dense embeddings and the interpretability of sparse representations, and shows how interpretable features can be used to precisely steer semantic search, allowing for fine-grained control over query semantics.},\n\tkeywords = {\\#NIPS{\\textgreater}24, Computer Science - Machine Learning, ❤️},\n}\n\n\n\n","author_short":["O'Neill, C.","Ye, C.","Iyer, K.","Wu, J. F."],"key":"oneill_disentangling_2024","id":"oneill_disentangling_2024","bibbaseid":"oneill-ye-iyer-wu-disentanglingdenseembeddingswithsparseautoencoders-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2408.00657"},"keyword":["#NIPS\\textgreater24","Computer Science - Machine Learning","❤️"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/zzhenry2012","dataSources":["nZHrFJKyxKKDaWYM8"],"keywords":["#nips\\textgreater24","computer science - machine learning","❤️"],"search_terms":["disentangling","dense","embeddings","sparse","autoencoders","o'neill","ye","iyer","wu"],"title":"Disentangling Dense Embeddings with Sparse Autoencoders","year":2024}