Skip to main content
QUICK REVIEW

[Paper Review] INFaaS: A Model-less Inference Serving System

Francisco Romero, Qian Li|arXiv (Cornell University)|May 30, 2019
Advanced Neural Network ApplicationsComputer Science15 references7 citations
TL;DR

INFaaS is a model-less inference-as-a-service system that automates resource and configuration decisions for machine learning inference workloads. By dynamically selecting optimal model-variants, hardware, and scaling strategies based on user-specified performance and accuracy requirements, INFaaS achieves up to 150x cost reduction, 1.5x higher throughput, and 1.5x fewer latency violations compared to Clipper and TensorFlow Serving.

ABSTRACT

Despite existing work in machine learning inference serving, ease-of-use and cost efficiency remain key challenges. Developers must manually match the performance, accuracy, and cost constraints of their applications to decisions about selecting the right model and model optimizations, suitable hardware architectures, and auto-scaling configurations. These interacting decisions are difficult to make for users, especially when the application load varies, applications evolve, and the available resources vary over time. Thus, users often end up making decisions that overprovision resources. This paper introduces INFaaS, a model-less inference-as-a-service system that relieves users of making these decisions. INFaaS provides a simple interface allowing users to specify their inference task, and performance and accuracy requirements. To implement this interface, INFaaS generates and leverages model-variants, versions of a model that differ in resource footprints, latencies, costs, and accuracies. Based on the characteristics of the model-variants, INFaaS automatically navigates the decision space on behalf of users to meet user-specified objectives: (a) it selects a model, hardware architecture, and any compiler optimizations, and (b) it makes scaling and resource allocation decisions. By sharing models across users and hardware resources across models, INFaaS achieves up to 150x cost savings, 1.5x higher throughput, and violates latency objectives 1.5x less frequently, compared to Clipper and TensorFlow Serving.

Motivation & Objective

  • Address the challenge of manual, error-prone configuration of models, hardware, and auto-scaling in ML inference serving.
  • Reduce overprovisioning of resources due to complex, interdependent decisions in dynamic workloads.
  • Enable users to specify only their inference task and desired performance/accuracy constraints.
  • Automatically navigate the decision space of model selection, hardware, compiler optimizations, and scaling.
  • Achieve significant cost and performance improvements through shared models and hardware across users.

Proposed method

  • Generate model-variants—different versions of a model with varying resource footprints, latencies, costs, and accuracies.
  • Use a centralized system to analyze model-variant characteristics and map them to hardware and optimization configurations.
  • Automatically select the optimal combination of model, hardware, and compiler optimizations based on user-specified objectives.
  • Dynamically manage auto-scaling and resource allocation decisions in response to workload changes.
  • Share models across users and hardware resources across models to improve utilization and reduce costs.
  • Integrate with existing inference serving stacks to provide a simple interface without requiring model-specific configuration.

Experimental results

Research questions

  • RQ1How can the decision space of model selection, hardware, compiler optimizations, and scaling be automated to reduce manual overhead in ML inference serving?
  • RQ2To what extent can model-variants improve cost efficiency and performance in shared inference serving environments?
  • RQ3Can automated configuration selection reduce latency violations and overprovisioning compared to existing systems like Clipper and TensorFlow Serving?
  • RQ4What are the performance and cost trade-offs when sharing models and hardware across multiple users and workloads?
  • RQ5How does the system maintain accuracy and latency guarantees under dynamic workloads and evolving user requirements?

Key findings

  • INFaaS achieves up to 150x cost savings compared to Clipper and TensorFlow Serving by sharing models and hardware across users.
  • INFaaS improves throughput by 1.5x compared to baseline systems due to better resource utilization and configuration.
  • INFaaS violates user-specified latency objectives 1.5x less frequently than Clipper and TensorFlow Serving.
  • The system effectively reduces overprovisioning by automating the selection of optimal model-variants and configurations.
  • Model-variant generation and runtime decision-making enable significant performance and cost improvements without requiring user expertise in low-level optimizations.
  • The system maintains high accuracy and low latency across diverse workloads by dynamically adapting to changing resource and workload conditions.

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.