TL;DR
ArtifactLinker introduces a novel way to automatically discover state-of-the-art (SOTA) machine learning models for any given dataset by treating the HuggingFace ecosystem as a giant, interconnected graph. By combining Graph Neural Networks (GNNs) to rank promising model-dataset pairings with LLM-powered coding agents to execute and verify the results, the framework successfully uncovers hidden, unrecorded SOTA performance in the wild while minimizing computational costs.
What Problem Does This Paper Address?
With the explosive growth of platforms like HuggingFace, researchers and engineers have access to tens of thousands of open-source models and datasets. However, this abundance creates a massive discovery problem: How do we know which model actually achieves the best performance (SOTA) on a specific dataset?
Answering this through brute force is impossible because testing every model against every dataset requires writing and executing an astronomical number of code combinations. Furthermore, academic papers often report results without linking them to executable code, and many highly capable models shared online lack formal publications entirely. This paper tackles the challenge of automating SOTA discovery efficiently without exhaustively running every possible combination.
Methods
The authors formalize the HuggingFace ecosystem as an artifact graph, where nodes represent models, datasets, papers, and codebases, and edges represent relationships like fine-tuning, citations, or evaluation metrics (e.g., F1 scores).
To find missing SOTA links without burning infinite compute, they propose ARTIFACTLINKER, a two-stage "rank-then-verify" pipeline:
- Link Ranking (Graph Modeling): Instead of just predicting performance scores, the system models two distinct subproblems to avoid selection bias: compatibility (Can this model actually run on this dataset?) and performance (How well will it do?). A GNN encoder generates node embeddings, and the final ranking score is a multiplication of the compatibility probability and the predicted score. This naturally filters out incompatible pairs.
- Link Verification (Self-Evolving Multi-Agent Loop): The top-ranked pairs are passed to an LLM-based multi-agent framework. A Planner agent designs an evaluation plan, an Executor agent writes and debugs the code using HuggingFace APIs, and a Reviewer distills failures into a shared memory bank. This cross-instance memory prevents the agents from repeating the same mistakes on similar datasets or models (e.g., forgetting a specific loading flag).
Datasets
The authors introduced and evaluated their framework on:
- ARTIFACTBENCH: A newly constructed benchmark dataset mapping the HuggingFace ecosystem. It contains 14,053 nodes and 51,337 edges spanning popular models and datasets (those with >1,000 monthly downloads), enriched with metadata from arXiv papers and GitHub repositories.
- NLI Case Study Matrix: For an end-to-end real-world evaluation, they mapped a dense evaluation matrix consisting of 45 candidate models across 12 representative Natural Language Inference (NLI) datasets.
Key Insights and Ideas
- The Low-Rank Secret of ML Evaluations: By applying Singular Value Decomposition (SVD) to their dense NLI evaluation matrix, the authors discovered that just 3 to 5 principal components explain over 80-91% of the performance variance. This low-rank structure explains why a relatively shallow GNN can predict model performance so accurately—the underlying interaction space is highly structured.
- GNNs Beat LLMs on Well-Connected Nodes: While LLMs possess strong textual priors, GNNs scale much better as more data becomes available. For highly connected datasets (high node degree), GNN prediction error drops monotonically, outperforming LLMs which suffer from context-window limitations when trying to ingest large neighborhoods of graph context.
- A Hybrid Strategy is Best: For "cold-start" scenarios (new datasets with few existing connections), text-based LLMs perform better. For well-connected nodes, GNNs dominate. This points toward a natural hybrid discovery architecture.
Key Results
- Real-World SOTA Discovery: ARTIFACTLINKER successfully identified that the model
sileod/deberta-v3-large-tasksource-nlihad an unrecorded test accuracy of 0.9212 on the SNLI dataset (within 1 percentage point of the leaderboard SOTA) and reached 0.920 on RobustNLI, beating the previously reported best score by a massive 23 percentage points. - Drastic Cost Reduction: The ranking model successfully recovered 50% of existing SOTA results within just 10 code executions on average, compared to over 60 executions required by standard baseline approaches.
- High Verification Reliability: The multi-agent verification loop achieved a 72.6% success rate in fully automating and reproducing code executions across 263 curated test pairs.
Limitations and Future Work
- Computational Overhead of Verification: Even though the ranking stage filters out weak candidates, the verification stage still requires actual code execution, which can become prohibitively expensive for massive LLMs or resource-intensive datasets.
- Metric Constraints: The framework currently focuses strictly on objective, quantitative metrics (like Accuracy, F1, BLEU). It cannot easily handle subjective tasks that require human evaluation or qualitative assessment.
- Dependency on Metadata Quality: Because the ranking relies on documentation summaries, incomplete or poorly written HuggingFace model cards can negatively impact the initial ranking phase.
Summary updated