Interpretable intrinsic dimension estimation through componentwise calibration of distance and angle
Organizations: Department of Applied Mathematics, National Sun Yat-sen University, No. 70, Lienhai Rd., Kaohsiung, 80424, Taiwan
Abstract
DANCo (Dimensionality from Angle and Norm Concentration) jointly calibrates nearest-neighbor distance and angular statistics and consistently reaches state-of-the-art accuracy on clean intrinsic-dimension (ID) benchmarks. Practical data, however, introduce neighborhood-relative noise and sample-amplitude heterogeneity that can distort these geometric signals. We reformulate DANCo componentwise, retaining separate distance and angular discrepancy curves so that the source of an estimate can be identified and interpreted. For the distance component, we derive a closed-form Kullback-Leibler divergence for the generic-order ratios of the generalized ratios ID estimator (Gride); when both angular parameters are matched (Full), Gride reduces mean percentage error from to at noise equal to of typical neighbor spacing on 24 manifolds. For the angular component, two sampling regimes motivate aligning mean direction while retaining concentration matching (Profiled). On a Gaussian scale mixture with generating dimension 70 embedded in 100 dimensions, profiling raises the Minimum Neighbor Distance (MiND) estimate from to , while removing the known amplitudes restores MiND-Full to ; the control thus attributes the Full shortfall to amplitude heterogeneity. On CIFAR-10 and ImageNet, amplitude-reducing normalizations move angular location toward the references and narrow the Full-Profiled gap, an observational counterpart to the controlled mixture. Across four pretrained convolutional neural networks, Gride-Profiled, the two-nearest-neighbor estimator (TWO-NN), and the maximum-likelihood estimator (MLE) exhibit similar rise-and-fall profiles, while Full-Profiled differences identify the layers most sensitive to angular calibration.
Figures & tables
| Estimator | MPE (%) | error | failed | median time (s) |
|---|---|---|---|---|
| MiND–Full (DANCo) | 6.33 | 0.138 | 0 | 0.03 |
| TWO-NN | 11.12 | 0.442 | 0 | 0.01 |
| MiND–ML | 13.58 | 0.537 | 0 | 0.06 |
| MLE | 18.84 | 0.596 | 0 | 0.05 |
| ESS | 20.20 | 0.417 | 0 | 101.61 |
| TLE | 20.45 | 0.667 | 0 | 0.51 |
| Full | Profiled | ||||||
|---|---|---|---|---|---|---|---|
| Dataset | MiND | Gride | MiND | Gride | TWO-NN | ||
| MNIST digit 3 | 20.39 | 20.39 | 20.20 | 20.00 | 14.88 | 1.166 | 41.3 |
| MNIST digit 7 | 14.40 | 14.40 | 14.80 | 14.20 | 12.19 | 1.157 | 27.7 |
| CIFAR-10 bird | 18.78 | 15.80 | 34.00 | 33.20 | 25.55 | 0.898 | 63.2 |
| CIFAR-10 cat | 21.21 | 17.60 | 32.80 | 32.20 | 26.11 | 0.946 | 56.8 |
| ImageNet koala | 24.86 | 20.71 | 45.00 | 38.80 | 31.32 | 0.934 | 90.1 |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Data | reference min | reference max | observed | gap | |
|---|---|---|---|---|---|
| 547 | ImageNet koala | 1.142 | 1.443 | 0.934 | 0.208 |
| 648 | ImageNet butterfly | 1.144 | 1.447 | 0.915 | 0.229 |
| 1010 | MNIST 3 | 1.150 | 1.464 | 1.166 | |
| 1028 | MNIST 7 | 1.150 | 1.467 | 1.157 | |
| 5000 | CIFAR-10 bird | 1.169 | 1.495 | 0.898 | 0.271 |
| 5000 | CIFAR-10 cat | 1.169 | 1.495 | 0.946 | 0.223 |
| Manifold | CorrInt | MiND–Full (DANCo) | ESS | FisherS | MADA | MLE | MiND–ML | TLE | TWO-NN | lPCA | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| M10a_Cubic | 10 | 8.6 | 10.1 | 10.2 | 10.3 | 9.2 | 8.7 | 8.9 | 9.6 | 9.1 | 11.0 |
| M10b_Cubic | 17 | 12.7 | 17.1 | 17.3 | 17.0 | 13.9 | 13.2 | 13.7 | 14.2 | 14.2 | 18.0 |
| M10c_Cubic | 24 | 16.2 | 24.5 | 24.4 | 24.0 | 18.0 | 17.2 | 18.0 | 18.1 | 18.8 | 25.0 |
| M10d_Cubic | 70 | 31.8 | 70.6 | 70.0 | 57.1 | 36.8 | 35.7 | 38.0 | 35.0 | 40.2 | 71.0 |
| M11_Moebius | 2 | 2.0 | 2.0 | 2.5 | 2.0 | 2.1 | 2.0 | 2.0 | 2.2 | 2.0 | 3.0 |
| M12_Norm | 20 | 12.7 | 20.0 | 19.8 | 20.0 | 16.2 | 15.5 | 16.3 | 15.5 | 17.0 | 20.0 |
| Objective | MPE (%) | Signed error (%) |
|---|---|---|
| MiND distance-only | ||
| Gride distance-only | ||
| Full angle-only | ||
| Profiled angle-only | ||
| MiND–Full | ||
| MiND–Profiled |
| Setting | MiND–Full | Gride–Full | MiND–Profiled | Gride–Profiled | TWO-NN |
|---|---|---|---|---|---|
| Neighborhood sweep ( ) | |||||
| 5 | 6.04 | 7.37 | 5.84 | 6.45 | 11.91 |
| 10 | 6.24 | 9.50 | 6.73 | 9.39 | 11.91 |
| 15 | 7.18 | 13.46 | 7.60 | 13.53 | 11.91 |
| 20 | 8.09 | 16.78 | 8.49 | 16.91 | 11.91 |
| Sample-size sweep ( ) | |||||
| MiND–Full | Gride–Full | MiND–Profiled | Gride–Profiled | |
| 0 | 6.75 0.41 | 9.39 0.38 | 6.82 0.38 | 9.41 0.26 |
| 0.05 | 7.67 0.49 | 9.37 0.34 | 7.69 0.28 | 9.32 0.28 |
| 0.1 | 11.38 0.93 | 9.16 0.53 | 11.36 0.69 | 9.05 0.50 |
| 0.2 | 16.48 0.51 | 10.96 0.55 | 15.84 0.32 | 10.33 0.65 |
| 0.4 | 27.74 0.77 | 17.64 0.58 | 27.32 0.94 | 16.96 0.43 |
| Restricted subset: 17 manifolds (excluding with ) | ||||
| Objective | Estimated ID | MPE (%) |
|---|---|---|
| MiND distance-only | ||
| Gride distance-only | ||
| Full angle-only | ||
| Profiled angle-only | ||
| MiND–Full | ||
| MiND–Profiled |
| Distance-only | Full | Profiled | ||
|---|---|---|---|---|
| raw | centered radial | contrast-norm. | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Dataset | Full | Profiled | Full | Profiled | Full | Profiled | |||
| MNIST 3 | 1.166 | 20.4 | 20.2 | 1.198 | 20.2 | 20.0 | 1.135 | 20.8 | 20.8 |
| MNIST 7 | 1.157 | 14.4 | 14.8 | 1.201 | 14.8 | 14.8 | 1.143 | 14.8 | 14.8 |
| CIFAR-10 bird | 0.898 | 18.8 | 34.0 | 0.982 | 22.5 | 33.0 | 1.064 | 28.2 | 34.0 |
| CIFAR-10 cat | 0.946 | 21.2 | 32.8 | 1.030 | 24.4 | 32.8 | 1.087 | 30.6 | 35.4 |
| ImageNet koala | 0.934 | 24.9 | 45.0 | 1.028 | 40.6 | 53.4 | 1.080 | 72.2 | 70.0 |
| Source | Class | |||||
|---|---|---|---|---|---|---|
| CIFAR-10 | airplane | 5000 | 3072 | 0.939 | 0.291 | -0.08 |
| CIFAR-10 | automobile | 5000 | 3072 | 1.037 | 0.219 | -0.04 |
| CIFAR-10 | bird | 5000 | 3072 | 0.898 | 0.330 | -0.10 |
| CIFAR-10 | cat | 5000 | 3072 | 0.946 | 0.256 | -0.08 |
| CIFAR-10 | deer | 5000 | 3072 | 0.903 | 0.312 | -0.13 |
| CIFAR-10 | dog | 5000 | 3072 | 0.938 | 0.243 | -0.10 |
| Architecture | Peak layer | depth (%) | Full | Profiled | Median paired Full Profiled | |
|---|---|---|---|---|---|---|
| AlexNet | second max-pooling checkpoint | 22.2 | 0.800 | 17 | 115 | -100 |
| VGG-16 | second max-pooling checkpoint | 23.5 | 0.802 | 18 | 197 | -179 |
| ResNet-18 | second residual stage | 47.4 | 0.916 | 37 | 248 | -214 |
| ResNet-34 | second residual stage | 42.9 | 0.919 | 37 | 245 | -208 |
Intrinsic Dimensionality
Intrinsic dimensionality measures the effective degrees of freedom underlying data embedded in high-dimensional spaces.
See all 56 papers