paper-with-me

홈 › Papers

Sparse Autoencoders are Topic Models

2025-11-20 · Leander Girrbach, Zeynep Akata arxiv

Sparse autoencoders (SAEs) are used to analyze embeddings, but their role and practical value are debated. We propose a new perspective on SAEs by demonstrating that they can be naturally understood as topic models. We propose a continuous topic model (CTM) inspired by Latent Dirichlet Allocation (LDA) for embedding spaces and derive the SAE objective as a maximum a posteriori estimator under this model. This view implies SAE features are thematic components rather than steerable directions. To confirm our theoretical findings, we introduce SAE-TM, a topic modeling framework that: (1) trains an SAE to learn reusable topic atoms, (2) interprets them as word distributions on downstream data, and (3) merges them into any number of topics without retraining. SAE-TM yields more coherent topics than strong baselines on text and image datasets while maintaining diversity. Finally, we analyze thematic structure in image datasets and trace topic changes over time in Japanese woodblock prints. Our work positions SAEs as effective tools for large-scale thematic analysis across modalities. Code is available at https://github.com/ExplainableML/SAE-TM .

📄 PDF Abstract BibTeX arXiv:2511.16309

Code (0)

등록된 구현이 없습니다.

Tasks

Topic Models

Similar Papers 제목 키워드 기반

Model Directions, Not Words: Mechanistic Topic Models Using Sparse Autoencoders

2025-07-31 · Carolina Zheng, Nicolas Beltran-Velez, Sweta Karlekar, Claudia Shi 외 arxiv

Traditional topic models are effective at uncovering latent themes in large text collections. However, due to their reliance on bag-of-words representations, they struggle to capture semantically abstract features. While…

Text GenerationTopic Models

SCAT: Second Chance Autoencoder for Textual Data

2020-05-11 · Somaieh Goudarzvand, Gharib Gharibi, Yugyung Lee

We present a k-competitive learning approach for textual autoencoders named Second Chance Autoencoder (SCAT). SCAT selects the $k$ largest and smallest positive activations as the winner neurons, which gain the activatio…

Applying sparse autoencoders to unlearn knowledge in language models

2024-10-25 · Eoin Farrell, Yeu-Tong Lau, Arthur Conmy

We investigate whether sparse autoencoders (SAEs) can be used to remove knowledge from language models. We use the biology subset of the Weapons of Mass Destruction Proxy dataset and test on the gemma-2b-it and gemma-2-2…

KATE: K-Competitive Autoencoder for Text

2017-05-04 · Yu Chen, Mohammed J. Zaki

Autoencoders have been successful in learning meaningful representations from image datasets. However, their performance on text datasets has not been widely studied. Traditional autoencoders tend to learn possibly trivi…

Document ClassificationRetrievalTopic Models

Image Compression: Sparse Coding vs. Bottleneck Autoencoders

2017-10-26 · Yijing Watkins, Mohammad Sayeh, Oleksandr Iaroshenko, Garrett Kenyon

Bottleneck autoencoders have been actively researched as a solution to image compression tasks. However, we observed that bottleneck autoencoders produce subjectively low quality reconstructed images. In this work, we ex…

General ClassificationImage CompressionSSIM