Skip to main content
QUICK REVIEW

[Paper Review] INFaaS: Managed & Model-less Inference Serving

Francisco Romero, Qian Li|arXiv (Cornell University)|May 30, 2019
Cloud Computing and Resource ManagementComputer Science31 references14 citations
TL;DR

INFaaS is a managed, model-less inference-as-a-service system that automatically selects optimal models and resources to meet user-specified performance and accuracy requirements. It achieves 2× higher throughput and violates latency SLOs 3× less frequently than existing systems, while maintaining high utilization with under 12% overhead on millisecond-scale queries.

ABSTRACT

The number of applications relying on inference from machine learning models is already large and expected to keep growing. For instance, Facebook applications issue tens-of-trillions of inference queries per day with varying performance, accuracy, and cost constraints. Unfortunately, existing inference serving systems are neither easy to use nor cost effective. Developers must manually match the performance, accuracy, and cost constraints of their applications to a large design space that includes decisions such as selecting the right model and model optimizations, selecting the right hardware architecture, selecting the right scale-out factor, and avoiding cold-start effects. These interacting decisions are difficult to make, especially when the application load varies over time, applications evolve over time, and the available resources vary over time. We present INFaaS, an inference-as-a-service system that abstracts resource management and model selection. Users simply specify their inference task along with any performance and accuracy requirements for queries. Given the currently available resources, INFaaS automatically selects and serves inference queries using a specific model that satisfies these requirements. INFaaS autoscales resources as model load changes both within and across inference workers. It also shares workers across users and models to increase utilization. We evaluate INFaaS using 44 model architectures and their 270 model variants against serving systems that rely on users for model selection and pre-load models, fix the scale policy, or use dedicated hardware resources. Our evaluation on realistic workloads shows that INFaaS achieves 2$ imes$ higher throughput and violates latency SLO goals 3$ imes$ less frequently, while maintaining high utilization and having overheads that are less than 12% of millisecond-scale queries.

Motivation & Objective

  • To address the complexity and inefficiency of existing inference serving systems that require manual tuning of models, hardware, and scaling policies.
  • To reduce the operational burden on developers by abstracting model selection and resource management in dynamic, multi-tenant environments.
  • To improve system utilization and cost efficiency by sharing inference workers across users and models.
  • To maintain strict latency and accuracy SLOs under varying workloads and resource availability.
  • To evaluate the system's performance against real-world workloads using diverse model architectures and variants.

Proposed method

  • INFaaS exposes a simple interface where users specify only their inference task and required performance/accuracy constraints.
  • The system continuously monitors available resources and workload demands to select the optimal model variant and deployment configuration.
  • It employs dynamic autoscaling across inference workers, adjusting resource allocation in real time based on load changes.
  • INFaaS shares physical workers across multiple users and models to improve utilization and reduce idle capacity.
  • It uses a policy engine to evaluate model variants against SLOs, selecting the one that best satisfies user requirements under current conditions.
  • The system avoids cold starts by pre-warming and maintaining a pool of ready-to-use inference workers.

Experimental results

Research questions

  • RQ1Can a managed inference service automatically select models and resources to meet user-specified SLOs without manual tuning?
  • RQ2How does automatic model and resource selection impact throughput, latency, and utilization compared to manual configurations?
  • RQ3To what extent can worker sharing across users and models improve system efficiency and resource utilization?
  • RQ4How does INFaaS perform under dynamic, real-world workloads with fluctuating demand and diverse model types?
  • RQ5What is the runtime overhead of the system's automation layer on millisecond-scale inference queries?

Key findings

  • INFaaS achieves 2× higher throughput compared to systems requiring manual model selection and fixed scaling policies.
  • It violates latency SLOs 3× less frequently than baseline systems, demonstrating stronger reliability under load.
  • The system maintains high resource utilization while introducing less than 12% overhead on millisecond-scale queries.
  • INFaaS successfully handles workload variations through real-time autoscaling and dynamic model selection.
  • The system's ability to share workers across users and models significantly improves utilization without compromising SLOs.
  • Evaluation on 44 model architectures and 270 variants confirms the robustness and scalability of the approach across diverse inference workloads.

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.