0
0
Computer Visionml~20 mins

Learning rate selection in Computer Vision - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Learning Rate Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why is choosing the right learning rate important?

Imagine you are teaching a robot to recognize cats in photos. You adjust how fast it learns by setting a learning rate. What happens if the learning rate is too high?

AThe robot will always get perfect results immediately.
BThe robot learns too slowly and takes a long time to improve.
CThe robot might miss the correct answer because it jumps too much and never settles.
DThe robot ignores the photos and guesses randomly.
Attempts:
2 left
💡 Hint

Think about how big steps affect finding the right path.

Predict Output
intermediate
2:00remaining
Output of training loss with different learning rates

Look at the training loss values after 3 epochs with different learning rates. Which learning rate likely caused the loss to increase instead of decrease?

Computer Vision
losses = {
    0.001: [0.9, 0.7, 0.5],
    0.1: [0.9, 1.2, 1.5],
    0.01: [0.9, 0.6, 0.4],
    0.0001: [0.9, 0.85, 0.8]
}

# Which learning rate caused loss to increase?
A0.1
B0.001
C0.01
D0.0001
Attempts:
2 left
💡 Hint

Look for loss values that get bigger over time.

Hyperparameter
advanced
2:00remaining
Choosing learning rate for a convolutional neural network

You train a convolutional neural network on images. You want to try these learning rates: 0.1, 0.01, 0.001, 0.0001. Which learning rate is most likely to cause the model to converge smoothly without overshooting?

A0.01
B1.0
C0.1
D0.0001
Attempts:
2 left
💡 Hint

Think about typical learning rates used in image models.

Metrics
advanced
2:00remaining
Effect of learning rate on validation accuracy

After training a model with different learning rates, you get these validation accuracies:

  • 0.1: 60%
  • 0.01: 85%
  • 0.001: 80%
  • 0.0001: 50%

Which learning rate likely caused underfitting?

A0.1
B0.01
C0.001
D0.0001
Attempts:
2 left
💡 Hint

Underfitting means the model learns too slowly and performs poorly.

🔧 Debug
expert
2:00remaining
Diagnosing training failure due to learning rate

You train a deep neural network but notice the training loss stays very high and does not improve. You suspect the learning rate is the cause. Which of these symptoms best supports that the learning rate is too high?

ATraining loss decreases smoothly over epochs.
BTraining loss fluctuates wildly and sometimes increases sharply.
CTraining loss decreases very slowly and plateaus early.
DTraining accuracy is perfect but validation accuracy is low.
Attempts:
2 left
💡 Hint

Think about what happens when steps are too big during learning.