HiPlan: Tail-Latency-Aware Hybrid Embedded–Remote Placement for Conditional Inference Pipelines

Production machine-learning services execute directed acyclic graphs of models rather than single models, and every stage of such a graph can be deployed in one of two ways: as an independently scaled remote model server, or embedded in the orchestrator process. We profile eight real ONNX Runtime operators spanning 0.005–58 ms of service time and 0.1–291 MB of resident footprint, and show that the choice is not global: remote invocation inflates the latency of cheap operators by 10–40× while costing under 1% for expensive ones, and the tail latency saved per megabyte of orchestrator memory varies across operators by three orders of magnitude. We formalise per-stage placement as tail-latency minimisation over a conditional DAG under a memory budget and a core budget, prove it NP-hard, and identify the structural property that makes it tractable: all stages couple only through one scalar, the in-process load imposed on the orchestrator tier. Conditioning on that scalar makes the objective separable, so each load level yields a two-constraint knapsack solved exactly by dynamic programming; a DAG-aware local search then corrects the non-critical-path branches that a separable objective over-values. HiPlan lands within 0.09% of exhaustive search on average while planning a 20-stage pipeline 66× faster, and an online controller re-plans under load shift while charging the measured model-load cost. Driven by two production Azure LLM inference traces and measured service-time distributions, HiPlan cuts end-to-end p95 latency by 32–58% against always-remote serving and keeps SLO violations at 3.0% where memory-greedy embedding reaches 55.5%.

Authors

Institutions

Publication Details

Journal
Transactions on Computer Science and Intelligent Systems Research
Published
2026-11-23
DOI
https://doi.org/10.62051/vz30nf34
Primary Topic
Cloud Computing and Resource Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

HiPlan: Tail-Latency-Aware Hybrid Embedded–Remote Placement for Conditional Inference Pipelines

Bingjie Zi, Jin Wang
Transactions on Computer Science and Intelligent Systems Research
Cloud Computing and Resource Management
article

HiPlan: Tail-Latency-Aware Hybrid Embedded–Remote Placement for Conditional Inference Pipelines

Bingjie Zi, Jin Wang
article en

Abstract

Production machine-learning services execute directed acyclic graphs of models rather than single models, and every stage of such a graph can be deployed in one of two ways: as an independently scaled remote model server, or embedded in the orchestrator process. We profile eight real ONNX Runtime operators spanning 0.005–58 ms of service time and 0.1–291 MB of resident footprint, and show that the choice is not global: remote invocation inflates the latency of cheap operators by 10–40× while costing under 1% for expensive ones, and the tail latency saved per megabyte of orchestrator memory varies across operators by three orders of magnitude. We formalise per-stage placement as tail-latency minimisation over a conditional DAG under a memory budget and a core budget, prove it NP-hard, and identify the structural property that makes it tractable: all stages couple only through one scalar, the in-process load imposed on the orchestrator tier. Conditioning on that scalar makes the objective separable, so each load level yields a two-constraint knapsack solved exactly by dynamic programming; a DAG-aware local search then corrects the non-critical-path branches that a separable objective over-values. HiPlan lands within 0.09% of exhaustive search on average while planning a 20-stage pipeline 66× faster, and an online controller re-plans under load shift while charging the measured model-load cost. Driven by two production Azure LLM inference traces and measured service-time distributions, HiPlan cuts end-to-end p95 latency by 32–58% against always-remote serving and keeps SLO violations at 3.0% where memory-greedy embedding reaches 55.5%.

Transactions on Computer Science and Intelligent Systems ResearchVol. 14
Northeastern University (US), University of California, Los Angeles (US)
Cloud Computing and Resource Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
HiPlan: Tail-Latency-Aware Hybrid Embedded–Remote Placement for Conditional Inference Pipelines — Bingjie Zi, Jin Wang · Transactions on Computer Science and Intelligent Systems Research (2026) | TGRS Research Map | TGRS