Skip to main content
QUICK REVIEW

[Paper Review] Stratum: A Serverless Framework for Lifecycle Management of Machine Learning based Data Analytics Tasks

Anirban Bhattacharjee, Yogesh Barve|arXiv (Cornell University)|Apr 3, 2019
IoT and Edge/Fog ComputingComputer Science12 references18 citations
TL;DR

Stratum is a serverless, domain-specific framework that automates the lifecycle management of machine learning-based data analytics workflows across cloud, fog, and edge environments. It uses a model-driven approach with a customizable domain-specific modeling language (DSML) to generate infrastructure-as-code, enabling rapid, correct-by-construction deployment of ML models with dynamic resource scaling and intelligent model transfer across heterogeneous hardware.

ABSTRACT

With the proliferation of machine learning (ML) libraries and frameworks, and the programming languages that they use, along with operations of data loading, transformation, preparation and mining, ML model development is becoming a daunting task. Furthermore, with a plethora of cloud-based ML model development platforms, heterogeneity in hardware, increased focus on exploiting edge computing resources for low-latency prediction serving and often a lack of a complete understanding of resources required to execute ML workflows efficiently, ML model deployment demands expertise for managing the lifecycle of ML workflows efficiently and with minimal cost. To address these challenges, we propose an end-to-end data analytics, a serverless platform called Stratum. Stratum can deploy, schedule and dynamically manage data ingestion tools, live streaming apps, batch analytics tools, ML-as-a-service (for inference jobs), and visualization tools across the cloud-fog-edge spectrum. This paper describes the Stratum architecture highlighting the problems it resolves.

Motivation & Objective

  • Address the complexity and expertise gap in deploying and managing machine learning workflows across heterogeneous cloud-fog-edge infrastructures.
  • Reduce the barrier to entry for ML developers by abstracting low-level infrastructure concerns through high-level modeling abstractions.
  • Enable efficient, cost-effective, and scalable deployment of ML models by automating resource provisioning, scheduling, and elastic scaling.
  • Support rapid model development and deployment using containerized microservices, GPU acceleration, and integration with Jupyter notebooks.
  • Facilitate intelligent model transfer and placement across the cloud-fog-edge stack based on QoS, latency, and resource constraints.

Proposed method

  • Employs a domain-specific modeling language (DSML) built on WebGME to define ML workflows using hierarchical, user-defined blocks for data ingestion, processing, and model training.
  • Generates 'correct-by-construction' infrastructure-as-code using constraint checkers to ensure valid deployment configurations before execution.
  • Utilizes a pluggable, modular architecture to support integration with diverse ML libraries (e.g., TensorFlow, PyTorch), frameworks, and hardware (GPUs, TPUs, FPGAs).
  • Deploys ML workflows across cloud, fog, and edge environments using containerized microservices with GPU-enabled execution for performance.
  • Integrates a resource monitoring and management engine that enables dynamic scaling and task migration based on real-time QoS and utilization metrics.
  • Supports model transfer and inference placement via intelligent module deployment across the distributed spectrum based on user-specified requirements and capacity analysis.

Experimental results

Research questions

  • RQ1How can machine learning workflows be abstracted and automated across the cloud-fog-edge continuum to reduce deployment complexity?
  • RQ2What modeling approach enables correct-by-construction generation of infrastructure code for heterogeneous ML deployments?
  • RQ3How can resource utilization and QoS be dynamically managed across distributed environments to ensure low-latency and cost-effective ML inference?
  • RQ4What mechanisms enable seamless transfer and placement of trained ML models across edge, fog, and cloud nodes based on workload and hardware characteristics?
  • RQ5How can a unified, extensible framework support rapid development and deployment of ML pipelines without requiring deep systems expertise?

Key findings

  • Stratum enables end-to-end lifecycle management of ML-based analytics workflows through a model-driven, serverless architecture that abstracts infrastructure complexity.
  • The DSML-based code generation ensures correctness and reduces human error in deployment configuration through constraint validation.
  • The framework supports dynamic, elastic scaling of resources based on real-time monitoring, improving QoS and cost efficiency.
  • Model transfer and placement across cloud, fog, and edge layers are intelligently managed based on performance and capacity requirements.
  • Integration with Jupyter notebooks and support for popular ML frameworks (e.g., TensorFlow, PyTorch) enhance usability and developer productivity.
  • The modular, pluggable architecture allows for extensibility, enabling support for new hardware and ML libraries through standardized interfaces.

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.