GLM-5.3-Flash与Qwen3.8-Flash-Next同日发布
GLM-5.3-Flash vs Qwen3.8-Flash-Next: Two Chinese AI Labs Independently Converge on the Same Model Architecture
两大中文开源模型同日发布且架构高度趋同,是模型设计趋势的重要信号。做模型训练或推理的从业者建议细读文中关于注意力混合、上下文压缩和优化器的对比,可参考其取舍。
Two frontier open-weight models shipped within a day of each other this week. Z.ai released GLM-5.3-Flash, a 320B-parameter multimodal MoE model with 18B active parameters. Alibaba’s Qwen team released Qwen3.8-Flash-Next, a 125B model with 6B active parameters that previews the Qwen4 architecture.
本周,两款前沿开放权重模型在一天之内相继发布。Z.ai 发布了 GLM-5.3-Flash,这是一个 320B 参数的多模态 MoE 模型,激活参数为 18B。阿里巴巴的 Qwen 团队发布了 Qwen3.8-Flash-Next,这是一个 125B 参数的模型,激活参数为 6B,预览了 Qwen4 架构。
The two teams designed these systems independently. Yet their configs read like near-copies of each other. Both use a 3:1 hybrid of linear and full attention. Both select context with a compressed indexer capped at 2048 tokens. Both widen the residual stream into 4 gated branches. Both train with the Muon optimizer, with fused parameter matrices split before orthogonalization. This article walks through the shared recipe, the one point of disagreement, and the one lab that dissents.
两个团队独立设计了这些系统。然而,它们的配置读起来却像是彼此的近亲复制。两者都使用 3:1 的线性注意力和全注意力混合。两者都通过一个压缩索引器选择上下文,上限为 2048 个 token。两者都将残差流扩展为 4 个门控分支。两者都使用 Muon 优化器进行训练,并在正交化之前将融合的参数矩阵拆分。本文介绍了这一共享配方、一个分歧点,以及一个持不同意见的实验室。
The Two Releases in Brief
两个版本简介
GLM-5.3-Flash is the first natively multimodal model in the GLM-5 series, released under the MIT license on Hugging Face. Z.ai tested it anonymously as Ox Alpha on OpenRouter, where it became the most popular model of the week. It was trained on a 30T-token multimodal corpus and serves a 1M-token context window. Z.ai says it outperforms GLM-5.2 across benchmarks at one-tenth the price, while approaching Claude Opus 4.8 on coding and agentic benchmarks. List pricing is $0.15 per million input tokens and $0.50 per million output tokens.
GLM-5.3-Flash 是 GLM-5 系列中首个原生多模态模型,以 MIT 许可证在 Hugging Face 上发布。Z.ai 在 OpenRouter 上以匿名方式测试了它,代号为 Ox Alpha,它成为本周最受欢迎的模型。它在一个 30T token 的多模态语料库上训练,并提供 1M token 的上下文窗口。Z.ai 表示,它在基准测试中优于 GLM-5.2,价格仅为后者的十分之一,同时在编码和智能体基准测试上接近 Claude Opus 4.8。列表价格为每百万输入 token 0.15 美元,每百万输出 token 0.50 美元。
Qwen3.8-Flash-Next plays the role Qwen3-Next played for Qwen3.5: an early public preview of the next architecture family. The model card lists a 125B main model plus an additional 51B n-gram embedding table, with 6B parameters activated per token. Native context is 262,144 tokens, extensible to 1M with YaRN. The Qwen team reports that training required only about one-ninth the compute of Qwen3.7-Plus. The accompanying technical report is titled “On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stability.”
Qwen3.8-Flash-Next 扮演了 Qwen3-Next 对 Qwen3.5 所扮演的角色:下一个架构系列的早期公开预览。模型卡列出了 125B 主模型,外加一个额外的 51B n-gram 嵌入表,每个 token 激活 6B 参数。原生上下文为 262,144 个 token,可通过 YaRN 扩展到 1M。Qwen 团队报告称,训练所需的计算量仅为 Qwen3.7-Plus 的约九分之一。随附的技术报告题为“Qwen3.8-Next 架构设计:评估、效率与训练稳定性”。
Convergence Point 1: Three of Every Four Attention Layers Are Linear
汇聚点 1:每四个注意力层中有三个是线性的
GLM-5.3-Flash stacks 45 layers: 34 linear-attention layers and 11 full-attention layers, per the shipped config. Qwen3.8-Flash-Next stacks 48 layers in a repeating block of 3 Gated DeltaNet layers plus 1 Qwen Sparse Attention layer, per the vLLM recipe. Both land on the same 3:1 ratio.
GLM-5.3-Flash 堆叠了 45 层:根据发布的配置,包括 34 个线性注意力层和 11 个全注意力层。Qwen3.8-Flash-Next 根据 vLLM 配方,以 3 个 Gated DeltaNet 层加 1 个 Qwen 稀疏注意力层的重复块堆叠了 48 层。两者都采用了相同的 3:1 比例。
The linear layers are the cheap layers. Instead of a KV cache that grows with the text, they compress all history into a fixed-size recurrent state. Compute per token stays constant regardless of context length. GLM uses Kimi Delta Attention (KDA), the linear-attention design introduced by Moonshot AI’s Kimi Linear, which applies a fine-grained per-channel decay gate. Qwen uses its own Gated DeltaNet (GDN), which gates at the per-head level. Different gating granularity, same delta-rule family, same job.
线性层是廉价的层。它们不是随着文本增长而增长的KV缓存,而是将所有历史压缩成固定大小的循环状态。每个token的计算量不随上下文长度变化。GLM使用Kimi Delta Attention(KDA),这是Moonshot AI的Kimi Linear引入的线性注意力设计,它应用了细粒度的逐通道衰减门控。Qwen使用自己的Gated DeltaNet(GDN),在逐头级别进行门控。不同的门控粒度,相同的delta规则家族,相同的工作。
The remaining quarter of layers do precise long-range retrieval. GLM uses NoPE multi-head latent attention (MLA) in the DeepSeek style. Qwen uses grouped-query attention inside QSA. This is where the KV cache actually lives, and where the second shared trick comes in.
其余四分之一的层进行精确的长距离检索。GLM使用DeepSeek风格的无位置编码多头潜在注意力(MLA)。Qwen在QSA中使用分组查询注意力。这是KV缓存实际存在的地方,也是第二个共享技巧发挥作用的地方。
Convergence Point 2: Compress 4x, Score, Keep 2048 Tokens
汇聚点2:压缩4倍,评分,保留2048个token
Neither model lets its full-attention layers attend over the entire context. Both attach a small learned indexer that scores chunks of history and keeps only the winners. The parameters match almost exactly.
两个模型都不让其全注意力层关注整个上下文。两者都附加了一个小型学习索引器,对历史块进行评分并仅保留获胜者。参数几乎完全匹配。
GLM’s sparse layers use a 32-head lightning indexer with top-2048 selection, descended from DeepSeek’s DSA. To cut indexer cost at 1M-token contexts, Z.ai introduces IndexPool, which compresses four indexer key vectors into one through weighted pooling before scoring. Qwen’s QSA operates at micro-block granularity: the compressed lightweight indexer scores 4-token blocks and keeps the top 512 blocks, which is exactly 2048 tokens. So both models compress the context 4x before scoring, and both cap the attention budget at 2048 tokens. Qwen credits QSA with up to 7.6x prefill and 4.9x decoding speedups over full attention at 1M tokens.
GLM的稀疏层使用32头闪电索引器,选择top-2048,源自DeepSeek的DSA。为了在1M token上下文下降低索引器成本,Z.ai引入了IndexPool,在评分前通过加权池化将四个索引器键向量压缩为一个。Qwen的QSA在微块粒度上操作:压缩的轻量级索引器对4-token块进行评分,并保留前512个块,这正好是2048个token。因此,两个模型在评分前都将上下文压缩4倍,并且都将注意力预算限制在2048个token。Qwen声称QSA在1M token下相比全注意力实现了高达7.6倍的预填充和4.9倍的解码加速。
The combined effect on GLM’s side is large. Compared with the full GLM-5.3 model, Z.ai reports the Flash architecture cuts attention compute by roughly 3x and KV cache size by 4.4x, while nearly halving active parameters (18B vs 32B) and layer count (45 vs 92).
对GLM而言,综合效果是显著的。与完整的GLM-5.3模型相比,Z.ai报告Flash架构将注意力计算减少了约3倍,KV缓存大小减少了4.4倍,同时活动参数几乎减半(18B对32B),层数也几乎减半(45对92)。
Convergence Point 3: Four Residual Streams Instead of One
汇聚点3:四条残差流而非一条
Both models abandon the single residual stream that has defined transformers since 2017. Both widen it into four parallel branches, with gates controlling what each block reads back and writes out.
两个模型都放弃了自2017年以来定义Transformer的单条残差流。两者都将其扩展为四条并行分支,并用门控控制每个块读取和写入的内容。
GLM adopts Manifold-Constrained Hyper-Connections (mHC), a DeepSeek-originated design, configured with 4 branches in the shipped weights. Qwen wrote its own variant, Gated Residual, which modulates flow through 4 widened streams via an element-wise data-dependent read gate and a per-branch scalar write gate. Per the Qwen team, Gated Residual removes the extra branch-mixing step used by Hyper-Connections, reducing memory-access overhead, and the gate suppresses activation outliers well enough to allow FP8 residual storage. Notably, the Qwen team ablated both approaches and found them roughly equal in quality. Two labs, two implementations, one identical conclusion: four gated streams beat one.
GLM采用了流形约束超连接(mHC),这是一种源自DeepSeek的设计,在发布的权重中配置了4个分支。Qwen编写了自己的变体,即门控残差,它通过元素级数据依赖的读门和每个分支的标量写门,调节4个加宽流的信息流动。据Qwen团队称,门控残差移除了超连接使用的额外分支混合步骤,减少了内存访问开销,并且门控能有效抑制激活异常值,使得FP8残差存储成为可能。值得注意的是,Qwen团队对这两种方法进行了消融实验,发现它们在质量上大致相当。两个实验室,两种实现,一个相同的结论:四个门控流优于一个。
Convergence Point 4: Muon, With Fused Matrices Split Per Component
收敛点4:Muon,融合矩阵按组件拆分
Both models train with the Muon optimizer. And both apply the same subtle refinement: fused projection matrices are split into their independent transformations before Muon orthogonalizes them. Qwen documents splitting fused QKV, SwiGLU, and GDN projections, assigning Muon to genuine 2-D linear maps and AdamW to embeddings, routers, and low-rank parameters. Qwen also refit its scaling laws for the new architecture and dropped batch-size warmup entirely, after measuring that warmup cost 18.8% more optimizer steps without improving results.
两个模型都使用Muon优化器进行训练。并且两者都应用了相同的微妙改进:在Muon正交化之前,将融合投影矩阵拆分为独立的变换。Qwen记录了拆分融合的QKV、SwiGLU和GDN投影,将Muon分配给真正的二维线性映射,而将AdamW用于嵌入、路由器和低秩参数。Qwen还为新架构重新拟合了其缩放定律,并完全取消了批量大小预热,因为测量显示预热会多花费18.8%的优化器步骤,而不会改善结果。
Where They Disagree: Positional Encoding
分歧点:位置编码
The one clean split is rotary position embeddings in the full-attention layers. GLM-5.3-Flash drops them: the config sets qk_rope_head_dim = 0, making its sparse MLA layers fully NoPE. Position information flows implicitly through the recurrent linear layers.
一个明显的分歧在于全注意力层中的旋转位置嵌入。GLM-5.3-Flash去掉了它们:配置将qk_rope_head_dim设为0,使其稀疏MLA层完全无位置编码(NoPE)。位置信息通过循环线性层隐式流动。
Qwen tried the same thing and kept RoPE. According to the Qwen3.8-Next technical report, NoPE produced no measurable difference during pre-training. The failure surfaced later: after post-training, the NoPE variant often failed to stop generating. That is a useful cautionary result for the field. Pre-training loss curves can hide behavioral defects that only appear after RLHF-stage tuning.
Qwen尝试了同样的做法,但保留了RoPE。根据Qwen3.8-Next技术报告,NoPE在预训练期间没有产生可测量的差异。问题后来才显现:在后训练之后,NoPE变体经常无法停止生成。这对领域来说是一个有用的警示结果。预训练损失曲线可能隐藏行为缺陷,这些缺陷只有在RLHF阶段调优后才会出现。
The Broader Convergence, and the One Dissenter
更广泛的收敛,以及一个异议者
This recipe is not limited to two labs. DeepSeek pioneered the sparse-indexer-plus-2048-budget pattern with DSA in DeepSeek-V3.2-Exp, and mHC is a DeepSeek design now shipping in GLM. Moonshot’s Kimi contributed KDA, the exact linear-attention layer GLM adopted. Chinese open models are visibly cross-pollinating architecture components and converging on shared settings.
这种配方不仅限于两个实验室。DeepSeek在DeepSeek-V3.2-Exp中率先采用了稀疏索引器加2048预算的模式,而mHC是DeepSeek的设计,现已用于GLM。Moonshot的Kimi贡献了KDA,即GLM采用的精确线性注意力层。中国开源模型明显在交叉传播架构组件,并收敛于共享设置。
The notable dissenter is MiniMax. During M2 development, the team extensively tested linear and sliding-window attention at scale and found severe deficits in multi-hop reasoning, especially beyond 32K context after SFT. M2 shipped with full softmax attention in every layer. For M3, MiniMax adopted MiniMax Sparse Attention (MSA), which sparsifies softmax attention via block selection but includes no linear-attention layers at all. So the field has not fully settled. Z.ai, Qwen, DeepSeek, and Kimi are betting that a 3:1 linear hybrid preserves reasoning. MiniMax’s ablations say it does not, at least for their stack.
显著的异议者是MiniMax。在M2开发期间,团队大规模测试了线性和滑动窗口注意力,发现多跳推理存在严重缺陷,尤其是在SFT后超过32K上下文时。M2在每个层中都采用了完整的softmax注意力。对于M3,MiniMax采用了MiniMax稀疏注意力(MSA),通过块选择稀疏化softmax注意力,但完全不包含线性注意力层。因此,该领域尚未完全定论。Z.ai、Qwen、DeepSeek和Kimi押注3:1的线性混合能保持推理能力。MiniMax的消融实验表明,至少对于他们的技术栈来说,这并不成立。
Key Takeaways
关键要点
- GLM-5.3-Flash (34:11) and Qwen3.8-Flash-Next (36:12) independently landed on the same 3:1 linear-to-full attention ratio.
- Both compress context 4x and cap sparse attention at a 2048-token budget, a pattern DeepSeek’s DSA started.
- Both replace the single residual stream with 4 gated branches; Qwen ablated its Gated Residual against mHC and found them equal.
- GLM-5.3-Flash(34:11)和Qwen3.8-Flash-Next(36:12)独立地得出了相同的3:1线性到全注意力的比例。
- 两者都将上下文压缩了4倍,并将稀疏注意力限制在2048个令牌的预算内,这一模式由DeepSeek的DSA开创。
- 两者都将单一残差流替换为4个门控分支;Qwen对其门控残差与mHC进行了消融实验,发现它们效果相当。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力