← Latest papers
💻 computer science

The Grand Software Supply Chain of AI Systems

This paper establishes the AI software supply chain as a critical area of analysis by identifying four structural gaps—verifiability, versioning, observability, and traceability—that leave AI systems vulnerable across their entire lifecycle, a risk illustrated by the massive scale and complexity of a reference stack containing nearly 400 million lines of code.

Original authors: Carmine Cesarano, Martin Monperrus

Published 2026-05-01
📖 6 min read🧠 Deep dive

Original authors: Carmine Cesarano, Martin Monperrus

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine building a massive, high-tech restaurant. In a traditional restaurant, you have a clear recipe, a list of ingredients, and a chef who follows the steps exactly. If the food tastes bad, you can trace it back to a specific ingredient or a specific step in the cooking process.

This paper argues that AI systems are like a restaurant where the recipe is written in invisible ink, the ingredients change flavor without warning, and the kitchen staff are constantly swapping out the ovens and stoves without telling anyone.

Here is the breakdown of the paper's findings using simple analogies:

1. The "Grand Supply Chain" (The Kitchen)

The authors say AI isn't just one piece of software; it's a giant chain of hundreds of different software tools working together. They call this the Software Supply Chain.

To show how huge this is, they measured a "reference stack" (a standard set of tools used by many companies). They found:

  • 48 major projects (like the main chefs).
  • 4,664 direct dependencies (the ingredients these chefs use).
  • 11,508 transitive packages (the ingredients those ingredients use).
  • 392 million lines of code (the total size of the recipe book).

The Analogy: Imagine you order a burger. You think you are just buying a burger. But in reality, the bun, the beef, the cheese, the lettuce, the knife that cut the lettuce, and the truck that delivered the beef all have their own supply chains. In AI, this chain is so deep and wide that no single person knows exactly what is inside the final "burger" (the AI model).

2. The Four Layers of the Kitchen

The paper breaks this supply chain into four distinct areas:

  • Data Acquisition (The Farm): Gathering the raw ingredients (data). This includes scraping the web, cleaning the data, and labeling it (like sorting apples by size).
  • Model Training (The Cooking): Using the ingredients to cook the meal. This is where the AI learns. It involves massive computers and complex math.
  • Inference (The Serving): Serving the meal to the customer. This is when you ask the AI a question and it answers. It involves tools that manage the flow of conversation and safety filters.
  • Cross-Cutting Substrate (The Plumbing & Electricity): The shared infrastructure (like servers, containers, and monitoring tools) that everything runs on. If the power goes out here, the whole restaurant stops.

3. The Four Big Problems (The "Gaps")

The paper identifies four major reasons why this AI supply chain is dangerous and unmanageable compared to normal software.

A. The Verifiability Gap (The "Magic Recipe" Problem)

  • Normal Software: If you write a program, you can run it again with the same code and get the exact same result. You can check the "hash" (a digital fingerprint) to prove it hasn't been tampered with.
  • AI Systems: Training an AI is like baking a cake in a storm. Even if you use the exact same recipe and ingredients, the wind (randomness in the computer's hardware) might make the cake rise slightly differently every time.
  • The Result: You cannot prove that a specific AI model was made exactly as claimed. If a hacker swaps the model for a "poisoned" one, you can't tell just by looking at the file because the "fingerprint" of a legitimate AI is never exactly the same twice.

B. The Versioning Gap (The "Silent Swap" Problem)

  • Normal Software: If you update a library, the software usually breaks immediately, or you have to explicitly say "I am using version 1.0."
  • AI Systems: AI components are tightly coupled but have no "seatbelts." For example, a specific "adapter" (a tool that helps the AI) only works with the exact version of the "base model" it was trained on.
  • The Result: If a company silently updates their AI model behind the scenes, the tools built on top of it might start failing or behaving strangely, but the system won't crash. It just gives wrong answers. There is no "undo" button to go back to the old version because the old version is gone.

C. The Observability Gap (The "Silent Failure" Problem)

  • Normal Software: If something breaks, you get an error message (a loud crash).
  • AI Systems: AI systems degrade silently. If the data changes or the model gets updated, the AI might just start giving slightly worse answers. It doesn't crash; it just gets "dumber" or more biased.
  • The Result: You might not realize the AI is broken until customers start complaining. By then, it's hard to tell which part of the supply chain caused the problem.

D. The Traceability Gap (The "Lost Lineage" Problem)

  • Normal Software: You can trace a final product back to its raw materials in a straight line (a tree).
  • AI Systems: AI lineage is a messy web. A model might be trained on a dataset that was updated, then merged with another model, then distilled into a smaller version.
  • The Result: If you find a bad ingredient (like illegal images in a training dataset), you cannot easily trace which AI models were fed that bad ingredient. The paper cites a real example where researchers found illegal content in a dataset, but they couldn't automatically tell which of the thousands of AI models trained on it were now "tainted."

4. The Conclusion

The paper concludes that we cannot have safe AI without fixing this supply chain. Currently, we are building skyscrapers on a foundation of sand. The tools we use to secure normal software (like checking hashes or locking versions) don't work for AI because AI is built on randomness and complex, shifting dependencies.

The Bottom Line: The AI industry is building a massive, complex machine, but they haven't figured out how to keep the parts from changing, how to prove what's inside, or how to trace where a broken part came from. Until they fix these four gaps, AI systems remain vulnerable to hidden attacks and silent failures.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →