觉
AI觉醒星球
Awakening is here
AI小生意项目库 · 阅读档案
2026-11-24 2 浏览 免费阅读

DeepCrossAttention:为 Transformer 残差连接超级充电

Google Research 提出 DeepCrossAttention,用可学习权重和深度交叉注意力动态组合历史层输出,缓解深层 Transformer 的残差信息稀释;论文称同等质量下训练速度最高提升 3 倍,参数增加可忽略,并可减少 30%–40% 参数。

AI小生意项目库 约 9 分钟读完 免费阅读 原文 2026-11-24 01:21:12

原贴

查看原文
作者:Google Research Blog 来源站点:research.google 原贴时间:

原文

Kyriakos Axiotis, Staff Research Scientist, and Thomas Fu, Principal Engineer, Google Research We present DeepCrossAttention (DCA), an architecture that enhances transformer networks by using learnable weights and depth-wise cross-attention to dynamically combine outputs from previous layers, preventing the information dilution seen in traditional residual connections. Presented in our ICML 2025 paper, this architectural improvement allows models to achieve the same quality up to three times faster with a negligible increase in parameters. Think of a traditional deep learning model like a giant game of "Telephone": data passes through layer after layer, with each layer changing the information slightly. If a network has dozens or hundreds of layers, the original learning signal can become severely degraded or lost by the time it reaches all layers, which is known as the vanishing gradient problem in AI. To overcome this challenge and enable the training of networks with dozens or hundreds of layers, transformers rely heavily on residual connections , also known as “skip” connections, which act like an information highway or a shortcut. Instead of forcing the data to pass exclusively through the complicated layer, a duplicate copy of the original input skips right past this layer and is added directly to its output. This ensures that the model always has the original raw data to refer back to. The standard residual connection implements a simple operation: point-wise summation of a layer's output with its input. While computationally efficient, this simple process has a key limitation: it treats all prior representations with equal weight, leading to information dilution in deep networks. As features propagate through many layers, specific, high-resolution details from earlier layers can be averaged out or distorted, making it difficult for the network to selectively retrieve them. This forces the network to recompute them, reducing learning efficiency. In our ICML 2025 paper, "DeepCrossAttention: Supercharging Transformer Residual Connections ," we studied the shortcomings of the traditional residual architecture and introduced DeepCrossAttention (DCA), which generalizes residual connections by allowing each layer to dynamically select and route features from the history of preceding layers. By allowing the model to dynamically choose which previous layers are most important at any given moment, DCA achieves comparable or improved learning, while reducing the number of parameters needed by up to 30-40%. Instead of treating skip connections as a rigid, additive pipeline, DCA reframes residual learning as a dynamic routing problem. Rather than passing all prior layers forward with equal weight, DCA introduces a lightweight, layer-wise module that decides how to best combine previous embeddings on a per-token basis. Comparison between a standard residual network and DeepCrossAttention (DCA). While a standard residual network uses rigid, additive point-wise connections with equal weighting, DCA introduces dynamic, learned routing weights (W) that allow each layer to selectively route and combine features from across the history of preceding layers. The architecture introduces two primary mechanisms: Dynamic layer routing : For every token processed, DCA computes a unique set of mixing weights using a static, learnable base combined with an input-dependent projection. This allows the network to adaptively shift its processing structure — ranging from purely sequential to fully parallel — based on the specific context of the token. Depth-wise cross-attention (split Q/K/V) : While standard transformer attention operates across tokens in a sequence, DCA applies attention across layers in depth. Each token queries a dynamically weighted mix of all prior layer embeddings, unlocking the model's full historical context without the computational penalty usually required to scale traditional attention. By allowing the network to

中文翻译

我们提出 DeepCrossAttention(DCA),一种通过使用可学习权重和深度交叉注意力来动态组合先前层输出、防止传统残差连接中所见信息稀释的架构,从而增强 transformer 网络。该架构改进在我们的 ICML 2025 论文中提出,使模型能够以最高三倍的速度达到同等质量,而参数增加可忽略不计。

核心信息

Google Research 提出 DeepCrossAttention,用可学习权重和深度交叉注意力动态组合历史层输出,缓解深层 Transformer 的残差信息稀释;论文称同等质量下训练速度最高提升 3 倍,参数增加可忽略,并可减少 30%–40% 参数。

  • Google Research 提出 DeepCrossAttention,用可学习权重和深度交叉注意力动态组合历史层输出,缓解深层 Transformer 的残差信息稀释;论文称同等质量下训练速度最高提升 3 倍,参数增加可忽略,并可减少 30%–40% 参数。
  • 原贴提到:Kyriakos Axiotis, Staff Research Scientist, and Thomas Fu, Principal Eng
  • 来源:research.google

