Skip to main content
QUICK REVIEW

[论文解读] SystemDS: A Declarative Machine Learning System for the End-to-End Data Science Lifecycle

Matthias Böehm, Iulian Antonov|arXiv (Cornell University)|Sep 6, 2019
Machine Learning and Data ClassificationComputer Science参考文献 74被引用 18
一句话总结

SystemDS 是一个开源的声明式机器学习系统,专为端到端的数据科学生命周期而设计,通过统一的领域特定语言(DSL)支持数据集成、清洗、准备、分布式和联邦模型训练、调试及推理。它通过消除数据工程与机器学习任务之间的边界,实现全生命周期的优化,初步结果表明,通过动态重编译和基于张量的优化可获得性能提升。

ABSTRACT

Machine learning (ML) applications become increasingly common in many domains. ML systems to execute these workloads include numerical computing frameworks and libraries, ML algorithm libraries, and specialized systems for deep neural networks and distributed ML. These systems focus primarily on efficient model training and scoring. However, the data science process is exploratory, and deals with underspecified objectives and a wide variety of heterogeneous data sources. Therefore, additional tools are employed for data engineering and debugging, which requires boundary crossing, unnecessary manual effort, and lacks optimization across the lifecycle. In this paper, we introduce SystemDS, an open source ML system for the end-to-end data science lifecycle from data integration, cleaning, and preparation, over local, distributed, and federated ML model training, to debugging and serving. To this end, we aim to provide a stack of declarative language abstractions for the different lifecycle tasks, and users with different expertise. We describe the overall system architecture, explain major design decisions (motivated by lessons learned from Apache SystemML), and discuss key features and research directions. Finally, we provide preliminary results that show the potential of end-to-end lifecycle optimization.

研究动机与目标

  • 通过将数据准备、模型训练和调试统一到单一系统中,解决数据科学中工具碎片化和手动操作过多的问题。
  • 通过为异构数据和机器学习任务提供声明式抽象,减少数据科学家在数据清洗上花费的 80-90% 时间。
  • 通过统一的语言和运行时实现整个数据科学生命周期的优化,避免工具之间的边界交叉。
  • 通过表达性强、高层级的语言抽象,支持多样化的用户——包括机器学习研究人员、数据科学家和领域专家。
  • 通过增加对联邦学习和高级调试的支持,扩展 Apache SystemML 的能力,实现全生命周期支持。

提出的方法

  • SystemDS 使用声明式领域特定语言(DSL)来表达数据科学任务,抽象低层实现细节。
  • 它采用编译器栈,将高层 DSL 代码转换为在本地、分布式和联邦后端上执行的优化执行计划。
  • 该系统管理一个异构张量数据模型,原生支持多种数据类型和结构,包括稀疏和稠密张量。
  • 它支持动态重编译和中间计算折叠(如交叉验证中的折叠)的重用,以优化性能。
  • 运行时后端与现有机器学习库和框架集成,实现互操作性,同时保持端到端的优化能力。
  • SystemDS 通过分析和转换数据准备、模型训练和调试阶段的代码,实现全生命周期的优化。

实验结果

研究问题

  • RQ1声明式系统如何统一整个数据科学生命周期中的数据准备、模型训练和调试?
  • RQ2支持专家级机器学习研究人员和非专家数据科学家的系统,其关键设计原则是什么?
  • RQ3在数据科学任务中实现端到端优化是否能带来可测量的性能提升?
  • RQ4如何在统一系统中高效建模和执行异构数据张量?
  • RQ5现有数据库内或基于 UI 的数据清洗工具存在哪些局限性?DSL 基础的系统如何克服这些局限?

主要发现

  • SystemDS 通过消除工具之间的边界,实现数据准备、模型训练和调试的全生命周期优化。
  • 初步结果表明,通过动态重编译可实现性能提升,例如通过重用交叉验证中的中间折叠,减少冗余计算。
  • 该系统的异构张量模型可高效处理多种数据类型,包括稀疏和稠密表示,在本地、分布式和联邦环境中均表现良好。
  • 通过使用统一的 DSL 和编译器栈,SystemDS 实现了外部库或编排工具无法提供的细粒度优化机会。
  • 该系统展示了全生命周期优化的可行性,早期基准测试表明在交叉验证和特征工程等常见工作负载中效率有所提升。
  • 与之前系统(如 Apache SystemML)相比,SystemDS 支持更广泛的用户和任务,包括联邦学习和模型调试,同时保持高性能。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。