Huber Loss

Category: Foundations of ML/AI

A regression loss function that combines MSE for small errors and MAE for large errors, balancing sensitivity with robustness.

Full Explanation

Huber loss is a piecewise loss function that behaves like MSE when the error is small (below a threshold delta) and like MAE when the error is large (above delta). This combination provides the smooth gradient properties of MSE near the optimum while maintaining MAE's robustness to outliers for large errors. The delta parameter controls the transition point between the quadratic and linear regimes. Huber loss is differentiable everywhere, unlike MAE, which simplifies optimization. It is particularly useful in real-world regression problems where occasional outliers are present but should not dominate the loss. Huber loss is widely used in reinforcement learning (for Q-value regression) and robust statistics applications.

Related Terms

More in Foundations of ML/AI

Explore More