[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-699361-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-699361-en":130,"doc-similar-699361":170},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","deepseek-v2-a-strong-economical-and-efficient-mixture-of-experts-language-model","DeepSeek-V2 - A Strong, Economical, and Efficient Mixture-of-Experts Language Model","","DeepSeek-V2 presents a strong Mixture-of-Experts (MoE) language model built for economical training and efficient inference. The model contains 236B total parameters, activates 21B per token, and supports a 128K context length. Architectural innovations include Multi-head Latent Attention (MLA) for compressing the Key-Value cache into a latent vector and DeepSeekMoE for sparse computation to reduce training cost. Compared with DeepSeek 67B, it improves performance while saving 42.5% training cost, reducing KV cache by 93.3%, and reaching 5.76× higher generation throughput.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/deepseek-v2-a-strong-economical-and-efficient-mixture-of-experts-language-model/699361/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/deepseek-v2-a-strong-economical-and-efficient-mixture-of-experts-language-model/699361.png","ImageObject",300,407,{"name":42,"@type":43},"SALUTone","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-22","2026-11-12",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What is DeepSeek-V2 and what makes it efficient?","Question",{"text":62,"@type":63},"DeepSeek-V2 is a Mixture-of-Experts language model. Efficiency comes from economical training and inference improvements such as MLA for compressing the Key-Value cache and sparse computation via DeepSeekMoE.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How many parameters does DeepSeek-V2 use, and how many are activated per token?",{"text":67,"@type":63},"DeepSeek-V2 has 236B total parameters, with 21B activated for each token.",{"name":69,"@type":60,"acceptedAnswer":70},"What performance and efficiency gains does DeepSeek-V2 report compared with DeepSeek 67B?",{"text":71,"@type":63},"DeepSeek-V2 reports stronger performance while saving 42.5% of training costs, reducing KV cache by 93.3%, and increasing maximum generation throughput to 5.76×.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},699361,1794465276,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":101,"preview_urls":145},5909897206756,"https://ap-avatar.wpscdn.com/avatar/5600152dbe4a7e99502?x-image-process=image/resize,m_fixed,w_180,h_180&k=1792654152478566863","arXiv :2405 .04434v5 [ cs .CL] 19 Jun 2024  \nDeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model  \nDeepSeek-AI  \n[research@deepseek.com](research@deepseek.com)  \nAbstract  \nWe 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 21Bare 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. The model checkpoints are available at [https://github. com/deepseek-ai/DeepSeek-V2](https://github. com/deepseek-ai/DeepSeek-V2) .  \nPerformance (MMLU)  \n80  \n75  \n70  \n65  \n60  \n55  \n0 20 40 60 80 100  \nActivated Parameters (Billions)  \n(a)  \nDeepSeek 67B  \nDeepSeek-V2  \nDeepSeek 67B  \nDeepSeek-V2  \nTraining Costs (K GPU Hours/T Tokens)  \n\n|  |  |  |  |  |  |  |  |\n| --- | --- | --- | --- | --- | --- | --- | --- |\n|  |  |  |  | sav\u003Cbr>| ing 42.5% | of |  |\n|  |  |  |  |  |  |  |  |\n|  |  |  |  | \u003Cbr>tr | aining c | osts |  |\n\n0 50 100 150 200 250 300  \nKV Cache for Generation (KB/Token)  \n\n|  |  |  |  |  |  |  |\n| --- | --- | --- | --- | --- | --- | --- |\n|  | redu | cing KV cac | he by 93.3% |  |  |  |\n|  |  |  |  |  |  |  |\n|  |  |  |  |  |  |  |\n\n0 100 200 300 400  \nMaximum Generation Throughput (Tokens/Sec)  \nDeepSeek 67B  \nDeepSeek-V2  \n\n|  |  |  |  |  |  |  |\n| --- | --- | --- | --- | --- | --- | --- |\n|  |  |  |  |  |  |  |\n|  | 576% of | maxim | um thr | oughput |  |  |\n|  |  |  |  |  |  |  |\n\n0 10000 20000 30000 40000 50000  \n(b)  \nFigure 1 | (a) MMLU accuracy vs. activated parameters, among different open-source models.  \n(b) Training costs and inference efficiency of DeepSeek 67B (Dense) and DeepSeek-V2 .  \nContents  \n1 Introduction 4  \n2 Architecture 6  \n2.1 Multi-Head Latent Attention: Boosting Inference Efficiency ............. 6  \n2.1.1 Preliminaries: Standard Multi-Head Attention ................ 6  \n2.1.2 Low-Rank Key-Value Joint Compression ................... 7  \n2.1.3 Decoupled Rotary Position Embedding .................... 8  \n2.1.4 Comparison of Key-Value Cache ........................ 8  \n2.2 DeepSeekMoE: Training Strong Models at Economical Costs ............ 9  \n2.2.1 Basic Architecture ................................ 9  \n2.2.2 Device-Limited Routing ............................. 9  \n2.2.3 Auxiliary Loss for Load Balance ........................ 10  \n2.2.4 Token-Dropping Strategy ............................ 11  \n3 Pre-Training 11  \n3.1 Experimental Setups ................................... 11  \n3.1.1 Data Construction ................................ 11  \n3.1.2 Hyper-Parameters ................................ 12  \n3.1.3 Infrastructures .................................. 12  \n3.1.4 Long Context Extension ............................. 13  \n3.2 Evaluations ........................................ 13  \n3.2.1 Evaluation Benchmarks ............................. 13  \n3.2.2 Evaluation Results ................................ 14  \n3.2.3 Training and Inference Efficiency ........................ 16  \n4 Alignment 16  \n4.1 Supervised Fine-Tuning ..............","cbCaianvLI0hWBEl","https://ap.wps.com/l/cbCaianvLI0hWBEl","pdf",1586880,52,"English","# Introduction\n# Architecture\n## Multi-Head Latent Attention: Boosting Inference Efficiency\n## DeepSeekMoE: Training Strong Models at Economical Costs\n# Pre-Training\n# Alignment\n# Conclusion, Limitation, and Future Work\n# Contributions and Acknowledgments","[{\"question\":\"What is DeepSeek-V2 and what makes it efficient?\",\"answer\":\"DeepSeek-V2 is a Mixture-of-Experts language model. Efficiency comes from economical training and inference improvements such as MLA for compressing the Key-Value cache and sparse computation via DeepSeekMoE.\"},{\"question\":\"How many parameters does DeepSeek-V2 use, and how many are activated per token?\",\"answer\":\"DeepSeek-V2 has 236B total parameters, with 21B activated for each token.\"},{\"question\":\"What performance and efficiency gains does DeepSeek-V2 report compared with DeepSeek 67B?\",\"answer\":\"DeepSeek-V2 reports stronger performance while saving 42.5% of training costs, reducing KV cache by 93.3%, and increasing maximum generation throughput to 5.76×.\"}]","DeepSeek-V2 - A Strong, Economical, and Efficient Mixture-of-Experts Language Model | PDF",131,[146,150,154,158,162,166],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/da1eaf04445b758a97d1ec5843e3e536.webp",983,1390,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/e412d460e6364d58f208612b8669a592.webp",982,1388,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/65c23a278b14d5cb78b821e8f508dca6.webp",981,1387,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/8a2fe698db322fdbefff25a91bf35c0e.webp",980,1385,{"page_no":96,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/75ebec2560bc11c3cacc3efbbb0e1b09.webp",979,1384,{"page_no":101,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/73a44b12348ce5c390f9d928cb08e84b.webp",978,1383,{"list":171,"token":11},[172,179,186,192,198,205,212,219,226,232],{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":177,"category_name":29,"create_tm":178},135426,"CrossPool - Efficient Multi-LLM Serving for Cold MoE Models through KV-Cache and Weight Disaggregation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229862088558/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222879&Signature=%2FXWih03MJp2WB2VHCtGJ6%2FhGC78%3D","crosspool-efficient-multi-llm-serving-for-cold-moe-models-through-kv-cache-and-weight-disaggregation",26,1787312014,{"doc_id":180,"doc_title":181,"file_type":137,"home_preview_img_url":182,"slug":183,"view_count":184,"category_name":29,"create_tm":185},638895,"DeepSeek-V3 Technical Report - arXiv 2412.19437v2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229970222641/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222879&Signature=K1o5hUfCdIkuhxZ9gixrVK1XNi8%3D","deepseek-v3-technical-report-arxiv-241219437v2",17,1792700295,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":112,"category_name":29,"create_tm":191},82678,"From Tensor Buffer to Distributed Memory Hierarchy: A Survey of KV Cache Management for LLM Serving","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808777514/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222879&Signature=PBGfFFCvANWLngIddHxdSLLy1%2F4%3D","from-tensor-buffer-to-distributed-memory-hierarchy-a-survey-of-kv-cache-management-for-llm-serving",1784182238,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":33,"category_name":29,"create_tm":197},740762,"WISP - A WORKING-SET VIEW OF MIXTURE-OF-EXPERTS SERVING ON EXTREMELY LOW-RESOURCE HARDWARE","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230038947014/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222879&Signature=S5NEYqD4EVl2ox58Mp2d%2BQAPlP4%3D","wisp-a-working-set-view-of-mixture-of-experts-serving-on-extremely-low-resource-hardware",1795646506,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":29,"create_tm":204},81802,"Cache Merging as a Convergent Replicated State for Multi-Agent Latent Reasoning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808646005/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222879&Signature=rADJbAcv07YF8ZOwFwT063cEreo%3D","cache-merging-as-a-convergent-replicated-state-for-multi-agent-latent-reasoning",24,1784176255,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":29,"create_tm":211},84657,"Multi-Turn Distributed Inference with Mixture of Experts for 6G Edge Cloud Networks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809194805/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222879&Signature=%2Fs4Z03sqwIFyJ8iYsdWc%2Be%2BgAHc%3D","multi-turn-distributed-inference-with-mixture-of-experts-for-6g-edge-cloud-networks",29,1784197515,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":29,"create_tm":218},84639,"Towards Load-Aware Prefill Deflection for Disaggregated LLM Serving","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809193029/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222879&Signature=DH5zV2kLbj4Po8A0JbMvCF%2BiEiI%3D","towards-load-aware-prefill-deflection-for-disaggregated-llm-serving",34,1784197399,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":29,"create_tm":225},85630,"KVEraser: Learning to Steer KV Cache for Efficient Localized Context Erasing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809333636/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222879&Signature=dyA%2Bt64Lim4%2FnNTAjQJ4fnDgMhs%3D","kveraser-learning-to-steer-kv-cache-for-efficient-localized-context-erasing",21,1784205093,{"doc_id":227,"doc_title":228,"file_type":137,"home_preview_img_url":229,"slug":230,"view_count":217,"category_name":29,"create_tm":231},83613,"Mixture-of-Parallelisms: Towards Memory-Efficient Training Stack for Mixture-of-Experts Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808992232/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222879&Signature=cHM4w5DKxImJH%2FMDsTmchhE9fy0%3D","mixture-of-parallelisms-towards-memory-efficient-training-stack-for-mixture-of-experts-models",1784189268,{"doc_id":233,"doc_title":234,"file_type":137,"home_preview_img_url":235,"slug":236,"view_count":237,"category_name":29,"create_tm":238},82559,"MosaicKV Serving Long-Context LLM with Dynamic Two-D KV Cache Compression","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808763145/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222879&Signature=1VoF3ZxonU3wZKjo5Os382iXZvQ%3D","mosaickv-serving-long-context-llm-with-dynamic-two-d-kv-cache-compression",43,1784181525]