Learning Lineage Constraints for Data Science Operations

📅 2025-06-22
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
In cross-library data science workflows, existing data lineage representations are tightly coupled to library-specific data models and operational paradigms, hindering tasks such as cross-library debugging. This paper proposes XProv, a unified intermediate representation architecture that integrates concrete data transformation graphs with abstract logical schemas to enable parameterized lineage modeling and correlation analysis for both known and unknown cross-library operations. Inspired by compiler intermediate representations, XProv decouples lineage constraints into extensible logical schemas and supports automatic schema inference from execution traces. Experiments demonstrate that XProv is the first approach to achieve unified logical lineage representation and schema learning across multiple libraries, providing a scalable foundational framework for cross-library provenance tracking, debugging, and verification.

Technology Category

Data Mining & Knowledge Management: Representing, Reasoning, and Using Provenance, TrustKnowledge Representation and Reasoning: Description LogicsConstraint Satisfaction and Optimization: Satisfiability Modulo Theories

Application Category

Security and Privacy: Data transparency and provenanceSemantics and Knowledge: Provenance, trust, security and privacy, and ethical issues in managing semantic dataGraph Algorithms and Modeling for the Web: Foundation models and LLMs for Web-related graphs
📝 Abstract
Data science workflows often integrate functionalities from a diverse set of libraries and frameworks. Tasks such as debugging require data lineage that crosses library boundaries. The problem is that the way that "lineage" is represented is often intimately tied to particular data models and data manipulation paradigms. Inspired by the use of intermediate representations (IRs) in cross-library performance optimizations, this vision paper proposes a similar architecture for lineage - how do we specify logical lineage across libraries in a common parameterized way? In practice, cross-library workflows will contain both known operations and unknown operations, so a key design of XProv to link both materialized lineage graphs of data transformations and the aforementioned abstracted logical patterns. We further discuss early ideas on how to infer logical patterns when only the materialized graphs are available.
Problem

Research questions and friction points this paper is trying to address.

Representing data lineage across diverse libraries uniformly
Linking materialized lineage graphs with abstract logical patterns
Inferring logical patterns from materialized lineage graphs
Innovation

Methods, ideas, or system contributions that make the work stand out.

Uses intermediate representations for lineage tracking
Links materialized lineage graphs with logical patterns
Infers logical patterns from materialized graphs
🔎 Similar Papers
J
Jinjin Zhao
University of Chicago