Improving Nonparametric Density Estimation with Tensor Decompositions

Robert A. VandermeulenarXiv 2020

TL;DR

This paper tackles the "curse of dimensionality" in nonparametric density estimation by proposing a novel approach using nonnegative tensor decompositions. By assuming simplified dependence structures between features, they show theoretically and experimentally that this method can significantly improve histogram-based density estimation in high dimensions, achieving better performance with fewer samples compared to standard methods.

What Problem Does This Paper Address?

Estimating probability density functions from data is a fundamental task in machine learning and statistics. Nonparametric methods, like histograms and kernel density estimators (KDEs), are powerful because they don't assume a specific parametric form for the density. However, their performance degrades rapidly as the number of features (dimensions) increases – a phenomenon known as the "curse of dimensionality." This is because the number of data points required to accurately estimate the density grows exponentially with the dimension.

A common strategy to mitigate this is to assume feature independence (like in Naive Bayes models), which allows estimating marginal densities separately. This paper extends this idea by exploring more general, yet still simplified, dependence structures between features, modeled using nonnegative tensor decompositions. The goal is to find a sweet spot between assuming complete independence and estimating the full, complex joint density, thereby overcoming the curse of dimensionality for density estimation.

Methods

The core of the paper lies in modeling the joint density as a mixture of separable densities, inspired by nonnegative tensor factorizations. Two specific models are proposed:

  1. Multi-view histogram model: This model assumes the density is a mixture of separable densities, akin to a nonnegative PARAFAC decomposition. It can be interpreted as features being independent conditioned on an unobserved discrete random variable.
  2. Tucker model: This model uses a nonnegative Tucker decomposition, assuming there are collections of one-dimensional densities, and a probability measure selects one density from each collection.

The authors develop theoretical results showing that restricting density estimation to these low-rank tensor models can significantly improve the convergence rates for multidimensional histograms. Specifically, they prove that the dimensionality exponent in the bin width rates can be removed. They also establish lower bounds and demonstrate the existence of estimators that achieve these improved rates.

For practical implementation, they leverage existing nonnegative tensor factorization algorithms to fit these models to data.

Datasets

The experiments were conducted on "toy" datasets from Scikit-learn, specifically:

  • MNIST: A dataset of handwritten digits.
  • Diabetes: A dataset related to diabetes progression.

Labels were removed from these datasets to focus on density estimation. The experiments explored dimensionality reduction by projecting the data onto its top principal components or a random subspace.

Key Insights and Ideas

  • Tensor Decompositions as a Bridge: Nonnegative tensor decompositions provide a principled way to model simplified feature dependencies, bridging the gap between fully independent features (Naive Bayes) and complex, high-dimensional joint distributions.
  • Breaking the Dimensionality Curse: By assuming low-rank tensor structures, the paper shows a theoretical pathway to remove the dimensionality exponent from the convergence rates of histogram estimators, a significant improvement over standard methods.
  • Trade-off Between Model Complexity and Data Requirements: The work highlights a trade-off between the complexity of the assumed dependence structure (controlled by the tensor rank, k) and the number of bins (b) needed for accurate estimation. Higher rank models can capture more complex dependencies but require more data.
  • Empirical Validation: The theoretical findings are supported by experimental results, demonstrating that Tucker histogram models significantly outperform standard histograms, especially when dimensionality is reduced.

Key Results

  • Theoretical Guarantees: The paper proves that for multi-view and Tucker histograms, improved estimation error rates can be achieved by restricting to low-rank nonnegative tensor decompositions. These rates are shown to be near-optimal.
  • Dimensionality Reduction: The theoretical results show that the dimensionality d can be effectively removed from the convergence rate requirements for bin width, meaning the number of samples needed doesn't grow exponentially with d.
  • Experimental Performance: In experiments on MNIST and Diabetes datasets, the proposed Tucker histogram estimator significantly outperformed the standard histogram estimator. For instance, in one experiment, the Tucker histogram achieved a performance metric of -9.532±1.053 compared to the standard histogram's -6.327±0.522, with a p-value of 2e-3, indicating a statistically significant improvement. The Tucker model also demonstrated an ability to estimate more bins per dimension with fewer components.

Limitations and Future Work

  • Computational Intractability of Optimal Estimators: While theoretical results guarantee the existence of effective estimators, the algorithms described are computationally intractable. The paper uses existing nonnegative tensor factorization algorithms for experiments, which lack the same theoretical guarantees.
  • NNTF Model Assumption: The theoretical improvements rely on the assumption that the data distribution fits the NNTF model. Real-world data may not perfectly satisfy these assumptions. However, the paper shows that the bias of these estimators goes to zero even when the NNTF assumption is not met, suggesting robustness.
  • Focus on Histograms: The paper primarily focuses on improving histogram estimators. The authors suggest that the ideas presented could be adapted to improve other nonparametric density estimation techniques.
  • Future Directions: The authors mention that the trade-off between model complexity (k) and bin width (b) is useful in practice, and that maximizing k often leads to performance similar to standard histograms, while minimizing k approaches a Naive Bayes model. Further exploration of this trade-off and its implications for other statistical methods is a promising avenue.

Summary updated

Abstract

While nonparametric density estimators often perform well on low dimensional data, their performance can suffer when applied to higher dimensional data, owing presumably to the curse of dimensionality. One technique for avoiding this is to assume no dependence between features and that the data are sampled from a separable density. This allows one to estimate each marginal distribution independently thereby avoiding the slow rates associated with estimating the full joint density. This is a strategy employed in naive Bayes models and is analogous to estimating a rank-one tensor. In this paper we investigate whether these improvements can be extended to other simplified dependence assumptions which we model via nonnegative tensor decompositions. In our central theoretical results we prove that restricting estimation to low-rank nonnegative PARAFAC or Tucker decompositions removes the dimensionality exponent on bin width rates for multidimensional histograms. These results are validated experimentally with high statistical significance via direct application of existing nonnegative tensor factorization to histogram estimators.
BibTeX
@misc{vandermeulen2020improving,
  author = {Robert A. Vandermeulen},
  title = {{Improving Nonparametric Density Estimation with Tensor Decompositions}},
  year = {2020},
  eprint = {2010.02425},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.02425},
}
Figure