Qwen3.8-Next架构设计:评估、效率与训练稳定性
研究论文 · 2026/09/01
本文介绍了Qwen3.8-Flash-Next的架构和消融实验,这是一个稀疏混合专家模型,拥有125B参数,每个token激活6B参数,并额外包含51B的n-gram嵌入表(存储在加速器之外)。在14个预训练基准上,该模型在8个基准上优于其前身(397B-A17B),在其余基准上最多落后2.6分,但激活参数仅为前者的1/3,训练token为1/3,训练FLOPs约为1/9。token混合采用逐层混合的Gated DeltaNet(GDN)和全局注意力,每四层中有一层全注意力;在继续预训练时,这些全注意力层被替换为Qwen稀疏注意力(QSA),后者通过压缩的轻量级索引器在微块粒度上对上下文进行评分。残差流被拓宽为四个分支,并通过逐元素门控读取,称为门控残差(GR)。容量通过单个n-gram嵌入层在主干之外添加,其表从主机内存预取。我们沿三个轴评估每个候选更改:损失和下游基准;更改在训练、预填充和解码中的成本;以及其对最优超参数和训练稳定性的影响。损失和下游准确性并不总是同步变化:扩大n-gram词汇表会单调降低损失,而下游准确性则饱和。架构和Muon优化器共同将最优学习率和批量大小上移,使批量大小预热变得不必要,并显著提高了压力测试下的稳定性。损失、基准、效率和稳定性构成一个设计问题。联合解决它们,产生了一个同时更高效、更有能力且更稳定的方案。
该论文详细介绍了Qwen3.8-Flash-Next的架构设计,并通过系统的消融实验展示了在效率、性能和稳定性上的联合优化。对于关注大规模语言模型架构创新、训练效率以及稳定性研究的读者,本文提供了宝贵的实践经验和设计思路。
We describe the architecture and ablations of Qwen3.8-Flash-Next, a sparse mixture-of-experts model with 125B parameters, 6B activated per token, and additional 51B parameters of n-gram embedding tables held off the accelerator. On fourteen pre-training benchmarks the model leads the 397B-A17B predecessor on eight and trails it on the rest by at most 2.6 points, at 1/3 the activated parameters, 1/3 the training tokens, and roughly 1/9 the training FLOPs. Token mixing uses a layer-wise hybrid of Gated DeltaNet (GDN) and global attention, with one full-attention layer in every four; at continued-pretraining time those full-attention layers are replaced by Qwen Sparse Attention (QSA), which scores context at micro-block granularity with a compressed lightweight indexer. The residual stream is widened to four branches and read through an elementwise gate, a design we call the Gated Residual (GR). Capacity is added outside the backbone by a single n-gram embedding layer whose tables are prefetched from host memory. We evaluate every candidate change along three axes: loss together with downstream benchmarks; the cost of the change in training, prefill and decode; and its effect on the optimal hyperparameters and training stability. Loss and downstream accuracy do not always move together: enlarging the n-gram vocabulary lowers loss monotonically while downstream accuracy saturates. The architecture and the Muon optimizer together shift the optimal learning rate and batch size upwards, render batch-size warmup unnecessary, and substantially improve stability under stress tests. Loss, benchmarks, efficiency and stability form one design problem. Solved jointly, they yield a recipe that is simultaneously more efficient, more capable and more stable.