跳到主要内容Skip to main content

残差连接Residual Connection

Residual Connection

  • 核心概念Core concepts
  • 第四段 · 看懂Stage 4 · Under the Hood
  • 引用核验 2026-11-09refs checked 2026-11-09
解决什么问题What problem it solves

给网络留一条「直通通道」,让信号穿过很多层也不丢失。Gives the network a "pass-through lane" so the signal survives passing through many layers.

这是什么What it is

每一层除了输出加工后的结果,还把自己收到的原始输入原样加上去。

它来自图像识别里的 ResNet。

后来它成了 Transformer 能堆到几十层的前提之一。

Each layer adds its raw input back onto its processed output.

It came from ResNet in image recognition.

Later it became one of the prerequisites for Transformers stacking dozens of layers.

为什么需要知道Why it matters

网络越深越容易训不动——信号穿过几十层会走样。直通通道让模型「改一点、保留大部分」,深才可行。Deeper networks are harder to train — signals get distorted across dozens of layers. The pass-through lane lets the model "change a bit, keep most of it," which is what makes depth feasible.

出处Sources
  • ResNet 论文(Deep Residual Learning)Deep Residual Learning for Image Recognition (paper) ↗
  • Attention Is All You Need(论文 §3.1)Attention Is All You Need §3.1 (paper) ↗
用这个术语做任务Use this term in a task

别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →