ArXiv TLDR

When AI Models Become Dependencies: Studying the Evolution of Pre-Trained Model Reuse in Downstream Software Systems

🐦 Tweet
2604.17940

Peerachai Banyongrakkul, Mansooreh Zahedi, Christoph Treude, Haoyu Gao, Patanamon Thongtanunam

cs.SE

TLDR

A study finds pre-trained models (PTMs) evolve distinctly from traditional software libraries when used as dependencies, accumulating rather than being replaced.

Key contributions

  • Presents the first empirical study on how pre-trained models (PTMs) evolve as dependencies in software systems.
  • Finds PTMs are typically added late in projects and accumulate over time, unlike traditional software libraries.
  • Shows PTM changes are three times less frequent than library changes and proactively driven by capability expansion.

Why it matters

This paper reveals that pre-trained models (PTMs) evolve distinctly from traditional software libraries as dependencies. Understanding these differences is crucial for improving software maintenance and dependency management in AI-integrated systems. It calls for rethinking how PTMs are tracked and managed.

Original Abstract

Modern software systems have transitioned from purely code-based architectures to AI-integrated systems where pre-trained models (PTMs) serve as permanent dependencies. However, while the evolution of traditional software libraries is well-documented, we lack a clear understanding of how these "PTM dependencies" change over time. Unlike libraries, PTMs are characterized by opaque internals and less standardized, rapidly evolving release cycles. Furthermore, their multi-role nature enables developers to treat individual instances of a single PTM as separate functional dependencies based on their specific downstream tasks. This raises a critical question for software maintenance: do PTMs change like standard software libraries or do they follow a divergent pattern? To answer this, we present the first empirical study of downstream PTM changes, analyzing a comprehensive dataset of 4,988 releases across 323 GitHub OSS repositories that reuse open-source PTMs. Using traditional software libraries as a baseline, we find that PTMs follow a qualitatively distinct pattern. PTMs are typically added late in the project life-cycle and tend to accumulate rather than be replaced as a project matures. Our findings show that PTM changes are three times less frequent (406 of 2,814 release transitions) than library changes. PTM changes are also less routinely documented, but more likely to carry explicit rationale. Unlike libraries, which evolve reactively, PTM evolution is proactively driven by capability expansion, with a unique documented rationale of PTM testing uncertainty. Our work calls for a rethinking of how PTMs are tracked and managed as dependencies in modern software engineering.

📬 Weekly AI Paper Digest

Get the top 10 AI/ML arXiv papers from the week — summarized, scored, and delivered to your inbox every Monday.