详细解读

这是什么信号:Google Research 在 ICML 2025 论文中提出 DeepCrossAttention(DCA),把 Transformer 的残差连接从“固定逐点相加”改成“按 token 动态路由历史层特征”。它不改变注意力在序列维度上的基本角色,而是在深度维度上做交叉注意力,让每一层自行决定从哪些前层、以什么权重取信息。论文给出的关键结果是:达到同等质量最高快 3 倍,参数增加可忽略,并可减少 30%–40% 的参数。

为什么重要:传统残差连接像一条统一规格的信息高速路,所有历史表示被等权相加。网络越深,早期高分辨率特征越容易被平均掉或扭曲,模型不得不重新计算,学习效率下降。DCA 把问题重新定义为“动态路由”:给每个 token 学一组混合权重,必要时可以接近顺序处理,也可以接近并行组合。这意味着深层网络的瓶颈不只是算力,而是信息如何被保留和调用;一旦路由机制有效,同等效果可以用更少层数、更少参数或更快训练换来。

对谁有价值:对训练大模型和垂直模型的团队,这是一条“结构效率”信号:在参数和数据受限时,残差连接仍有优化空间。对做推理优化和模型压缩的团队,减少 30%–40% 参数的方向值得跟踪,但原文没有给出具体任务和部署条件,不能直接等同于线上成本下降。对研究者和架构工程师,DCA 提供了一个可复用的设计模式:把“层间信息融合”当作可学习路由问题,而不是固定加法。

可以怎么行动:第一,在现有 Transformer 训练栈里做小规模对照实验,重点比较深层模型在同等质量下的训练步数、参数量和显存占用。第二,复现时把动态层路由和深度交叉注意力拆开验证,确认收益来自路由权重、跨层注意力,还是两者组合。第三,关注按 token 计算混合权重带来的额外开销,评估它是否会被训练加速抵消。第四,不要把“最高快 3 倍”直接写成通用承诺,应标注论文条件和任务范围。

风险或限制:原文是研究论文信号,不是已落地产品;摘要提到“最高三倍”和“可减少 30%–40% 参数”,但没有展开所有基准、硬件和数据条件。DCA 引入逐层路由和深度交叉注意力,可能增加实现复杂度与训练不稳定性,需要调参和工程适配。对多数团队,先验证小规模可复现性,再决定是否进入主线架构,比直接替换残差连接更稳妥。

信息差价值

这条内容的真正价值,不只是“有人发布了一个新功能”,而是它揭示了 research.google 背后的产品方向、工作流变化或竞争信号。对 OPC 来说,这种信息可以转化成持续追踪的栏目选题。

如果把《DeepCrossAttention:为 Transformer 残差连接超级充电》放到你的内容系统里,它最大的价值在于帮助读者更快看懂“为什么值得关注”,而不是只看到一条碎片化动态。

参考来源

AI SUMMARY

这篇文章回答了什么

DeepCrossAttention:为 Transformer 残差连接超级充电主要讲什么?

Google Research 提出 DeepCrossAttention,用可学习权重和深度交叉注意力动态组合历史层输出,缓解深层 Transformer 的残差信息稀释;论文称同等质量下训练速度最高提升 3 倍,参数增加可忽略,并可减少 30%–40% 参数。

这篇文章最值得关注的要点是什么?

Google Research 提出 DeepCrossAttention,用可学习权重和深度交叉注意力动态组合历史层输出,缓解深层 Transformer 的残差信息稀释;论文称同等质量下训练速度最高提升 3 倍,参数增加可忽略,并可减…;原贴提到:Kyriakos Axiotis, Staff Research Scientist, and Thomas Fu, Principal Eng;来源:research.google

这篇文章和哪些AI专题相关?

它适合放在AI副业、AI超级个体、AI工具专题里阅读。 关联原因:这篇内容命中「项目、小生意、变现」等主题信号。;这篇内容命中「效率、学习」等主题信号。;这篇内容命中「模型」等主题信号。

阅读这篇文章建议先理解哪些关键词?

建议先理解AI工具、工具、自动化、模型、Cursor这些关键词,再结合正文判断工具、机会或风险是否值得进入自己的工作流。

上一篇 Secret scanning 减少 Slack 密钥误报 下一篇 更贴合你、独一无二的 Google 搜索
北竹游乐场 免费玩小游戏 免费玩