An implicit function learning approach for parametric modal regression

Yangchen Pan, Ehsan Imani, Amir-massoud Farahmand, Martha White

Introduction

Standard regression techniques typically aim to estimate the conditional mean of a distribution. While effective for unimodal, bell-shaped data, this approach fails significantly when encountering multi-modal distributions. In scenarios where an input $x$ corresponds to multiple valid outputs (e.g., $1$ and $-1$), a standard regressor predicts the average ($0$), a value that may be entirely unrepresentative of the actual data.

This paper introduces a parametric approach to modal regression, focusing on identifying the most likely values (modes) of a distribution. By utilizing the Implicit Function Theorem (IFT), the authors develop a neural network objective capable of learning complex, multi-valued relationships that scale to high-dimensional data.

The Challenge of Multi-Modality

Existing modal regression tools are often non-parametric, such as Kernel Density Estimation (KDE). While useful, these methods struggle with high-dimensional features and do not leverage the representational power of deep learning. The core challenge lies in training a parametric model to output multiple correct answers for a single input without defaulting to a simple average.

The Circle dataset and its bimodal conditional distribution at x=0.

Methodology: Implicit Function Learning

The proposed method shifts from learning a direct mapping $x \to y$ to learning a joint function $f(x, y)$. The objective is to find a function where $f(x, y) = 0$ at every conditional mode of $x$.

To achieve this, the authors employ the Implicit Function Theorem to define a two-part loss function:

  1. Zero Constraint: $f(x, y)^2$ ensures the function approaches zero at observed data points.
  2. Gradient Constraint: $(\frac{\partial f(x, y)}{\partial y} + 1)^2$ forces the derivative with respect to $y$ to be $-1$.

This gradient constraint is critical; it prevents the model from converging to a trivial zero solution and ensures the learned surface correctly represents distinct modes. Additionally, a higher-order regularizer (penalizing the second derivative) helps the model distinguish between true modes and spurious artifacts.

Key Insights and Results

The authors evaluated their approach on synthetic benchmarks (like the "Double-circle" task) and real-world datasets (such as insurance cost modeling).

  • Scalability and Robustness: Unlike KDE, which degrades in high-dimensional spaces, this parametric approach maintains stable performance. On a 128-dimensional version of the circle task, the implicit method significantly outperformed Mixture Density Networks (MDN).
  • High-Frequency Data: Surprisingly, the method also excelled at high-frequency unimodal data. By learning a joint representation of $(x, y)$, the model captures sharp oscillations that standard $L_2$ regression tends to smooth over.
  • Mode Control: The higher-order regularizer allows users to tune the model. By increasing the penalty, the model can be forced to focus only on the single most likely mode, providing a robust alternative to standard regression.
Learned local modes for the Circle dataset using the proposed implicit method.

Limitations and Future Directions

The primary bottleneck of this approach is inference speed. Currently, extracting modes requires a grid search over the $y$ space. While feasible for 1D outputs, this becomes computationally expensive for high-dimensional targets. Future research will focus on more efficient mode extraction techniques and extending the framework to multi-dimensional target spaces ($y \in \mathbb{R}^k$).

Summary updated

BibTeX
@inproceedings{pan2020implicit,
  author = {Yangchen Pan and Ehsan Imani and Amir-massoud Farahmand and Martha White},
  title = {{An implicit function learning approach for parametric modal regression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure