NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DeepSeek-V3 Technical Report

DeepSeek-AI, Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang, Bochao Wu, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, Damai Dai, Daya Guo, Dejian Yang, Deli Chen, Dongjie Ji, Erhang Li, Fangyun Lin, Fucong Dai, Fuli Luo, Guangbo Hao, Guanting Chen, Guowei Li, H. Zhang, Han Bao, Hanwei Xu, Haocheng Wang, Honghui Ding, Huajian Xin, Huazuo Gao, Hui Li, Hui Qu, J. L. Cai, Jian Liang, Jianzhong Guo, Jiaqi Ni, Jiashi Li, Jiawei Wang, Jin Chen, Jingyang Yuan, Junjie Qiu, Junlong Li, Junxiao Song, Kai Dong, Kai Hu, Kaige Gao, Kang Guan, Kexin Huang, Kuai Yu, Lean Wang, Lecong Zhang, Lei Xu, Leyi Xia, Liang Zhao, Litong Wang, Liyue Zhang, Meng Li, Miaojun Wang, Mingchuan Zhang, Minghua Zhang, Minghui Tang, Mingming Li, Ning Tian, Panpan Huang, Peiyi Wang, Peng Zhang, Qiancheng Wang, Qihao Zhu, Qinyu Chen, Qiushi Du, R. J. Chen, R. L. Jin, Ruiqi Ge, Ruisong Zhang, Ruizhe Pan, Runji Wang, Runxin Xu, Ruoyu Zhang, S. S. Li, Shanghao Lu, Shangyan Zhou, Shanhuang Chen, Shaoqing Wu, Shengfeng Ye, Shirong Ma, Shiyu Wang, Shuang Zhou, Shuiping Yu, Shunfeng Zhou, Shuting Pan, T. Wang, Tao Yun, Tian Pei, Tianyu Sun, W. L. Xiao, Wangding Zeng, Wanjia Zhao, Wei An, Wen Liu, Wenfeng Liang, Wenjun Gao, Wenqin Yu, Wentao Zhang, X. Q. Li, Xiangyue Jin, Xianzu Wang, Xiao Bi, Xiaodong Liu, Xiaohan Wang, Xiaojin Shen, Xiaokang Chen, Xiaokang Zhang, Xiaosha Chen, Xiaotao Nie, Xiaowen Sun, Xiaoxiang Wang, Xin Cheng, Xin Liu, Xin Xie, Xingkai Yu, Xinnan Song, Xinxia Shan, Xinyi Zhou, Xinyu Yang, Xuecheng Su, Xuheng Lin, Y. K. Li, Y. Q. Wang, Y. X. Wei, Y. X. Zhu, Yang Zhang, Yanhong Xu, Yanping Huang, Yao Zhao, Yaofeng Sun, Yi Yu, Yi Zheng, Yichao Zhang, Yifan Shi, Yiliang Xiong, Ying He, Ying Tang, Yishi Piao, Yixuan Tan, Yiyang Ma, Yiyuan Liu, Yongqiang Guo, Yu Wu, Yuan Ou, Yue Gong, Yuheng Zou, Yujia He, Yukun Zha, Yunfan Xiong, Yunxian Ma, Yuting Yan, Yuxiang Luo, Yuxiang You, Yuxuan Liu, Yuyang Zhou, Z. F. Wu, Z. Z. Ren, Zhangli Sha, Zhe Fu, Zhean Xu, Zhen Huang, Zhen Zhang, Zhenda Xie, Zhewen Hao, Zhibin Gou, Zhicheng Ma, Zhigang Yan, Zhihong Shao, Zhipeng Xu, Zhongyu Zhang, Zhuoshu Li, Zihui Gu, Zijia Zhu, Zijun Liu, Zilin Li, Ziwei Xie, Ziyang Song, Ziyi Gao, Zizheng Pan

TL;DR

DeepSeek-V3 is a massive 671B parameter Mixture-of-Experts (MoE) model that achieves state-of-the-art performance while maintaining unprecedented training efficiency. By pioneering auxiliary-loss-free load balancing and multi-token prediction, it matches top-tier closed-source models like GPT-4o and Claude 3.5 Sonnet at a fraction of the typical training cost (~$5.6M).

What Problem Does This Paper Address?

