arXiv:2611.24496cs.OSNov 2026

Manuscript Offprint

arXiv:2611.24496

Harvesting Expert-Parallel Bubbles for Fine-Tuning

Oana Balmau, Saurav Banka, Jiaxuan Chen, Anne-Marie Kermarrec, Ramya Narasimha Prabhu, Rafael Pires, Mathis Randl, Martijn de Vos

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

marginparsep has been altered. topmargin has been altered. marginparwidth has been altered. marginparpush has been altered.

The page layout violates the ICML style.

Please do not change the page layout, or include packages like geometry, savetrees, or fullpage, which change it for you.

We’re not able to reliably undo arbitrary changes to the style. Please remove the offending package(s), or layout-changing commands and try again.

Harvesting Expert-Parallel Bubbles for Fine-Tuning

Oana Balmau 1 Saurav Banka 2 Jiaxuan Chen 1 Anne-Marie Kermarrec 3 Ramya Narasimha Prabhu 3 Rafael Pires 3 Mathis Randl 3 Martijn de Vos 3

Abstract

GPUs are expensive, yet latency-critical LLM (LLM) inference leaves part of them idle. Colocation reclaims this capacity by running best-effort work, such as fine-tuning, alongside serving. Many leading LLM now use a MoE (MoE) architecture, which adds a new source of idle time. Under expert parallelism, MoE experts are spread across GPUs, and because the router sends uneven numbers of tokens to each GPU, lightly loaded GPUs wait for the most loaded one. Even after applying load balancing solutions, such bubbles still take 8–13% of prefill time. We present BubbleTea, the first colocation system that leverages expert-parallel bubbles for fine-tuning. Unlike existing colocation systems, which make one scheduling decision for all GPUs per forward pass, BubbleTea predicts each GPU’s bubble at every layer from the router’s token assignment, and fills it with short chunks of fine-tuning work that reuse the weights already loaded for serving. We also introduce compiler passes that automatically derive these chunks from the served LLM as-is, without porting each model architecture to a separate training engine. Our evaluation on three MoE models, served on four A100 GPUs, shows that fine-tuning throughput with BubbleTea is 1.9–6.2×\times faster than with LLMStation, a state-of-the-art colocation system. BubbleTea keeps p90 inference latency within 10% of serving alone in 50 of 63 workloads, compared to 44 for LLMStation. On bursty production traces, BubbleTea trains 3.3×\times faster than LLMStation and 14×\times faster than a stock trainer colocated under CUDA MPS, with p90 inference latency staying within 7% of serving alone.

1 Introduction

GPU resources are a dominant cost of serving LLM, motivating systems that improve accelerator utilization Yu et al. (2022); Kwon et al. (2023); Agrawal et al. (2024); Zhong et al. (2024); Patel et al. (2024); Duan et al. (2024); Xiang et al. (2025). Latency-critical inference must meet stringent response-time SLO, yet rarely uses every GPU resource at every instant. Colocation systems reclaim this otherwise-idle capacity by running best-effort work, such as fine-tuning, alongside serving as long as its SLO are preserved Strati et al. (2024); He et al. (2025); Xu et al. (2025).

Many recent frontier LLM use a MoE architecture DeepSeek-AI (2024b); DeepSeek-AI (2026); Qwen Team (2025); Kimi Team (2025); OpenAI (2025); Gemini Team (2024); Gemini Team (2025). An MoE layer contains many feed-forward experts, and a router sends each token to only a few of them Fedus et al. (2022), increasing model capacity without proportionally increasing per-token computation. Since for large LLM the total size of experts is beyond what a single GPU can store, such models are typically served with EP (EP), which places different experts on different GPUs DeepSeek-AI (2024b); Smith (2025).

EP, however, introduces a new source of underutilization. Because token routing is input-dependent, GPUs receive different amounts of expert work. Lightly loaded GPUs finish early and wait for the results of the most-loaded GPU before computation can proceed. We call the time a GPU spends waiting for the most-loaded GPU a bubble. This load imbalance is well known and heavily optimized through techniques such as custom token routing objectives, strategic expert replication and placement, token redistribution Fedus et al. (2022); Lepikhin et al. (2021); Zhou et al. (2022); DeepSeek-AI (2024b); He et al. (2022); DeepSeek-AI (2025b); DeepSeek-AI (2025c); LMSYS Org (2026); Doucet et al. (2026), and specialized communication and expert kernels DeepSeek-AI (2025a); Perplexity AI (2025); Gale et al. (2023). We build on these mechanisms and ask the question they leave open: Once load balancing and execution optimizations have done their job, how much idle GPU capacity remains, and can it be leveraged to perform useful work?

