TL;DR
Deep neural networks typically refine representations in two stages: an initial expansion of intrinsic dimension (ID) to disentangle features, followed by compression toward the final task prediction. This paper demonstrates that representation ID peaks significantly earlier in networks trained on medical images than those trained on natural images, and discovers that this peak ID strongly correlates with the intrinsic dimension of the raw input data.
What Problem Does This Paper Address?
When deep networks process images, they map high-dimensional pixel inputs to low-dimensional representation manifolds. Prior work on natural images (primarily ImageNet) showed a characteristic “hump” in intrinsic dimensionality across layers: ID increases initially (pre-processing/expansion stage to decorrelate nuisance variations like lighting) and then steadily decreases (compression stage to extract task-relevant features).
However, deep learning insights from natural images often fail to transfer directly to specialized domains like medical imaging. It remained unclear whether layer-wise representation ID progression behaves the same way outside ImageNet, how dataset domains influence this trajectory, and what drives the maximum dimensionality a network constructs internally.
Methods
- Intrinsic Dimension (ID) Estimation: The authors measure the ID of hidden representations across all pooling, convolutional/residual blocks, and fully connected layers using a non-parametric Maximum Likelihood Estimation (MLE) estimator ($k=20$ nearest neighbors).
- Peak Depth & Dimension Metrics: They identify the relative network depth $i^*/L \in [0, 1]$ where representation ID peaks ($d_{\text{repr}}^{\text{max}}$), marking the transition between feature pre-processing/decorrelation and feature compression.
- Architectures: Six standard convolutional architectures were evaluated: VGG-13, VGG-16, VGG-19, ResNet-18, ResNet-34, and ResNet-50, all trained with Adam to maximally fit the training sets.
- Experimental Setup: Experiments were formulated as binary classification tasks evaluated over balanced sample sizes $N \in \{500, 750, 1000, 1250, 1500, 1750\}$. For natural datasets, results were averaged across 5 randomly selected class pairs.
Datasets
The study evaluates 11 datasets spanning two distinct imaging domains:
- Natural Images (4 datasets): ImageNet, CIFAR-10, SVHN, and MNIST.
- Medical Images (7 clinical tasks/datasets):
- BraTS (Brain MRI glioma detection)
- DBC (Breast MRI cancer detection)
- Prostate MRI (Cancer risk scoring)
- RSNA-IH-CT (Brain CT hemorrhage detection)
- CheXpert (Chest X-ray pleural effusion detection)
- MURA (Musculoskeletal X-ray abnormality detection)
- OAI (Knee X-ray osteoarthritis detection)
No new datasets were introduced; the benchmark suite follows existing intrinsic property pipelines.
Key Insights and Ideas
- Earlier Pre-Processing in Medical Models: Medical image representations hit peak ID significantly earlier in the network ($i^*/L \approx 0.35$) compared to natural images ($i^*/L \approx 0.57$). This suggests diagnostic medical tasks rely on lower-level, less abstract, and less hierarchical features (e.g., local textures, lesions, tissue contrast) that are decorrelated quickly, allowing compression to start early.
- Input Complexity Bounds Internal Complexity: Across all architectures and datasets, the maximum hidden representation dimension ($d_{\text{repr}}^{\text{max}}$) strongly correlates ($r = 0.81$ to $0.91$) with the intrinsic dimension of raw data in pixel space ($d_{\text{data}}$).
- The "Factor of Two" Phenomenon: Empirically, $d_{\text{repr}}^{\text{max}} \approx 2 \times d_{\text{data}}$. While networks compress data orders of magnitude below extrinsic pixel space ($\sim 10^5$), they do not compress down to the absolute minimal degrees of freedom during early expansion—likely because doing so offers diminishing returns for downstream classification in over-parameterized regimes.
Key Results
- Relative Peak Depth ($i^*/L$):
- Natural images peaked at $0.57 \pm 0.15$ of total depth ($0.40$ on ImageNet, $0.65$ on CIFAR-10, $0.77$ on SVHN, $0.47$ on MNIST).
- Medical images peaked at $0.35 \pm 0.17$ of total depth (ranging from $0.05$ on Prostate MRI to $0.65$ on OAI).
- This divergence remained consistent across all dataset sample sizes $N$.
- Peak Representation ID ($d_{\text{repr}}^{\text{max}}$):
- Natural image models peaked at an average ID of $29 \pm 10$ ($39$ for ImageNet and CIFAR-10).
- Medical image models peaked at an average ID of $21 \pm 8$ (from $6$ for Prostate MRI to $34$ for CheXpert).
- Linear Correlation ($d_{\text{repr}}^{\text{max}}$ vs. $d_{\text{data}}$):
- Strong positive correlation of $r = 0.89$ at $N = 1750$ ($r = 0.81$–$0.91$ across other sample sizes).
Limitations and Future Work
- Binary Classification Scope: Experiments were restricted to binary classification setups to standardize comparisons across disparate medical and natural tasks.
- Feature Abstractness Causality: The link between the early peak in medical models and lower feature “abstractness” is an intuitive hypothesis; the authors suggest directly testing this by training models on hierarchical super-classes (e.g., WordNet trees).
- Architecture Diversity: Evaluations focused entirely on standard CNNs (VGG and ResNet variants); large-scale vision transformers (ViTs) and self-supervised foundation models were left for future exploration.
Summary updated