Skip to main content
QUICK REVIEW

[Paper 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 Science74 references18 citations
TL;DR

SystemDS is an open-source, declarative machine learning system designed for the end-to-end data science lifecycle, supporting data integration, cleaning, preparation, distributed and federated model training, debugging, and serving through a unified domain-specific language (DSL). It enables lifecycle-wide optimization by eliminating boundary crossing between data engineering and ML tasks, with preliminary results showing performance gains via dynamic recompilation and tensor-based optimizations.

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.

Motivation & Objective

  • To address the fragmented tooling and manual effort in data science by unifying data preparation, model training, and debugging into a single system.
  • To reduce the 80-90% time data scientists spend on data wrangling by providing declarative abstractions for heterogeneous data and ML tasks.
  • To enable optimization across the entire data science lifecycle through a common language and runtime, avoiding boundary crossing between tools.
  • To support diverse users—ML researchers, data scientists, and domain experts—via expressive, high-level language abstractions.
  • To extend the capabilities of Apache SystemML by adding full lifecycle support, including federated learning and advanced debugging.

Proposed method

  • SystemDS uses a declarative domain-specific language (DSL) to express data science tasks, abstracting over low-level implementation details.
  • It employs a compiler stack that translates high-level DSL code into optimized execution plans across local, distributed, and federated backends.
  • The system manages a heterogeneous tensor data model to natively represent diverse data types and structures, including sparse and dense tensors.
  • It supports dynamic recompilation and reuse of intermediate computation folds (e.g., in cross-validation) to optimize performance.
  • The runtime backend integrates with existing ML libraries and frameworks, enabling interoperability while maintaining end-to-end optimization.
  • SystemDS enables lifecycle-wide optimizations by analyzing and transforming code across data preparation, model training, and debugging phases.

Experimental results

Research questions

  • RQ1How can a declarative system unify data preparation, model training, and debugging across the entire data science lifecycle?
  • RQ2What are the key design principles for a system that supports both expert ML researchers and non-expert data scientists?
  • RQ3Can end-to-end optimization across data science tasks lead to measurable performance improvements?
  • RQ4How can heterogeneous data tensors be efficiently modeled and executed in a unified system?
  • RQ5What are the limitations of existing in-database or UI-based data wrangling tools, and how can a DSL-based system overcome them?

Key findings

  • SystemDS enables end-to-end optimization across data preparation, model training, and debugging by eliminating boundary crossing between tools.
  • Preliminary results show performance improvements through dynamic recompilation, such as optimizing cross-validation by reusing intermediate folds and reducing redundant computation.
  • The system’s heterogeneous tensor model supports efficient handling of diverse data types, including sparse and dense representations, across local, distributed, and federated settings.
  • By using a unified DSL and compiler stack, SystemDS achieves fine-grained optimization opportunities not available in systems relying on external libraries or orchestration tools.
  • The system demonstrates feasibility for lifecycle-wide optimization, with early benchmarks indicating gains in efficiency for common workloads like cross-validation and feature engineering.
  • SystemDS supports a broader range of users and tasks than prior systems like Apache SystemML, including federated learning and model debugging, while maintaining performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.