Data distribution debugging in machine learning pipelines
Data distribution debugging in machine learning pipelines
复制标题
DOI:
10.1007/s00778-021-00726-w
复制
发表时间:
2022-01
期刊:
影响因子:
--
通讯作者:
Stefan Grafberger;Paul Groth;Julia Stoyanovich;Sebastian Schelter
中科院分区:
文献类型:
--
作者:
Stefan Grafberger;Paul Groth;Julia Stoyanovich;Sebastian Schelter
Machine learning (ML) is increasingly used to automate impactful decisions, and the risks arising from this widespread use are garnering attention from policy makers, scientists, and the media. ML applications are often brittle with respect to their input data, which leads to concerns about their correctness, reliability, and fairness. In this paper, we describemlinspect, a library that helps diagnose and mitigate technical bias that may arise during preprocessing steps in an ML pipeline. We refer to these problems collectively asdata distribution bugs. The key idea is to extract a directed acyclic graph representation of the dataflow from a preprocessing pipeline and to use this representation to automatically instrument the code with predefinedinspections. These inspections are based on a lightweight annotation propagation approach to propagate metadata such as lineage information from operator to operator. In contrast to existing work,mlinspectoperates on declarative abstractions of popular data science libraries like estimator/transformer pipelines and does not require manual code instrumentation. We discuss the design and implementation of themlinspectlibrary and give a comprehensive end-to-end example that illustrates its functionality.