SAIR: Cost-Efficient Multi-Stage ML Pipeline Autoscaling via In-Context Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
Multi-stage ML inference pipelines are difficult to autoscale due to heterogeneous resources, cross-stage coupling, and dynamic bottleneck migration. We present SAIR, an autoscaling framework that uses an LLM as an in-context reinforcement learning controller, improving its policy online from reward-labeled interaction histories without gradient updates. SAIR combines Pareto-dominance reward shaping with a provable separation margin, surprisal-guided experience retrieval for context efficiency, and fine-grained GPU rate control via user-space CUDA interception. We provide regret analysis decomposing error into retrieval coverage and LLM selection components. On four ML serving pipelines under three workload patterns, SAIR achieves the best or tied-best P99 latency and effective resource cost among deployed baselines, improving P99 by up to 50% and reducing effective cost by up to 97% (under GPU rate-control assumptions), with 86% bottleneck detection accuracy and no offline training.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 31 references that are in the map. First posted on arXiv 29 Jan 2026.
Builds on
17 of 31 references.
References · 17
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
- 2022In-context Reinforcement Learning with Algorithm Distillationcited by 186
- 2024Llumnix: Dynamic Scheduling for Large Language Model Servingcited by 167
- 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 137
- 2024Can large language models explore in-context?cited by 75
- 2020FIRM: An Intelligent Fine-Grained Resource Management Framework for SLO-Oriented Microservicescited by 41
5 more
- 2024Queue management for slo-oriented large language model servingcited by 36
- 2025Reward Is Enough: LLMs Are In-Context Reinforcement Learnerscited by 29
- 2023IDEAL: Influence-Driven Selective Annotations Empower In-Context Learners in Large Language Modelscited by 26
- 2025Hierarchical Autoscaling for Large Language Model Serving with Chironcited by 9
- 2025Dilu: Enabling GPU Resourcing-on-Demand for Serverless DL Serving via Introspective Elasticitycited by 3
Built on by
Not cited yet.