2606.09079v1 Jun 08, 2026 cs.LG

FlashMemory-DeepSeek-V4: Lightning Index Ultra-Long Context via Lookahead Sparse Attention

Haitao Mi
Haitao Mi
Citations: 2,834
h-index: 25
Nuo Chen
Nuo Chen
Citations: 582
h-index: 12
Dongyang Ma
Dongyang Ma
Citations: 46
h-index: 4
Yan Wang
Yan Wang
Citations: 10
h-index: 2
Dong Yu
Dong Yu
Citations: 1,718
h-index: 16
Qifan Zhang
Qifan Zhang
Citations: 100
h-index: 4
Jiachen Yu
Jiachen Yu
Citations: 50
h-index: 3
Yujiu Yang
Yujiu Yang
Citations: 86
h-index: 5
Miao Peng
Miao Peng
Citations: 15
h-index: 1
Tianyuan Liang
Tianyuan Liang
Citations: 0
h-index: 0
Xiang Hu
Xiang Hu
Citations: 9
h-index: 2
Zibo Lin
Zibo Lin
Citations: 224
h-index: 6
Chunyang Li
Chunyang Li
Citations: 2
h-index: 1
Zhichao Wang
Zhichao Wang
Citations: 2
h-index: 1
Jia Li
Jia Li
Citations: 787
h-index: 5

Conventional LLMs keep the full KV cache loaded during decoding, causing a severe GPU memory bottleneck for ultra-long context serving. In this report, we propose Lookahead Sparse Attention (LSA), a novel inference paradigm powered by a Neural Memory Indexer built upon the DeepSeek-V4 architecture. Rather than passively attending to all historical tokens, LSA proactively predicts future context demands and preserves only the query-critical KV chunks in the GPU memory. Crucially, we instantiate this architecture via a backbone-free decoupled training strategy. By formulating the indexer as a standard dual-encoder architecture, we train it independently using standard retrieval training frameworks without ever loading the massive backbone model into GPU memory. We demonstrate that this "less is more" paradigm significantly maximizes serving efficiency while acting as an effective attention denoiser in tasks that rely on long-term global memory. Across primary long-context evaluation suites (e.g., LongBench-v2, LongMemEval, and RULER), FM-DS-V4 compresses the average physical KV cache footprint down to merely 13.5% of the full-context baseline, while consistently preserving or slightly elevating downstream accuracy (+0.6% absolute margin on average). Crucially, at extreme 500K scales, FlashMemory suppresses the physical KV cache overhead by over 90% without destabilizing the backbone's core reasoning capacities.

0 Citations
0 Influential
12.5 Altmetric
62.5 Score
Original PDF

No Analysis Report Yet

This paper hasn't been analyzed by Gemini yet.

Log in to request an AI analysis.

댓글

댓글을 작성하려면 로그인하세요.

아직 댓글이 없습니다. 첫 번째 댓글을 남겨보세요!