DecodeShare: Tracing the Shared Subspace of LLM Decode-Time Decisions
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
Large language models (LLMs) handle many tasks with one set of parameters, but under KV-cached inference it is unclear what task-general structure, if any, is used at decode time rather than during prefill. We propose DecodeShare, a protocol that identifies a low-dimensional subspace consistently shared across tasks in decode-time hidden states, and then tests its causal role by removing that subspace only during decoding. In our experiments, disturbing the discovered shared subspace degrades decision performance far more than disturbing either a prefill-derived or random subspace under the same intervention budget. We further show this decode-shared subspace has practical consequences for activation steering: common steering directions can overlap the task-general decode channel. Projecting out this shared subspace directly separates the functional roles of the two components, while evaluating steering vectors at decode-time yields more reliable signal for downstream deployment than prefill-based proxies. Despite its compactness, the shared subspace can serve as a high-leverage causal channel at decode time. Code is available at: https://github.com/Zishan-Shao/decodeshare.git.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 40 of its 47 references that are in the map. First posted on arXiv 21 May 2026.
Builds on
40 of 47 references.
References · 40
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2019Similarity of Neural Network Representations Revisitedcited by 1,695
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,009
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
- 2022In-context Learning and Induction Headscited by 930
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
- 2023Steering Language Models With Activation Engineeringcited by 824
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
28 more
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 420
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2021Causal Abstractions of Neural Networkscited by 401
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 328
- 2023Function Vectors in Large Language Modelscited by 292
- 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 197
- 2020Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Biascited by 183
- 2024Analyzing the Generalization and Reliability of Steering Vectorscited by 130
- 2023Circuit Component Reuse Across Tasks in Transformer Language Modelscited by 105
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 89
- 2023Is This the Subspace You Are Looking for? An Interpretability Illusion for Subspace Activation Patchingcited by 75
- 2024Eigen Attention: Attention in Low-Rank Space for KV Cache Compressioncited by 71
- 2024Finding Transformer Circuits with Edge Pruningcited by 58
- 2024Style Vectors for Steering Generative Large Language Modelcited by 56
- 2025The Universal Weight Subspace Hypothesiscited by 22
- 2024Discovering Low-rank Subspaces for Language-agnostic Multilingual Representationscited by 18
- 2025Unraveling LoRA Interference: Orthogonal Subspaces for Robust Model Mergingcited by 18
- 2025Adaptive Multi-Subspace Representation Steering for Attribute Alignment in Large Language Modelscited by 16
- 2025KV Cache Steering for Controlling Frozen LLMscited by 8
- 2025FlashSVD: Memory-Efficient Inference with Streaming for Low-Rank Modelscited by 8
- 2025Shared Parameter Subspaces and Cross-Task Linearity in Emergently Misaligned Behaviorcited by 7
- 2025Semantic Convergence: Investigating Shared Representations Across Scaled LLMscited by 3
- 2023Improving generalization in large language models by learning prefix subspacescited by 2
- 2025QKV Projections Require a Fraction of Their Memorycited by 2
- 2026FlashSVD v1.5: Making Low-Rank Transformers Inference Actually Fastcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026The Missing Piece in Pre-trained Model Evaluation: Reward-Guided Decoding Unlocks Task-Oriented Behavior Without Parameter Updates
- 2026Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks
- 2025Distribution-Aligned Decoding for Efficient LLM Task Adaptation
- 2026Where to Steer: Input-Dependent Layer Selection for Steering Improves LLM Alignment
- 2026Spillover-Aware Multi-Value Steering for Pluralistic LLM Alignment
- 2025Internal Chain-of-Thought: Empirical Evidence for Layer-wise Subtask Scheduling in LLMs
- 2026Memory Inception: Latent-Space KV Cache Manipulation for Steering LLMs
- 2024Controlling Large Language Model Agents with Entropic Activation Steering