Robust modal regression with direct gradient approximation of modal regression risk

Hiroaki Sasaki, Tomoya Sakai, Takafumi Kanamori

Introduction

Standard regression techniques, such as Linear Regression, typically aim to minimize Mean Squared Error (MSE), which estimates the conditional mean of a distribution. While effective for Gaussian noise, this approach falters when data is "messy"—characterized by outliers, heavy tails, or skewness. In such scenarios, the conditional mode (the most likely value) serves as a more robust representative of the underlying data. This paper introduces Direct Modal Regression (DMR), a novel framework that estimates the mode by directly approximating the gradient of the modal regression risk, bypassing the pitfalls of traditional density estimation.

The Challenge of Modal Regression

The primary hurdle in modal regression is optimization. Conventional methods often follow a two-step process: first, estimate the probability density (the "risk" function), and second, apply gradient-based optimization to find its peak. However, a model optimized to estimate function values is not necessarily accurate at estimating slopes. Errors in the density estimate can lead to significant inaccuracies in the gradient, causing optimization to fail.

Direct Modal Regression (DMR)

To address this, the authors propose skipping density estimation entirely. By utilizing Fisher divergence, DMR estimates the derivative of the log-density directly. This approach ensures that the optimization process is guided by a more accurate gradient.

The paper details two primary implementations:

  1. DMR-K (Kernel-based): Utilizing reproducing kernels, this method employs a fixed-point update rule. This rule is computationally efficient as it eliminates the need for manual step-size tuning and possesses a "monotonic ascending property," ensuring consistent improvement in estimates.
  2. DMR-NN (Neural Network-based): Designed for high-dimensional and large-scale data, this version uses a specific neural architecture to model the density derivative, making it compatible with modern optimizers like Adam.

Experimental Evaluation

The effectiveness of DMR was tested against synthetic and real-world datasets. Synthetic tests involved two functions ($M1$ and $M2$) under four noise conditions: Gaussian, Outlier-heavy, Skewed (Exponential), and Non-stationary.

Table 1: Performance comparison of DMR-K against baseline methods across various noise distributions and input dimensions ($d_x$). Bold values indicate superior performance.

As shown in the results above, DMR-K consistently outperforms standard methods like Kernel Ridge Regression (KRR) and Least Absolute Deviations (LAD), particularly in the presence of skewed and non-stationary noise. Notably, as the dimensionality of the input ($d_x$) increases, the performance gap between DMR and traditional two-step modal regression (MR-KDE) widens, highlighting the stability of direct gradient approximation in high-dimensional spaces.

Key Insights

  • Prioritizing Gradient Accuracy: For optimization-centric tasks like finding the mode, the accuracy of the derivative is more critical than the accuracy of the function value itself.
  • Inherent Robustness: Modal regression naturally handles asymmetric distributions by focusing on the peak of the distribution and ignoring long tails, unlike Huber loss or LAD which assume symmetry.
  • Scalability and Efficiency: The introduction of DMR-NN allows modal regression to scale to massive datasets (e.g., the 500k+ sample yearpred dataset), where it frequently outperforms standard robust alternatives.

Conclusion

By shifting the focus from density estimation to direct gradient approximation, the authors provide a more stable and robust path for modal regression. Whether through the mathematically elegant fixed-point updates of DMR-K or the scalable architecture of DMR-NN, this framework offers a powerful tool for handling the complex, non-Gaussian noise common in real-world data. Future work may address the computational overhead of kernel methods and the sensitivity of non-convex optimization to initial conditions.

Summary updated

BibTeX
@inproceedings{sasaki2020robust,
  author = {Hiroaki Sasaki and Tomoya Sakai and Takafumi Kanamori},
  title = {{Robust modal regression with direct gradient approximation of modal regression risk}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2020},
}
Figure