Training and deploying dense models at the scale of hundreds of billions of parameters is prohibitively expensive. While Mixture-of-Experts (MoE) architectures offer a path toward efficiency by only activating a subset of parameters per token, they introduce new challenges:

  1. The "MoE Tax": Standard MoE models use auxiliary losses to ensure experts are used evenly. However, these losses often conflict with the primary language modeling objective, slightly degrading performance.
  2. Communication Bottlenecks: In distributed MoE training, sending tokens to experts across different GPU nodes (all-to-all communication) often becomes a massive bottleneck that leaves compute units idling.
  3. Precision vs. Stability: Moving to lower-precision formats like FP8 can speed up training but often leads to numerical instability and loss spikes in very large models.

Methods

DeepSeek-V3 introduces several architectural and algorithmic innovations to solve these issues:

  • Innovative Architecture: It builds on the Multi-head Latent Attention (MLA) and DeepSeekMoE frameworks introduced in V2. MLA significantly reduces the KV cache footprint, while DeepSeekMoE uses fine-grained experts to improve specialization (see Figure 2).
  • Auxiliary-Loss-Free Load Balancing: Instead of a static loss term, the authors use a dynamic bias term for each expert. If an expert is overloaded, its bias decreases; if underloaded, it increases. This ensures balanced utilization without compromising the model's learning objective.
  • Multi-Token Prediction (MTP): The model is trained to predict multiple future tokens at each position sequentially. This densifies the training signal and allows the model to "pre-plan" its representations, which also facilitates speculative decoding during inference.
  • FP8 Mixed Precision Training: DeepSeek-V3 is the first model of this scale to successfully validate FP8 training. They use fine-grained quantization (tile-wise and block-wise) to handle outliers and maintain a relative loss error of less than 0.25% compared to BF16.
  • DualPipe Algorithm: To solve the communication bottleneck, they developed DualPipe, which overlaps computation and communication phases across forward and backward passes. This effectively "hides" the all-to-all communication overhead.
Illustration of the basic architecture, featuring MLA and DeepSeekMoE.

Datasets

The model was pre-trained on a massive 14.8 trillion diverse and high-quality tokens.

  • Pre-training: A multilingual corpus with a heavy emphasis on mathematics and programming to bolster reasoning capabilities.
  • Post-training: 1.5M instances for Supervised Fine-Tuning (SFT) across multiple domains.
  • Reasoning Distillation: A key highlight is the distillation of reasoning patterns (verification and reflection) from the DeepSeek-R1 series into V3, significantly boosting its performance on complex tasks.

Key Insights and Ideas

  • The MoE Tax is Optional: The success of the auxiliary-loss-free strategy proves that you don't need to sacrifice model quality for hardware efficiency.
  • Efficiency is the New Frontier: DeepSeek-V3 was trained using only 2.788M H800 GPU hours. As shown in Figure 3, the total cost was approximately $5.576M—a staggering achievement for a model that competes with the world's most powerful LLMs.
  • MTP as a Training Signal: Beyond just speeding up inference, the Multi-Token Prediction objective acts as a regularizer that helps the model learn more robust representations of sequence structure.
Summary of training costs for DeepSeek-V3.

Key Results

DeepSeek-V3 emerges as the strongest open-source model currently available, particularly in math and coding (see Figure 1).

  • Math & Code: It achieved a score of 90.2 on MATH 500 and 39.2 on AIME 2024, outperforming Llama-3.1-405B and even rivaling specialized reasoning models.
  • General Knowledge: On MMLU-Pro, it scored 75.9, surpassing all other open-source counterparts.
  • Open-Ended Conversation: It achieved an 85.5% win rate on Arena-Hard, placing it on par with Claude 3.5 Sonnet.
Benchmark performance comparison of DeepSeek-V3 against other leading models.

Limitations and Future Work

  • Deployment Requirements: Due to its 671B parameter size, the minimum deployment unit is relatively large (e.g., 4 nodes for prefilling), which may be a barrier for smaller teams.
  • Hardware Suggestions: The authors explicitly call for hardware vendors to better support fine-grained quantization and unified communication networks to further reduce the overhead of MoE architectures.
  • Future Directions: The team plans to investigate "infinite" context lengths and move beyond the architectural limitations of the standard Transformer to reach the ultimate goal of AGI.

Summary updated

