Reproduce “DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
DeepSeek-AI, Anyi Xu, Bangcai Lin, Bing Xue, Bingxuan Wang, Bingzheng Xu, Bochao Wu, Bowei Zhang and 311 more
DeepSeek-AI developed the DeepSeek-V4 series of language models, including Pro and Flash variants, designed to efficiently process contexts up to one million tokens. These models integrate a hybrid attention architecture, Manifold-Constrained Hyper-Connections, and the Muon optimizer, achieving substantial performance gains over previous open-source models in reasoning, coding, and real-world tasks while significantly reducing computational and memory overhead.
Key insights
- The hybrid attention architecture drastically reduces computational FLOPs and KV cache usage by up to 90% in one-million-token contexts compared to previous models, enabling native long-context support.
- Manifold-Constrained Hyper-Connections (mHC) effectively enhance residual connections by bounding the spectral norm, contributing to stable signal propagation and improved modeling performance.
- A combination of architectural innovations, optimized training frameworks (including anticipatory routing and SwiGLU clamping for stability), and a post-training pipeline featuring On-Policy Distillation (OPD) facilitates superior performance and cost-effectiveness across model sizes.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.