Intrinsic Dimension of Geometric Data Sets

Tom Hanika, Friedrich Martin Schneider, Gerd StummearXiv 2018 · DOI

TL;DR

This paper introduces a computationally practical framework to measure the "intrinsic dimension" of data sets by combining metric measure geometry with specific feature functions. By defining a novel dimension function, the authors provide a mathematically rigorous way to detect and quantify the curse of dimensionality in both distance-based and categorical data.

What Problem Does This Paper Address?

The "curse of dimensionality" is a notorious hurdle in machine learning and data science, but rigorously quantifying it has historically been a trade-off between computational feasibility and mathematical elegance.

Prior theoretical work by Vladimir Pestov linked the dimension curse to the geometric phenomenon of "concentration of measure" using Mikhail Gromov's metric measure spaces (mm-spaces). However, Pestov's elegant axiomatic approach was computationally impossible to implement because it required calculating all possible 1-Lipschitz functions on a given space. This paper bridges the gap between beautiful geometry and practical computation, offering a framework that can actually be run on real-world data.

Methods

The authors modify Pestov's approach by introducing the concept of a Geometric Data Set, defined as a triple $(X, F, \mu)$ consisting of:

  • A set of data points ($X$)
  • A probability measure ($\mu$)
  • A restricted, computationally cheap set of 1-Lipschitz feature functions ($F$) instead of all possible Lipschitz functions.

Using this formulation, they introduce:

  1. Observable Distance and Feature Order: A metric ($d_{conc}$) and a partial order ($\preceq$) to compare different geometric data sets based purely on their features.
  2. Axiomatic Intrinsic Dimension: A revised set of four core axioms that any valid dimension function must satisfy (concentration, continuity, feature antitonicity, and geometric order of divergence).
  3. A Concrete Dimension Function: They construct a practical dimension function $\partial_\Delta(\mathcal{D}) = 1 / \Delta(\mathcal{D})^2$, where $\Delta(\mathcal{D})$ integrates the adapted "observable diameter" of the data set across different scales. For distance-based features, this can be computed in $O(cn^2 + n^3)$ time.

Datasets

The authors evaluated their approach on a mix of synthetic and real-world datasets across two distinct domains:

Distance-Based Datasets

  • Artificial: Dimset* (high-dimensional synthetic data spanning 32 to 1024 dimensions), Golfball (3D ball), Wingnut (2D dense rectangles), Atom (concentric 3D spheres), and Engy (2D circular/elliptical discs).
  • Real-World: Alon (colon tumor gene expressions), Shippi (lymphoma gene expressions), Nakayama (soft tissue sarcoma expressions), and NIPS (binary word-document relations from conference papers).

Incidence / Categorical Datasets (Formal Concept Analysis)

  • Real-World (from the UCI Repository): zoo, cancer (breast cancer), southern (social network), club (membership network), facebooklike, and mushroom.
  • Randomized Counterparts: The authors also generated randomized versions of these datasets (e.g., zoor, cancerr) to observe how destroying latent data structures impacts intrinsic dimensionality.

Key Insights and Ideas

  • Features as a Geometric Constraint: Restricting the geometry to a specific set of feature functions $F$ makes the mathematics computationally tractable while remaining highly expressive. It allows the metric to adapt directly to the specific ML algorithm being used (e.g., distance-based vs. graph-based).
  • Chavez ID vs. True Intrinsic Dimension: Traditional metrics like the Chavez intrinsic dimension fail on high-dimensional synthetic datasets (Dimset), flattening out completely as dimensions scale up. The proposed metric scales monotonically, matching our true geometric intuition of dimensionality.
  • Randomization Explodes Dimension: Randomizing structured categorical data causes a massive spike in the proposed intrinsic dimension. This proves the metric successfully captures latent geometric structure rather than just counting attributes or data density.

Key Results

  • Synthetic Scaling: For the synthetic dimset data, as actual dimensions scale from 32 to 1024, the proposed intrinsic dimension accurately scales from 24.0 to 116.2. Meanwhile, the Chavez ID stalls completely around 7.6.
  • The NIPS Anomaly: The NIPS dataset was found to have an exceptionally high intrinsic dimension of 1463.6, despite having a Chavez ID of just 0.36, highlighting a massive qualitative difference in what the two metrics capture.
  • Structure Degradation: In categorical data, randomizing the cancer dataset exploded its intrinsic dimension from 614.35 to 417,718.62, demonstrating how the metric quantifies the complete loss of feature correlation.

Limitations and Future Work

  • Computational Bottlenecks: While significantly faster than previous theoretical models, calculating the exact intrinsic dimension for massive incidence structures (like large categorical tables) remains computationally demanding.
  • Approximation Heuristics: The authors suggest that future work should explore "feature sampling" to approximate the dimension function on massive datasets without evaluating every single feature.
  • Impact of Feature Selection: Another promising direction is investigating how dimensionality reduction techniques (like PCA) systematically impact this intrinsic dimension metric. The authors hypothesize it should lead to a monotone increase in intrinsic dimension as noise and redundancies are stripped away.

Summary updated

Abstract

The curse of dimensionality is a phenomenon frequently observed in machine learning (ML) and knowledge discovery (KD). There is a large body of literature investigating its origin and impact, using methods from mathematics as well as from computer science. Among the mathematical insights into data dimensionality, there is an intimate link between the dimension curse and the phenomenon of measure concentration, which makes the former accessible to methods of geometric analysis. The present work provides a comprehensive study of the intrinsic geometry of a data set, based on Gromov's metric measure geometry and Pestov's axiomatic approach to intrinsic dimension. In detail, we define a concept of geometric data set and introduce a metric as well as a partial order on the set of isomorphism classes of such data sets. Based on these objects, we propose and investigate an axiomatic approach to the intrinsic dimension of geometric data sets and establish a concrete dimension function with the desired properties. Our model for data sets and their intrinsic dimension is computationally feasible and, moreover, adaptable to specific ML/KD-algorithms, as illustrated by various experiments.
BibTeX
@misc{hanika2018intrinsic,
  author = {Tom Hanika and Friedrich Martin Schneider and Gerd Stumme},
  title = {{Intrinsic Dimension of Geometric Data Sets}},
  year = {2018},
  eprint = {1801.07985},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1801.07985},
}

Loading related content...

Figure