Tiếp theoHướng dẫn tiếp theo
Hàm mất mát
Nguyên tắc cơ bản
HƯỚNG DẪN cơ bản
Backpropagation efficiently computes derivatives of a loss with respect to parameters in a computational graph.
Nghe hướng dẫn nàyAI thuật lại · ~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.
Huấn luyện bộ phân loại hình ảnh để nó dần dần điều chỉnh các bộ lọc để nhận biết mèo và chó sau mỗi loạt ảnh
Tinh chỉnh mô hình ngôn ngữ lớn trên tài liệu của công ty bằng cách truyền ngược lỗi của các từ tiếp theo được dự đoán
Hướng dẫn mạng lưới thị giác của ô tô tự lái để giảm lỗi dự đoán góc lái trong quá trình mô phỏng
Cập nhật phần nhúng của mô hình đề xuất để dự đoán tốt hơn những phim nào người dùng sẽ nhấp vào
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.
Bản tin miễn phí
Ba câu chuyện AI đã được xác minh vào mỗi buổi sáng các ngày trong tuần, được viết bằng tiếng Anh đơn giản. Miễn phí mãi mãi, không có quảng cáo.
Một email mỗi ngày trong tuần. Hủy đăng ký trong một cú nhấp chuột. Chúng tôi không bao giờ bán hoặc chia sẻ địa chỉ của bạn.
Tự kiểm tra
Phản hồi tức thì về mọi câu trả lời và chứng chỉ có thể chia sẻ với ID có thể xác minh sau khi bạn vượt qua khóa học.
Hỗ trợ giáo dục AI miễn phí. AI Understanding là tổ chức phi lợi nhuận 501(c)(3) — không bao giờ có quảng cáo, không có tường phí. Hãy quyên góp
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.
Lan truyền ngược áp dụng quy tắc dây chuyền để kết hợp các đạo hàm cục bộ giữa các lớp, truyền các gradient lỗi ngược qua mạng.
Reusing intermediate information avoids redundant whole-graph work; exact runtime depends on the graph and implementation.
Cái tên đã nói lên tất cả: lỗi được truyền ngược, bắt đầu từ đầu ra và di chuyển về phía đầu vào, do đó độ dốc của mỗi lớp phụ thuộc vào lớp sau nó.
A program can compute derivatives and retain unchanged parameters until an update is applied.
Tiếp tục học hỏi
Đã chọn thêm hướng dẫn cho chủ đề này
Tiếp theoHướng dẫn tiếp theo
Hàm mất mát
Nguyên tắc cơ bản