Figure 1: BubbleTea trains 3.3×\times faster than LLMStation and 14×\times faster than uncoordinated colocation on a production trace, while keeping p90 TTFT within 3% of serving alone. Load (top) and fine-tuning throughput (bottom) of BubbleTea and baselines over time on a Qwen3-30B-A3B model serving a production (Azure) trace at its original rate (with 30 s30\text{\,}\mathrm{s} bins). Legend values give each system’s p90 TTFT over the whole trace, relative to serving alone.

Our analysis in §2 answers the first half of this question and reveals that substantial idle capacity remains. After applying state-of-the-art EP load balancing techniques, bubbles still account for 8–13% of prefill time. The second half of the question, whether this capacity can perform useful work, is more challenging. Existing colocation systems are natural candidates Oliaro et al. (2026); He et al. (2025); Xu et al. (2025); Chen et al. (2026). They place best-effort work, typically PEFT (PEFT) such as LoRA (LoRA) Hu et al. (2022), on the same GPUs as inference. However, they mostly exploit GPU underutilization during output generation (decode) and schedule work at the granularity of an inference or training step, whereas bubbles occur mostly during initial prompt processing (prefill), inside a single MoE layer, and differ in length across GPUs. Existing systems are therefore ineffective in leveraging such bubbles.

We introduce BubbleTea, a colocation system that leverages bubbles to fine-tune LLM with LoRA while serving them. The key insight behind BubbleTea is that the length of a bubble is predictable. During inference, the router decides how many tokens each GPU receives before the experts run, and using this count, BubbleTea predicts each GPU’s bubble duration with a median error of 8.9 \SIUnitSymbolMicros8.9\text{\,}\mathrm{\SIUnitSymbolMicro s}, about 7% of the median bubble. We introduce the first scheduler that admits fine-tuning work per GPU inside an MoE layer, unlike existing colocation systems: BubbleTea runs short chunks of fine-tuning work on each GPU only inside that GPU’s predicted bubble window.

We also design a compiler that turns the served model into training code. A serving engine only runs the model’s forward pass, which pushes tokens through the layers to predict the next one. Training also needs a backward pass, which propagates the error back through the model to compute the gradients that update the LoRA adapter. The compiler takes the serving engine’s forward pass, derives the matching backward pass, and splits the resulting training step into chunks short enough to fit in a single bubble. The generated code operates directly on the weights already loaded for serving, so BubbleTea fine-tunes the model without keeping a second copy of its weights in GPU memory. Existing colocation systems either train a second copy of the model Xu et al. (2025) or require porting each model architecture into their own training engine Oliaro et al. (2026); He et al. (2025), and they split training no finer than a layer or a serving iteration. Our compiler instead works on the serving engine’s model as-is, including its inference-only MoE kernels and expert placement, so supporting a new architecture requires no hand-written kernels for backward passes.

We implement BubbleTea and compare it against two baselines. Since there are no colocation systems specifically designed for MoE, we port an existing colocation system, LLMStation He et al. (2025), to support inference with MoE models, and also compare with uncoordinated colocation, a stock trainer running beside serving without coordination. Figure 1 shows the fine-tuning throughput of BubbleTea and both baselines while serving the Qwen3-30B-A3B LLM on a bursty production trace. Over the trace, BubbleTea trains 3.3×\times faster than LLMStation and 14×\times faster than uncoordinated colocation, and it sustains this advantage throughout, including during load bursts. Meanwhile, the 90th-percentile TTFT (TTFT) (p90 TTFT) of BubbleTea stays within 3% of serving alone, whereas uncoordinated colocation increases it by 18%. Part of this gain comes from the fine-grained training runtime that bubbles require, which also makes better use of the decode and idle time that LLMStation already exploits. Bubbles add the most at high load, when little decode and idle time is left for training, raising throughput by up to 27% (§4.3). Our further evaluation across three MoE models and two production traces confirms that BubbleTea turns idle time in MoE serving into substantial fine-tuning throughput, while keeping both p90 TTFT and TPOT (TPOT) within 10% of serving alone in 50 of 63 workloads.

This paper makes the following contributions:

  • A characterization of expert-parallel bubbles, showing that they survive load balancing, are predictable, and need per-GPU planning inside the MoE layer (§2).
  • BubbleTea, a novel colocation system that predicts each GPU’s bubble from the router’s decision, schedules short fine-tuning chunks only inside that window, and uses a compiler to derive those chunks automatically from the served LLM (§3).
  • An evaluation of BubbleTea and baselines on three MoE models and two production traces that breaks the gains down by source of capacity and by mechanism (§4).

References (27)