论文精选

研究 Transformer 表示演变的分解方法

Disentangling Representation Evolution in Transformers through Directional Decomposition

精选理由

这是关于如何理解 Transformer 内部运作的论文,作者提出了一个分解方法,能解释模型如何更新表示,还能指导如何更鲁棒地编辑模型。

这项研究将 Transformer 中表示的演变分解为平行和垂直两个部分。在预训练模型中,发现除了残差路径之外,存在显著的平行分量。

正文

这种分解被应用于注意力更新和注意力值聚合,揭示了空间依赖的强不对称性:排除自身的值空间平行操作比残差空间和垂直操作更鲁棒。这种分解还用于诊断压缩引起的更新误差,其中垂直误差能更清晰地区分压缩方法。

从零开始的预训练中,完全抑制全聚合的平行分量降低了验证损失轨迹并提高了下游性能,其中值空间的变体效果最强。

原文 · arXiv cs.LG

Disentangling Representation Evolution in Transformers through Directional Decomposition

Transformer representations evolve through learned additive transformations that either preserve their current direction or redirect it. We study this evolution as a functional geometry, decomposing learned updates into parallel and perpendicular components. Across pretrained models, we find substantial parallel components beyond the residual identity path. We then apply the decomposition in two spaces: to attention and MLP updates relative to the hidden state, and to attention value aggregation relative to the current token's value. Targeted edits reveal a strongly space-dependent asymmetry: exclude-self value-space parallel manipulation is markedly more robust than residual-space and perpendicular counterparts, preserving the direct self message while scaling only the non-self aggregate. The same decomposition gives a component-resolved description of compression-induced update error: perpendicular error separates compression methods more clearly than parallel error. Extensive experiments further demonstrate that full-aggregate parallel suppression during from-scratch pretraining lowers validation-loss trajectories and improves downstream averages, with the value-space variant strongest. Together, these results connect representation geometry to editing robustness, compression diagnosis, and training-time intervention. Code is available in the \href{https://github.com/Shwai-He/Transformer-Geometry}{project repository}.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Transformer-Geometry、表示学习、提示词工程、微调,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Shwai He, Haichao Zhang, Shen Yan),经 AITOP 多维评分管线结构化提炼。