[Paper Review] Improving Regression Performance with Distributional Losses
This paper introduces the Histogram Loss (HL), a novel distributional regression loss that improves prediction accuracy by modeling targets as probability distributions and minimizing KL divergence between predicted and target distributions using histogram densities. The key contribution is that improved performance stems from better-optimized gradients—leading to faster convergence and smoother training—rather than reduced overfitting or enhanced representations.
There is growing evidence that converting targets to soft targets in supervised learning can provide considerable gains in performance. Much of this work has considered classification, converting hard zero-one values to soft labels---such as by adding label noise, incorporating label ambiguity or using distillation. In parallel, there is some evidence from a regression setting in reinforcement learning that learning distributions can improve performance. In this work, we investigate the reasons for this improvement, in a regression setting. We introduce a novel distributional regression loss, and similarly find it significantly improves prediction accuracy. We investigate several common hypotheses, around reducing overfitting and improved representations. We instead find evidence for an alternative hypothesis: this loss is easier to optimize, with better behaved gradients, resulting in improved generalization. We provide theoretical support for this alternative hypothesis, by characterizing the norm of the gradients of this loss.
Motivation & Objective
- To investigate why soft targets and distributional outputs improve regression performance beyond overfitting reduction.
- To propose a new, efficient distributional loss for regression that maintains modeling flexibility while enabling fast computation.
- To identify the primary driver of performance gains in distributional regression—optimization properties rather than representation or regularization.
- To provide theoretical and empirical support for the hypothesis that better-behaved gradients lead to improved generalization.
Proposed method
- The Histogram Loss (HL) converts hard regression targets into a target distribution (e.g., Gaussian or uniform over bins), and minimizes the KL divergence between this target and a predicted histogram density.
- The predicted distribution is represented as a histogram with fixed bins, widths, and centers, enabling efficient computation of KL divergence without sacrificing modeling capacity.
- The final prediction is the expected value of the predicted histogram distribution, ensuring compatibility with standard regression evaluation.
- The method is applied across multiple datasets and compared to standard ℓ₂ loss, label-smoothed, and clipped/noised variants to isolate the effect of the loss function.
- Gradient norms are computed and normalized across training epochs to assess optimization stability and convergence speed.
- Ablation studies compare HL to ℓ₂ + softmax and ℓ₂ with noise/clip, isolating the impact of the distributional loss from nonlinearities or regularization.
Experimental results
Research questions
- RQ1Does modeling regression targets as distributions via a distributional loss improve generalization beyond standard ℓ₂ loss?
- RQ2Is the performance gain due to reduced overfitting, better representations, or improved optimization dynamics?
- RQ3How do the gradient norms of the Histogram Loss compare to those of standard regression losses during training?
- RQ4Can the KL divergence-based distributional loss lead to faster convergence and more stable training?
- RQ5How does the choice of target distribution (e.g., Gaussian vs. uniform) affect performance and optimization?
Key findings
- The Histogram Loss (HL) significantly improves regression accuracy, reducing test MAE from 18.421 (ℓ₂ baseline) to 8.992 on the CT Position dataset.
- HL-Gaussian converges faster and with smoother gradients than ℓ₂, as evidenced by normalized gradient norm plots showing lower variability and faster decay.
- The improvement from HL is not due to overfitting reduction or better representations, as shown by ablation studies comparing to ℓ₂ with noise or clipping.
- The gradient norm of HL-Gaussian remains bounded and stable, supporting the hypothesis that better-optimized gradients drive improved generalization.
- Even when compared to ℓ₂ + softmax (which adds 100 parameters and nonlinearities), HL-Gaussian outperforms with a much larger margin, indicating the loss structure itself is key.
- Theoretical analysis shows that the norm of the gradient of the HL does not grow large or vary widely, supporting its favorable optimization properties.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.