arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.31963cs.LGcs.CLstat.ML
收藏

RMSNorm Transformer的有符号排列坐标传输

Signed-Permutation Coordinate Transport for RMSNorm Transformers

Sideplane AI

John Sweeney

AI总结:

针对RMSNorm模型,提出有符号排列坐标传输方法,解决排列对齐不完整问题,在跨运行坐标恢复、工具迁移和训练状态保持上显著优于纯排列方法。

摘要:

现代LLM工作流在检查点之间移动坐标索引对象:转向向量、稀疏自编码器、top-$k$神经元集、归因列表和合并对齐。只有在固定模型的残差流规范后,这才是有良好定义的,我们证明这依赖于架构:LayerNorm残差图具有排列规范$S_d$(最多一个全局符号翻转),而具有通用每通道增益的RMSNorm图具有有符号排列规范$B_d = S_d \ltimes \{\pm 1\}^d$。因此,仅排列对齐对于RMSNorm模型是对称性不完整的。我们引入符号边缘化匈牙利匹配并证明一个尖锐的失败模式:在去相关坐标下,原始有符号相关匹配具有结构性的排列准确率上限,即真实规范的正符号分数,而符号边缘化消除了这一上限。然后,我们将坐标保持传输(而非函数级合并)作为主要对象:沿着相同基础微调轨迹组合保存的检查点局部$B_d$规范,在1500步时恢复了91.1%的跨运行坐标,而端点匹配仅为60.3%,且这种增益不能通过仅经过基础路由来解释。恢复的规范传输了仅排列对齐会破坏的工具:TinyLlama SAE重建在$B_d$下NMSE为0.004,而在$S_d$下为1.08;Qwen情感转向保持了95.8%的效果,而$S_d$下为17.2%;拒绝转向在$S_d$下符号反转;坐标保持合并行为相同。相同的协方差控制有状态训练:有符号传输AdamW状态保持恢复的轨迹,而仅排列状态从功能相同的检查点开始遵循不同的轨迹。最后,规范扫描审计表明,索引级可解释性声明仅在相对于显式规范时才是可重现的。

英文摘要:

Modern LLM workflows move coordinate-indexed objects across checkpoints: steering vectors, sparse autoencoders, top-$k$ neuron sets, attribution lists, LoRA updates, optimizer states, and merge alignments. This requires fixing the model's residual-stream gauge. We show that the native coordinate-preserving orthogonal gauge is architecture-dependent: LayerNorm residual charts have permutation gauge $S_d$ up to a global sign flip, while RMSNorm charts with generic gains have signed-permutation gauge $B_d = S_d \ltimes \{\pm 1\}^d$. Permutation-only alignment is thus symmetry-incomplete for RMSNorm models. We introduce sign-marginalized Hungarian matching and prove that with decorrelated coordinates, signed-correlation matching has a permutation-accuracy ceiling equal to the true gauge's positive-sign fraction up to $O(d 2^{-d})$, which sign-marginalized matching removes. Omitting signs induces expected squared error $2\|ΔW\|_F^2$ on weight updates and loses orientation on vectors and AdamW first moments, while RMSNorm gains and AdamW second moments permute without signs. Controlled tests confirm these laws: a Qwen2.5-1.5B SST-2 LoRA adapter retains 0.944 accuracy (from 0.945) under $B_d$ transport vs. 0.523 under $S_d$, and steering preserves effects to $<10^{-4}$ at zero raw top-10 overlap. Across natural checkpoints, inherited slots suffice for same-base descendants (96.2%-100% retention), whereas cross-generation pairs support sparse prompt-stable subsets with causally decisive negative signs ($+0.185$ vs. $-0.010$ at $8σ$ on Qwen2/2.5-0.5B; $+0.189$ vs. $-0.021$ on 1.5B). Along fine-tuning trajectories, composing local $B_d$ gauges recovers 91.1% of cross-run Qwen2.5-1.5B coordinates at 1,500 steps vs. 60.3% for endpoint matching. Merge and interpretability audits confirm that coordinate names are reproducible only relative to an explicit $B_d$ gauge.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