Elamur Research

Fang Wei

Fang Wei works on how large language models handle long sequences without a corresponding rise in the cost of generating each new token. Their papers here focus on attention, the mechanism that lets a model draw on earlier parts of a sequence. For a long proof or a chain of interactions with external software, the history can contain both the material the model started with and the intermediate results it needs to carry forward. The research examines how to represent that history more compactly, how to select the relevant portions, and what the resulting systems can retrieve or reason through.

The most cited paper, DeepSeek-V4, presents the Pro and Flash variants for million-token contexts. Both retain expert routing and multi-token prediction from DeepSeek-V3. The main architectural change alternates different ways of representing older tokens. Compressed Sparse Attention groups consecutive tokens and represents each group compactly, then relies on a trained index to pick entries for the current query. Heavily Compressed Attention condenses a broader span into each entry and consults every completed entry available at that position. Each approach also lets the query attend to the latest tokens at their original resolution.

The paper compares the estimated arithmetic needed to generate a token and the space taken up by the key-value cache against DeepSeek-V3.2 at the full context length. Both estimates fall for Pro and Flash, with larger reductions for Flash. The paper also describes changes outside attention, including manifold-constrained connections between layers and training with the Muon optimizer. After pretraining, the authors train specialists in different domains through supervised fine-tuning and reinforcement learning, then consolidate their behavior through on-policy distillation. The released checkpoints make the variants available for further study.

The later 2026 paper, DeepSeek-V4.1-Flash, investigates the costs of keeping and reusing attention state across long runs, including the accelerator memory it occupies and the work of loading a saved prefix. The system accepts images as well as text and produces text. A causal encoder supplies the representations used to construct the decoder’s long-range attention state. This lets most positions in the prompt bypass the decoder during the initial pass. The architecture thus changes both where long-range state is constructed and how much of the network has to process the prompt before generation begins.

With Compressed Sparse Attention 2, a layer can construct its own long-range cache, make its own selection from a cache built elsewhere, or reuse both the cache and an earlier selection. The shared state is stored in a low-precision floating-point format. Attention over recent tokens still keeps separate state for each layer, which can be approximately restored by processing a bounded stretch of the recent sequence again. Across these papers, the estimates for accelerator computation and storage and the evaluations of retrieval and problem solving connect Efficient models & compression, GPU & parallel computing, and Reasoning.

2 papers in our library

 Topics

The topics of their papers here, with the number of papers on each.

Efficient models & compression · 2 papers

 Works by year

2020s

 Papers

Their papers in our library, the most cited first (OpenAlex citations).

  1. 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.
  2. 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

4 works of theirs in our library, the most cited first; 4 with a page here, the others link their original until we summarise them.

  1. DeepSeek-V4: Towards Highly Efficient Million-Token Context IntelligencearXiv:2606.19348DeepSeek-AI, Anyi Xu, Bangcai Lin, et al.2026 · 122 citations
  2. DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache CompressionarXiv:2609.19969DeepSeek-AI, Anyi Xu, B. Li, et al.2026 · 3 citations
  3. DeepSeek-V4: Towards Highly Efficient Million-Token Context IntelligenceDeepSeek-AI, Anyi Xu, Bangcai Lin, et al.
  4. DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache CompressionDeepSeek-AI, Anyi Xu, B. Li, et al.

 Cited by

Papers of our library cite their works 121 times (of more than 163,000 papers whose bibliographies we read); 8 citing papers with a page here →.

This page in Markdown https://md.research.elamur.ai/free/en/authors/fang-wei/