Understanding Data Science Lifecycle Provenance via Graph Segmentation and Summarization
Authors:
- 1 April 2019
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1710-1713
Abstract
Increasingly modern data science platforms today have non-intrusive and extensible provenance ingestion mechanisms to collect rich provenance and context information, handle modifications to the same file using distinguishable versions, and use graph data models (e.g., property graphs) and query languages (e.g., Cypher) to represent and manipulate the stored provenance/context information. Due to the schema-later nature of the metadata, multiple versions of the same files, and unfamiliar artifacts introduced by team members, the resulting "provenance graphs" are quite verbose and evolving; further, it is very difficult for the users to compose queries and utilize this valuable information just using standard graph query model. In this paper, we propose two high-level graph query operators to address the verboseness and evolving nature of such provenance graphs. First, we introduce a graph segmentation operator, which queries the retrospective provenance between a set of source vertices and a set of destination vertices via flexible boundary criteria to help users get insight about the derivation relationships among those vertices. We show the semantics of such a query in terms of a context-free grammar, and develop efficient algorithms that run orders of magnitude faster than state-of-the-art. Second, we propose a graph summarization operator that combines similar segments together to query prospective provenance of the underlying project. The operator allows tuning the summary by ignoring vertex details and characterizing local structures, and ensures the provenance meaning using path constraints. We show the optimal summary problem is PSPACE-complete and develop effective approximation algorithms. We implement the operators on top of Neo4j, evaluate our query techniques extensively, and show the effectiveness and efficiency of the proposed methods.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- ProvDB2017
- Data Management Challenges in Production Machine Learning2017
- Towards Unified Data and Lifecycle Management for Deep Learning2017
- M odel DB2016
- Summarizing answer graphs induced by keyword queriesProceedings of the VLDB Endowment, 2013
- The Open Provenance Model core specification (v1.1)Future Generation Computer Systems, 2011
- Provenance in Databases: Why, How, and WhereFoundations and Trends® in Databases, 2009
- Subcubic algorithms for recursive state machines2008
- Program analysis via graph reachabilityInformation and Software Technology, 1998
- Graph-theoretic methods in database theory1990