Save this video free

Lecture 11: Hessian matrix; Steepest descent

Burton Ma · 44:06 · Watch on YouTube

Part of Queen's University CISC 371. See all 23 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

Burton Ma explains how Hessian eigenvalues help classify critical points, including cases where a zero Hessian leaves the classification uncertain, then derives steepest descent as movement along the negative gradient. He compares fixed-step gradient descent with Armijo backtracking on a paraboloid, an inverted Gaussian, and the Rosenbrock function, and connects gradient evaluation costs to training neural networks with millions or billions of parameters.

Key takeaways

Chapters

0:00 The Taco Function Has a Line of Minima
3:30 Hessian Eigenvalues, Saddle Points, and Zero-Hessian Ambiguity
14:52 Gradient Descent as Iterative Minimization
22:43 Why the Negative Gradient Is the Steepest Descent Direction
28:53 Fixed-Step Gradient Descent Oscillates on a Paraboloid
32:54 Step Sizes on the Inverted Gaussian
35:06 Rosenbrock's Long, Shallow Valley Challenges Gradient Descent
39:56 Gradient Costs in AI Training and a Preview of Newton's Method

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

Transcript excerpt

0:00 the Hessian matrix um uh where we're looking at the definitess of the Hessen matrix. Um so I was reviewing these slides actually there's a mistake on one coming up so I'll have to correct that in a um and re-upload it. All right. So the next example is slightly deceiving the way it's drawn and so it's called the taco function on the slide. Um I don't think that's its actual name. It's what Dr. Ellis called it in notes. So it only looks like a taco if you restrict uh the values w1 and w2 to be on or inside a circle. Uh and if you do it kind of sort of looks like a folded up taco. Um I guess a

0:48 better picture of this is if you take an infinitely long piece of paper and then uh sort of bend it. Uh and that's really what it looks like. All right. So if you take the gradient of this thing, remember to take the gradient, compute the partial derivatives with respect to w1 and w2, right? You just get 2 * w1 plus w2 in both cases, right? This is just something squared. So the derivative of something squared is 2 * the something times the derivative of the stuff inside. So when you differentiate with respect to w1, it's just 2 w1 plus w2 * 1. And when you differentiate with respect to w2, it's just 2 * that times 1. So it's that and that. Uh if you then differentiate these things again, so you take the second partial derivatives, uh

1:36 you'll get the uh hessen matrix right there. And it's just all twos, right? And and if you look at that matrix um you'll notice that the rows are equal and the columns are equal to

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, Burton Ma.

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.