A picture of the space of typical learnable tasks

Rahul Ramesh, Jialin Mao, Itay Griniasty, Rubing Yang, Han Kheng Teoh, Mark K. Transtrum, James P. Sethna, Pratik Chaudhari · DOI

Abstract

Deep learning models are often compared by their internal weights, a method that fails to capture the functional relationships between different tasks. This paper introduces a unified framework to map the "multiverse" of machine learning tasks by treating neural networks as probabilistic models in a shared prediction space. Using information-geometric tools, the authors reveal that training trajectories for various supervised, self-supervised, and meta-learning tasks converge onto a surprisingly low-dimensional manifold. This manifold's structure is shown to deeply reflect the semantic hierarchies of the underlying data, providing a geometric explanation for the success of transfer learning.

Introduction: Beyond Weight Space

A central mystery in deep learning is the efficacy of transfer learning—how a model trained on one domain (e.g., dogs) can be effectively repurposed for another (e.g., airplanes). Traditional comparisons of models rely on weight space analysis, which is often uninformative due to the high dimensionality and lack of functional alignment between different architectures.

This research shifts the focus to prediction space, characterizing models by their outputs on a fixed set of samples. By treating networks as distributions and employing the Bhattacharyya distance, the authors build a geometric map of the "space of tasks," allowing for a direct comparison of how different algorithms navigate this territory.

Methodology and Visualization

To construct their map, the authors utilize several novel techniques:

  1. Bhattacharyya Distance: A metric for comparing probabilistic models that remains robust in high dimensions without saturating.
  2. Intensive Principal Component Analysis (InPCA): A visualization technique used to embed high-dimensional model distances into a 3D space.
  3. Geodesic Progress ($t_w$): A normalized time metric ranging from 0 (initialization) to 1 (convergence), indexing a model's position along the shortest path in prediction space.
  4. Imprinting: A method to map models trained on disparate tasks into a common output space by re-initializing the final classification layer using feature centroids.
Figure 1: (a) 3D InPCA embedding of training trajectories for various ImageNet sub-tasks. (b) Cumulative explained stress showing that a few dimensions capture most of the variance. (c) Validation accuracy over training epochs.

The study benchmarks these methods on CIFAR-10 and ImageNet, specifically leveraging the WordNet hierarchy to create semantically meaningful sub-tasks such as "Vertebrates," "Dogs," and "Instruments."

Key Insights: The Geometry of Learning

The primary finding is that the manifold of learnable tasks is remarkably "thin." In ImageNet experiments, the top three dimensions of the InPCA embedding account for over 80% of the variance in model distances. This suggests that despite the complexity of the data, the space of functional solutions is highly constrained.

Furthermore, the geometry of these trajectories reflects the semantic phylogeny of the data. Models trained on related tasks (e.g., "Dogs" and "Reptiles") follow trajectories that remain closer in prediction space—clustering under a broader "Vertebrates" branch—compared to unrelated tasks like "Conveyance."

Figure 2: (a) Progress ($t_w$) on the class manifold for novel vs. non-novel classes. (b) Geodesic progress over training epochs, illustrating how different tasks approach the target manifold at varying rates.

The authors also observe that supervised learning acts as a "rising tide." Training on a specific subset of classes often yields significant progress toward the global ImageNet solution. For instance, training on a diverse set of 333 random classes results in 92% progress toward the full ImageNet model in prediction space.

Conclusion and Future Directions

This work provides a foundational "picture" of the space of tasks, demonstrating that different learning paradigms—supervised, contrastive, and meta-learning—all converge toward a shared, low-dimensional functional manifold. While the computational cost of calculating these distances is high (requiring approximately 30,000 GPU-hours for this study), the insights into the semantic-geometric alignment of tasks offer a new lens for understanding model generalization. Future work remains to extend these geometric analyses to generative models, such as Large Language Models and Diffusion models, to see if similar low-dimensional structures emerge in those domains.

Summary updated

BibTeX
@inproceedings{ramesh2023picture,
  author = {Rahul Ramesh and Jialin Mao and Itay Griniasty and Rubing Yang and Han Kheng Teoh and Mark K. Transtrum and James P. Sethna and Pratik Chaudhari},
  title = {{A picture of the space of typical learnable tasks}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=XMH3N8rteD},
}
Figure