We present DeepSeek-V2, a strong Mixture-of-Experts (MoE) language model characterized by economical training and efficient inference. It comprises 236B total parameters, of which 21B are activated for each token, and supports a context length of 128K tokens. DeepSeek-V2 adopts innovative architectures including Multi-head Latent Attention (MLA) and DeepSeekMoE. MLA guarantees efficient inference through significantly compressing the Key-Value (KV) cache into a latent vector, while DeepSeekMoE enables training strong models at an economical cost through sparse computation. Compared with DeepSeek 67B, DeepSeek-V2 achieves significantly stronger performance, and meanwhile saves 42.5% of training costs, reduces the KV cache by 93.3%, and boosts the maximum generation throughput to 5.76 times. We pretrain DeepSeek-V2 on a high-quality and multi-source corpus consisting of 8.1T tokens, and further perform Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) to fully unlock its potential. Evaluation results show that, even with only 21B activated parameters, DeepSeek-V2 and its chat versions still achieve top-tier performance among open-source models.
Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs
School of Computer Science, Fudan University(复旦大学计算机科学学院);School of Computer Science and Technology, East China Normal University(华东师范大学计算机科学与技术学院);Institute of Modern Languages and Linguistics, Fudan University(复旦大学现代语言与语言学研究所);Institute of Trustworthy Embodied Artificial Intelligence, Fudan University(复旦大学可信具身人工智能研究所);Shanghai Collaborative Innovation Center of Intelligent Visual Computing(上海智能视觉计算协同创新中心);Pengcheng Laboratory(鹏城实验室);Hikvision Inc(海康威视公司)
DeepSeek: Paradigm Shifts and Technical Evolution in Large AI Models
Key Laboratory of Smart Manufacturing in Energy Chemical Process, East China University of Science and Technology(东华大学能源化学过程智能制造重点实验室);School of Information Science and Engineering, East China University of Science and Technology(东华大学信息科学与工程学院);Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所认知与复杂系统决策智能实验室);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Research Institute of Intelligent Complex Systems, Fudan University(复旦大学智能复杂系统研究院);School of Science, Computing and Engineering Technologies, Swinburne University of Technology(斯威本科技大学科学、计算与工程技术学院)
Alloc-MoE: Budget-Aware Expert Activation Allocation for Efficient Mixture-of-Experts Inference
National Key Laboratory of Parallel and Distributed Computing, College of Computer Science and Technology, National University of Defense Technology(国防科技大学并行与分布计算国家重点实验室,计算机科学与技术学院)
DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models
DeepSeek-AI(深度求索人工智能);National Key Laboratory for Multimedia Information Processing, Peking University(北京大学多媒体信息处理全国重点实验室);Institute for Interdisciplinary Information Sciences, Tsinghua University(清华大学交叉信息研究院);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术全国重点实验室)
MC#: Mixture Compressor for Mixture-of-Experts Large Models
Department of Electrical and Electronic Engineering, The University of Hong Kong(香港大学电子与电气工程系);School of Computing, National University of Singapore(新加坡国立大学计算机学院);NVIDIA Research(NVIDIA研究)
HELLoRA: Hot Experts Layer-Level Low-Rank Adaptation for Mixture-of-Experts Models
Department of Computer Science and Technlogy(计算机科学与技术系);Tsinghua University(清华大学);School of Computer Science and Technlogy(计算机科学与技术系);Xi’an Jiaotong University(西安交通大学);The State Key Laboratory of Blockchain and Data Security, Zhejiang University(区块链与数据安全国家重点实验室,浙江大学);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高科技区(滨江)区块链与数据安全研究院)
DeepSeek in Healthcare: A Survey of Capabilities, Risks, and Clinical Applications of Open-Source Large Language Models
Weill Cornell Medicine, Cornell University(威尔康奈尔医学院,康奈尔大学);Johns Hopkins University(约翰斯·霍普金斯大学);Touro University College of Osteopathic Medicine(图罗大学整骨医学院)
BigMac: A Communication-Efficient Mixture-of-Experts Model Structure for Fast Training and Inference
University of Science and Technology of China(中国科学技术大学);Huawei Technologies(华为技术有限公司);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院)
Achieving Cloud-Grade SLOs for Local Mixture-of-Experts Inference through CPU-GPU Hybrid Design
Tsinghua University(清华大学);Xingyun Integrated Circuits Co., Ltd.(星云集成电路有限公司);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心)
Efficient MoE Inference with Fine-Grained Scheduling of Disaggregated Expert Parallelism
The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Hong Kong Baptist University(香港 Baptist 大学);The Hong Kong University of Science(香港科学与技术大学)
Domain-Specific Pruning of Large Mixture-of-Experts Models with Few-shot Demonstrations
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学北京校区人工智能学院);University of International Business and Economics(国际商务经济大学);YanTron Technology Co. Ltd(燕tron技术有限公司);EBTech Co. Ltd(EBTech有限公司)
Attribution-Guided and Coverage-Maximized Pruning for Structural MoE Compression
School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);School of Artificial Intelligence, Beihang University(北京航空航天大学人工智能学院);Nanyang Technological University(南洋理工大学)
DeaMoE: Efficient MoE Structure for Fast Small-Batch Decoding
University of Science and Technology of China(中国科学技术大学);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院);Shanxi University(山西大学)