arXiv:2610.39981cs.DCOct 2026

Manuscript Offprint

arXiv:2610.39981

TRACEs: Fine-Grained Embedded Provenance for Distributed Scientific Workflows

Ty Anderson, Kin Ng, Rajiv Mayani, Jay Lofstead, Ewa Deelman, Michela Taufer

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Ty Anderson

University of Tennessee

Knoxville, TN, USA

tander78@vols.utk.edu

Jay Lofstead

Sandia National Laboratories

Albuquerque, NM, USA

gflofst@sandia.gov

Kin Wai NG

University of Tennessee

Knoxville, TN, USA

kng2@utk.edu

Ewa Deelman

University of Southern California

Marina del Rey, CA, USA

deelman@isi.edu

Rajiv Mayani

University of Southern California

Marina del Rey, CA, USA

mayani@isi.edu

Michela Taufer

University of Tennessee

Knoxville, TN, USA

mtaufer@utk.edu

Abstract—Large-scale scientific workflows run on distributed HPC resources, making it hard to explain how scientific data products are generated and why similar workflow executions can yield very different results. Existing systems usually focus on either distributed workflow execution or provenance management and rarely treat fine-grained provenance as an intrinsic property of distributed scientific data artifacts. We present TRACEs (Traceable Runtime for Advanced Containerized Executions), a provenance architecture for distributed containerized scientific workflows that embeds data lineage and execution context directly in every generated data artifact. By decoupling provenance from workflow orchestration, TRACEs generalizes artifact-centric provenance from local container runs to distributed workflows while remaining compatible with existing workflow management systems. We evaluate TRACEs on a seven-stage E. coli variant-calling workflow distributed across multiple HPC nodes. Our results show 100% provenance completeness under distributed execution, about 59% less intermediate storage via sparse IMG containers, and runtime and zero-copy I/O throughput comparable to fixed-size SIF containers, plus provenance-guided explanations of workflow variability that trace a 200-fold difference in variant counts to differences in input sequencing data without re-executing the workflow.

Index Terms—Provenance, Reproducibility, Containerized workflows, Apptainer, Pegasus, DAG workflows, Distributed computing, Bioinformatics

I. INTRODUCTION

Science relies on trust, which depends on explaining outcomes, yet large-scale computational workflows often yield opaque results. Figure 1 shows eight E. coli sequencing datasets, processed with the same seven-stage variant-calling pipeline and 4.6M base pairs (bp) reference genome [1], producing final variant counts from 4 to 790—a 200-fold range with no clear explanation. Input data are one plausible source: SRR2584866 has nearly 40% duplicate reads and 2.8 million 150 bp sequences, while SRR2584859 has under 17% duplicates and 2.1 million 101 bp sequences. Testing this hypothesis requires provenance describing workflow inputs, intermediate artifacts, execution environment, software versions, and commands—without it, the 200-fold variation remains unexplained. That missing information is provenance. Provenance describes how a data product was produced: its origins, transformations, computational steps, and supporting metadata [2], [3]. We distinguish data lineage, which traces artifacts from inputs to outputs, from execution context, which records the software, parameters, and commands used. Together they turn an opaque output into a result that can be inspected, reproduced, and reused

As scientific workflows grow in scale, thousands of interdependent tasks run across distributed HPC resources, where data are created, moved, and archived; provenance must be captured automatically and remain inseparably linked to every artifact. A natural question is whether existing workflow management systems already solve this, since systems such as Pegasus record which tasks ran and with what inputs and outputs. They do not solve it in the sense that matters here: that

Figure

Fig. 1: Final SNP and INDEL counts from eight E. coli sequencing runs processed using the same pipeline and reference genome. The runs differ in duplicate rate (13%–39%), read length (101–150 bp), and sequence count (1.1M–2.8M), yet their final variant counts range from 4 to 790, a 200-fold spread with no immediately obvious explanation.

record lives in an external database, separate from the data itself, and is easily lost once an artifact is copied, archived, or reused outside its original workflow run. Distributed execution compounds this—when a task runs on a remote node, the tooling that would otherwise capture provenance inline is absent there, so provenance capture must run at the point of computation and embed the record directly inside the artifact rather than in an external system. Existing systems typically emphasize either distributed execution or provenance management, but rarely preserve fine-grained provenance as an intrinsic property of distributed data artifacts.

We present TRACEs (Traceable Runtime for Advanced Containerized Executions), an architecture that automatically captures fine-grained provenance at the workflow-aware container level and embeds it inseparably, but invisibly, within every generated artifact, independent of the underlying off-the-shelf workflow engine. Building on provenance-aware containers for local execution [4], TRACEs generalizes this architecture to distributed execution across many remote nodes, the setting in which capturing provenance is hardest because the tooling that constructs provenance-aware workflows is absent where each task runs. We instantiate this architecture using an enhanced Apptainer plugin, Pegasus for distributed orchestration, and a lightweight provenance-writer that runs alongside each task to capture and embed provenance on the remote compute node. We further introduce dynamically resizable sparse IMG data containers, removing the need to over-provision fixed storage for every intermediate artifact and substantially reducing storage footprint at scale (Section IV-C). Beyond reproducibility, embedded provenance supports provenance-guided analysis: researchers can traverse UUID-linked artifacts and execution records to identify where histories diverge and explain unexpected results without re-executing the workflow. This paper studies the following research questions:

• RQ1: Can fine-grained provenance remain complete and artifact-embedded when tasks are distributed across many remote nodes, where the tooling that constructs provenance-aware workflows is absent at execution time?

• RQ2: Can artifact-centric provenance be preserved with practical storage, I/O, and runtime costs?

• RQ3: Can embedded provenance enable post hoc explanation of workflow outputs without re-executing the workflow?

To answer these research questions, this paper makes the following contributions:

  1. We define an architecture for automatically capturing fine-grained provenance at the workflow-aware container level and embedding it inseparably, but invisibly, within every scientific data artifact, independent of the underlying workflow engine.

  2. We instantiate this architecture as TRACEs, built on an enhanced Apptainer plugin, Pegasus, and a portable provenance-writer, and demonstrate that it preserves complete, artifact-embedded provenance when tasks are distributed across multiple remote nodes, where the workflow construction layer is absent at execution time. We further introduce dynamically resizable sparse IMG data containers, eliminating the static, over-provisioned storage required by fixed-size containers in prior work.

  3. We show that embedded provenance enables provenance-guided explanation of workflow variability by tracing execution histories to identify the sources responsible for output differences without re-execution.