研究问题
- Post-LN、Pre-LN、Mix-LN、Peri-LN和nGPT都改变residual与normalization的位置。它们如何影响深层token directions的移动速度、聚类和representation collapse?能否在同一动力系统中比较,而不只追踪gradient variance?
背景
- 将embedding写成x_k=\(r_{k}\) \(\theta_{k}\),其中θ_k位于单位sphere。pure attention使token directions成为相互作用粒子;归一化不只控制norm,还通过r_k和residual placement调节每层角速度。
- 模型省略FFN并重点分析forward representations。它是架构机制的理论proxy,不等价于完整LLM训练或下游能力评测。
模型与方法
- 作者为各normalization写出discrete update,再取continuous-depth limit,得到共享球面interaction direction乘以scheme-specific speed factor。Tables 1–2列Post/Pre/Mix/Peri-LN与nGPT的调速项。
- 对两token可解模型推导cosine similarity \(\gamma\)(\(t\))与速度γ̇,随后用256 tokens及随机attention weights模拟平均cosine similarity,并分析early/terminal velocity。
核心结果与证据
- Figure 1明确归一化位置;Figure 2显示Post-LN最快冲向cosine 1并collapse,Pre-LN因norm增长逐渐减速,Mix-LN折中,而Peri-LN在早层保持速度、深层避免过快collapse。
- Figure 3显示nGPT步长α_t决定收敛:constant、root、linear与组合schedule产生不同terminal behavior。Figure 4的random-weight实验总体复现理想two-token ordering,支持speed-regulation解释。
- 结论偏向Peri-LN的有效速度profile,但证据主要来自简化动力学;没有大规模预训练loss、benchmark accuracy或compute-controlled消融。
Figure 2 · 归一化通过scheme-specific speed factor改变接近聚类态的速度,而非改变共同interaction direction。
物理解读:The figure supports the stated protocol-specific claim, not an unrestricted generalization.
来源:paper.pdf \(p\). 7, Figure 2
有效性与局限
- 理论假设pure attention、特定continuous-depth scaling和简化weight dynamics;LayerNorm的centering、FFN、multi-head、causal mask、position encoding及训练后权重相关性可能改变轨迹。
- cosine clustering是representation collapse诊断之一,不等价于信息、rank或task performance。scheme优劣依赖深度、residual scaling与optimizer,不能由单一two-token模型普遍排序。
复现与资源
- 全文:https://arxiv.org/abs/2510.22026。PDF SHA-256:aaaf02755d23a0324eaa99261831b37a23f5197315c87d95e8a5a960b8cf8c10。正文未给公开代码仓库。
- 复现需固定n,\(d\)、\(\beta\)、initial token geometry、\(Q\)/\(K\)/V distribution、depth discretization及各scheme的α_t/\(r_{t}\) schedule,并报告cosine、angular speed与norm。Evidence status: full-text verified theoretical/numerical study; no independent reproduction performed.
阅读指南
- 先读 pp.1–4 Figure 1与统一球面动力学;pp.5–8看Tables 1–2和Figures 2–4;pp.9–12读scheme比较;pp.13–23为证明与补充实验。
Discussion
评论与讨论
评论公开保存在 GitHub Discussions;阅读无需登录,发表评论需要 GitHub 账号。