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

Hierarchical Models of Provenance

Peter Buneman, James Cheney, Egor V. Kostylev

TL;DR

This paper introduces a novel framework for representing and querying provenance information at multiple levels of detail, moving beyond simple graph structures. By defining Hierarchical OPM (HOPM) graphs, the authors provide a way to zoom in and out of computational histories, making provenance more manageable and useful for complex systems.

What Problem Does This Paper Address?

Understanding the "who, what, when, where, and why" of data generation and transformation – known as provenance – is crucial for debugging, reproducibility, and auditing. While models like the Open Provenance Model (OPM) exist, they often represent provenance as a flat graph, which can become overwhelmingly complex for large-scale computations. The challenge is to represent provenance in a way that allows users to view it at different levels of granularity, from a high-level overview to fine-grained details, without losing essential information. This paper addresses the need for a structured, hierarchical approach to provenance that can be derived from program execution.

Methods

The core contribution is the definition of Hierarchical OPM (HOPM) graphs. These extend the basic OPM graph by incorporating a call tree representing the execution flow of a program and a mapping that links calls in the tree to their corresponding bodies (sets of nodes) within the OPM graph.

Key aspects of their method include:

  • OPM Graph Definition: A formal definition of OPM graphs as labelled bipartite directed acyclic multigraphs with artefact nodes (data) and process nodes (computations).
  • HOPM Graph Definition: A triple $(G, T, M)$ where $G$ is an OPM graph, $T$ is a call tree, and $M$ is a mapping that associates calls in $T$ with their corresponding nodes in $G$.
  • Views: The ability to define "views" of an HOPM graph. A view is essentially a standard OPM graph derived from an HOPM graph by expanding specific subtrees of the call tree, allowing users to focus on particular levels of abstraction.
  • ProvL Language: A simple functional language called ProvL is introduced to demonstrate how HOPM graphs can be automatically generated from program execution. ProvL supports basic operations, conditionals, user-defined functions, and importantly, a mapf() higher-order function for list processing.

Datasets

Not discussed in the paper. The paper focuses on a formal language and model, not on training or evaluating on specific datasets.

Key Insights and Ideas

  • Hierarchical Abstraction is Key: The most significant insight is that provenance doesn't have to be a flat, unmanageable graph. By structuring it hierarchically, we can create "views" that cater to different user needs and computational scales.
  • Connecting Program Structure to Provenance: The ProvL language demonstrates a direct link between program execution and the generation of HOPM graphs. This suggests that provenance can be an intrinsic output of computation, not just an afterthought.
  • The Power of mapf(): The inclusion of a higher-order mapf() function highlights how the hierarchical model can elegantly handle list processing and data-level granularity, showing that HOPM can represent both workflow and data structure provenance.
  • Views as a Powerful Query Mechanism: The concept of views suggests a way to translate complex provenance queries into simpler ones on specific levels of abstraction, making provenance analysis more tractable.

Key Results

The paper presents formal definitions for OPM and HOPM graphs and demonstrates their application through the ProvL language. Examples are provided showing how HOPM graphs and their views can be generated from simple programs. The paper outlines how the model can handle basic workflows, conditionals, user-defined functions, and list processing with the mapf() function.

Limitations and Future Work

The authors acknowledge that their definition of HOPM graph validity is basic and could be made more precise, particularly regarding compatible expansions of function calls. They also note that their language uses abstract syntax, while many real-world workflows are graphical and may involve concurrency or streaming, which are not handled by ProvL.

Future work directions include:

  • Exploring the relationship between their "views" and existing "accounts" in provenance systems, and how views relate to trace slicing.
  • Developing methods for translating provenance queries on full graphs to queries on views and identifying optimal views for specific queries.
  • Precisely capturing the provenance expressiveness of different workflow languages.
  • Extending the model to handle graphical notations, concurrency, and streaming.
  • Investigating provenance for program optimization, the provenance of provenance graphs themselves, and invariants like semirings.

Summary updated

BibTeX
@inproceedings{buneman2012hierarchical,
  author = {Peter Buneman and James Cheney and Egor V. Kostylev},
  title = {{Hierarchical Models of Provenance}},
  booktitle = {TaPP},
  year = {2012},
}
Figure