Elamur Research

Fangzhou Yuan

Fangzhou Yuan’s papers here examine the cost of giving language models access to long histories. During a proof or a sequence of software actions, the model may need to consult material from far earlier in the interaction as well as tokens it has just processed. A key-value cache keeps attention state from earlier tokens available for reuse. The papers study how to make that state smaller and reduce the work required to consult it. Their methods include grouping tokens into compressed blocks, selecting which blocks to read and sharing stored representations across layers.

The most cited paper presents Pro and Flash variants that support million-token contexts. Their architecture interleaves attention layers that look back at the sequence in different ways. Compressed Sparse Attention groups nearby tokens and uses a learned index to decide which compressed entries to consult for a given query. Heavily Compressed Attention forms larger blocks and consults all completed blocks available at that position. Each approach also has a short window that can read recent tokens directly. The combination is described in DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence.

The study examines what the previews can retrieve, how they reason and which problems they can solve. It also compares the estimated costs of generating a token and keeping the attention cache at the longest supported context. For Pro, the estimated arithmetic comes to a little over a quarter of that of DeepSeek-V3.2, while the cache is about a tenth as large. Flash’s estimates are lower on both measures. The paper retains expert routing and multi-token prediction from the preceding generation and documents changes to layer connections and optimization. It follows pretraining with supervised fine-tuning and reinforcement learning for domain specialists, then brings their capabilities together through on-policy distillation.

The later arXiv paper from 2026 focuses on a long-running software agent that may build up a history of documents, execution logs and exchanges over successive requests. It studies how to reduce the amount of attention state that must be held in accelerator memory, kept between requests and transferred when a prefix is loaded again. The model accepts text and images and produces text. A causal encoder-decoder builds the decoder’s long-range attention state from the encoder’s final representations, letting most prompt positions skip the decoder during their initial processing. This design is set out in DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression.

The revised attention scheme, Compressed Sparse Attention 2, allows layers to share both the stored history and the choice of which entries to read. A layer can also share the cache while making a different selection, or build and consult a cache of its own. The shared global cache uses FP4, a low-precision storage format. Attention over recent tokens keeps separate state at each layer. When that state has to be restored, a bounded replay of recent tokens provides an approximate reconstruction. The approach makes it possible to reuse long-range state across layers while limiting the amount of recent text that must be processed again.

The practical questions in Yuan’s papers span what a model can recover from a long context and what it takes to maintain that context on accelerators. Memory formats and the organization of computation are part of the same line of work as evaluations of retrieval and problem solving. The papers sit at the intersection of 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/fangzhou-yuan/