arXiv:2610.12939cs.CLOct 2026

Manuscript Offprint

arXiv:2610.12939

Surfing the Activation Wave: Analyzing the Information and Geometry of LLM Hidden States for Speculative Decoding

Raghavv Goel, Sudhanshu Agrawal, Mukul Gagrani, Risheek Garrepalli, Mingu Lee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Decoder hidden states from different layers of large language models (LLMs) often encode complementary information. However, existing speculative decoding methods typically rely on a small set of target-model layers chosen using fixed, position-based heuristics. Selecting an optimal subset of layers is inherently a combinatorial problem, making exhaustive evaluation infeasible even for moderately deep models. In this work, we present a principled framework for multi-layer hidden-state selection for speculative decoding based on two complementary criteria: informativeness, measured through matrix-entropy analysis, and diversity, quantified using centered kernel alignment (CKA). We investigate layer-wise Shannon entropy, aggregate entropy under hidden-state concatenation, and pairwise CKA dynamics across depth, revealing distinct geometric and informational compartments within decoder representations. Motivated by these findings, we propose entropy and CKA-based layer selection algorithms that favor hidden-state sets that are both highly informative and minimally redundant. As part of this framework, we introduce token-entropy filtering, which removes hidden states associated with low predictive-entropy tokens, thereby improving the quality of layer-selection statistics. In EAGLE3-style speculative decoding, our selected sets outperform fixed baseline choices, including the default [2,N//2,N−3][2, N//2, N-3] rule, while providing a clearer explanation of why some defaults can remain competitive. Our results provide a practical recipe for multi-layer hidden-state selection for speculative decoding, insights into the geometry and information in LLM decoder states, and a foundation for extending similar analysis to related applications.

1 Introduction

Hidden states in decoder-only LLMs capture the progressive transformation of token representations through depth. While prior studies analyze individual layers through rank, sparsity, and entropy, modern inference pipelines increasingly use multiple target-model hidden states jointly. In speculative decoding methods such as EAGLE3, selected target-model layers are fused and provided to the draft model. However, in practice these layers are usually selected by simple fixed rules (e.g., positional heuristics) rather than an explicit objective that balances informativeness and redundancy.

This creates both a practical and scientific gap. Practically, multi-layer selection is combinatorial. For a 36-layer model, choosing only three layers yields thousands of combinations, and the search space grows rapidly for larger tuples. Scientifically, it remains unclear which layer combinations are jointly informative versus geometrically redundant. As a result, default position-based heuristics (uniform selection with the initial and final layers offset) may perform well in some regimes without providing a principled explanation of when or why they work.

In this work, we view multi-layer hidden-state selection through the lenses of information maximization and

  • Equal Contribution

Qualcomm AI Research is an initiative of Qualcomm Technologies, Inc.

Figure

Figure 1: Prompt-wise per-layer Shannon entropy curves for Qwen3-4B-Instruct. The curves show a depth-wise non-uniform profile (an “activation wave”), with distinct early (0–6), middle (7–28), and late-layer (29–35) regimes.

redundancy minimization. We use matrix entropy to quantify informativeness of layer sets and linear CKA to quantify representational redundancy. We first introduce Entropy-based Layer Set Iteration (ELSI), a practical entropy-based procedure that scales to realistic model depths. ELSI uses beam search to efficiently identify high-entropy layer sets by evaluating entropy on concatenated hidden states across layers. We then introduce ELSI-C, an entropy-initialized CKA-transition extension that promotes diversity-aware layer expansion. Alongside ELSI/ELSI-C, we introduce token-entropy filtering during calibration: hidden states of low predictive-entropy tokens are removed so that selection statistics focus on significant and informative positions.

We empirically study Qwen3-4B-Instruct-2507 and Llama-3.1-8B-Instruct. Our analyses reveal consistent trends across both models: (i) a non-uniform per-layer Shannon entropy profile (an activation wave across depth, Fig. 1), (ii) non-uniform entropy gain under layer concatenation, and (iii) CKA transition boundaries that indicate depth-wise representational compartments. These observations motivate ELSI, an entropy-based selector, and ELSI-C, a diversity-aware extension. Moreover, they clarify why fixed baselines can still be competitive when they overlap with high-scoring entropy-beam regions.