On the Relationship Between Representation Geometry and Generalization in Deep Neural Networks

TL;DR

Study shows effective dimension of representation geometry strongly predicts deep neural network generalization.

cs.LG 🔴 Advanced 2026-01-28 4 views
Sumit Yadav
representation learning geometry deep learning neural networks generalization

Key Findings

Methodology

The study analyzes 52 pretrained ImageNet models across 13 architectures using the unsupervised geometric metric of effective dimension. After controlling for model capacity, output effective dimension shows a partial correlation of 0.75 with accuracy, while total compression shows -0.72. This method applies to both vision and NLP tasks.

Key Results

  • Effective dimension shows a partial correlation of 0.75 with accuracy after controlling for model capacity (p < 10^(-10)).
  • Total compression shows a partial correlation of -0.72 on ImageNet and CIFAR-10, indicating the importance of information refinement.
  • Effective dimension predicts performance on SST-2/MNLI and AG News with a correlation of 0.69 (p=0.004), while model size shows no significant correlation.

Significance

This study reveals a crucial link between representation geometry and neural network performance, providing a label-free predictive and causal analysis tool. The findings are significant for cross-domain model evaluation and optimization, especially in resource-constrained scenarios.

Technical Contribution

Introduces total compression as a unified geometric signature capturing network information processing and demonstrates bidirectional causality between geometric features and performance. This offers a new theoretical foundation for performance prediction across architectures and domains.

Novelty

This is the first systematic study linking effective dimension to neural network generalization and validating the universality of geometric features across domains.

Limitations

  • The method's performance under extreme noise conditions remains to be further validated.
  • It has been tested on a limited set of model architectures and datasets.

Future Work

Future research can explore broader models and datasets to validate the applicability of geometric features across different tasks and optimize the computational efficiency of geometric feature calculations.

AI Executive Summary

The generalization ability of deep neural networks has been a core issue in machine learning. Despite significant progress in architectural innovations like ResNet and EfficientNet, the theoretical understanding of why certain networks generalize better remains incomplete. This paper reveals a crucial link between representation geometry and model performance by analyzing 52 pretrained ImageNet models.

The study finds that effective dimension, an unsupervised geometric metric, strongly predicts classification accuracy. After controlling for model capacity, output effective dimension shows a partial correlation of 0.75 with accuracy, while total compression shows -0.72. This relationship is validated on ImageNet and CIFAR-10 and extends to NLP tasks.

These results indicate that geometric features provide domain-agnostic predictive and causal information about neural network performance. This discovery offers a new perspective for cross-domain model evaluation and optimization, especially in resource-constrained scenarios. Future research can further explore the applicability of geometric features across different tasks.

Deep Analysis

Background

The generalization ability of deep learning models has been a longstanding challenge. While architectures like ResNet and EfficientNet have achieved empirical success, the theoretical understanding of why some networks generalize better is still unclear. Traditional generalization bounds often fail for overparameterized networks, prompting the search for new characterization methods.

Core Problem

The core problem is how to predict and explain neural network generalization using geometric features. Existing methods often rely on labels or specific tasks, making it difficult to generalize across domains.

Innovation

The study introduces effective dimension and total compression as geometric features. The former captures representation richness, while the latter reflects information refinement. These features can predict model performance without relying on labels.

Methodology

  • �� Analyze 52 pretrained ImageNet models across 13 architectures.
  • �� Compute output effective dimension and total compression for each model.
  • �� Validate the correlation between geometric features and accuracy on ImageNet and CIFAR-10.
  • �� Extend to NLP tasks to verify universality.

Experiments

Experiments use ImageNet and CIFAR-10 datasets to analyze geometric features of 52 models. By controlling for model capacity, the study evaluates the correlation between geometric features and accuracy. The applicability of geometric features is also validated on SST-2 and AG News.

Results

Experiments show that output effective dimension has a partial correlation of 0.75 with accuracy, and total compression has -0.72. This relationship is validated across different datasets and tasks, indicating the universality of geometric features.

Applications

Geometric features can be used for model evaluation and optimization, especially in resource-constrained scenarios. They provide a label-free method for performance prediction applicable to both vision and NLP tasks.

Limitations & Outlook

The current method's performance under extreme noise conditions needs further validation, and it has been tested on a limited set of models and datasets. Future research can explore broader application scenarios.

Plain Language Accessible to non-experts

Imagine a factory where raw materials go through different machines to become products. A neural network is like this factory, where input data is the raw material, processed through multiple layers to produce an output. Effective dimension is like measuring each machine's processing ability to fully utilize the raw material. Total compression is like checking the factory's efficiency, whether it can produce high-quality products without waste. By analyzing these metrics, we can predict the factory's (network's) production efficiency (performance).

ELI14 Explained like you're 14

Imagine you're playing a super complex game where your character needs to pass through different levels. Each level is like a layer in a neural network, and your character needs to level up to pass. Effective dimension is like your character's skill points—the more skill points, the stronger the character. Total compression is like the game's difficulty setting—the higher the difficulty, the more skill points needed to pass. By analyzing these, we can predict if your character can successfully pass the game levels!

Glossary

Effective Dimension

Measures the number of dimensions contributing meaningfully to variance.

Used to predict neural network generalization ability.

Total Compression

Log-ratio of output to input effective dimensionality, reflecting information refinement.

Used to evaluate model information processing capability.

ImageNet

A large-scale visual dataset used for image classification tasks.

Used as one of the experimental datasets.

CIFAR-10

A small image dataset containing 10 classes.

Used to validate the universality of geometric features.

SST-2

A sentiment classification dataset used in natural language processing.

Used to verify the application of geometric features in NLP.

Open Questions Unanswered questions from this research

  • 1 How to validate the effectiveness of geometric features under extreme noise conditions?
  • 2 Can geometric features be generalized to more tasks and datasets?

Applications

Immediate Applications

Model Evaluation

Quickly evaluate model performance using geometric features, suitable for resource-constrained scenarios.

Long-term Vision

Cross-Domain Optimization

Optimize neural networks in different domains using geometric features to enhance generalization ability.

Abstract

We investigate the relationship between representation geometry and neural network performance. Analyzing 52 pretrained ImageNet models across 13 architecture families, we show that effective dimension -- an unsupervised geometric metric -- strongly predicts accuracy. Output effective dimension achieves partial r=0.75 ($p < 10^(-10)$) after controlling for model capacity, while total compression achieves partial r=-0.72. These findings replicate across ImageNet and CIFAR-10, and generalize to NLP: effective dimension predicts performance for 8 encoder models on SST-2/MNLI and 15 decoder-only LLMs on AG News (r=0.69, p=0.004), while model size does not (r=0.07). We establish bidirectional causality: degrading geometry via noise causes accuracy loss (r=-0.94, $p < 10^(-9)$), while improving geometry via PCA maintains accuracy across architectures (-0.03pp at 95% variance). This relationship is noise-type agnostic -- Gaussian, Uniform, Dropout, and Salt-and-pepper noise all show $|r| > 0.90$. These results establish that effective dimension provides domain-agnostic predictive and causal information about neural network performance, computed entirely without labels.

cs.LG