← Latest papers
🤖 AI

Test Before You Deploy: Governing Updates in the LLM Supply Chain

This paper proposes a deployment-side governance framework for managing opaque Large Language Model updates through production contracts, risk-based testing, and compatibility gates to prevent silent regressions and ensure supply chain reliability.

Original authors: Mohd Sameen Chishti, Damilare Peter Oyinloye, Jingyue Li

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

Original authors: Mohd Sameen Chishti, Damilare Peter Oyinloye, Jingyue Li

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 you hire a highly skilled chef to run the kitchen for your restaurant. You give them a recipe book (your software code) and a set of rules: "The soup must be salty, the steak must be medium-rare, and the bill must be printed in a specific format."

In the old days of software, if the chef changed the recipe, they would hand you a new, clearly labeled book (a "version update"). You could check the new book before letting them cook.

But with modern AI (Large Language Models or LLMs), the chef is working in a cloud kitchen you can't see. The restaurant owner (the AI provider) secretly swaps out the spices, changes the cooking temperature, or tweaks the safety rules without giving you a new book or even telling you they changed anything. They just say, "The chef is still the same person."

This paper argues that this is dangerous. If the chef suddenly starts serving soup that is too salty, or prints the bill with typos, your restaurant suffers. The authors call this "behavioral drift"—when the AI changes its behavior silently, breaking your expectations.

Here is the simple breakdown of their solution, using the restaurant analogy:

1. The Problem: The "Silent" Chef

The paper points out that unlike regular software, AI models update constantly behind the scenes.

  • The Issue: You might be using a model today that writes perfect code, and tomorrow the same model (with the same name) might write code that crashes your system or prints the wrong format.
  • The Evidence: The authors cite real examples where AI models suddenly started refusing to do tasks they used to do, or started injecting strange characters into text, all without a "Version 2.0" announcement.

2. The Solution: A "Test Before You Serve" Framework

The authors propose a new way for the restaurant owner (the software company) to take control, rather than trusting the cloud kitchen blindly. They suggest a three-step safety system:

Step A: The "Production Contract" (The Rulebook)

Instead of hoping the chef is good, you write down a strict contract of exactly what is allowed.

  • Example: "If I ask for a JSON file, it must be valid JSON. If I ask for code, it must pass these specific security tests."
  • Why: This turns vague hopes into hard, measurable rules.

Step B: The "Risk-Category" Taste Test

Instead of just asking, "Is the food good?" (which is too vague), you test specific high-risk areas separately.

  • The Analogy: You don't just taste the whole meal. You have a specific tester for the salt (security), a specific tester for the plating (formatting), and a specific tester for the cooking time (logic).
  • The Paper's Finding: When they tested different AI models this way, they found that while the "overall taste" seemed fine, specific "risk categories" (like formatting or security) had failed. A model might be great at writing stories but terrible at following strict formatting rules, and a general test would miss that.

Step C: The "Compatibility Gate" (The Bouncer)

Before you let the chef serve the new batch of food to your customers, you run it through a bouncer.

  • How it works: The system checks the new batch against your "Rulebook" (Step A) and the "Taste Tests" (Step B).
  • The Result: If the new batch fails even one specific rule (e.g., the JSON is slightly broken), the gate blocks the update. You don't let the new version into your production system until you fix the issue or decide it's safe.

3. What They Actually Tested

The authors tried this out with a few different AI models (like Claude) to see if it worked.

  • What they did: They asked the AI to do specific tasks like writing security code, validating emails, or creating JSON files.
  • What they found: They discovered that models did change their behavior silently. For example, one model suddenly started returning empty files for security reasons, while another started adding extra explanation text when you asked for code-only.
  • The Takeaway: Their "Risk-Category" testing found these specific failures that a general "is it working?" check would have missed.

4. The Remaining Challenges (The "But...")

The paper admits this isn't a perfect, finished product yet. They found some hard problems:

  • Making the Test List: It's hard to write a perfect list of test questions. In regular software, you have math rules for testing; with AI, you have to guess what might go wrong.
  • The "Maybe" Problem: AI is unpredictable. Sometimes it passes a test, and the next time you ask the exact same question, it fails. How do you set a rule when the answer changes every time?
  • The Black Box: Since the AI provider doesn't tell you what they changed, you can't always know why the food tastes different. You just know it does.

Summary

The paper argues that we need to stop treating AI updates like magic and start treating them like supply chain risks. Just as a factory inspects incoming parts before building a car, software companies need to build their own "inspection gates" to test AI updates against their specific rules before letting them run their business. If the AI changes its behavior, the gate should catch it before it breaks your app.

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 →