СледваСледващо ръководство
Функции на загубата
Основи
РЪКОВОДСТВО по основи
Backpropagation efficiently computes derivatives of a loss with respect to parameters in a computational graph.
Чуйте това ръководствоAI-разказан · ~3 min
Those derivatives describe local sensitivity; an optimizer uses them in a separate parameter-update step.
A neural-network training step commonly involves a forward computation, derivative computation, and parameter update. The forward computation forms predictions and a loss, making intermediate values available for the derivative calculation. Backpropagation works backward through the dependencies of this computational graph. It applies the chain rule to combine local derivatives rather than separately recomputing the entire prediction for every parameter. The result includes derivatives of the loss with respect to relevant weights. A derivative describes how the loss changes locally when a parameter changes; it is not a causal accounting of how much total error that parameter independently caused. Backpropagation also does not choose the learning rate or automatically guarantee that weights were updated. An optimizer performs the update using the computed gradients and its own rule. In a composed scalar path, local derivatives multiply: derivatives three and four along that path contribute a product of twelve. When a parameter influences a loss through more than one path, contributions from those paths add. For an illustrative pair of path contributions two and five, the combined derivative is seven. Efficient reverse computation uses graph structure and relevant intermediate values. Saving values consumes memory, and some implementations trade memory for recomputation instead. These choices change runtime and storage costs without changing the role of the derivative calculation. Training quality still depends on the objective, data, optimizer, and configuration rather than a guarantee supplied by backpropagation alone.
Обучение на класификатор на изображения, така че той постепенно да настройва филтрите за разпознаване на котки срещу кучета след всяка партида снимки
Фина настройка на голям езиков модел на фирмени документи чрез обратно разпространение на грешката на прогнозираните следващи думи
Обучение на зрителна мрежа на самоуправляващ се автомобил за намаляване на грешките при прогнозиране на ъгъла на завиване по време на симулация
Актуализиране на вгражданията на препоръчителен модел, така че по-добре да прогнозира върху кои филми ще щракне потребителят
Research and engineering can improve differentiation through graph transformations, memory planning, and recomputation strategies. Comparisons should report the operations, shapes, precision, and memory settings used rather than claim a universal runtime equal to one forward pass. Alternative learning procedures explore different signals and computations, while their quality and resource costs need evaluation. For a practical training workflow, verify gradient availability and parameter changes separately so that a successful backward call is not mistaken for a completed learning update.
Безплатен бюлетин
Три проверени AI истории всяка делнична сутрин, написани на достъпен език. Безплатно завинаги, без реклами.
Един имейл всеки делничен ден. Отписване с едно кликване. Никога не продаваме и не споделяме вашия имейл адрес.
Тествайте себе си
Незабавна обратна връзка за всеки отговор и сертификат за споделяне с подлежащ на проверка идентификационен номер, след като преминете курс.
Подкрепете безплатното AI образование. AI Understanding е 501(c)(3) с нестопанска цел — без реклами, без платен достъп, никога. Направете дарение
Backpropagation efficiently computes derivatives of a loss with respect to parameters in a computational graph. Those derivatives describe local sensitivity; an optimizer uses them in a separate parameter-update step.
Gradients describe local sensitivity of the loss, not an independent causal allocation of all error.
Обратното разпространение прилага верижното правило за комбиниране на локални производни между слоевете, разпространявайки градиенти на грешки назад през мрежата.
Reusing intermediate information avoids redundant whole-graph work; exact runtime depends on the graph and implementation.
Името казва всичко: грешката се разпространява назад, като се започне от изхода и се придвижва към входа, така че градиентът на всеки слой зависи от слоя след него.
A program can compute derivatives and retain unchanged parameters until an update is applied.
Продължавай да учиш
Още ръководства, избрани за тази тема
СледваСледващо ръководство
Функции на загубата
Основи