How does gradient boosting generalize AdaBoost beyond the exponential loss?

Quick Overview

Asks how gradient boosting extends the AdaBoost algorithm from the exponential loss to any differentiable loss. Tests understanding of forward stagewise additive modeling, pseudo-residuals and functional gradient descent, and how the choice of loss changes what each new tree learns.

How does gradient boosting generalize AdaBoost beyond the exponential loss?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

How does gradient boosting generalize AdaBoost beyond the exponential loss? ```hint Name AdaBoost's objective Write AdaBoost's final classifier as an additive model and ask which loss its sample reweighting and its formula for each learner's weight minimize, one stage at a time. ``` ```hint Residuals for any loss For a general differentiable loss, ask what plays the role of a residual when you take one gradient step in the space of functions. ``` ### What a Strong Answer Covers - Identifies AdaBoost as forward stagewise additive modeling under exponential loss, and explains why its closed-form updates depend on that loss. - Lays out the gradient boosting recipe: pseudo-residuals, fitting a weak learner to them, per-leaf line search, and shrinkage. - Explains what the generalization allows in practice, namely choosing the loss to fit the task. - Connects the two methods: how AdaBoost's sample weights relate to gradients, and what happens when gradient boosting uses exponential loss. ### Follow-up Questions - Why is exponential loss sensitive to mislabeled examples, and how does log loss compare? - What do the second-order updates in XGBoost and LightGBM change compared with Friedman's line search? - How do the shrinkage rate and the number of trees trade off against each other? - What does fitting each stage on a random subsample of rows add?

Overview: Asks how gradient boosting extends the AdaBoost algorithm from the exponential loss to any differentiable loss. Tests understanding of forward stagewise additive modeling, pseudo-residuals and functional gradient descent, and how the choice of loss changes what each new tree learns.

PracHub logo
General
Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

How does gradient boosting generalize AdaBoost beyond the exponential loss?

What a Strong Answer Covers Guidance

  • Identifies AdaBoost as forward stagewise additive modeling under exponential loss, and explains why its closed-form updates depend on that loss.
  • Lays out the gradient boosting recipe: pseudo-residuals, fitting a weak learner to them, per-leaf line search, and shrinkage.
  • Explains what the generalization allows in practice, namely choosing the loss to fit the task.
  • Connects the two methods: how AdaBoost's sample weights relate to gradients, and what happens when gradient boosting uses exponential loss.

Follow-up Questions Guidance

  • Why is exponential loss sensitive to mislabeled examples, and how does log loss compare?
  • What do the second-order updates in XGBoost and LightGBM change compared with Friedman's line search?
  • How do the shrinkage rate and the number of trees trade off against each other?
  • What does fitting each stage on a random subsample of rows add?