MuxTune: Efficient Multi-Task LLM Fine-Tuning in Multi-Tenant Datacenters via Spatial-Temporal Backbone Multiplexing

Chunyu Xue (Shanghai Jiao Tong University), Yi Pan (Shanghai Jiao Tong University), Weihao Cui (Shanghai Jiao Tong University and National University of Singapore), Quan Chen (Shanghai Jiao Tong University), Shulai Zhang (Shanghai Jiao Tong University), Bingsheng He (National University of Singapore), Minyi Guo (Shanghai Jiao Tong University)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 2 · Clouds, Carefully Engineered

Overview

The proliferation of public fine-tuning APIs offered by major cloud and foundation model providers has driven a surge in Parameter-Efficient Fine-Tuning (PEFT) workloads in multi-tenant datacenters. Users frequently submit diverse fine-tuning jobs utilizing shared foundational models—such as Llama—paired with adaptation techniques like Low-Rank Adaptation (LoRA). Traditionally, cluster schedulers handle these demands by provisioning isolated, dedicated instances comprising full sets of GPUs and redundant copies of the backbone model parameters for every concurrent PEFT task. This naive multi-tenancy model introduces staggering infrastructure inefficiencies, driven by severe memory footprint bloat and underutilized hardware resources.

Watch on YouTube · Slides

Visual summary for MuxTune: Efficient Multi-Task LLM Fine-Tuning in Multi-Tenant Datacenters via Spatial-Temporal Backbone Multiplexing by Chunyu Xue, Yi Pan, Weihao Cui, Quan Chen, Shulai Zhang, Bingsheng He, Minyi Guo
Visual summary for MuxTune: Efficient Multi-Task LLM Fine-Tuning in Multi-Tenant Datacenters via Spatial-Temporal Backbone Multiplexing by Chunyu Xue, Yi Pan, Weihao Cui, Quan Chen, Shulai Zhang, Bingsheng He, Minyi Guo

Key moments

  1. 0:00 Introduction and PEFT fine-tuning background
  2. 1:53 Performance issues and limitations in PEFT workloads
  3. 5:17 Overview of MuxTune system architecture and phases
  4. 7:50 Sharing the frozen backbone and dynamic adapter registration
  5. 9:18 Navigating spatial-temporal fusing tradeoff with hybrid tasks
  6. 10:35 Intra-stage orchestration and structured pipeline templates
  7. 11:58 Chunk-based data alignment to eliminate padding
  8. 13:20 Evaluation results and throughput improvements

MuxTune: Efficient Multi-Task LLM Fine-Tuning in Multi-Tenant Datacenters via Spatial-Temporal Backbone Multiplexing

Speakers: Chunyu Xue (Shanghai Jiao Tong University); Yi Pan (Shanghai Jiao Tong University); Weihao Cui (Shanghai Jiao Tong University and National University of Singapore); Quan Chen (Shanghai Jiao Tong University); Shulai Zhang (Shanghai Jiao Tong University); Bingsheng He (National University of Singapore); Minyi Guo (Shanghai Jiao Tong University)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=1eax8OQtXGk

Overview

The proliferation of public fine-tuning APIs offered by major cloud and foundation model providers has driven a surge in Parameter-Efficient Fine-Tuning (PEFT) workloads in multi-tenant datacenters. Users frequently submit diverse fine-tuning jobs utilizing shared foundational models—such as Llama—paired with adaptation techniques like Low-Rank Adaptation (LoRA). Traditionally, cluster schedulers handle these demands by provisioning isolated, dedicated instances comprising full sets of GPUs and redundant copies of the backbone model parameters for every concurrent PEFT task. This naive multi-tenancy model introduces staggering infrastructure inefficiencies, driven by severe memory footprint bloat and underutilized hardware resources.

MuxTune is a systematic framework designed to execute efficient multi-task LLM fine-tuning in multi-tenant datacenters by multiplexing a shared backbone model across independent tasks. Rather than duplicating backbone weights or forcing coarse-grained collocation via hardware-level partitioning tools, MuxTune coordinates fine-tuning workloads through a spatial-temporal backbone multiplexing strategy. The system decouples model operators from task adapters, dynamically schedules execution pipelines, and aligns training data to eliminate padding waste. This article provides a technical breakdown of the architectural innovations, optimization algorithms, and performance evaluations that underpin MuxTune.

Background

▶ Watch: Introduction and PEFT fine-tuning background (0:00)

To understand the systems-level challenges addressed by MuxTune, one must examine the distinct computational profile of PEFT compared to full-model pre-training. In standard PEFT paradigms, backbone model parameters remain frozen while lightweight task-specific structures—classified broadly as additive, selective, or reparameterized algorithms—are trained. LoRA, the predominant additive method, introduces low-rank matrices in parallel with backbone operators to track weight updates.

