Diagnosing Generalization Failures from Representational Geometry Markers

Chi-Ning Chou, Artem Kirsanov, Yao-Yuan Yang, SueYeon Chung

Deep neural networks often suffer from "silent failures": they perform beautifully on their training and test sets but crumble when deployed in the real world under distribution shifts. Anticipating these unseen failures remains a central challenge in artificial intelligence.

Currently, the field of Mechanistic Interpretability (MI) tries to solve this problem "bottom-up" by reverse-engineering individual neurons and circuits to build explanatory models. While insightful, MI is often too granular to provide high-level, predictive signals for model reliability in real-world deployment.

To address this, researchers have developed a "top-down" diagnostic approach inspired by medical biomarkers. Just as a doctor uses blood pressure as a biomarker for heart disease without needing to map every capillary, this paper proposes using "representational biomarkers" to flag a model’s vulnerability to generalization failure before it actually happens.

Overview of the top-down diagnostic framework, moving from marker design to prognostic discovery and real-world application.

Methods: Representational Geometry

The framework is built on the concept of Representational Geometry. Instead of looking at individual weights, the researchers treat each object class (e.g., "dog" or "cat") as a "manifold"—a point cloud in the high-dimensional space of the model's penultimate layer.

Visualizing object classes as manifolds in the high-dimensional feature space of a neural network.

To analyze these manifolds, they utilize the GLUE (Geometry Linked to Untangling Efficiency) framework, which provides three key geometric biomarkers:

  1. Effective Dimension ($D_{eff}$): Quantifies the task-relevant dimensionality of the object manifolds.
  2. Effective Radius ($R_{eff}$): Measures the spread of the manifold relative to its center.
  3. Effective Utility ($\Psi_{eff}$): Measures how efficiently the manifolds are "untangled" for classification.

The core hypothesis is that models which "over-compress" their representations to achieve high training accuracy often lose the rich, high-dimensional features needed to generalize to new classes or environments.

Experimental Validation

The authors validated their approach across two main settings to ensure robustness:

  • Prognostic Discovery: Models were trained on CIFAR-10 (In-Distribution) and evaluated via linear probing on CIFAR-100 and a resized ImageNet-1k (Out-of-Distribution).
  • Real-World Application: They analyzed 20 popular architectures from the PyTorch model zoo (including ResNet, VGG, MobileNet, and Vision Transformers) pretrained on ImageNet-1k. These were then tested on 9 OOD transfer learning datasets, including Flowers102, Stanford Cars, Places365, Food101, and Oxford-IIIT Pets.

Key Insights and Results

By systematically testing these network markers, the researchers uncovered several critical insights about model performance and selection:

The "Overspecialization" Trap

A model can achieve near-perfect accuracy on its training data by focusing on a tiny subset of "shortcut" features. Geometrically, this manifests as a collapse in manifold dimensionality ($D_{eff}$). Low $D_{eff}$ and $\Psi_{eff}$ were consistently linked to the model relying on these shortcuts rather than robust, transferable features.

Geometry > Accuracy

In many cases, two models might have identical test accuracy, but the one with "healthier" geometric markers (higher $D_{eff}$ and $\Psi_{eff}$) will perform significantly better when transferred to a new task. In the ImageNet transfer learning experiments, geometric markers predicted which model would perform better on OOD tasks 73.02% of the time. In contrast, simply picking the model with the highest ImageNet accuracy (the standard heuristic) only worked 37.22% of the time.

The v1 vs. v2 Paradox

PyTorch often releases "v2" weights for models that boast higher ImageNet accuracy than the original "v1" weights. Surprisingly, the authors found that v1 weights often possess better geometric markers. Consequently, v1 models actually perform better on OOD transfer tasks despite having lower "official" in-distribution accuracy.

These geometric patterns held true across diverse architectures (CNNs and Transformers), different optimizers (SGD and AdamW), and various hyperparameters, proving that we can assess a model's "health" using only in-distribution data.

Limitations and Future Work

While highly predictive, this framework has a few limitations:

  • Vision-Centric: The current work focuses entirely on image classification. Whether these geometric markers translate to Large Language Models (LLMs) or Reinforcement Learning remains an open question.
  • Correlation vs. Causation: The paper focuses on diagnosis rather than cure. Future work could investigate "geometry-aware" regularization techniques to force models to maintain healthier representations during training.
  • Complexity of Manifolds: The GLUE framework assumes certain symmetries in manifold structure; more complex, non-convex manifolds might require even more sophisticated geometric descriptors.

Ultimately, this work demonstrates that representational geometry can expose hidden vulnerabilities, offering a robust, top-down guide for model selection and AI interpretability.

Summary updated

BibTeX
@inproceedings{chou2026diagnosing,
  author = {Chi-Ning Chou and Artem Kirsanov and Yao-Yuan Yang and SueYeon Chung},
  title = {{Diagnosing Generalization Failures from Representational Geometry Markers}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=c2fQBcoKhU},
}
Figure