BibTeX
@misc{deepseekai2024deepseek,
  author = {DeepSeek-AI and Aixin Liu and Bei Feng and Bing Xue and Bingxuan Wang and Bochao Wu and Chengda Lu and Chenggang Zhao and Chengqi Deng and Chenyu Zhang and Chong Ruan and Damai Dai and Daya Guo and Dejian Yang and Deli Chen and Dongjie Ji and Erhang Li and Fangyun Lin and Fucong Dai and Fuli Luo and Guangbo Hao and Guanting Chen and Guowei Li and H. Zhang and Han Bao and Hanwei Xu and Haocheng Wang and Haowei Zhang and Honghui Ding and Huajian Xin and Huazuo Gao and Hui Li and Hui Qu and J. L. Cai and Jian Liang and Jianzhong Guo and Jiaqi Ni and Jiashi Li and Jiawei Wang and Jin Chen and Jingchang Chen and Jingyang Yuan and Junjie Qiu and Junlong Li and Junxiao Song and Kai Dong and Kai Hu and Kaige Gao and Kang Guan and Kexin Huang and Kuai Yu and Lean Wang and Lecong Zhang and Lei Xu and Leyi Xia and Liang Zhao and Litong Wang and Liyue Zhang and Meng Li and Miaojun Wang and Mingchuan Zhang and Minghua Zhang and Minghui Tang and Mingming Li and Ning Tian and Panpan Huang and Peiyi Wang and Peng Zhang and Qiancheng Wang and Qihao Zhu and Qinyu Chen and Qiushi Du and R. J. Chen and R. L. Jin and Ruiqi Ge and Ruisong Zhang and Ruizhe Pan and Runji Wang and Runxin Xu and Ruoyu Zhang and Ruyi Chen and S. S. Li and Shanghao Lu and Shangyan Zhou and Shanhuang Chen and Shaoqing Wu and Shengfeng Ye and Shengfeng Ye and Shirong Ma and Shiyu Wang and Shuang Zhou and Shuiping Yu and Shunfeng Zhou and Shuting Pan and T. Wang and Tao Yun and Tian Pei and Tianyu Sun and W. L. Xiao and Wangding Zeng and Wanjia Zhao and Wei An and Wen Liu and Wenfeng Liang and Wenjun Gao and Wenqin Yu and Wentao Zhang and X. Q. Li and Xiangyue Jin and Xianzu Wang and Xiao Bi and Xiaodong Liu and Xiaohan Wang and Xiaojin Shen and Xiaokang Chen and Xiaokang Zhang and Xiaosha Chen and Xiaotao Nie and Xiaowen Sun and Xiaoxiang Wang and Xin Cheng and Xin Liu and Xin Xie and Xingchao Liu and Xingkai Yu and Xinnan Song and Xinxia Shan and Xinyi Zhou and Xinyu Yang and Xinyuan Li and Xuecheng Su and Xuheng Lin and Y. K. Li and Y. Q. Wang and Y. X. Wei and Y. X. Zhu and Yang Zhang and Yanhong Xu and Yanhong Xu and Yanping Huang and Yao Li and Yao Zhao and Yaofeng Sun and Yaohui Li and Yaohui Wang and Yi Yu and Yi Zheng and Yichao Zhang and Yifan Shi and Yiliang Xiong and Ying He and Ying Tang and Yishi Piao and Yisong Wang and Yixuan Tan and Yiyang Ma and Yiyuan Liu and Yongqiang Guo and Yu Wu and Yuan Ou and Yuchen Zhu and Yuduan Wang and Yue Gong and Yuheng Zou and Yujia He and Yukun Zha and Yunfan Xiong and Yunxian Ma and Yuting Yan and Yuxiang Luo and Yuxiang You and Yuxuan Liu and Yuyang Zhou and Z. F. Wu and Z. Z. Ren and Zehui Ren and Zhangli Sha and Zhe Fu and Zhean Xu and Zhen Huang and Zhen Zhang and Zhenda Xie and Zhengyan Zhang and Zhewen Hao and Zhibin Gou and Zhicheng Ma and Zhigang Yan and Zhihong Shao and Zhipeng Xu and Zhiyu Wu and Zhongyu Zhang and Zhuoshu Li and Zihui Gu and Zijia Zhu and Zijun Liu and Zilin Li and Ziwei Xie and Ziyang Song and Ziyi Gao and Zizheng Pan},
  title = {{DeepSeek-V3 Technical Report}},
  year = {2024},
  eprint = {2412.19437},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.19437},
}
Figure