0Pricing
Deep Learning Academy · Lesson

Learning Rate: Too Big, Too Small, Just Right

The single most important knob.

Learning Rate: Too Big, Too Small, Just Right is a free Deep Learning Academy lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Deep Learning Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

The Size of Your Step

The gradient tells you which way to go, but how far? The learning rate is the multiplier that sets how big each downhill step is.

w = w - lr * grad

A Single Powerful Knob

The learning rate is often the single most important setting in training. Get it wrong and even a perfect model will fail to learn.

lr = 0.01

Too Small: Crawling

A tiny learning rate takes tip-toe steps. Loss drops, but so slowly that training drags on for ages or stalls before reaching the valley. 🐢

Too Big: Overshooting

A huge learning rate leaps so far it jumps past the valley and lands higher up the other side. Loss bounces around or shoots off to infinity.

The Divergence Warning Sign

If loss climbs or turns into NaN after a few steps, your learning rate is almost always too big. That is the clearest signal to turn it down.

Just Right: Smooth Descent

A good learning rate makes loss fall steadily and quickly without wild swings. The curve glides down and levels off near the bottom.

Sensible Starting Values

People rarely guess blindly. A common starting learning rate is around 0.001 to 0.01, then you adjust based on how the loss curve behaves.

lr = 1e-3

Watch the Loss Curve

Plotting loss over time is your best guide. A diverging curve says go smaller; a flat, barely-moving curve says you can go a bit larger.

It Interacts with Batch Size

The right learning rate depends on other choices like batch size and optimizer. Change one and you may need to retune the rate.

Schedules Change It Over Time

You can even shrink the learning rate as training goes on: take big strides early, then small careful steps near the bottom for a clean finish.

Tuning Is Normal

There is no universal best value, so trying a few learning rates and comparing curves is a normal, expected part of training a model.

Quick Check

What happens with too large a learning rate?

Recap

The learning rate sets step size: too small crawls, too big overshoots and diverges, and just right glides smoothly down. Watch the loss curve and tune it. 🎯

Frequently asked questions

Is the “Learning Rate: Too Big, Too Small, Just Right” lesson free?

Yes — the full text of “Learning Rate: Too Big, Too Small, Just Right” is free to read here on the web, and the Deep Learning Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Deep Learning Academy course, upgrade to CoddyKit PRO.

What will I learn in “Learning Rate: Too Big, Too Small, Just Right”?

The single most important knob. You practise Deep Learning Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Deep Learning Academy?

No prior experience is required. Deep Learning Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Learning Rate: Too Big, Too Small, Just Right” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Deep Learning Academy lesson?

Yes. Every Deep Learning Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Loss as a Landscape to Descend
  2. Gradients Point Uphill — So Step the Other Way
  3. Learning Rate: Too Big, Too Small, Just Right
  4. Minimize a Function by Hand in Python
← Back to Deep Learning Academy