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

On the Intrinsic Dimensionality of Image Representations

Sixue Gong, Vishnu Naresh Boddeti, Anil K. Jain

Abstract

This paper addresses the following questions pertaining to the intrinsic dimensionality of any given image representation: (i) estimate its intrinsic dimensionality, (ii) develop a deep neural network based non-linear mapping, dubbed DeepMDS, that transforms the ambient representation to the minimal intrinsic space, and (iii) validate the veracity of the mapping through image matching in the intrinsic space. Experiments on benchmark image datasets (LFW, IJB-C and ImageNet-100) reveal that the intrinsic dimensionality of deep neural network representations is significantly lower than the dimensionality of the ambient features. For instance, SphereFace's 512-dim face representation and ResNet's 512-dim image representation have an intrinsic dimensionality of 16 and 19 respectively. Further, the DeepMDS mapping is able to obtain a representation of significantly lower dimensionality while maintaining discriminative ability to a large extent, 59.75% TAR @ 0.1% FAR in 16-dim vs 71.26% TAR in 512-dim on IJB-C and a Top-1 accuracy of 77.0% at 19-dim vs 83.4% at 512-dim on ImageNet-100.

Introduction

In modern computer vision, images are typically represented as high-dimensional vectors, or "embeddings." Popular architectures like ResNet or SphereFace often output 512-dimensional vectors. However, a fundamental question remains: is all this dimensionality necessary? This research argues that these "ambient" dimensions are often redundant, driven more by training constraints than the actual complexity of the underlying data.

The study focuses on two primary challenges: accurately estimating the intrinsic dimensionality (ID)—the minimum number of variables required to describe the data manifold—and developing a mapping to transform high-dimensional ambient vectors into this minimal intrinsic space without losing critical discriminative features.

Overview of the DeepMDS pipeline and similarity preservation across different dimensionality reduction techniques.

Methodology

1. Estimating Intrinsic Dimensionality

To measure ID accurately on complex, curved manifolds, the authors move beyond linear methods like PCA. They employ a topological approach based on "graph-induced geodesic distances." By finding the shortest paths between points along the data manifold's surface, they generate a distance distribution. This distribution is then compared against known geometric shapes, such as hyperspheres. When the distributions align, the intrinsic dimension of the representation is identified.

Methodology for estimating intrinsic dimensionality using graph-induced geodesic distances and topological similarity.

2. DeepMDS: Non-linear Mapping

The authors introduce DeepMDS, an unsupervised deep neural network designed to perform non-linear Multidimensional Scaling (MDS). The primary objective is to ensure that images close to each other in the original 512-dim ambient space remain close in the compressed intrinsic space.

To ensure stability during training, the authors utilized a curriculum learning strategy. Rather than compressing from 512 to 16 dimensions in a single step, the network progressively reduces dimensionality (e.g., 512 → 256 → 128... → 16), allowing it to learn the complex non-linear mapping more effectively.

Experimental Results

The approach was validated on three major benchmarks: LFW (face verification), IJB-C (challenging face variations), and ImageNet-100 (object classification).

Key Findings

  • Massive Redundancy: The research reveals a significant gap between ambient and intrinsic dimensions. A 512-dim SphereFace representation has an ID of just 16, while a 512-dim ResNet representation has an ID of 19. This suggests we are using roughly 30x more space than theoretically required.
  • Performance Preservation: DeepMDS significantly outperforms traditional baselines like PCA and Isomap. On the IJB-C dataset, DeepMDS maintained a 62.25% True Accept Rate (TAR) at just 12 dimensions. On ImageNet-100, compressing ResNet-34 from 512-dim to 19-dim resulted in a Top-1 accuracy of 77.0%, compared to the original 83.4%.
  • Efficiency: On the LFW dataset, DeepMDS achieved 92.33% accuracy at 10-dim, closely approaching the original 512-dim performance of 96.74%.

Conclusion

This work demonstrates that the true information capacity of deep learning representations is far lower than their ambient dimensionality. While a "performance tax" of roughly 5-10% exists when moving to the minimal intrinsic space, DeepMDS proves that non-linear mappings can recover most of the discriminative power. Future work may focus on training models to learn these compact representations directly, rather than relying on post-hoc compression.

Summary updated

BibTeX
@inproceedings{gong2019intrinsic,
  author = {Sixue Gong and Vishnu Naresh Boddeti and Anil K. Jain},
  title = {{On the Intrinsic Dimensionality of Image Representations}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  url = {https://openreview.net/forum?id=udxLraXVsjmz},
}
Figure