论文多源确认精选

DeepSeek-V4-Flash残差流使用机制研究

How Does mHC Use Its Residual Streams? Selective Routing and Near-Identity Mixing

精选理由

DeepSeek团队揭秘四流残差通路实际使用方式,发现模型并未充分利用全部流容量。

研究分析了DeepSeek-V4-Flash的四流残差通路特性。有效流计数显示典型注意力或FFN站点仅使用约两个流;残差混合主要发生在前22层,22-42层各流基本独立传输。干预实验表明,替换晚期混合器仅增加C4困惑度1.9%,而替换早期混合器增加41%;保留每站点三个最大路由权重最多增加困惑度2.7%。

原文 · arXiv: DeepSeek

How Does mHC Use Its Residual Streams? Selective Routing and Near-Identity Mixing

Hyper-Connections and their manifold-constrained variant mHC widen a residual pathway from one stream to n, yet how trained models use this capacity remains unclear: how broadly blocks read and write, how strongly the residual pathway mixes streams, and whether the streams carry distinct representations. We examine these properties in the four-stream residual pathway of DeepSeek-V4-Flash using effective stream counts, cross-stream residual weights, and inter-stream cosine similarity. Read/write routing is concentrated but varies across depth: a typical attention or FFN site effectively uses about two streams, while the dominant stream changes across layers and the representations remain directionally distinct. Residual mixing is modest and occurs primarily in early layers; in layers 22-42, the pathway mostly carries each stream forward separately. Targeted interventions establish the functional significance of these patterns. Replacing the late mixers by identity increases C4 perplexity by only 1.9% and preserves the six-task average score, whereas replacing the early mixers increases perplexity by 41%. Fixing each early mixer to its C4 diagnostic mean increases perplexity by only 0.2% and reduces the average score by 0.25 percentage points, showing that its site-specific structure matters more than its token-wise variation on the evaluated metrics. Likewise, retaining the three largest routing weights per token at every site increases perplexity by at most 2.7% and changes the average score by at most 0.4 points. Thus, the studied model realizes only part of the flexibility afforded by four-stream mHC: individual blocks rarely require all four streams, and late residual mixing provides little measured benefit.