arXiv:2606.19348cs.CLcs.AI2026-06被引 707

DeepSeek-V4突破百万级上下文,推理效率提升超九成。

DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence

论文配图:DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence
图 1 · 摘自论文原文
  • 采用压缩稀疏注意力与超压缩注意力混合架构,优化长文本处理。
  • 百万令牌上下文下,单次推理算力仅需前代的27%,缓存降低至10%。
  • 适合需要长文档理解、复杂推理的科研与工程场景。

我们发布DeepSeek-V4系列的预览版本,包含两款强大的混合专家(MoE)语言模型——DeepSeek-V4-Pro(1.6T参数,激活49B)和DeepSeek-V4-Flash(284B参数,激活13B),均支持百万级令牌上下文。该系列在架构与优化上实现多项升级:(1)采用压缩稀疏注意力(CSA)与超压缩注意力(HCA)相结合的混合注意力架构,提升长序列处理效率;(2)引入流形约束超连接(mHC),增强传统残差连接;(3)使用Muon优化器,实现更快收敛与更高训练稳定性。两模型均在超过32万亿高质量令牌上进行预训练,并经过全面后训练流程,充分释放其能力。DeepSeek-V4-Pro-Max作为最大推理模式,在核心任务中超越前代模型。在百万令牌上下文设置下,DeepSeek-V4-Pro的单次推理浮点运算量仅为DeepSeek-V3.2的27%,键值缓存占用降至10%,显著提升长上下文效率,使长期任务与测试时扩展更可行。模型检查点已开放:https://huggingface.co/collections/deepseek-ai/deepseek-v4。

原文摘要 · Abstract (English)

We present a preview version of DeepSeek-V4 series, including two strong Mixture-of-Experts (MoE) language models -- DeepSeek-V4-Pro with 1.6T parameters (49B activated) and DeepSeek-V4-Flash with 284B parameters (13B activated) -- both supporting a context length of one million tokens. DeepSeek-V4 series incorporate several key upgrades in architecture and optimization: (1) a hybrid attention architecture that combines Compressed Sparse Attention (CSA) and Heavily Compressed Attention (HCA) to improve long-context efficiency; (2) Manifold-Constrained Hyper-Connections (mHC) that enhance conventional residual connections; (3) and the Muon optimizer for faster convergence and greater training stability. We pre-train both models on more than 32T diverse and high-quality tokens, followed by a comprehensive post-training pipeline that unlocks and further enhances their capabilities. DeepSeek-V4-Pro-Max, the maximum reasoning effort mode of DeepSeek-V4-Pro, redefines the state-of-the-art for open models, outperforming its predecessors in core tasks. Meanwhile, DeepSeek-V4 series are highly efficient in long-context scenarios. In the one-million-token context setting, DeepSeek-V4-Pro requires only 27% of single-token inference FLOPs and 10% of KV cache compared with DeepSeek-V3.2. This enables us to routinely support one-million-token contexts, thereby making long-horizon tasks and further test-time scaling more feasible. The model checkpoints are available at https://huggingface.co/collections/deepseek-ai/deepseek-v4.

大模型长上下文MoE高效推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。