paper-with-me

홈 › Papers

Unlocking the Address Book: Dissecting the Sparse Semantic Structure of LLM Key-Value Caches via Sparse Autoencoders

2025-12-11 · Qingsen Ma, Dianyun Wang, Jiaming Lyu, Yaoye Wang, Lechen Ning, Sujie Zhu, Zhenbo Xu, Liuyu Xiang, Huining Li, Huijia Wu, Zhaofeng He arxiv

The Key-Value (KV) cache is the primary memory bottleneck in long-context Large Language Models, yet it is typically treated as an opaque numerical tensor. In this work, we propose \textbf{STA-Attention}, a framework that utilizes Top-K Sparse Autoencoders (SAEs) to decompose the KV cache into interpretable `semantic atoms.'' Unlike standard $L_1$-regularized SAEs, our Top-K approach eliminates shrinkage bias, preserving the precise dot-product geometry required for attention. Our analysis uncovers a fundamental \textbf{Key-Value Asymmetry}: while Key vectors serve as highly sparse routers dominated by a `Semantic Elbow,'' deep Value vectors carry dense content payloads requiring a larger budget. Based on this structure, we introduce a Dual-Budget Strategy that selectively preserves the most informative semantic components while filtering representational noise. Experiments on Yi-6B, Mistral-7B, Qwen2.5-32B, and others show that our semantic reconstructions maintain perplexity and zero-shot performance comparable to the original models, effectively bridging the gap between mechanistic interpretability and faithful attention modeling.

📄 PDF Abstract BibTeX arXiv:2512.10547

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Unlocking Insights: Semantic Search in Jupyter Notebooks

2024-02-20 · Lan Li, Jinpeng Lv

Semantic search, a process aimed at delivering highly relevant search results by comprehending the searcher's intent and the contextual meaning of terms within a searchable dataspace, plays a pivotal role in information …

Information RetrievalRetrieval

Dissecting Lottery Ticket Transformers: Structural and Behavioral Study of Sparse Neural Machine Translation

2020-09-17 · EMNLP (BlackboxNLP) 2020 11 · Rajiv Movva, Jason Y. Zhao

Recent work on the lottery ticket hypothesis has produced highly sparse Transformers for NMT while maintaining BLEU. However, it is unclear how such pruning techniques affect a model's learned representations. By probing…

Machine TranslationNMTTranslation

Towards Unlocking Insights from Logbooks Using AI

2024-05-25 · Antonin Sulc, Alex Bien, Annika Eichler, Daniel Ratner 외

Electronic logbooks contain valuable information about activities and events concerning their associated particle accelerator facilities. However, the highly technical nature of logbook entries can hinder their usability…

RAGRetrievalRetrieval-augmented Generation

Dissecting the Practical Lexical Function Model for Compositional Distributional Semantics

2015-06-01 · SEMEVAL 2015 6 · Abhijeet Gupta, Jason Utt, Sebastian Pad{\'o}
Machine TranslationSentiment Analysis

MedSAE: Dissecting MedCLIP Representations with Sparse Autoencoders

2025-10-30 · Riccardo Renzulli, Colas Lepoutre, Enrico Cassano, Marco Grangetto arxiv

Artificial intelligence in healthcare requires models that are accurate and interpretable. We advance mechanistic interpretability in medical vision by applying Medical Sparse Autoencoders (MedSAEs) to the latent space o…