arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.16073cs.PL
收藏

基于抽象解释的数据泄漏静态分析

Abstract Interpretation-Based Data Leakage Static Analysis

Filip Drobnjaković, Pavle Subotić, Caterina Urban

AI总结:

本文提出一种基于抽象解释的静态分析方法,可在开发阶段提前检测机器学习中的数据泄漏,并在 NBLyzer 框架中实现,在 2000 多个 Kaggle notebook 上验证了其有效性和精度。

摘要:

数据泄漏是机器学习中一个众所周知的问题。当来自训练数据集之外的信息被用于创建模型时,就会发生数据泄漏。这一现象会使模型在现实世界中表现得过度乐观甚至毫无用处,因为模型往往会大量利用这些不公平获取的信息。迄今为止,数据泄漏的检测都是在事后通过运行时方法进行的。然而,由于数据泄漏具有隐蔽性,数据科学家可能一开始根本意识不到已经发生了数据泄漏。因此,在开发生命周期中尽早检测数据泄漏是有利的。在本文中,我们提出了一种新颖的静态分析,用于在开发期间检测若干种数据泄漏实例。我们使用抽象解释框架来定义我们的分析:我们定义了一个既可靠又完备的具体语义,并由此推导出一个可靠的、可计算的抽象语义。我们在开源的 NBLyzer 静态分析框架中实现了我们的静态分析,并通过在 2000 多个 Kaggle 竞赛 notebook 上评估其性能和精度来展示其效用。

英文摘要:

Data leakage is a well-known problem in machine learning. Data leakage occurs when information from outside the training dataset is used to create a model. This phenomenon renders a model excessively optimistic or even useless in the real world since the model tends to leverage greatly on the unfairly acquired information. To date, detection of data leakages occurs post-mortem using run-time methods. However, due to the insidious nature of data leakage, it may not be apparent to a data scientist that a data leakage has occurred in the first place. For this reason, it is advantageous to detect data leakages as early as possible in the development life cycle. In this paper, we propose a novel static analysis to detect several instances of data leakages during development time. We define our analysis using the framework of abstract interpretation: we define a concrete semantics that is sound and complete, from which we derive a sound and computable abstract semantics. We implement our static analysis inside the open-source NBLyzer static analysis framework and demonstrate its utility by evaluating its performance and precision on over 2000 Kaggle competition notebooks.

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

↑