Save this video free

Lecture 6: Armijo condition

Burton Ma · 45:07 · 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 why a fixed step size can diverge or fail to converge, then derives the Armijo sufficient-decrease condition from a first-order Taylor approximation. He shows how backtracking tests successively smaller step sizes, demonstrates its use in MATLAB, and briefly contrasts Armijo with the stronger Wolfe conditions.

Key takeaways

Chapters

0:00 Fixed Step Sizes: Oscillation, Slow Progress, and Divergence
4:58 Backtracking Line Search Starts with a Large Step
8:28 Why Any Decrease Is Not Enough
14:01 Taylor Approximation Predicts the Expected Decrease
18:06 Larry Armijo’s Sufficient-Decrease Condition
23:05 Backtracking Tests Geometrically Smaller Steps
27:27 Embedding Armijo Backtracking in Gradient Descent
32:48 MATLAB Anonymous Functions for Optimization Examples
38:43 Armijo Versus the Wolfe Conditions

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

Transcript excerpt

0:01 Okay, so at the end of the last class um I showed you this picture here where we were uh doing our direction scaled fixed step size search algorithm. Uh so remember this algorithm here just uses the derivative as the direction to move in. Um if you set the step size too large uh you can see here the um algorithm diverges from the uh minimum. So even starting very close to the minimum here on a very simple function, setting the step size in this case to 1.15 uh causes the estimate of the um uh minimizer to diverge. Uh and this thing just shoots off to infinity if you let it run forever. Um now back here, uh I had this little equation here, but I forgot to show you where the heck that came from. Um if you

0:49 look at this equation you can explain this behavior over here. Right? So this says that your step at uh sorry your um your estimate of the minimizer at step k is just 1 minus s to the k power t0 where t 0 is your initial estimate of the minimizer. Right? If you plug in a value of s0 here that's greater than one. Right? This thing here becomes uh greater than one. Right. Sorry. If you Yes. If you plug in a estimate of the minimizer here of S0 sorry if your step size S0 here um is uh sorry greater than two greater than two in this case um that thing there diverges right so it becomes one it

1:38 becomes greater than one raised to the k power. So as this algorithm runs that value goes up to infinity and it disappears right you can easily uh you can easily derive this equation uh without any

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.