Lune

VLDB2021Top-tier venue

Capturing and querying fine-grained provenance of preprocessing pipelines in data science

Adriane Chapman, Paolo Missier, Giulia Simonelli, Riccardo Torlone

Abstract

Data processing pipelines that are designed to clean, transform and alter data in preparation for learning predictive models, have an impact on those models' accuracy and performance, as well on other properties, such as model fairness. It is therefore important to provide developers with the means to gain an in-depth understanding of how the pipeline steps affect the data, from the raw input to training sets ready to be used for learning. While other efforts track creation and changes of pipelines of relational operators, in this work we analyze the typical operations of data preparation within a machine learning process, and provide infrastructure for generating very granular provenance records from it, at the level of individual elements within a dataset. Our contributions include: (i) the formal definition of a core set of preprocessing operators, and the definition of provenance patterns for each of them, and (ii) a prototype implementation of an application-level provenance capture library that works alongside Python. We report on provenance processing and storage overhead and scalability experiments, carried out over both real ML benchmark pipelines and over TCP-DI, and show how the resulting provenance can be used to answer a suite of provenance benchmark queries that underpin some of the developers' debugging questions, as expressed on the Data Science Stack Exchange.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Modyn: Data-Centric Machine Learning Pipeline Orchestration cites PrIU: A Provenance-Based Approach for Incrementally Updating Regression Models
  • Modyn: Data-Centric Machine Learning Pipeline Orchestration cites Towards Observability for Production Machine Learning Pipelines [Vision]
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Towards Observability for Production Machine Learning Pipelines [Vision]Shreya Shankar, Aditya G. ParameswaranVLDB 2022 · 21 citations
  2. Modyn: Data-Centric Machine Learning Pipeline OrchestrationMaximilian Böther, Ties Robroek, Viktor Gsteiger, Robin Holzinger et al.SIGMOD 2025 · 6 citations
  3. Toward Temporal Attribution Analytics in Dataflows [Vision Paper]Chrysanthi Kosyfaki, Ruiyuan Zhang, Nikos Mamoulis, Xiaofang ZhouVLDB 2026

Builds on3

  1. Towards Scalable Dataframe SystemsDevin Petersohn, William W. Ma, Doris Jung Lin Lee, Stephen Macke et al.VLDB 2020 · 109 citations
  2. PrIU: A Provenance-Based Approach for Incrementally Updating Regression ModelsYinjun Wu, Val Tannen, Susan B. DavidsonSIGMOD 2020 · 26 citations
  3. BugDoc: Algorithms to Debug Computational ProcessesRaoni Lourenço, Juliana Freire, Dennis E. ShashaSIGMOD 2020 · 9 citations

Related papers

  1. Data Debugging with Shapley Importance over Machine Learning PipelinesBojan Karlas, David Dao, Matteo Interlandi, Sebastian Schelter et al.ICLR 2024 · 11 citations
  2. Vamsa: Automated Provenance Tracking in Data Science ScriptsMohammad Hossein Namaki, Avrilia Floratou, Fotis Psallidas, Subru Krishnan et al.KDD 2020 · 41 citations
  3. Fair preprocessing: towards understanding compositional fairness of data transformers in machine learning pipelineSumon Biswas, Hridesh RajanFSE 2021 · 101 citations
  4. LIMA: Fine-grained Lineage Tracing and Reuse in Machine Learning SystemsArnab Phani, Benjamin Rath, Matthias BoehmSIGMOD 2021 · 30 citations
  5. Experimental Analysis of Multi-Step Pipelines for Fair Classifications - More than the Sum of Their Parts?Nico Lässig, Melanie HerschelICDE 2025
Dusk over the sea between two cliffs drawn in fine vertical lines