AI Skills AI技能 1d ago Updated 20h ago 更新于 20小时前 52

The 2.8-Trillion-Parameter Problem: Why Bigger Models Break the Old Playbook 2.8万亿参数难题:为何更大的模型打破了旧规则

Kimi K3 is a 2.8 trillion-parameter open decoder-only model that deliberately decouples total model capacity from per-token compute cost, activating only ~104B parameters (1.8%) per token The model introduces Stable Latent MoE, which compresses the 7,168-dimensional hidden state to 3,584 dimensions before routing to experts, dramatically reducing inter-GPU communication overhead Four core scaling problems are addressed: parameter activation cost (sparse MoE), accelerator communication (latent co Kimi K3是2.8万亿参数的开源decoder-only模型,每token仅激活1040亿参数(1.8%),实现规模与可服务性的平衡 采用Sparse MoE架构(896专家/16激活),配合Stable Latent MoE压缩技术解决跨设备通信瓶颈 引入Kimi Delta Attention (KDA)支持100万token上下文窗口,结合线性注意力与全局注意力兼顾效率与精确检索 93层深度配合Attention Residuals机制,解决深层网络中信息退化问题 模型宽度保持7168不变,通过加深网络(61→93层)和扩大专家池(384→896)实现规模扩展

75
Hot 热度
78
Quality 质量
72
Impact 影响力

Analysis 深度分析

TL;DR

  • Kimi K3 is a 2.8 trillion-parameter open decoder-only model that deliberately decouples total model capacity from per-token compute cost, activating only ~104B parameters (1.8%) per token
  • The model introduces Stable Latent MoE, which compresses the 7,168-dimensional hidden state to 3,584 dimensions before routing to experts, dramatically reducing inter-GPU communication overhead
  • Four core scaling problems are addressed: parameter activation cost (sparse MoE), accelerator communication (latent compression), long-context attention expense (Kimi Delta Attention), and information degradation across depth (attention residuals)
  • Training stability at this scale is achieved through SiTU-GLU (a custom activation capping gates/values to ~±100) and RMSNorm stabilization in the routed expert path
  • K3 uses 896 routed experts with 16 active per token plus 2 shared experts, 93 layers, and a 1M-token trained context window, while keeping the hidden dimension unchanged at 7,168

Why It Matters

This is one of the first public demonstrations that a 2.8T-parameter model can be both open-sourced and practically servable, directly addressing the engineering gap between research-scale models and production deployment. For AI practitioners, it provides a concrete blueprint for how to combine sparsity, communication-aware design, and long-context attention into a single coherent architecture—rather than treating each as an isolated research contribution. The explicit focus on why each mechanism was needed, not just that it was used, makes this a valuable reference for anyone building or evaluating large-scale language models.

Technical Details

  • Sparse Mixture of Experts (MoE): Replaces the dense FFN in each of the 93 decoder blocks with 896 routed experts plus 2 shared experts. A lightweight router selects 16 experts per token, yielding an activation ratio of ~1.8%. Specialization emerges through co-adaptation of routers and experts during training rather than hand-assignment.
  • Stable Latent MoE with Compression: Before sending a token's hidden state to a remote expert, K3 projects it from 7,168 dimensions down to 3,584 (exactly half). Experts operate in this compressed latent space, and outputs are projected back to full width. Only the routed-expert path is compressed; the main residual stream remains at 7,168 dimensions throughout.
  • Stabilization Mechanisms: SiTU-GLU is a custom activation function that smoothly caps gate and value branches to approximately ±100 in magnitude while preserving SwiGLU-like behavior near zero. An RMSNorm is inserted before the up-projection back to full width, preventing exploding activations in the routed branch at scale.
  • Routing & Load Balancing: K3 replaces fragile manual nudging of routing scores with Quantile Balancing, a more direct approach to preventing router collapse where a small subset of experts monopolizes traffic while hundreds remain idle.
  • Model Specifications: 2.8T total parameters, 104B activated per token, 93 layers, hidden dimension 7,168, 896 routed experts, 16 active per token, 2 shared experts, trained context window up to 1,000,000 tokens. The hidden dimension is unchanged from K3's predecessor; scaling was achieved by increasing depth (61→93 layers) and expert pool size (384→896 experts).

Industry Insight

  • The "latent compression" approach to MoE communication offers a practical template for reducing inter-device data movement in any large sparse model, suggesting that communication-aware design should be a first-class consideration alongside FLOPs when scaling MoE architectures.
  • The deliberate separation of total capacity from per-token activation (keeping hidden dimension fixed while expanding depth and expert count) challenges the conventional scaling trajectory of simply widening models, and may become a reference pattern for future open-weight large-scale releases.
  • The public documentation of failure modes—exploding activations, router collapse, interconnect bottlenecks—alongside their fixes provides rare engineering transparency that could accelerate the field's collective understanding of what actually breaks at multi-trillion-parameter scale.

TL;DR

  • Kimi K3是2.8万亿参数的开源decoder-only模型,每token仅激活1040亿参数(1.8%),实现规模与可服务性的平衡
  • 采用Sparse MoE架构(896专家/16激活),配合Stable Latent MoE压缩技术解决跨设备通信瓶颈
  • 引入Kimi Delta Attention (KDA)支持100万token上下文窗口,结合线性注意力与全局注意力兼顾效率与精确检索
  • 93层深度配合Attention Residuals机制,解决深层网络中信息退化问题
  • 模型宽度保持7168不变,通过加深网络(61→93层)和扩大专家池(384→896)实现规模扩展

为什么值得看

本文系统阐述了如何将2.8万亿参数模型工程化为可实际部署的服务,而非仅停留在基准测试层面。对AI从业者而言,它提供了大模型架构设计的完整思维框架,展示了稀疏激活、通信优化、长上下文处理等关键技术如何协同解决规模化推理的成本瓶颈。

技术解析

模型规格与稀疏激活架构:K3总参数2.8万亿,隐藏维度7168(与前任相同),93层,896个路由专家+2个共享专家,每token激活16个专家(约1.8%)。设计哲学是将总容量与每token计算成本刻意分离,通过深度扩展(61→93层)而非宽度扩展实现规模增长。

Stable Latent MoE压缩机制:为解决专家权重分散在多GPU导致的通信瓶颈,K3将token的7168维隐状态压缩至3584维隐空间(宽度减半),专家在此紧凑空间内计算,输出再投影回全维度。这同时减少了网络传输量和专家计算量,但主残差流保持7168维不变。

训练稳定性技术:压缩路径引发激活值爆炸问题,K3采用SiTU-GLU激活函数(将门控和价值分支限制在±100范围内,在零附近与SwiGLU行为一致)和RMSNorm稳定化,确保压缩机制在2.8T规模下可训练。

路由负载均衡:采用Quantile Balancing替代传统的手动调参反馈机制,直接确保896个专家中每个都被均衡使用,避免"少数专家垄断路由"导致的实际容量缩水。

长上下文注意力方案:标准自注意力在100万token上下文下计算成本呈平方增长,K3采用Delta Attention(KDA)结合线性注意力(高效但检索不精确)与全局注意力(精确但昂贵)的混合方案,在长窗口场景下实现效率与精度的平衡。

行业启示

规模与成本的工程化权衡:2.8T参数模型的推出标志着开源模型进入"实验室级规模"时代,但核心挑战已从纯参数扩展转向系统工程——如何在保持模型能力的同时控制推理成本,将成为下一阶段竞争的关键维度。

通信瓶颈成为新瓶颈:当模型规模突破单设备甚至多设备容量时,参数分布带来的跨设备通信成本可能超过计算成本本身。Stable Latent MoE等压缩传输方案提示行业:大模型优化需从"计算密集型"思维转向"通信-计算协同优化"思维。

架构创新优先于基准刷分:K3团队明确将架构设计置于排行榜之前,强调理解"为什么这样设计"比"得分多少"更有价值。这提示从业者:在模型同质化竞争中,底层架构的差异化创新(如注意力机制、稀疏化策略)才是建立长期壁垒的核心。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Open Source 开源 LLM 大模型 Training 训练 Inference 推理 Research 科学研究