mlsanityData to 7 Oct 2026

Adaptive Inference Batching using Policy Gradients

arXiv 2607.05272 ↗First posted 6 Jul 2026cs.LG cs.AI cs.DCcited by 0

Not on the map. Why?

Abstract (arXiv)

Inference serving systems must balance throughput and latency under bursty, heterogeneous workloads, yet the industry standard remains static batching policies that require manual tuning and cannot adapt to shifting traffic. We investigate whether reinforcement learning (RL) can learn adaptive batching and routing policies that outperform these heuristics, training REINFORCE and PPO agents on a discrete-event simulator validated against queuing theory and production traces (Azure Functions, BurstGPT). We formulate the problem as an MDP over queue state, request type and GPU availability, evaluating across standard Poisson traffic, extreme bursts, real-world traces and heterogeneous multi-GPU routing. Our central finding is a clear boundary condition for RL's value in systems problems. In single-GPU settings, a well-tuned static batching policy is already near-optimal under Poisson-like arrivals and RL offers only marginal gains (+0.1% to +1.0%). In multi-GPU heterogeneous routing, however, where fast and slow requests compete for shared resources, the agent discovers a workload-segregation policy that eliminates Head-of-Line blocking, yielding a 3.5x (348%) improvement over Round-Robin and a 48% improvement over the strongest heuristic baseline (Shortest-Queue), with 60% higher throughput and 25% lower latency while respecting SLA constraints. The policy generalizes to unseen bursty and real-world traffic despite training only on synthetic Poisson arrivals and an attention-augmented policy network converges roughly 20% faster than an MLP baseline. These results suggest RL's advantage over engineered heuristics concentrates in combinatorial, multi-resource decisions rather than single-resource temporal scheduling, a practical distinction for deciding where learned policies justify their engineering cost in production inference infrastructure.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 20 of its 48 references that are in the map. First posted on arXiv 6 Jul 2026.

Builds on

20 of 48 references.

References · 20

  1. 2016Layer Normalizationcited by 5,579
  2. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  3. 2014How transferable are features in deep neural networks?cited by 1,216
  4. 2021Characterizing possible failure modes in physics-informed neural networkscited by 632
  5. 2020When and why PINNs fail to train: A neural tangent kernel perspectivecited by 629
  6. 2022Scientific Machine Learning through Physics-Informed Neural Networks: Where we are and What's nextcited by 603
  7. 2019Importance Estimation for Neural Network Pruningcited by 531
  8. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
  9. 2018Soft Filter Pruning for Accelerating Deep Convolutional Neural Networkscited by 313
  10. 2018Explicit Inductive Bias for Transfer Learning with Convolutional Networkscited by 226
  11. 2018Characterizing and Avoiding Negative Transfercited by 226
  12. 2021Gradient-enhanced physics-informed neural networks for forward and inverse PDE problemscited by 220
8 more
  1. 2020Soft Threshold Weight Reparameterization for Learnable Sparsitycited by 150
  2. 2021Finite Basis Physics-Informed Neural Networks (FBPINNs): a scalable domain decomposition approach for solving differential equationscited by 142
  3. 2024Challenges in Training PINNs: A Loss Landscape Perspectivecited by 109
  4. 2023Can Physics-Informed Neural Networks beat the Finite Element Method?cited by 68
  5. 2020Physics-informed neural network for ultrasound nondestructive quantification of surface breaking crackscited by 67
  6. 2022Enhanced Physics-Informed Neural Networks with Augmented Lagrangian Relaxation Method (AL-PINNs)cited by 35
  7. 2025Transfer Learning in Physics-Informed Neural Networks: Full Fine-Tuning, Lightweight Fine-Tuning, and Low-Rank Adaptationcited by 14
  8. 2026Unlearning Noise in PINNs: A Selective Pruning Framework for PDE Inverse Problemscited by 1

Built on by

Not cited yet.