NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reorganizing Workflow Evolution Provenance

David Koop, Juliana FreireTAPP 2014

TL;DR

This paper tackles the challenge of making workflow evolution provenance more compact and intuitive. They introduce algorithms to "reorganize" provenance trees by minimizing redundant actions and refactoring branches to better reflect similarities between workflows, leading to significant reductions in storage costs and improved understanding of how analyses evolve.

What Problem Does This Paper Address?

When scientists build complex computational workflows, they often iterate, making changes to existing workflows to explore different analyses or refine results. This process generates "workflow evolution provenance," which tracks how one version of a workflow leads to another. While this provenance is crucial for reproducibility and understanding the development process, the raw, step-by-step record of every user action can become incredibly large and difficult to navigate. Imagine a massive tree where each branch represents a tiny change – it's hard to see the forest for the trees! The problem is that this raw provenance doesn't always best expose the meaningful relationships and similarities between different workflow versions, making it inefficient to store and challenging to interpret.

Methods

The authors propose two main techniques to reorganize workflow evolution provenance:

  • Minimization: This technique focuses on simplifying individual paths within the provenance tree. It identifies and removes redundant "add" and "delete" actions that cancel each other out (e.g., adding a parameter and then immediately deleting it). This is akin to simplifying a mathematical expression by removing terms that sum to zero. They achieve this by identifying a "skeleton" of important nodes (user-tagged versions, nodes with multiple children, or the root) and then compacting the simple paths between these nodes.
  • Refactoring: This more advanced technique goes beyond just simplifying paths. It aims to restructure the entire provenance tree by comparing different workflow versions and re-parenting them to more similar ancestors. This is particularly useful when similar workflows exist in different branches of the tree, leading to repeated actions. They achieve this by computing the "cost" (number of actions) to transform one workflow into another and then building a new, more efficient tree (specifically, a minimum spanning tree) based on these costs. This allows workflows to branch off from more appropriate historical points, reducing overall redundancy.

Datasets

The authors evaluated their techniques using workflow evolution provenance traces collected from VisTrails [8]. They used 324 traces from students in a visualization course. These traces were processed to convert "change" actions into delete-add pairs for simplification.

Key Insights and Ideas

  • Provenance is more than just data lineage: Understanding how a computation evolved is as important as knowing what data was used.
  • Raw provenance can be inefficient: The direct recording of every user action, while accurate, can lead to massive, unmanageable provenance trees.
  • Reorganization unlocks value: By intelligently restructuring provenance, we can significantly reduce storage costs and make it easier to understand similarities and differences between analyses.
  • Minimization vs. Refactoring: Minimization is a good first step for cleaning up individual paths, but refactoring is crucial for addressing broader structural redundancies by allowing workflows to be re-parented.
  • The cost of comparison: Refactoring, while powerful, is computationally more expensive because it requires comparing many pairs of workflows, whereas minimization is a more linear process.

Key Results

The experiments demonstrated significant improvements in provenance compactness:

  • Node Reduction: Minimization reduced the number of nodes in the provenance trees to an average of 0.41 times the original size, while refactoring achieved an average of 0.35 times the original size.
  • Storage Cost Reduction: For the example shown in Figure 2, the original tree had a storage cost of 2101 actions. Minimization reduced this to 1063, and refactoring further reduced it to 785.
  • Speed: Minimization was very fast, taking an average of 0.023 seconds. Refactoring was slower, averaging 5.67 seconds, reflecting its more complex comparison process.

Limitations and Future Work

  • Limitations: The paper acknowledges that the refactoring technique is computationally more intensive due to the pairwise comparisons required. They also note that while they convert "change" actions to delete-add pairs for simplification, these could be reconstructed as a post-processing step.
  • Future Work: The authors plan to explore techniques for building evolution provenance from collections of workflows using heuristics, similar to phylogenetic tree construction. They also aim to investigate using directed graphs (instead of trees) to create even smaller provenance footprints, though this presents challenges in merging different explorations.

Summary updated

BibTeX
@inproceedings{koop2014reorganizing,
  author = {David Koop and Juliana Freire},
  title = {{Reorganizing Workflow Evolution Provenance}},
  booktitle = {TAPP},
  year = {2014},
  url = {https://openreview.net/forum?id=Jg2gkXrdgA},
}
Figure