Addressing Variable Heterogeneity in Distributed Multimodal Training with Entrain

Insu Jang, Mosharaf ChowdhuryarXiv 2026

TL;DR

Distributed training of Multimodal Large Language Models (MLLMs) is plagued by severe workload imbalances because different modalities (like text and images) vary independently and unpredictably across samples. This paper introduces Entrain, a framework that achieves optimal load balancing by using a static parallel configuration anchored to the stable workload distribution of a global batch, combined with a clever microbatch scheduling strategy that defers excess workload. It reduces microbatch variability by up to 10.6× and boosts training throughput by up to 1.40× over existing baselines.

What Problem Does This Paper Address?

Training Multimodal Large Language Models (MLLMs) involves processing diverse inputs like text, images, and audio. This introduces two major challenges for distributed training: workload heterogeneity (modality-specific encoders and the LLM backbone have fundamentally different computational structures and intensities) and workload variability (the amount of data per modality varies wildly from sample to sample).

Figure 1. Multimodal LLM architecture.

Because these modalities are tightly coupled within each training sample, standard pipeline parallelism suffers from severe load imbalances and "pipeline bubbles" (idle GPU time). Previous approaches tried to fix this by profiling small microbatches or single samples, but this micro-level variance leads to brittle, inefficient parallel configurations.

Figure 2. Visualization of different pipeline parallel schedules using 8 microbatches for a vision language model (VLM).

Methods

Entrain tackles workload imbalance at both macroscopic (batch-level) and microscopic (microbatch-level) scales:

  1. Macroscopic Profiling-Based Parallelization: Instead of expensive dynamic reconfiguration or inaccurate micro-level profiling, Entrain profiles at the global batch level. The authors mathematically prove (via the Law of Large Numbers) that while sample-level workloads are chaotic, the aggregate workload ratio between modalities stabilizes at a macro scale. Entrain builds a hardware-calibrated analytical cost model to find the minimum stable profiling batch size ($b_{min}$) and derives an optimal, static model-parallel configuration.
  2. Hierarchical Microbatch Assignment: To handle localized variability when a global batch is split into microbatches, Entrain decouples the scheduling constraints of encoders and the LLM backbone, treating them as a producer-consumer pipeline.
  3. Stratified Sample Assignment: Distributes encoder workloads evenly across microbatches.
  4. Pairwise Deferral Optimization: Formulates a bottleneck assignment problem to defer excess LLM workload from overloaded to underloaded microbatches, smoothing out execution times.
  5. Split-Backward Processing: Optimizes the backward pass to handle the reversed data dependencies caused by deferred samples without stalling the pipeline.

Datasets

The authors evaluated Entrain using the HuggingFace FineVision dataset, specifically selecting four subdatasets with distinct data distributions to demonstrate robustness against varying token distributions:

  • SynthChartNet (the most variable dataset)
  • ChartQA
  • CocoQA
  • LLaVA-150k
Figure 3. Distributions of number of vision and text tokens in various datasets. They are independently varying.

Key Insights and Ideas

  • The Macro-Stability "Aha" Moment: While per-sample modality ratios fluctuate drastically and lack a central tendency, the aggregate workload ratio reliably converges to a stable constant at the global batch scale. This means expensive dynamic reconfigurations are fundamentally unnecessary; a single static configuration works perfectly if anchored globally.
  • Decoupled Modality Scheduling: Traditional pipeline parallelism forces encoders and the LLM to process the exact same samples within a microbatch boundary. Entrain breaks this rigid constraint, allowing microbatches to vary in sample counts and deferring LLM computation to act as a workload variability absorber.

Key Results

  • Throughput Boost: Entrain improves end-to-end training throughput by up to 1.40× over state-of-the-art baselines like DistTrain and DIP.
  • Variability Reduction: It reduces workload variability across microbatches by up to 10.6×, creating highly stable execution times across pipeline stages.
  • Memory Efficiency: Unlike baselines like DIP, which suffer from high memory overhead due to retaining activations across the entire batch, Entrain's pairwise deferral bounds activation buffering to a single microbatch interval, leading to highly stable and lower peak memory consumption.

Limitations and Future Work

  • Atomic Deferral Limitation: Entrain defers LLM workloads atomically (per sample) rather than partitioning a single sample into multiple chunks. If a dataset contains an individual sample with an extremely massive workload, the deferral mechanism cannot fully smooth out the imbalance.
  • Future Directions: The authors suggest extending this framework to even more diverse omnimodal models (combining video, audio, text, and images simultaneously) and exploring integration with more advanced pipeline parallel schedules like Zero-Bubble Pipeline Parallelism (ZBPP).

Summary updated

BibTeX
@misc{jang2026addressing,
  author = {Insu Jang and Mosharaf Chowdhury},
  title = {{Addressing Variable Heterogeneity in Distributed Multimodal Training with Entrain}},
  year = {2026},
  eprint = {2605.27918},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.27918},
}
Figure