arXiv:2610.27438cs.LGOct 2026

Manuscript Offprint

arXiv:2610.27438

MLIPS: Multi-Layer Indexer Pool Sharing

Samkit Jain, Sai Kishan Pampana, Shlok Agarwal

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

Abstract

Sparse attention limits the keys used by each query, but finding those keys can still require a full-prefix scan at every layer. We introduce MLIPS (Multi-Layer Indexer Pool Sharing), a training-free method that shares candidate search while retaining each consumer's own scoring and selection. A producer publishes a top-M pool larger than the attention budget K; subsequent layers select their own top-K from that pool. Measurements across three sparse-attention model families show substantially higher coverage from broad pools than overlap between final selections. We implement layerwise sharing, persistent decode reuse, and a coarse producer in vLLM for DeepSeek-V4-Flash. Across four long-context suites, three consumer layers per producer give 1.14−1.40×1.14-1.40\times speedups and 14.8−27.4%14.8-27.4\% lower GPU energy, with observed accuracy changes of −1.49-1.49 to +0.29+0.29 percentage points in single runs. More extensive sharing exposes task-dependent quality losses. Sampled prefill traces also reveal recurring selected KV positions across query groups and layers. We characterize this shared working-set structure and use it to motivate Top-G, an exploratory bounded pool construction for prefill. Its deployment, task accuracy, and serving benefits remain open.

1 Introduction

Sparse attention makes long-context language models more efficient by restricting each query to a small set of keys. Yet selecting those keys can remain expensive. In DeepSeek Sparse Attention, a Lightning Indexer scores the visible prefix before choosing the top-K positions used by attention (DeepSeek-AI, 2025, 2026a). Attention then operates on a bounded selection, while the indexer's search grows with context length. Repeating that search across sparse layers and queries leaves substantial work to optimize.

Sharing selections is one established response. Index-Cache lets intervening layers inherit a retained indexer's top-K, with training-free calibration or training-aware distillation (Bai et al., 2026). DeepSeek-V4.1-Flash trains deeper indexers to re-select from a larger pool produced by an earlier layer (DeepSeek-AI, 2026b). These approaches motivate a deployment question: how much candidate search can an existing checkpoint share without retraining its indexers or changing its attention operator?

Our starting observation is that agreement on broad candidate sets is much stronger than agreement on final selections. On DeepSeek-V4-Flash traces spanning contexts up to one million tokens, an adjacent producer's top-512 contains 23–34% of a consumer's independent top-512, depending on the suite. A 16,384-entry producer pool raises that coverage to 72–85%. The same distinction appears in MiniMax-M3 and GLM-5.1 at their native selection granularities (Section 3). A consumer can therefore retain many of its preferred candidates without repeating the full scan, provided that it can rank the candidates for itself.

We introduce MLIPS (Multi-Layer Indexer Pool Sharing). A producer runs the full indexer, selects its own top-K, and publishes a wider top-M pool. Each consumer scores those candidates with its own indexer and selects its own top-K. Consumers preserve their attention computation and the checkpoint's organization of KV state. The restriction is in the search domain: a consumer can re-rank pooled entries, but cannot recover an omitted one. Layer-wise sharing applies during prefill and decode. Persistent decode reuse extends a pool across later generation steps; a coarse producer further reduces candidate-generation work by scoring groups of keys.

We implement these paths in vLLM and evaluate DeepSeek-V4-Flash on four long-context suites. With three consumer layers per producer and no reuse across decode steps, MLIPS gives 1.14−1.40×1.14-1.40\times speedups and 14.8−27.4%14.8-27.4\% lower GPU energy. Observed accuracy changes range from −1.49-1.49 to +0.29+0.29 points (Table 1).

The traces also expose a broader opportunity: nearby queries and sparse layers repeatedly select a shared working set of KV positions. We characterize this structure and suggest Top-G, a bounded pool assembled from a query group's producer selections (Section 6). This is an empirical observation and an exploratory construction; turning it into a serving mechanism remains future work.

Our contributions are:

• Evidence for candidate reuse. We distinguish final-selection overlap from broad-pool coverage across three model families and characterize its dependence on query position and sharing extent.

• An inference-time sharing method and serving evaluation. We develop MLIPS’s producer–consumer design, implement layerwise and persistent decode reuse with a coarse producer option, and measure accuracy, wall time, and GPU energy.

• Shared working-set structure in prefill. We measure recurring selected KV positions across queries and layers and outline Top-G as a way to exploit that structure.

References (54)