Despite operating on a fraction of the parameters, PEFT workloads encounter severe performance degradation due to three core systemic bottlenecks:

  1. Model Flops Utilization (MFU) Gap: PEFT workloads suffer from a roughly $1.47\times$ MFU deficit compared to full pre-training. This stems from the dominance of small-scale operators introduced by adaptation layers (e.g., LoRA down-projections with a rank of 8), which exhibit low arithmetic intensity and poor operator utilization despite non-negligible launch latencies.
  2. Multi-GPU Parallelism Stalls: In multi-GPU settings, PEFT exacerbates pipeline and tensor parallelism penalties. Pipeline parallelism cannot leverage zero-bubble scheduling techniques because there are no weight gradient computations for the frozen backbone, preventing the backward pass from being cleanly split into input and weight gradients. Tensor parallelism suffers similarly; splitting small PEFT input sizes into finer tiles to overlap communication degrades hardware operator utilization.
  3. Multi-Tenant Inefficiencies: Existing co-location strategies fall short. Coarse-grained hardware slicing (using NVIDIA MPS or multiple CUDA streams) hits memory capacity walls because the frozen backbone dominates the memory footprint, preventing scaling to larger models or high concurrency. Conversely, batched multi-task serving engines (inspired by multi-LoRA serving systems) fail in training scenarios because batching heterogeneous training tasks induces diminishing returns, exacerbates pipeline bubbles, and forces extensive sequence padding.

Key Findings

▶ Watch: Overview of MuxTune system architecture and phases (5:17)

MuxTune demonstrates that multiplexing a single shared backbone across concurrent tasks can bridge the efficiency gap between PEFT and pre-training without sacrificing convergence isolation. Evaluated across diverse model architectures, input sizes, and hardware configurations, MuxTune delivers a $1.05\times$ to $2.3\times$ throughput improvement over state-of-the-art baselines while simultaneously reducing memory footprint by up to $5.29\times$.

Key empirical and design discoveries include:

  • The Spatiotemporal Trade-off: Pure temporal multiplexing (interleaving micro-batches to overlap device stalls) excels when base operator utilization is high, whereas spatial multiplexing (batching tasks together) performs better under opposite conditions. Unifying these approaches via a hybrid task abstraction resolves the tension.
  • Structured Pipeline Optimizations: Casual micro-batch ordering in packed multi-task scenarios introduces severe pipeline bubbles. Implementing a static pipeline template based on consistent micro-batch shapes and equal stage latencies eliminates internal bubbles in the final pipeline stage.
  • Chunk-Based Data Alignment: Traditional padding and sequence-packing strategies introduce ineffective compute tokens or waste attention mechanism capacity. Uniformly partitioning task sequences into fixed-size chunks (e.g., 16-fold sizing) achieves zero inter-task padding while preserving high computational efficiency.

Technical Deep Dive

▶ Watch: Navigating spatial-temporal fusing tradeoff with hybrid tasks (9:18)

The MuxTune system architecture is structured around four primary phases: modularizing the task workflow, constructing hybrid tasks via spatiotemporal scheduling, orchestrating operators using a two-tier strategy, and performing chunk-level data alignment.

Task Workflow Modularization

Existing PEFT implementations hardcode adapter logic directly into the backbone layers, necessitating high-overhead model re-initialization when tasks dynamically arrive or depart. MuxTune abstracts fine-tuning algorithms into four composable submodules: Base OPS (backbone operators), Adapters (PEFT operators), Dispatch (multitask input preparation), and Aggregate (merging output tensors).

Using the PyTorch hook mechanism, MuxTune dynamically registers tasks and attaches adapters on-the-fly. This guarantees strict task isolation for both runtime exceptions and forward-backward compute paths, ensuring that multi-tenant co-location has zero impact on fine-tuning convergence for individual jobs.

Spatiotemporal Fusing & Cost Modeling

To navigate the trade-off between spatial batching and temporal interleaving, MuxTune introduces a hybrid task abstraction. Tasks are grouped into hybrid buckets for spatial batching, while distinct hybrid tasks are scheduled temporally via interleaving.

Because scaling to large task counts expands the optimization space exponentially, MuxTune builds an analytical cost model to estimate the end-to-end latency of each hybrid task configuration. A dynamic programming algorithm processes these cost estimations to determine the optimal spatial-temporal combination that minimizes overall pipeline latency.

Two-Tier Operator Orchestration

