Linyan Zhu
Linyan Zhu’s papers here examine architectures for language systems that need to work with long contexts. Their focus is the stored attention state that lets a system draw on earlier material while generating a response. A long reasoning task or an extended software-agent session can leave a substantial history to consult. The papers address the cost of keeping that history in memory and the work required to find and use relevant parts of it. They explore ways to vary the amount of detail retained from earlier text while keeping the most recent material directly accessible.
Zhu’s most cited paper here introduces the Pro and Flash previews of DeepSeek-V4 in 2026. In one set of layers, neighboring tokens are compressed into entries and a learned index selects the entries relevant to a query. In another set, each entry covers a larger block and attention reads all the completed entries available to it. Both approaches retain a short window with direct access to recent tokens. Alternating the two kinds of layer gives the architecture both selective access to finer-grained representations and wider access to more compressed ones. The paper presents the design in DeepSeek-V4.
The same paper studies how those previews handle retrieval, reasoning, and problem solving, and compares their resource requirements with those of DeepSeek-V3.2. At the full context length, the estimates show reductions in arithmetic per generated token and in key-value cache storage for both previews. The training account describes how the authors develop domain specialists after pretraining, using supervised fine-tuning followed by reinforcement learning, and then consolidate them through on-policy distillation. The paper also describes implementation choices, including fused expert computation and lower-precision storage.
The later study from 2026 asks how attention state can be retained and reused during long agent sessions, where documents and execution logs can keep enlarging the prompt. It considers accelerator memory, storage between requests, and the transfer required to load a saved prefix. A causal encoder-decoder architecture builds the decoder’s long-range attention state from the encoder’s final representations, allowing most prompt positions to bypass the decoder during initial processing. The system takes text and images and produces text. The architecture is described in DeepSeek-V4.1-Flash.
The follow-up uses Compressed Sparse Attention 2 to let layers reuse earlier layers’ work. Depending on the layer, reuse can extend to the stored cache alone or to both the cache and the choice of entries to consult. A layer can also construct its own cache and select entries itself. Global entries use FP4 storage, while recent-token attention has its own state at each layer. A bounded replay method approximates the recent state by processing a limited portion of the history again. That method addresses the local window, whose state is maintained separately from the shared long-range representations.
The questions in Zhu’s papers here span the initial processing of a prompt, the ongoing work of generating text, and the later loading of a saved context. A smaller stored representation can reduce what must be kept and moved, while the attention mechanism governs what information is available at each step. The work also examines retrieval and reasoning as ways to assess what a system can do with that information. These questions link the papers to Efficient models & compression, GPU & parallel computing, and Reasoning.
Topics
Efficient models & compression · 2 papers
Works by year
2020s
Papers
- DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression
DeepSeek-AI presents DeepSeek-V4.1-Flash, a multimodal MoE model with 552B backbone… 101 references, cited by 3 papers here. - DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence
Manifold-Constrained Hyper-Connections replace plain residual connections. 109 references, cited by 118 papers here.
All works
- DeepSeek-V4: Towards Highly Efficient Million-Token Context IntelligencearXiv:2606.19348DeepSeek-AI, Anyi Xu, Bangcai Lin, et al.2026 · 122 citations
- DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache CompressionarXiv:2609.19969DeepSeek-AI, Anyi Xu, B. Li, et al.2026 · 3 citations
- DeepSeek-V4: Towards Highly Efficient Million-Token Context IntelligenceDeepSeek-AI, Anyi Xu, Bangcai Lin, et al.
- DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache CompressionDeepSeek-AI, Anyi Xu, B. Li, et al.
Cited by
This page in Markdown https://md.research.elamur.ai/free/en/authors/linyan-zhu/