NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Nonparametric Probability Density Function Estimation Using the Padé Approximation

Hamid Reza Aghamiri, S. Abolfazl Hosseini, James R. Green, B. John OommenAlgorithms 2025

TL;DR

This paper introduces a novel nonparametric method for estimating probability density functions (PDFs) by combining the power of moments with the Padé approximation. By cleverly using mirrored versions of the data and a sigmoid-based smoothing technique, the authors achieve more accurate and robust PDF estimations, especially in scenarios with limited data.

What Problem Does This Paper Address?

Estimating the Probability Density Function (PDF) of observed data is a fundamental task with wide-ranging applications in science and engineering. However, accurately estimating a PDF, especially when the underlying distribution is unknown (nonparametric estimation) and the amount of data is limited, presents a significant challenge. Traditional methods like histograms can be discontinuous, while parametric methods rely on assumptions about the data's distribution that may not hold true. Existing nonparametric methods, while improving on histograms, still face issues like distortion, sensitivity to data density, or reliance on assumptions about the number of components (e.g., in Gaussian Mixture Models). This paper aims to bridge this gap by developing a more robust and accurate nonparametric PDF estimation technique that excels even with scarce data.

Methods

The core of this paper lies in the innovative combination of two mathematical tools:

  • Moments: These are statistical parameters that capture crucial information about a distribution's shape and characteristics. The paper leverages the concept of moments, which can be estimated from sample data, to represent the underlying PDF.
  • Padé Approximation: This is a technique for approximating a function (often represented by a Taylor series) with a rational function (a ratio of two polynomials). The authors use the Padé approximation to convert the moment-based representation of the PDF into a more manageable and convergent form.

The authors introduce a novel approach that addresses the limitations of previous Padé-based methods:

  • Two-Sided Approach: Recognizing that the standard Padé approximation can struggle with data near zero (especially for positive-only data), the paper proposes using two "mirrored" versions of the dataset. One dataset is used to estimate the right side of the PDF, and its mirrored counterpart is used to estimate the left side.
  • Sigmoid-Based Smoothing: To seamlessly combine these two estimated halves of the PDF and eliminate potential discontinuities at the transition point, a sigmoid function is employed. This function smoothly blends the two estimates, ensuring a continuous and differentiable final PDF.
  • Handling Negative Values: For datasets containing negative values, the authors propose a preprocessing step where all samples are shifted to become strictly positive, allowing the core method to be applied. After estimation, the samples are shifted back to their original positions.

Datasets

The paper evaluates its proposed method using synthetic datasets generated from several well-known probability distributions:

  • Gaussian Mixtures
  • Beta Distribution
  • Gamma Distribution
  • Exponential Distribution

These datasets were generated with varying sample sizes (50, 100, and 300 samples) to assess the method's performance under different data scarcity conditions. The authors also make their MATLAB code publicly available.

Key Insights and Ideas

  • Asymmetry as an Advantage: The inherent asymmetry of the Padé approximation, which can be a drawback, is cleverly turned into an advantage by using mirrored datasets to reconstruct both sides of the PDF.
  • Moments + Padé = Powerful Combination: The paper demonstrates that by combining the rich information from moments with the approximation power of Padé, a highly effective PDF estimation method can be achieved.
  • Sigmoid for Smoothness: The use of a sigmoid function to blend the left and right PDF estimates is a crucial step in ensuring a continuous and well-behaved final PDF, overcoming a common issue with piecewise function approximations.
  • Robustness with Limited Data: The method shows particular promise in scenarios with small sample sizes, a common challenge in real-world data analysis where obtaining large datasets is often impractical.

Key Results

The proposed method consistently outperformed several state-of-the-art (SOTA) nonparametric density estimation techniques (KDE, Adaptive KDE, GMM, QHBS, and the one-point Padé approximation) across various metrics (Wasserstein Distance, Bhattacharyya Distance, Correlation Coefficient, KL Divergence, L1 Distance, and L2 Distance).

  • Superior Accuracy: The method achieved better scores in most metrics, especially in scenarios with limited data (e.g., 50 samples). For instance, in the Beta distribution example with 50 samples, the proposed method achieved the lowest L2 distance (0.0074) and the highest Correlation Coefficient (0.9392).
  • Robustness: The method demonstrated robustness, producing results without visible distortions, particularly at the beginning of the graph, even when dealing with distributions that deviate significantly from Gaussian shapes.
  • Effective for Diverse Distributions: The method showed strong performance across Gaussian mixtures, Beta, Gamma, and Exponential distributions, highlighting its general applicability.

Limitations and Future Work

  • Sensitivity to Outliers: The authors acknowledge that, like other nonparametric methods, their approach can be sensitive to outliers, as sample moments can be influenced by extreme values.
  • Future Directions:
    • Broader Distribution Testing: Future research could explore testing the method on a wider range of distributions, including heavy-tailed and multimodal ones, to gain deeper insights.
  • Robustness to Outliers: Investigating methods to enhance robustness to outliers is a key area for future work. This could involve integrating more robust estimators for sample moments or employing outlier detection and censoring techniques.
  • Further Refinement: The paper suggests that further exploration could lead to new applications or refinements of the method.

Summary updated

BibTeX
@article{aghamiri2025nonparametric,
  author = {Hamid Reza Aghamiri and S. Abolfazl Hosseini and James R. Green and B. John Oommen},
  title = {{Nonparametric Probability Density Function Estimation Using the Padé Approximation}},
  journal = {Algorithms},
  year = {2025},
  doi = {10.3390/a18020088},
}
Figure