What is the role of the learning rate (shrinkage) in gradient boosting?

Quick Overview

Asks what the learning rate, or shrinkage, does in gradient boosting. Tests understanding of the additive update, why small steps regularize the ensemble, how the learning rate trades off against the number of trees, and how to set it with early stopping.

What is the role of the learning rate (shrinkage) in gradient boosting?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is the role of the learning rate (shrinkage) in gradient boosting? Explain how it enters the model update, why it affects generalization, and how you would set it in practice. ```hint Gradient descent analogy Compare each boosting round to one step of gradient descent in function space, and ask what the step size controls there. ``` ### What a Strong Answer Covers - How the learning rate enters the additive update of the ensemble - Why smaller steps act as regularization and lower variance - How the learning rate and the number of trees depend on each other - How to set it in practice, including early stopping and typical values ### Follow-up Questions - If you halve the learning rate, what should happen to the number of trees and to training time? - How does shrinkage interact with row subsampling and tree depth? - Why can a very large learning rate make the training loss oscillate?

Overview: Asks what the learning rate, or shrinkage, does in gradient boosting. Tests understanding of the additive update, why small steps regularize the ensemble, how the learning rate trades off against the number of trees, and how to set it with early stopping.

General logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What is the role of the learning rate (shrinkage) in gradient boosting?

Explain how it enters the model update, why it affects generalization, and how you would set it in practice.

What a Strong Answer Covers Guidance

  • How the learning rate enters the additive update of the ensemble
  • Why smaller steps act as regularization and lower variance
  • How the learning rate and the number of trees depend on each other
  • How to set it in practice, including early stopping and typical values

Follow-up Questions Guidance

  • If you halve the learning rate, what should happen to the number of trees and to training time?
  • How does shrinkage interact with row subsampling and tree depth?
  • Why can a very large learning rate make the training loss oscillate?