Introduction
Density estimation is a fundamental task in probabilistic machine learning, essential for applications ranging from anomaly detection to the evaluation of generative models. However, estimating the underlying probability distribution of a dataset becomes significantly challenging when the data exhibits multi-modality, non-Gaussianity, or high correlation between features. Traditional methods, such as standard Kernel Density Estimation (KDE), often suffer from a trade-off between over-smoothing—where distinct modes are blurred together—and over-fitting—where the estimator produces a spiky distribution that fails to generalize.
ROME (Robust Multi-modal Estimator) addresses these challenges through a non-parametric "divide and conquer" approach. By segmenting complex data into simpler uni-modal components before performing density estimation, ROME effectively captures the intricate structure of high-dimensional, correlated data.
Methodology
The core of the ROME framework is a multi-stage pipeline designed to transform a complex multi-modal density estimation problem into a series of simpler, localized tasks.
The pipeline consists of five key steps:
- Clustering (OPTICS): The algorithm first segments the input samples $X$ using OPTICS. This choice is critical as OPTICS can identify clusters of arbitrary shapes and varying densities without requiring a pre-specified number of clusters.
- Feature Decorrelation (PCA): For each identified cluster, Principal Component Analysis (PCA) is applied to remove linear correlations between dimensions. This "straightens" the local data distribution, making it more amenable to standard kernels.
- Normalization: The decorrelated data within each cluster is standardized. A regularization term ($\sigma_{min}$) is introduced to prevent over-fitting in cases of extremely low variance or near-perfect correlation.
- Local PDF Estimation: A Gaussian KDE is applied to each transformed cluster. Because the data is now locally uni-modal and decorrelated, a simple isotropic kernel performs effectively.
- Recombination: The local estimates are combined into a global probability density function (PDF) $\hat{p}$ using a weighted average based on the relative size of each cluster.
Experimental Evaluation
ROME was evaluated against several synthetic benchmarks and a high-dimensional real-world dataset to test its robustness across different data geometries.
The benchmarks include:
- Aniso: Two highly correlated, narrow Gaussian clusters.
- Varied: Three clusters with significantly different spatial densities.
- Two Moons: Two interlocking, non-Gaussian, curved shapes.
- Forking Paths: A 24-dimensional real-world dataset of human pedestrian trajectories, characterized by high temporal correlation and multiple potential future paths.
Results and Discussion
ROME consistently outperformed state-of-the-art baselines, including Manifold Parzen Windows (MPW) and Vine Copulas (VC), across both synthetic and real-world tasks.
Key Findings: * Accuracy and Robustness: ROME achieved lower Jensen-Shannon Divergence (JSD) and higher log-likelihoods than competing methods. In the 24D pedestrian trajectory task, ROME provided meaningful density estimates where traditional methods like Vine Copulas largely failed. * Ablation Insights: Ablation studies confirmed the necessity of each pipeline stage. Removing the clustering step led to significant over-smoothing, while omitting normalization hindered the model's ability to capture non-normal shapes like the "Two Moons." * Qualitative Performance: Visual analysis demonstrates that ROME accurately captures distinct modes and anisotropic shapes without "hallucinating" density in regions where no data exists.
Conclusion and Future Work
ROME demonstrates that clustering is not merely a classification tool but a powerful pre-processing step for density estimation. By isolating modes and normalizing them locally, ROME provides a robust framework for modeling complex distributions.
While highly effective, ROME's performance remains linked to the choice of the base local estimator. Future research will explore integrating more sophisticated density estimation techniques, such as MPW, within the ROME framework to further enhance its ability to model complex non-normal clusters. Additionally, the authors plan to scale the approach for even higher-dimensional probabilistic AI evaluation tasks.
Summary updated