Skip to main content
QUICK REVIEW

[Paper Review] Desiderata for next generation of ML model serving

Sherif Akoush, Andrei Paleyes|arXiv (Cornell University)|Oct 26, 2022
Scientific Computing and Data ManagementDecision Sciences5 citations
TL;DR

This paper proposes a data-centric design framework for next-generation machine learning model serving platforms, emphasizing inference pipelines as first-class dataflow graphs, component abstractions, and support for synchronous/asynchronous workloads. It advocates for seamless cloud and edge deployment, observability, explainability, continual learning, compliance, and resource efficiency—achieving scalable, efficient, and trustworthy ML inference at scale through integrated, modular, and extensible system patterns.

ABSTRACT

Inference is a significant part of ML software infrastructure. Despite the variety of inference frameworks available, the field as a whole can be considered in its early days. This position paper puts forth a range of important qualities that next generation of inference platforms should be aiming for. We present our rationale for the importance of each quality, and discuss ways to achieve it in practice. We propose to focus on data-centricity as the overarching design pattern which enables smarter ML system deployment and operation at scale.

Motivation & Objective

  • Address the growing need for scalable, efficient, and trustworthy ML inference systems as inference consumes up to 90% of ML compute resources.
  • Identify critical shortcomings in current ML serving platforms, including limited observability, poor support for real-time and edge workloads, and weak compliance and energy accounting.
  • Propose a holistic framework for next-generation model serving that unifies data-centric design with modular, composable, and extensible system patterns.
  • Promote research and community collaboration toward building inference platforms that support continual learning, explainability, and environmental sustainability.

Proposed method

  • Adopt dataflow-first design using flow-based programming (FBP) to model inference pipelines as executable dataflow graphs for full runtime visibility.
  • Introduce pipeline component abstractions that decouple model definition from deployment, enabling reuse across multiple inference pipelines.
  • Support both synchronous (request-response) and asynchronous (streaming) inference patterns, with hybrid interfaces to accommodate diverse deployment needs.
  • Enable seamless deployment to cloud and edge environments through standardized, portable, and composable inference components.
  • Integrate advanced observability features such as context-aware drift detection and recursive attribution for explainability and debugging.
  • Embed resource efficiency through multimodel serving and dynamic model overcommit, combined with autoscaling and energy-aware cost accounting.

Experimental results

Research questions

  • RQ1How can inference platforms achieve full observability and debugging capability through runtime access to intermediate data and dataflow graphs?
  • RQ2What architectural patterns best support the co-deployment of multiple models on shared infrastructure while minimizing resource overhead?
  • RQ3How can model serving systems natively support both batch and stream processing workloads with low-latency, high-throughput characteristics?
  • RQ4In what ways can data provenance and explainability be systematically integrated into inference pipelines to meet regulatory and auditing requirements?
  • RQ5How can continual learning and active learning be tightly coupled with production inference to enable self-updating, high-performing models over time?

Key findings

  • Inference accounts for up to 90% of total ML lifecycle energy consumption, necessitating detailed energy and CO2 metrics for sustainable deployment.
  • Multimodel serving with dynamic overcommit of resources can significantly reduce infrastructure overhead and improve operational efficiency at scale.
  • Dataflow-first design using FBP enables native access to intermediate data and full pipeline visibility, improving debugging, monitoring, and observability.
  • Context-aware drift detection and recursive attribution enable deeper model explainability, supporting regulatory compliance and operational troubleshooting.
  • Seamless integration with training pipelines enables continual learning, allowing models to be retrained and rolled out automatically based on production feedback.
  • Compliance and privacy can be achieved through 'compliance by construction' via full data provenance tracking, enabling auditability of model decisions and input sensitivity.

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.