Optimal Ridge Detection using Coverage Risk

Yen-Chi Chen, Christopher R. Genovese, Shirley Ho, Larry A. Wasserman

Abstract: We introduce the concept of coverage risk as an error measure for density ridge estimation. The coverage risk generalizes the mean integrated square error to set estimation. We propose two risk estimators for the coverage risk and we show that we can select tuning parameters by minimizing the estimated risk. We study the rate of convergence for coverage risk and prove consistency of the risk estimators. We apply our method to three simulated datasets and to cosmology data. In all the examples, the proposed method successfully recovers the underlying density structure.

The Challenge of Ridge Detection

In many scientific fields, data points naturally cluster along one-dimensional, curve-like structures known as density ridges. These ridges act as the "highways" or "skeletons" of a dataset. Common examples include the filamentary structures of galaxies in cosmology or the intricate networks of blood vessels in medical imaging.

The standard computational tool for extracting these ridges is the Subspace Constrained Mean Shift (SCMS) algorithm. However, SCMS relies heavily on a critical smoothing parameter, $h$, known as the bandwidth. The choice of $h$ dictates the success of the algorithm:

  • Under-smoothing (small $h$): The algorithm becomes overly sensitive, detecting random noise and producing "shattered," disconnected structures.
  • Over-smoothing (large $h$): The algorithm blurs distinct structures together, washing out the underlying geometry and missing finer details.
The effect of bandwidth on ridge detection, illustrating optimal smoothing versus under-smoothing and over-smoothing.

Historically, there has been no principled, data-driven method to select the optimal bandwidth for ridge detection, leaving researchers to rely on ad-hoc heuristics.

Introducing Coverage Risk

To solve the bandwidth selection problem, this paper introduces Coverage Risk, a novel error measure that generalizes the Mean Integrated Square Error (MISE)—a standard metric in density estimation—adapting it for sets and manifolds.

The Metric

Coverage risk evaluates the quality of the estimated ridge by measuring two distinct distances:

  1. How far a randomly selected point on the true ridge is from the estimated ridge.
  2. How far a randomly selected point on the estimated ridge is from the true ridge.

This dual-sided approach ensures that the resulting estimate is both accurate (it doesn't hallucinate structures) and complete (it doesn't miss existing structures).

Risk Estimators

Because the "true" ridge is unknown in real-world applications, the authors propose two statistically consistent methods to estimate this risk from the data itself:

  • Smoothed Bootstrap: This involves generating new samples from a kernel density estimate of the data and repeatedly re-running the ridge detection to measure variance and bias.
  • Data Splitting: The dataset is randomly split in half. Ridges are estimated independently on both halves, and the algorithm measures how well the two estimates "cover" each other.

By calculating the estimated coverage risk across a range of bandwidths, the optimal $h$ is simply the one that minimizes this risk.

Key Insights and Theoretical Guarantees

The coverage risk framework offers several major advantages over traditional geometric distance metrics:

  • Robustness: Traditional metrics like the Hausdorff distance are notoriously sensitive to single outliers. Because coverage risk is formulated as an expectation, it is significantly more robust to the noise inherent in real-world statistical applications.
  • The U-Shaped Trade-off: The authors demonstrate that coverage risk yields a clear "U-shaped" curve when plotted against bandwidth. This mathematically confirms the existence of an optimal middle ground between the extremes of noise and blur.
  • Theoretical Consistency: The paper proves that the proposed risk estimators are "consistent." As the sample size increases, the estimated risk reliably converges to the true risk.
  • Convergence Rates: The authors derive the convergence rate for $L_2$ coverage risk as $O(h^4 + \frac{1}{nh^{d+2}})$, providing a clear bias-variance decomposition for the problem.

Real-World Applications

The authors validated their method on both synthetic datasets (such as the "Spiral" and "NIPS" character datasets) and high-stakes real-world data.

A primary application of this work is in cosmology, specifically analyzing a 2D slice of the universe from the Sloan Digital Sky Survey (SDSS). The goal is to map the "Cosmic Web"—the massive, web-like filamentary structures that connect clusters of galaxies across the universe.

Automated ridge detection applied to Sloan Digital Sky Survey (SDSS) data, successfully mapping the intricate cosmic web.

Using the automated bandwidth selection provided by coverage risk, the method successfully recovered intricate filament networks in the SDSS data that were either lost to noise or obscured by blurring when using non-optimal smoothing parameters.

Limitations and Future Directions

While coverage risk provides a rigorous solution to bandwidth selection, it comes with computational trade-offs. Methods like the smoothed bootstrap require executing the SCMS algorithm numerous times, which can be computationally expensive for massive datasets.

However, the implications of this work extend beyond simple ridge detection. The authors suggest that the "coverage" concept could be generalized to other unsupervised manifold learning techniques, such as surface detection or clustering. Furthermore, the paper notes a promising connection to "stability selection," hinting that future research could explore how the stability of a detected structure across different data subsamples relates to its underlying physical reality.

Summary updated

BibTeX
@inproceedings{chen2015optimal,
  author = {Yen-Chi Chen and Christopher R. Genovese and Shirley Ho and Larry A. Wasserman},
  title = {{Optimal Ridge Detection using Coverage Risk}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2015},
  url = {https://openreview.net/forum?id=HJV1hLWuZr},
}
Figure