Charting and Navigating Hugging Face's Model Atlas

Eliahu Horwitz, Nitzan Kurer, Jonathan Kahana, Liel Amar, Yedid Hoshen · OpenReview

Introduction: The Cambrian Explosion of AI Models

The machine learning ecosystem is currently experiencing a "Cambrian explosion." Public repositories, most notably Hugging Face, have become the primary distribution hubs for the AI community. As of late 2024, these platforms host millions of models, with the rate of new uploads accelerating dramatically.

The rapid growth of monthly model creations on Hugging Face from 2022 to 2024.

However, this abundance comes with a significant challenge: most of these models are effectively "lost." Documentation is sparse; over 60% of models lack a basic "Model Card," and fewer than 30% specify their lineage (the base model they were fine-tuned from). Without this metadata, the repository is a flat, unstructured list of files rather than a navigable map of innovation. This lack of structure hinders model discovery, meta-ML research, and critical "model forensics" tasks like tracing the origin of biases or intellectual property.

The Model Atlas: A Global Graph of AI Evolution

To address this, we propose the Model Atlas, a unified structure designed to chart the world's model population. The Model Atlas is conceptualized as a Directed Acyclic Graph (DAG) where:

  • Nodes represent individual models.
  • Edges represent transformations, such as fine-tuning, quantization, or model merging.
Conceptual overview of the Model Atlas: transitioning from a cloud of unstructured models to a structured graph, and identifying the missing information gaps.

By mapping these relationships, we can transform a chaotic repository into a structured ecosystem, enabling researchers to navigate the complex web of model derivatives and understand the evolutionary paths of modern AI.

Methodology: Weight-Space Learning

The primary technical hurdle in building the Model Atlas is the missing metadata. To recover these "missing links," we employ Weight-Space Learning, treating the neural network weights themselves as the primary data source to infer model properties.

Overcoming Permutation Symmetry

A major challenge in weight-space analysis is "permutation symmetry"—the fact that neurons in a layer can be reordered without changing the model's function. While previous approaches used expensive equivariant networks, we advocate for more scalable strategies:

  1. Probing: Measuring a model's outputs on a fixed set of inputs to characterize its behavior.
  2. Connected Components: Focusing on models within the same family where neuron ordering is often preserved during the fine-tuning process.

Leveraging Temporal and Structural Heuristics

We also incorporate non-weight-based priors to refine the graph:

  • Temporal Dynamics: Upload timestamps provide a strong constraint; in 99.7% of cases, a parent model is uploaded before its child.
  • Structural Patterns: We distinguish between "Snake" patterns (sequential refinement) and "Fan" patterns (parallel hyperparameter sweeps) by analyzing the correlation between weight distances and temporal gaps.

Key Insights from the Atlas

Analyzing the current state of the Hugging Face hub through the lens of the Model Atlas reveals several striking trends:

  • Domain Divergence: Natural Language Processing (NLP) models exhibit "deep" lineages with long chains of iterative refinement. In contrast, Computer Vision (CV) models are typically "flat," mostly consisting of direct descendants of a few foundation models.
  • The Quantization Dead End: Quantized models (compressed for deployment) are almost exclusively "leaf nodes." 99.41% of them are never used as a base for further training.
  • Model Merging: The practice of merging different models is 35 times more common in NLP than in CV, highlighting a potential area for cross-pollination in vision research.

Results and Performance

Our atlas recovery algorithms were tested against ground-truth "maps" of major model families, including Qwen-2.5, Llama-3.2, and Stable-Diffusion-2. The proposed methods achieved lineage reconstruction accuracies of 78.9%, 80.4%, and 85.1% respectively, significantly outperforming previous state-of-the-art methods which typically ranged between 19% and 50%.

Furthermore, by utilizing "Hub Averaging"—inferring a model's traits from its neighbors in the graph—we improved the accuracy of predicting missing licenses by 35% and pipeline tags by 19% compared to global baselines.

Conclusion and Future Directions

Charting the world's models is a massive undertaking that requires moving beyond simple file lists toward a structured Model Atlas. While our current approach demonstrates the power of weight-space learning, challenges remain in scaling these methods to millions of models and handling "black-box" models accessible only via APIs. We believe that building and maintaining this atlas will be a vital community effort, providing the transparency and structure needed to navigate the future of AI.

Summary updated

BibTeX
@inproceedings{horwitz2025charting,
  author = {Eliahu Horwitz and Nitzan Kurer and Jonathan Kahana and Liel Amar and Yedid Hoshen},
  title = {{Charting and Navigating Hugging Face's Model Atlas}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=BzFMBNqg7R},
}
Figure