反向传播Backpropagation
Backpropagation
从损失往回算每一层参数该往哪个方向调整,是训练神经网络的核心算法。Work backward from the loss to find how each layer’s parameters should change. It is the core algorithm of neural-network training.
前向算出预测与损失,反向用链式法则逐层求梯度。
PyTorch 的 autograd 自动记录运算图并执行这一步。
The forward pass computes predictions and loss; the backward pass applies the chain rule layer by layer to get gradients.
PyTorch’s autograd records the computation graph and performs this step automatically.
不懂它就容易把「训练不收敛」归因于玄学。梯度消失、爆炸、累积都是这里的问题。Without it, a training failure looks like magic. Vanishing gradients, exploding gradients and accumulation all live here.
BP · backprop · 误差反向传播
回到名词地图看第4段的其他 60 个词 →Back to the map: the other 60 terms in stage 4 →
别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 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 →