Operator execution is orchestrated across two hierarchical levels: intra-stage parallelism and pipeline parallelism.

  • Intra-Stage Subgraph Scheduling: MuxTune constructs computational subgraphs for each hybrid task by clustering operators, appending communication nodes, and isolating adapters. Subgraphs are assigned priorities based on topological depth. A priority queue tracks zero in-degree subgraphs, greedily executing the longest-latency subgraph while triggering successors. Computation and communication operations execute in decoupled CUDA streams to achieve natural hardware-level overlap.
  • Inter-Stage Pipeline Templates: To eliminate pipeline bubbles caused by casual batch ordering, MuxTune exploits computational homogeneity (consistent micro-batch shapes and balanced forward-backward latencies). By sorting task buckets by latency, keeping micro-batches consecutive, and launching execution early, the system enforces a structured pipeline template proven to minimize internal stage bubbles.

Chunk-Based Data Alignment

To prevent token wastage, MuxTune discards standard zero-padding and sequence-packing methods in favor of chunk-based alignment. Individual task sequences are packed into unified lengths and uniformly partitioned into equal-sized chunks (optimized at a 16-fold size boundary). By adjusting intra-chunk task ratios, MuxTune balances sequence length differentials without generating attention mask inefficiencies, as each chunk contains precisely one or a partial sequence.

Experimental Setup & Results

▶ Watch: Intra-stage orchestration and structured pipeline templates (10:35)

MuxTune was evaluated across a diverse suite of benchmarks encompassing varying input sequence lengths, model families (including Llama variants), and multi-GPU cluster configurations. Baseline comparisons included unoptimized multi-tenant setups utilizing NVIDIA MPS, naive multi-task batching architectures inspired by serving engines, and pure temporal interleaving systems.

  • Throughput Performance: MuxTune achieves consistent speedups ranging from $1.05\times$ to $2.3\times$ across evaluated workloads. The magnitude of these throughput gains scales upward when deploying on higher-performance accelerator hardware, as MuxTune effectively saturates compute units that would otherwise stall under standard PEFT scheduling.
  • Memory Footprint Reduction: By eliminating the need to instantiate redundant copies of frozen backbone parameters for every concurrent task, MuxTune reduces aggregate GPU memory consumption by up to $5.29\times$. This footprint compression directly translates to higher job concurrency limits in multi-tenant datacenters.
  • Ablation Studies: Component-level evaluations validate the necessity of MuxTune's constituent modules. Removing the dynamic programming cost model leads to suboptimal spatiotemporal configurations; omitting the structured pipeline templates reintroduces significant bubble overheads; and replacing chunk-based alignment with standard padding results in noticeable memory and compute degradation.

Practical Implications

▶ Watch: Evaluation results and throughput improvements (13:20)

For infrastructure engineering teams and MLaaS (Machine Learning as a Service) providers, MuxTune offers a viable path toward high-density, multi-tenant PEFT hosting. By collapsing the memory overhead associated with frozen backbone duplication, cloud providers can host significantly more concurrent fine-tuning jobs on a fixed cluster footprint, directly improving capital expenditure efficiency.

Model builders and enterprise practitioners benefit from streamlined fine-tuning APIs that do not require manual batching heuristics or job serialization. Because MuxTune guarantees strict task isolation via decoupled PyTorch hooks, users experience identical convergence behavior to dedicated single-tenant executions, eliminating fears of gradient contamination or unexpected runtime failures. However, deployers must carefully tune hyperparameters such as chunk size boundaries to match their specific workload distributions and hardware interconnect topographies.

Key Takeaways

  • Memory Bloat Resolution: Traditional PEFT multi-tenancy forces redundant copies of frozen backbones; MuxTune resolves this by multiplexing a single shared backbone across tasks, reducing memory footprints by up to $5.29\times$.
  • Spatiotemporal Abstraction: Balancing spatial batching and temporal interleaving through a hybrid task model resolves the inherent trade-off between operator utilization and device stall reduction.
  • Dynamic Decoupling: Leveraging PyTorch hooks to decouple adapters from backbone operators allows dynamic task registration and uncompromised convergence isolation.
  • Structured Pipeline Templates: Exploiting computational homogeneity eliminates pipeline bubbles in multi-task parallel fine-tuning without requiring costly per-iteration runtime searches.
  • Zero-Padding Chunk Alignment: Chunk-based data alignment removes ineffective padding tokens and prevents attention computation waste, driving throughput improvements up to $2.3\times$.

About the Speaker(s)

The research was presented by Chunyu Xue, a researcher from Shanghai Jiao Tong University, representing a collaborative effort with researchers from Shanghai Jiao Tong University and the National University of Singapore (including co-authors Yi Pan, Weihao Cui, Quan Chen, Shulai Zhang, Bingsheng He, and Minyi Guo). The team specializes in systems for machine learning, high-performance computing, and efficient distributed infrastructure for modern AI workloads.

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)