可以将传统的深度学习模型想象成一场大型的“传话游戏”:数据逐层传递,每一层都对信息进行了微调。如果一个网络拥有数十或数百个层级,原始的学习信号在到达所有层级时可能会严重退化甚至丢失,这在人工智能领域被称为梯度消失问题。
为了克服这一挑战并实现数十或数百层网络的训练,Transformer 严重依赖残差连接(residual connections),也称为“跳跃”连接(skip connections),它们如同信息高速公路或捷径一般发挥作用。数据无需强制仅通过复杂的层级,原始输入的副本会直接跳过该层级,并直接添加到其输出中。这确保了模型始终能够参考原始的原始数据。
标准的残差连接实现了一个简单的操作:将层级的输出与其输入进行逐点求和。虽然计算效率高,但这一简单过程存在一个关键局限:它对所有先前的表示赋予相同的权重,导致深层网络中的信息稀释。随着特征通过许多层级传播,早期层级中特定的高分辨率细节可能会被平均化或扭曲,使得网络难以有选择地检索它们。这迫使网络重新计算这些细节,从而降低了学习效率。
在我们发表于 ICML 2025 的论文《DeepCrossAttention: Supercharging Transformer Residual Connections》中,我们研究了传统残差架构的不足之处,并引入了 DeepCrossAttention(DCA)。DCA 通过允许每个层级动态地从先前层级的历史中选择和路由特征,从而推广了残差连接。通过使模型能够在任何给定时刻动态选择哪些先前层级最为重要,DCA 实现了相当或更优的学习效果,同时将所需的参数量减少了高达 30-40%。
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%.
| 刊期 | 得分 | 排名 | 结果 |
|---|---|---|---|
| 2026-12-04 | 8.4 | 50 | 未入选 |
| 2026-12-03 | 8.4 | 47 | 未入选 |
| 2026-12-02 | 8.4 | 49 | 未入选 |
| 2026-11-24 | 10.72 | 14 | 入选 |