Saved in:
Bibliographic Details
Main Authors: Garrett, Thiago, Song, Weijia, Vitenberg, Roman, Birman, Ken
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2312.11488
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909734041288704
author Garrett, Thiago
Song, Weijia
Vitenberg, Roman
Birman, Ken
author_facet Garrett, Thiago
Song, Weijia
Vitenberg, Roman
Birman, Ken
contents AI inference workflows are typically structured as a pipeline or graph of AI programs triggered by events. As events occur, the AIs perform inference or classification tasks under time pressure to respond or take some action. Standard techniques that reduce latency in other streaming settings (such as caching and optimization-driven scheduling) are of limited value because AI data access patterns (models, databases) change depending on the triggering event: a significant departure from traditional streaming. In this work, we propose a novel affinity grouping mechanism that makes it easier for developers to express application-specific data access correlations, enabling coordinated management of data objects in server clusters hosting streaming inference tasks. Our proposals are thus complementary to other approaches such as caching and scheduling. Experiments confirm the limitations of standard techniques, while showing that the proposed mechanism is able to maintain significantly lower latency as workload and scale-out increase, and yet requires only minor code changes.
format Preprint
id arxiv_https___arxiv_org_abs_2312_11488
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Keep Your Friends Close: Leveraging Affinity Groups to Accelerate AI Inference Workflows
Garrett, Thiago
Song, Weijia
Vitenberg, Roman
Birman, Ken
Distributed, Parallel, and Cluster Computing
Artificial Intelligence
AI inference workflows are typically structured as a pipeline or graph of AI programs triggered by events. As events occur, the AIs perform inference or classification tasks under time pressure to respond or take some action. Standard techniques that reduce latency in other streaming settings (such as caching and optimization-driven scheduling) are of limited value because AI data access patterns (models, databases) change depending on the triggering event: a significant departure from traditional streaming. In this work, we propose a novel affinity grouping mechanism that makes it easier for developers to express application-specific data access correlations, enabling coordinated management of data objects in server clusters hosting streaming inference tasks. Our proposals are thus complementary to other approaches such as caching and scheduling. Experiments confirm the limitations of standard techniques, while showing that the proposed mechanism is able to maintain significantly lower latency as workload and scale-out increase, and yet requires only minor code changes.
title Keep Your Friends Close: Leveraging Affinity Groups to Accelerate AI Inference Workflows
topic Distributed, Parallel, and Cluster Computing
Artificial Intelligence
url https://arxiv.org/abs/2312.11488