paper-with-me

홈 › Papers

Transformer Key-Value Memories Are Nearly as Interpretable as Sparse Autoencoders

2025-10-25 · Mengyu Ye, Jun Suzuki, Tatsuro Inaba, Tatsuki Kuribayashi arxiv

Recent interpretability work on large language models (LLMs) has been increasingly dominated by a feature-discovery approach with the help of proxy modules. Then, the quality of features learned by, e.g., sparse auto-encoders (SAEs), is evaluated. This paradigm naturally raises a critical question: do such learned features have better properties than those already represented within the original model parameters, and unfortunately, only a few studies have made such comparisons systematically so far. In this work, we revisit the interpretability of feature vectors stored in feed-forward (FF) layers, given the perspective of FF as key-value memories, with modern interpretability benchmarks. Our extensive evaluation revealed that SAE and FFs exhibits a similar range of interpretability, although SAEs displayed an observable but minimal improvement in some aspects. Furthermore, in certain aspects, surprisingly, even vanilla FFs yielded better interpretability than the SAEs, and features discovered in SAEs and FFs diverged. These bring questions about the advantage of SAEs from both perspectives of feature quality and faithfulness, compared to directly interpreting FF feature vectors, and FF key-value parameters serve as a strong baseline in modern interpretability research.

📄 PDF Abstract BibTeX arXiv:2510.22332

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Transformer Feed-Forward Layers Are Key-Value Memories

2020-12-29 · EMNLP 2021 11 · Mor Geva, Roei Schuster, Jonathan Berant, Omer Levy

Feed-forward layers constitute two-thirds of a transformer model's parameters, yet their role in the network remains under-explored. We show that feed-forward layers in transformer-based language models operate as key-va…

Understanding Factual Recall in Transformers via Associative Memories

2024-12-09 · Eshaan Nichani, Jason D. Lee, Alberto Bietti

Large language models have demonstrated an impressive ability to perform factual recall. Prior work has found that transformers trained on factual recall tasks can store information at a rate proportional to their parame…

LoLA: Low-Rank Linear Attention With Sparse Caching

2025-05-29 · Luke McDermott, Robert W. Heath Jr., Rahul Parhi

Transformer-based large language models suffer from quadratic complexity at inference on long sequences. Linear attention methods are efficient alternatives, however, they fail to provide an accurate approximation of sof…

4k8kGPU

Empirical Study on Updating Key-Value Memories in Transformer Feed-forward Layers

2024-02-19 · Zihan Qiu, Zeyu Huang, Youcheng Huang, Jie Fu

The feed-forward networks (FFNs) in transformers are recognized as a group of key-value neural memories to restore abstract high-level knowledge. In this work, we conduct an empirical ablation study on updating keys (the…

knowledge editing

Associative Memories Based on Multiple-Valued Sparse Clustered Networks

2014-02-03 · Hooman Jarollahi, Naoya Onizawa, Takahiro Hanyu, Warren J. Gross

Associative memories are structures that store data patterns and retrieve them given partial inputs. Sparse Clustered Networks (SCNs) are recently-introduced binary-weighted associative memories that significantly improv…

Retrieval