Donghao Li
Donghao Li works on language models that can keep extensive context available for reasoning and other multistep tasks. The papers here ask what happens to the cost of attention as a model's working history grows and how much of that history the model needs to consult at each step. Drafting a lengthy proof and acting on the results of successive software calls illustrate why the history matters. The research treats long-context capability as a question of architecture and computation, with particular attention to the memory needed to store earlier representations and the arithmetic required to use them.
The most cited paper, DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence, presents the Pro and Flash previews and tests their ability to find information and solve problems in long contexts. The paper's hybrid attention design alternates between two ways of handling older tokens. Compressed Sparse Attention groups nearby tokens and uses a learned index to pick compressed entries relevant to a query. Heavily Compressed Attention reduces much larger blocks to compact representations and consults all the completed representations that the query can see. Each approach retains a short window in which attention reads recent tokens directly.
For a million-token context, the paper estimates that Pro needs about a quarter of DeepSeek-V3.2's arithmetic to produce a token and about a tenth of its key-value cache. Flash's estimated arithmetic is about a tenth of the baseline, and its cache occupies a smaller fraction still. The authors retain expert routing and multi-token prediction from DeepSeek-V3 and describe changes to the connections between layers, the use of the Muon optimizer, and the implementation of expert computation. The training procedure also develops domain specialists after pretraining and uses on-policy distillation to bring their behavior together in one model.
The follow-up, DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression, considers what happens when an agent returns to a long history over a series of requests. Cached attention state saves the work of processing earlier tokens again, but it takes up accelerator memory and storage, and restoring a saved prefix requires transferring it. The system accepts images as well as text and produces text, with context extending to a million tokens. A causal encoder-decoder prepares long-range attention state from the encoder's final representations, allowing most positions to bypass the decoder during the first pass through the prompt.
The later paper introduces Compressed Sparse Attention 2 to vary what each layer computes and what it inherits. A layer can create and search a cache, reuse a cache while choosing its own entries, or reuse both the stored representations and the entries selected from them. The global cache uses the low-precision FP4 format. The recent-token window has separate state for each layer, and bounded replay approximately reconstructs that state from a short stretch of preceding tokens. Sharing long-range state and reconstructing local state give the design ways to manage the costs of storing and resuming a session.
Li's papers here connect the representation of past tokens to the resources needed to keep them available over the course of a task. They cover the design of attention and its implementation on accelerators, alongside the question of what models can retrieve and reason through in an extended context. These concerns link the work 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/donghao-li/