Abstract: We focus on the distribution regression problem: regressing to a real-valued response from a probability distribution. Although there exist a large number of similarity measures between distributions, very little is known about their generalization performance in specific learning tasks. Learning problems formulated on distributions have an inherent two-stage sampled difficulty: in practice only samples from sampled distributions are observable, and one has to build an estimate on similarities computed between sets of points. In this paper, we provide theoretical guarantees for a remarkably simple algorithmic alternative to solve the distribution regression problem: embed the distributions to a reproducing kernel Hilbert space, and learn a ridge regressor from the embeddings to the outputs. Our main contribution is to prove the consistency of this technique in the two-stage sampled setting under mild conditions (on separable, topological domains endowed with kernels). For a given total number of observations, we derive convergence rates as an explicit function of the problem difficulty. As a special case, we answer a 15-year-old open question: we establish the consistency of the classical set kernel in regression, and cover more recent kernels on distributions.
The Challenge of Distribution Regression
In standard regression, we learn a mapping from vectors to scalars ($x \to y$). In distribution regression, the input is an entire probability distribution ($P \to y$). This paradigm is essential for tasks where data is naturally grouped, such as predicting patient health from a "bag" of blood test results or estimating physical properties of a system from observed particle samples.
The primary difficulty lies in "two-stage sampling":
- Distributional level: We only observe a finite number of distributions ($l$).
- Sample level: We do not see the distributions themselves; we only see a finite number of samples ($N$) drawn from each distribution.
Historically, theoretically sound approaches relied on Kernel Density Estimation (KDE) as an intermediate step. However, KDE suffers from the "curse of dimensionality," becoming computationally prohibitive and inaccurate in high-dimensional spaces. Other popular methods, like "set kernels," were used in practice but lacked formal proofs of consistency in a regression context.
Methodology: Mean Embedding based Ridge Regression (MERR)
This paper proposes a simple yet powerful algorithm: Mean Embedding based Ridge Regression (MERR). The process avoids density estimation entirely by using a two-step approach:
- Mean Embedding: Each "bag" of samples is mapped to a single point in a Reproducing Kernel Hilbert Space (RKHS) by averaging the kernel feature maps of its individual samples. This serves as a robust "fingerprint" of the distribution.
- Ridge Regression: A standard ridge regressor is then trained to map these fingerprints to the target output $y$.
By leveraging the kernels shown above, the MERR framework can be applied to a wide variety of distributional data types, providing a flexible and computationally efficient alternative to density-based methods.
Theoretical Guarantees and Convergence Rates
The core contribution of this work is the mathematical proof of consistency. The authors decompose the "excess risk" (the error compared to an ideal model) into five distinct terms and provide upper bounds for each. Using a general prior family, $P(b, c)$—where $b$ represents the "effective dimension" of the input and $c$ represents the "smoothness" of the regression function—they derive explicit convergence rates.
These results establish that the error vanishes as both the number of distributions ($l$) and the number of samples per distribution ($N$) increase. For a "smooth" regression task, the authors established a specific convergence rate of $1/t^{2/7}$, where $t$ is the total number of samples processed. This analysis finally provides a formal theoretical foundation for the classical set kernel, which had been used without such guarantees since 1999.
Empirical Performance
The MERR approach was evaluated on both synthetic and real-world benchmarks:
- Supervised Entropy Learning: In predicting the entropy of rotated 2D Gaussian distributions, MERR significantly outperformed state-of-the-art KDE-based methods (DFDR), achieving a Root Mean Square Error (RMSE) of 0.11 compared to 0.285.
- Aerosol Prediction (MISR1): On multispectral satellite imagery used to predict Aerosol Optical Depth (AOD), MERR achieved an RMSE of 7.86–7.91. This performance is competitive with highly engineered, domain-specific models, despite MERR being a general-purpose "black-box" approach.
Conclusion
By representing distributions as mean embeddings in an RKHS, this research demonstrates that complex distribution regression tasks can be solved with simple, consistent, and efficient algorithms. The work bridges a long-standing gap between practical applications of set kernels and their theoretical justification, while offering a scalable path forward for high-dimensional distributional data.
Summary updated