ShapleyPipe:用于数据准备流水线构建的分层Shapley搜索
ShapleyPipe: A Game-Theoretic Approach to Data Preparation Pipeline Construction
AI总结:
针对自动化数据准备流水线构建的黑盒优化与组合爆炸问题,提出基于Shapley值的分层搜索框架ShapleyPipe,通过分层分解和多项式复杂度算法在保持可解释性的同时显著提升搜索效率与性能。
摘要:
自动化数据准备流水线构建对机器学习的成功至关重要,但现有方法存在两个根本局限:将流水线构建视为黑盒优化而不量化单个算子的贡献,且难以应对搜索空间的组合爆炸(N个算子和流水线长度M对应N^M种配置)。我们提出ShapleyPipe,一个利用博弈论Shapley值系统量化各算子边际贡献并保持完全可解释性的原则性框架。其核心创新是分层分解,将类别级结构搜索与算子级优化分离,将搜索复杂度从指数级降至多项式级。为使Shapley计算可行,我们开发了:(1)用于智能类别评估且具可证明收敛保证的多臂老虎机机制,(2)用于正确捕捉位置依赖算子交互的Permutation Shapley值。在18个多样数据集上的广泛评估表明,ShapleyPipe在使用少24%评估次数的情况下达到了高预算基线98.1%的性能,并比最先进的强化学习方法高出3.6%。除性能提升外,ShapleyPipe提供可解释的算子估值(与经验性能的相关性ρ=0.933),支持数据驱动的流水线分析和系统化算子库优化。
英文摘要:
Data preparation is a critical yet highly time-consuming component of machine learning (ML) workflows and has a substantial impact on downstream model performance. Automated data preparation pipeline construction requires selecting appropriate operators, such as missing-value imputation, feature scaling, and feature transformation, and placing them at suitable pipeline positions. However, existing methods lack a principled and interpretable mechanism for understanding the marginal contribution of each operator at a specific position. To address this limitation, we study data preparation pipeline construction from a cooperative game-theoretic perspective. We formulate the task as a pipeline construction game, in which operators act as players that cooperatively improve downstream model utility. Based on this formulation, we propose the Pipeline Shapley value (PipeShapley), a contribution-attribution method that explicitly captures position-dependent contributions and distinguishes repeated occurrences of the same operator type. Building on PipeShapley, we introduce ShapleyPipe, an interpretable pipeline construction framework that selects and orders operators according to their position-aware contributions. To make PipeShapley practical, we develop Hierarchical ShapleyPipe (H-SP) based on a Category Coherence Assumption to exploit coherent contribution patterns, combining MAB-based representative selection with adaptive early termination. Experiments on 27 classification datasets show that H-SP achieves the highest average accuracy of 0.847 and the best average rank among the evaluated practical methods, while lying on the empirical accuracy--runtime Pareto frontier. On three datasets with up to 581K records, 10K-subsample search and 16-worker parallel execution reduce the average wall-clock time to 891 seconds while retaining the highest average accuracy of 0.705.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。