Why does gradient boosting fit a tree to pseudo-residuals and then solve a separate leaf-value optimization problem?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: hard
Interview Round: Other
Overview: Asks why gradient boosting builds each tree on pseudo-residuals and then recomputes the leaf values against the true loss. Tests understanding of split finding, per-leaf line search, losses such as absolute and log loss, and the second-order leaf weights used by XGBoost and LightGBM.