A weighted residual combines two signals about each training example: the residual measures prediction error, while the weight measures how strongly that error should influence the next optimization update. Newton boosting uses this combination to focus new weak learners on examples needing the most attention. section 6.0 section 6.2.1
The residual is computed from the loss gradient, as in gradient boosting. The weight comes from the loss Hessian, or second derivative. Thus, a weighted residual is a Hessian-scaled gradient residual rather than an unweighted measure of error. section 6.2.1
Newton boosting uses weighted residuals procedurally:
- Evaluate the current model on each training example. section 6.2.1
- Compute each example’s loss gradient as its residual and its Hessian as its weight. section 6.2.1
- Train a weak regression-tree estimator over these weighted residuals to approximate the Newton step. section 6.6
- Update the ensemble, repeating the process so later learners correct earlier errors. section 6.2.1
Unweighted versus Hessian-weighted attention
For classification, the misclassification margin y · f(x) indicates whether an example is correctly classified. Gradient boosting uses unweighted residuals, whereas Newton boosting scales the gradients with Hessian information so badly misclassified examples are represented more effectively.
