arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2310.18079cs.DB
收藏

利用细粒度溯源支持对数据科学流水线的更深入洞察

Supporting Better Insights of Data Science Pipelines with Fine-grained Provenance

Adriane Chapman, Luca Lauro, Paolo Missier, Riccardo Torlone

AI总结:

本文提出一种基于PROV模板的细粒度溯源管理基础设施,可半自动捕获数据科学流水线中元素级的数据转换记录,并在真实ML基准和TCP-DI数据上验证其回答流水线检查查询的能力。

摘要:

成功的数据驱动科学需要复杂的数据工程流水线来清洗、转换和变更数据,以便为机器学习做准备,而只有当流水线中的每一步都能被证明合理、并且其对数据的影响能够被解释时,才能获得稳健的结果。在此框架下,我们的目标是为数据科学家提供相应设施,使其能够深入理解流水线中的每一步如何影响数据,从原始输入到准备用于学习的训练集。本文从数据科学场景中常用的一组可扩展的数据准备算子出发,提出了一种溯源管理基础设施,用于生成、存储和查询非常细粒度的数据转换记录,并尽可能在数据集内单个元素的层面上进行描述。随后,基于一组核心数据科学预处理算子的形式化定义,我们推导出一种溯源语义,该语义由一组以 PROV(一种数据溯源标准模型)表达的模板集合来体现。以这些模板为参考,我们的溯源生成算法可以推广到任何具有可观测输入/输出对的算子。我们提供了一个应用级溯源捕获库的原型实现,能够以半自动方式生成覆盖整个流水线的完整溯源文档。我们报告了该实现在真实机器学习基准流水线以及 TCP-DI 合成数据上捕获溯源的能力。最后,我们展示了所收集的溯源如何用于回答一组溯源基准查询,这些查询支撑了 Data Science Stack Exchange 上提出的一些常见流水线检查问题。

英文摘要:

Successful data-driven science requires complex data engineering pipelines to clean, transform, and alter data in preparation for machine learning, and robust results can only be achieved when each step in the pipeline can be justified, and its effect on the data explained. In this framework, our aim is to provide data scientists with facilities to gain an in-depth understanding of how each step in the pipeline affects the data, from the raw input to training sets ready to be used for learning. Starting from an extensible set of data preparation operators commonly used within a data science setting, in this work we present a provenance management infrastructure for generating, storing, and querying very granular accounts of data transformations, at the level of individual elements within datasets whenever possible. Then, from the formal definition of a core set of data science preprocessing operators, we derive a provenance semantics embodied by a collection of templates expressed in PROV, a standard model for data provenance. Using those templates as a reference, our provenance generation algorithm generalises to any operator with observable input/output pairs. We provide a prototype implementation of an application-level provenance capture library to produce, in a semi-automatic way, complete provenance documents that account for the entire pipeline. We report on the ability of our implementations to capture provenance in real ML benchmark pipelines and over TCP-DI synthetic data. We finally show how the collected provenance can be used to answer a suite of provenance benchmark queries that underpin some common pipeline inspection questions, as expressed on the Data Science Stack Exchange.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