"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); (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."
📝 全景导读(problem → solution → why)
灵魂一句
把「大模型继续 scale」的瓶颈重新定位到 注意力的二次复杂度 上——"this scaling paradigm is fundamentally constrained by the quadratic computational complexity of the vanilla attention mechanism ... a prohibitive bottleneck for ultra-long contexts"(§1)。V4 的每一个架构选择都是为拆掉这堵墙服务的。
自评定位(很诚实):推理能力上 V4-Pro-Max "superior ... relative to GPT-5.2 and Gemini-3.0-Pro",但 "falls marginally short of GPT-5.4 and Gemini-3.1-Pro, suggesting a developmental trajectory that trails state-of-the-art frontier models by approximately 3 to 6 months"。
② Heavily Compressed Attention (HCA) — 管「极致压缩」:"aims for extreme compression by consolidating the KV cache of every ℓ′ (≫ℓ) tokens into a single entry",\(\ell'=128\),dense 不稀疏。
Think Max 注入指令(Table 3 原文节选):"Reasoning Effort: Absolute maximum with no shortcuts permitted. You MUST be very thorough ..."——要求彻底分解问题定位根因、对所有路径/边界/对抗场景压力测试、把被否决的假设也显式写出。
📊 全文评测汇总
Instruct 模型:Flash vs Pro × 三档推理(Table 7 节选)
维度
Benchmark
Flash Non/High/Max
Pro Non/High/Max
知识
SimpleQA-Verified
23.1 / 28.9 / 34.1
45.0 / 46.2 / 57.9
推理
GPQA Diamond
71.2 / 87.4 / 88.1
72.9 / 89.1 / 90.1
推理
HLE
8.1 / 29.4 / 34.8
7.7 / 34.5 / 37.7
代码
LiveCodeBench
55.2 / 88.4 / 91.6
56.8 / 89.8 / 93.5
代码
Codeforces (Elo)
— / 2816 / 3052
— / 2919 / 3206
数学
HMMT 2026 Feb
40.8 / 91.9 / 94.8
31.7 / 94.0 / 95.2
长文
MRCR 1M
37.5 / 76.9 / 78.7
44.7 / 83.3 / 83.5
Agent
Terminal-Bench 2.0
49.1 / 56.6 / 56.9
59.1 / 63.3 / 67.9
Agent
SWE Verified
73.7 / 78.6 / 79.0
73.6 / 79.4 / 80.6
why(§5.3):"the Max mode, which employs longer contexts and reduced length penalties in RL, outperforms the High mode on the most challenging tasks." Non-think 在难题上崩塌(Apex:Pro 0.4→27.4→38.3),说明前沿数学/推理几乎完全依赖长思维链;Flash 与 Pro 差距主要在知识类,推理/代码给足 thinking budget 后 Flash 逼近 Pro。
vs 前沿模型(Table 6,可信部分节选)
赢:Apex Shortlist(90.2)、Codeforces(3206,人类第 23)、LiveCodeBench(93.5)。负:SimpleQA-Verified(57.9 vs Gemini 75.6)、HLE、Terminal-Bench(GPT 75.1)、1M 长上下文(MRCR/CorpusQA 均落后 Claude Opus 4.6,但超过 Gemini-3.1-Pro)。形式化数学:Putnam-2025 DeepSeek-V4 = 120/120(proof-perfect)。
中文写作胜率显著超 Gemini-3.1-Pro;白领任务 vs Opus-4.6-Max non-loss rate 63%(弱在指令遵循与排版美观);R&D 代码 agent(30 内部真实任务)Pass=70,介于 Sonnet 4.5(47) 与 Opus 4.5(67/73) 之间,内部 85 名开发者中 52% 认为可作默认主力编码模型。
🎯 Conclusion + 诚实边界
贡献:"break the efficiency barrier of ultra-long-context processing";CSA+HCA 带来长序列效率的巨大飞跃,为 test-time scaling / long-horizon / online learning 铺路;Pro-Max "redefines the state-of-the-art for open models"。
作者坦承的局限:
架构过复杂:"we retained many preliminarily validated components and tricks, which ... made the architecture relatively complex" → 未来要蒸馏到最精简、更 elegant。
Figure 1 | Left: benchmark performance of DeepSeek-V4-Pro-Max and its counterparts. Right: inference FLOPs and KV cache size of DeepSeek-V4 series and DeepSeek-V3.2.(右图直观给出效率倍数:FLOPs Pro 3.7× / Flash 9.8× 更低;KV cache Pro 9.5× / Flash 13.7× 更小 @1M)Figure 2 | Overall architecture of DeepSeek-V4 series. We use hybrid CSA (Compressed Sparse Attention) and HCA (Heavily Compressed Attention) for attention layers, DeepSeekMoE for feed-forward layers, and strengthen conventional residual connections with mHC.Figure 3 | Core architectures of CSA. It compresses the number of KV entries to 1 … (压缩 KV → lightning indexer 打分 → top-k 选相关条目 → MQA core attention)Figure 4 | Core architectures of HCA. It performs heavier compression, where the KV entries of 𝑚′ (≫𝑚) tokens will be consolidated into one. Also, we additionally introduce a small set of sliding window KV entries to enhance local fine-grained dependencies.Figure 5 | Illustration of our EP scheme with related works. … Our EP scheme achieves a finer-grained overlapping by splitting and scheduling experts into waves. The theoretical speedup is evaluated in the configuration of the DeepSeek-V4-Flash architecture.Figure 6 | Illustration of the KV cache Layout for DeepSeek-V4. The KV cache is organized into two primary components: a classical KV cache for CSA/HCA, and a state cache for SWA and unready-for-compression tokens in CSA/HCA.Figure 7 | Thinking management of DeepSeek-V4 series.(a 工具调用场景全程保留推理痕迹、跨 user message 不丢;b 普通对话新消息即丢弃旧推理)Figure 8 | Formal reasoning under practical and frontier regimes. Left: Putnam-200 Pass@8 … Right: Putnam-2025 … DeepSeek-V4 reaches a proof-perfect 120/120.Figure 9 | DeepSeek-V4 series performance on the MRCR task.(8k–1024k 各点 MMR;128K 内检索几乎无损,1M 仍强)Figure 10 | HLE and Terminal Bench 2.0 performance by reasoning effort. “None” indicates Non-think mode, and “Speciale” indicates DeepSeek-V3.2-Speciale model.Figure 11 | Win-rate comparison across analysis, generation, editing tasks, and the overall performance.(中文功能性 / 创意写作胜率,多为 vs Gemini-3.1-Pro)Figure 12 | Detailed dimension scores including Task Completion, Content Quality, Formatting Aesthetics, and Instruction Following.(白领任务四维度得分 vs Opus-4.6-Max)Figure 13 | Example output of a task which requires drafting a joint marketing proposal for a popular bubble tea brand and the Beijing Subway.(真实写作任务示例输出)Figure 14 | Example output of a task that requires comparing two regular investment strategies for the NASDAQ.(真实分析任务示例输出)Figure 15 | Example output of a task which requires researching 2020-2025 Nobel Science Prizes and generating an analytical PDF report.(真实研究任务示例输出)