arXiv(opens in a new tab)cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.27672

Reusing Assurance Evidence in AI Pipelines: Validity Conditions, a Fail-Closed Release Gate, and a Replay of 714 Public Data Version Control Pipelines

Atanu Mukhopadhyay, Shravya Reddy Nalla

Abstract

Rerunning every governance control after every change to an artificial intelligence (AI) pipeline is expensive, so teams reuse earlier results. Reuse is safe only if each control's declared dependencies cover everything that can change its outcome, and only if the release gate checks that reused evidence describes the candidate being released. This article makes both conditions explicit and measures how often the first fails in practice. It defines when a signed evidence record is valid for a candidate and gives sufficient conditions under which change-local re-execution reaches the same release decision as rerunning every control. A reference gate implementing these checks with Ed25519 digital signatures blocks eight of nine manipulation scenarios, against one for a gate that trusts the planner and three for a gate that only verifies signatures; a dependency the policy never declared passes every gate. A replay of 38,083 commits from 714 public Data Version Control (DVC) pipelines measures that failure mode. Reusing stage results according to declared dependencies avoids 83.4% of stage executions, but in 3.3% of commits it reuses a stage whose imported code or referenced configuration changed, and 31% of pipelines are affected. A manual audit confirms the undeclared dependency in 36 of 40 sampled events. Evaluation stages, whose outputs are the evidence, are the most exposed. Adding each stage's static import closure lowers stale reuse to 0.4% while still avoiding 81.6% of executions; sampled shadow re-execution removes far less, and rerunning everything after unexplained changes avoids only 45.3%.

Keywords: AI governance, continuous assurance, MLOps, incremental computation, data provenance, mining software repositories

arXiv:2610.27672v1

1. Introduction

An AI release is assembled from data, feature code, training code, configuration, model weights, evaluation sets, and the environment that runs them. Governance controls examine that assembly: data validation, performance and fairness evaluation, robustness and privacy tests, security scans, and provenance checks. Running all of them after every change is defensible but costly, and much of the cost buys nothing when a change touches only documentation or a component that a control never reads. Pipelines therefore reuse earlier results, sometimes explicitly through stage caches such as DVC [1] and the caching built into ML platforms [2], and sometimes by convention.

Reuse can fail in two different ways. The reuse decision can be wrong because the control depends on something its declaration omits, so a cached result describes a computation that no longer exists. Or the evidence presented at release can differ from what it claims to be: produced for an earlier artifact version, copied from another deployment, edited after signing, signed by the team whose work it certifies, or produced under a superseded policy. Recent systems make governance requirements and evidence machine-checkable [3, 4, 5, 6]. To our reading of their published descriptions, none of them defines when a cached result may stand in for a fresh one after the pipeline changes, and no study we are aware of measures how often the dependency declarations of real ML pipelines are complete enough for reuse to be safe.

This article addresses both problems and asks four questions.

RQ1. Which manipulations of reused evidence does a gate that checks evidence validity stop, and which does it not?

RQ2. In real ML pipelines, how much re-execution does dependency-based reuse avoid, and how often does it reuse a result whose undeclared inputs changed?

RQ3. How do alternative invalidation rules, including sampled shadow re-execution, trade avoided work against stale reuse, and what does verification cost at scale?

RQ4. When a stage is reused stale, does executing it again actually produce different output?

The contributions are as follows. First, a validity model for signed assurance evidence and sufficient conditions under which change-local re-execution is decision-equivalent to exhaustive re-execution (Section 4). The model separates the planner, which only decides what to run, from the gate, which decides what may be released and never consults the planner. Second, a reference implementation of the planner and gate with Ed25519 signatures [7, 8], evaluated against nine manipulation scenarios and two weaker gate designs that are common in practice (Section 5). Third, a replay of 38,083 first-parent commits from 714 public DVC pipelines that compares five invalidation rules against a static reference of each stage's code and configuration.

dependencies (Sections 6–7). The replay is checked three ways: a manual audit of sampled events, sandboxed re-execution of flagged stages before and after the change, and a case study of a public-sector valuation pipeline whose maintainers later corrected the same gap. Fourth, an evaluation of sampled shadow re-execution on the real sequence of stale-reuse events, and measurements of planning and verification cost, including parallel throughput.

The study does not claim that static analysis recovers every semantic dependency, and the public repositories it mines are not a sample of industrial pipelines. Its narrower conclusion is that the completeness of dependency declarations, rather than cryptography or gate logic, determines whether evidence reuse is safe, and that inexpensive automatic augmentation of those declarations recovers most of the lost safety.

References (31)