Why does XGBoost use a second-order Taylor expansion of the loss instead of a first-order approximation?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why XGBoost approximates the loss with a second-order Taylor expansion when fitting each tree, instead of using only the gradient. Tests understanding of Newton-style boosting, how leaf weights and split gains are derived, and which losses the approach handles poorly.