Save this video free

Lecture 7c

Prof. Schniter · 59:40 · Watch on YouTube

Part of The Ohio State University ECE 5307. See all 35 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

The lecture derives backpropagation for a two-layer multilayer perceptron, beginning with scalar computations and extending to mini-batches, vectors, and matrices. It explains how mini-batch SGD approximates the full-data gradient, then uses computation graphs and the chain rule to calculate gradients for weights and biases; cross-validation is distinguished from training as a way to compare hyperparameter choices.

Key takeaways

Chapters

0:00 Two-Layer MLP Structure and the Parameters to Learn
3:00 Mini-Batch SGD Avoids Full-Dataset Gradient Computations
8:00 Computation Graphs Organize Forward and Backward Passes
12:00 Forward-Pass Equations and Training Versus Cross-Validation
16:00 Chain Rule and the Scalar, Single-Sample Computation Graph
22:00 Scalar Backpropagation Through the Output and Hidden Layers
30:00 Scalar Network Gradients with a Mini-Batch
36:00 Why Shared Parameters Require Summing Across Batch Paths
42:00 Extending Backpropagation to Vector Activations and Matrix Weights
48:00 Elementwise Activations and Output-Bias Gradients
54:00 Matrix-Weight Gradients, Index Checks, and Next Steps

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:01 All right, hope you guys had a good fall break. Um, [clears throat] so let me sort of review where we are. We have been working on nonlinear models of this form uh which we refer to as um MLPS uh and we have a linear stage followed by a stage which has um elementwise nonlinearities followed by another linear stage and finally an optional nonlinear stage at the output. This [snorts] kind of stage is optional because it is um typically invertible when you use it and you can you can directly work on these linear outputs or maybe for convenience

0:50 you process it to get these for example soft outputs here. [clears throat] Um so this is what we're doing. So, let me see. Is um is Christian Burn here? No. What about um David Conl? What about uh Megan Ellison? What about Abishek Goch? Not many people coming to class. What about Matt Henry? >> All right, Matt. What are the parameters that we have to learn? uh in this model >> um for so you have the stages of it like the linear parameters

1:41 in the beginning >> yeah what what are the variables >> the variable spread >> yeah which which of the variables do we need to learn >> uh Um, is it >> I don't quite remember. Hang on. >> Is it the X's? >> No, no, the X's are the the input. >> Um, right. So, we we have to learn >> the weights, these biases. Then we have to learn these weights and these biases. >> [clears throat] >> Everything else is fixed. Okay. Um, [clears throat]

2:28 and I mentioned learning because that's kind of the main thing we we've been talking about. Um, so a couple lectures back we talked about

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Prof. Schniter.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.