arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.00417cs.LGcs.AIcs.CLcs.CV
收藏

深度delta学习

Deep Delta Learning

Princeton University(普林斯顿大学);University of California Los Angeles(加州大学洛杉矶分校)

Yifan Zhang, Yifeng Liu, Mengdi Wang, Quanquan Gu

AI总结:

本文提出深度delta学习,通过选择性重写残差内容提升语言模型性能,改进了Transformer残差流的更新机制。

摘要:

Transformer残差流通过加法积累进化:每层将特征更新附加到共享隐藏状态,但没有直接机制替换过时或冲突的内容。我们引入深度delta学习(DDL),一种残差更新规则,保留身份路径的同时,使每层能选择性重写残差内容。DDL沿学习方向读取当前状态,与学习目标值比较,并沿相同方向写回门控修正。当门关闭时,更新退化为身份;当门完全打开时,所选组件被覆盖,产生深度-wise delta规则的标准残差加法扩展。我们将在解码器-only语言模型中整合DDL,同时保持注意力和MLP子层的原始计算宽度。受控预训练和下游评估显示,残差重写操作相对于ResNet引入的纯加法积累提升了语言建模质量,表明学习delta规则更新是管理Transformer残差流的有效机制。

英文摘要:

Transformer residual streams are updated by addition. A sufficiently expressive residual block can represent content replacement, but the residual update itself has no operation that reads, compares, and replaces content. We introduce Deep Delta Learning (DDL), which applies the delta rule over network depth. Each layer reads the residual state along a learned direction, compares the readout with a learned target, and writes a gated rank-1 correction back along the same direction. A closed gate gives the identity map, and a unit gate overwrites the selected readout with the target. DDL works with the usual vector state or with an expanded state that stores several value channels, while attention and MLP blocks keep the original model width. We pretrain decoder-only models with approximately GPT-2 small and medium sizes on the FineWeb-Edu dataset. At both scales, every DDL variant has lower validation loss and higher average one-shot accuracy than the additive baseline, and the best expanded variants raise that average by 0.91 and 1.18 points.

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

↑