Robust estimation of the intrinsic dimension of data sets with quantum cognition machine learning

Luca Candelori, Alexander G. Abanov, Jeffrey Berger, Cameron J. Hogan, Vahagn Kirakosyan, Kharen Musaelian, Ryan Samson, James E. T. Smith, Dario Villani, Martin T. Wells, Mengjia XuarXiv 2024 · DOI

Abstract

Estimating the intrinsic dimension ($d$) of high-dimensional datasets is a fundamental challenge in manifold learning, data compression, and feature selection. Traditional local estimators often fail in the presence of noise, mistaking random fluctuations for structural complexity or suffering from the "curse of dimensionality" in sparse data spaces. This paper presents a novel approach using Quantum Cognition Machine Learning (QCML) and quantum geometry. By representing data points as quasi-coherent quantum states and deriving a quantum metric from learned Hermitian matrices, the method identifies the intrinsic dimension through spectral gap detection. Experimental results on synthetic manifolds and real-world datasets—including ISOMAP faces, MNIST, and medical data—demonstrate that this quantum-inspired approach provides superior robustness to noise compared to classical state-of-the-art methods.

Introduction

In modern data science, datasets often consist of thousands of features, yet the underlying structure frequently resides on a much lower-dimensional manifold. For example, a set of 1,000-pixel images of a rotating object may mathematically exist in a 1,000-dimensional space, but its intrinsic dimension ($d$)—the minimum number of variables needed to describe the data—might only be three (e.g., two rotation angles and one lighting angle).

Accurately identifying $d$ is crucial for effective dimensionality reduction. However, real-world data is rarely clean. Standard estimators typically rely on local nearest-neighbor distances, which are highly sensitive to noise. In noisy environments, these methods often perceive random fluctuations as "shadow dimensions," leading to an overestimation of complexity. Conversely, in very high dimensions, data sparsity can lead to underestimation. There is a clear need for a global geometric probe that can distinguish the underlying signal from local noise.

Methodology: The QCML Framework

The researchers introduce a framework grounded in Quantum Cognition Machine Learning (QCML) and Quantum Geometry to provide a more stable geometric map of data.

1. Quantum Representation

Rather than treating a data point as a discrete coordinate, the QCML approach represents each point as a "quasi-coherent state." This quantum representation inherently encodes a "cloud of uncertainty" or quantum fluctuations around each point, allowing the model to account for data fuzziness from the outset.

2. Matrix Configurations and the Quantum Metric

The model trains a set of $D$ Hermitian matrices (where $D$ is the number of features) to minimize the distance between the original data and a learned point cloud approximation. From these trained matrices, a quantum metric $g(x)$ is derived. In physics, this metric describes the geometry of quantum states; in this context, it serves as a local probe of the manifold's shape that is informed by the global structure of the dataset.

3. Spectral Gap Detection

The intrinsic dimension is revealed through the eigenvalues of the quantum metric. The "signal" eigenvalues—those corresponding to the true dimensions of the manifold—tend to stay near 1. In contrast, "noise" eigenvalues drop toward 0. By identifying the "spectral gap" (the significant jump between these two groups), the algorithm determines the value of $d$.

Experimental Results

Synthetic Benchmarks

The method was validated using synthetic manifolds such as the "fuzzy sphere" ($S^2$) and the "Swiss Roll." On a sphere embedded with significant Gaussian noise, QCML consistently estimated $d \approx 2$. In contrast, baseline algorithms like DANCo or Maximum Likelihood Estimators (MLE) quickly converged to $d = 3$, incorrectly treating the noise as a third physical dimension.

Real-World Applications

  • ISOMAP Face Database: The model correctly identified $d=3$ for a set of 698 images of a sculpture, matching the known physical degrees of freedom (two rotation axes and one lighting axis).
  • Wisconsin Breast Cancer Dataset: Despite having 30 measured features, the QCML estimator found an intrinsic dimension of $d=2$. This suggests that the clinical variability in the data is driven by just two primary underlying biological factors.
  • MNIST Digit Recognition: When applied to handwritten "1"s, the model found a range of dimensions ($d=5$ to $15$). This captures the inherent geometric complexity of human writing styles, which adds more "true" dimensions than a simple rigid rotation.

Discussion and Key Insights

The primary advantage of the QCML approach is its shift from local to global modeling. By learning a global matrix configuration for the entire dataset first, the method effectively filters out local noise. The resulting point cloud acts as a denoised version of the original manifold.

This approach also highlights a "bias-variance" trade-off controlled by a hyperparameter ($w$) representing quantum fluctuations. By tuning this parameter, researchers can choose between a model that follows noisy data points exactly (low bias, high variance) or one that captures the smooth underlying geometry (higher bias, lower variance).

Limitations and Future Work

A current limitation is the sensitivity to the Hilbert space dimension ($N$). If $N$ is too small, the model lacks the capacity to capture data complexity; if too large, it may begin to learn the noise. Future research may incorporate Random Matrix Theory (RMT) to automate spectral gap detection, providing a mathematically rigorous threshold for separating signal from noise in extremely high-dimensional settings. Additionally, improving the computational scalability of the matrix training phase remains a priority for applying QCML to even larger datasets.

Summary updated

BibTeX
@misc{candelori2024robust,
  author = {Luca Candelori and Alexander G. Abanov and Jeffrey Berger and Cameron J. Hogan and Vahagn Kirakosyan and Kharen Musaelian and Ryan Samson and James E. T. Smith and Dario Villani and Martin T. Wells and Mengjia Xu},
  title = {{Robust estimation of the intrinsic dimension of data sets with quantum cognition machine learning}},
  year = {2024},
  eprint = {2409.12805},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.12805},
}
Figure