均值模式尖叫:用于1000层扩散变换器的均值-方差分割残差
Mean Mode Screaming: Mean--Variance Split Residuals for 1000-Layer Diffusion Transformers
AI总结:
本文提出均值-方差分割残差,解决扩散变换器在数百层时出现的均值主导崩溃问题,通过分割残差更新和泄漏主干均值替换,使模型在极端深度下保持稳定训练。
摘要:
将扩散变换器(DiTs)扩展到数百层会引入结构漏洞:网络可能进入一个沉默、均值主导的崩溃状态,使标记表示同质化并抑制中心变化。通过机制审计,我们发现这种崩溃的触发事件是均值模式尖叫(MMS)。MMS即使在训练看似稳定时也可能发生,其由均值相干的反向冲击在残差写入器上产生,打开深层残差分支并驱动网络进入均值主导状态。我们展示这种行为是由这些梯度的精确分解为均值相干和中心成分驱动的,并受注意力-logit梯度通过Softmax雅可比矩阵的空域抑制影响。为了解决这一问题,我们提出了均值-方差分割(MV-Split)残差,结合单独获得的中心残差更新和泄漏主干均值替换。在400层单流DiT上,MV-Split防止了崩溃并使模型在崩溃前的轨迹上接近基线,同时在全调度中优于如LayerScale等令牌各向同性门控方法。最后,我们展示了1000层DiT作为边界尺度的规模验证运行,证明在极端深度下架构仍能稳定训练。
英文摘要:
Scaling Diffusion Transformers (DiTs) to hundreds of layers introduces a structural vulnerability: networks can enter a silent, mean-dominated collapse state that homogenizes token representations and suppresses centered variation. Through mechanistic auditing, we isolate the trigger event of this collapse as Mean Mode Screaming (MMS). MMS can occur even when training appears stable, with a mean-coherent backward shock on residual writers that opens deep residual branches and drives the network into a mean-dominated state. We show this behavior is driven by an exact decomposition of these gradients into mean-coherent and centered components, compounded by the structural suppression of attention-logit gradients through the null space of the Softmax Jacobian once values homogenize. To address this, we propose Mean-Variance Split (MV-Split) Residuals, which combine a separately gained centered residual update with a leaky trunk-mean replacement. On a 400-layer single-stream DiT, MV-Split prevents the divergent collapse that crashes the un-stabilized baseline; it tracks close to the baseline's pre-crash trajectory while remaining substantially better than token-isotropic gating methods such as LayerScale across the full schedule. Finally, we present a 1000-layer DiT as a scale-validation run at boundary scales, establishing that the architecture remains stably trainable at extreme depth.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。