Heterogeneous Parallelism for Multimodal Large Language Model Training
Yashaswi Karnati, Kamran Jafari Sadeghi, Akash Mehra, Li Ding, Alireza Roshan Ghias, Pranav Prashant Thombre, ShifangXu, Parth Mannan, Yu Yao, Hao Wu, Eric Harper, Ashwath Aithal, Nima Tajbakhsh
NeurIPS 2026
TL;DR. Heterogeneous parallelism for MLLM training: layout-aware communicators and schedules let encoders/LLMs each choose sharding and placement; colocated/non-colocated studies show gains, convergence parity, and open-source Megatron-LM release.
Abstract. Foundation model training is becoming multimodal across the stack, from natively multimodal post-training pipelines to large-scale pretraining. As multimodal coverage broadens, context windows grow, and encoder–LLM scales diverge, a single LLM-centric TP/CP/PP/DP/EP layout increasingly bottlenecks training throughput. This coupling forces encoders to inherit LLM-driven sharding and placement choices that can introduce unnecessary communication, limit useful encoder parallelism, or constrain the LLM schedule; the mismatch is especially pronounced at long contexts, where LLM context parallelism is needed for the fused multimodal sequence but encoder inputs remain bounded. We present heterogeneous parallelism for multimodal large language model training, a training-system abstraction that lets modules in the same end-to-end graph use independent parallel layouts and rank placements, supporting colocated execution, where modules share physical GPUs under different logical grids, and non-colocated execution, where modules occupy disjoint rank sets. The key systems challenge is preserving boundary tensor semantics when adjacent modules use independent layouts: forward activations must be materialized for the destination layout, while backward gradients must be routed back to the source layout. We address this with boundary communicators, runtime primitives that implement these forward and backward layout transforms, together with scheduling extensions for both placement modes. We evaluate optimized homogeneous, colocated heterogeneous, and non-colocated heterogeneous configurations across diverse multimodal workloads and GPU scales to characterize where each placement mode helps. Across this sweep, colocated heterogeneity improves TFLOPS/GPU by up to 49.3%, while non-colocated heterogeneity improves aggregate token throughput by up to 13.0% and TFLOPS/GPU by up to 9.6%. We validate loss convergence parity against homogeneous baselines and release the system as an open-source Megatron-LM extension.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper presents a heterogeneous parallel-training framework for multimodal LLMs. Instead of forcing modality encoders and the LLM backbone to share one global parallel layout, it permits module-local parallel configurations and connects them through an autograd-aware boundary communicator. A graph-aware scheduler further supports module placement, non-colocated execution, and pipeline scheduling.
The paper addresses a practical systems problem: modality encoders and language backbones often have substantially different memory, sequence-length, computation, and communication characteristics. The implementation integrates multiple parallel modes and demonstrates meaningful improvements over homogeneous configurations.
The main initial concern was whether the contribution went beyond combining existing parallelism techniques. The rebuttal clarifies that the novelty lies in the integrated abstraction for communicating across independently configured modules and scheduling the resulting heterogeneous computation graph. It also adds comparisons with existing systems, experiments on realistic multimodal workloads, component-level attribution, configuration-selection details, and analyses of memory, communication, pipeline bubbles, and cases where homogeneous execution remains preferable. These additions substantially strengthen both the novelty positioning and empirical support.
The individual parallelism techniques are not themselves new, and configuration selection remains only partially automated. Thus, the contribution should be framed primarily as a systems architecture and implementation rather than a new parallel algorithm. Nevertheless, the framework addresses an important gap, requires substantial engineering, and is supported by adequate experimental evidence. I recommend acceptance as a poster.
Final justification
The rebuttal clarifies the distinction from existing training systems and adds realistic workloads, component attribution, and detailed memory and communication analyses. Although the individual techniques are largely established and configuration selection is not fully automated, their integration into a flexible heterogeneous multimodal training system is practically valuable and sufficiently supported. I recommend acceptance as a poster.
Read meta-review
Meta-review
This paper presents a heterogeneous parallel-training framework for multimodal LLMs. Instead of forcing modality encoders and the LLM backbone to share one global parallel layout, it permits module-local parallel configurations and connects them through an autograd-aware boundary communicator. A graph-aware scheduler further supports module placement, non-colocated execution, and pipeline scheduling.
The paper addresses a practical systems problem: modality encoders and language backbones often have substantially different memory, sequence-length, computation, and communication characteristics. The implementation integrates multiple parallel modes and demonstrates meaningful improvements over homogeneous configurations.
The main initial concern was whether the contribution went beyond combining existing parallelism techniques. The rebuttal clarifies that the novelty lies in the integrated abstraction for communicating across independently configured modules and scheduling the resulting heterogeneous computation graph. It also adds comparisons with existing systems, experiments on realistic multimodal workloads, component-level attribution, configuration-selection details, and analyses of memory, communication, pipeline bubbles, and cases where homogeneous execution remains preferable. These additions substantially strengthen both the novelty positioning and empirical support.
The individual parallelism techniques are not themselves new, and configuration selection remains only partially automated. Thus, the contribution should be framed primarily as a systems architecture and implementation rather than a new parallel algorithm. Nevertheless, the framework addresses an important gap, requires substantial engineering, and is supported by adequate experimental evidence. I recommend acceptance as a poster.
Final justification
The rebuttal clarifies the distinction from existing training systems and adds realistic workloads, component attribution, and detailed memory and communication analyses. Although the individual techniques are largely established and configuration selection is not fully automated, their integration into a flexible heterogeneous multimodal training system is practically valuable and sufficiently supported. I recommend acceptance as a poster.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes a training system for multimodel models that allow heterogeneous/ individual parallelism configs for various modules like LLM and encoder. The support two modes, colocated execution, where LLM and encoder share the same GPUs and non-colocated execution where they run on disjoint GPU sets. The boundary communicators that transform encoder activations into the layout expected by the LLM during the forward pass and route gradients back into the encoder’s original layout during backward, seems to be the main contribution.
Strengths and weaknesses
Strength
- The contribution looks solid and useful despite novelty concerns. Their main attack surface "forcing heterogeneous modules such as modality encoders and LLM backbones to share one global parallel layout" makes sense.
- The results seems good with per-GPU throughput by up to 29.3% at short context and 49.3% at long context for collocated while on non-colocated execution improves aggregate token throughput by up to 13%. This improvement though small looking is hard to squeeze IMO.
- Its good that authors provide implementation in graph mode which is what practitioners care about.
Weaknesses
- The work is mainly an engineering contribution so novelty/ surprize component is not that high IMO.
- The paper does not provide any way to find out the optimal configuration. Even currently parallelism space is huge. With this module level specification, it becomes even larger. Further, the overall throughput will be determined by the slowest step. Hence getting the parallelism right is essential. The work provides no way to figure that out.
- Baselines considered are limited to megatron-LM. Can authors provide comparison with atleast one of DistTrain, Cornstarch, DISTMM, or other recent heterogeneous-parallel training approaches.
- I think the most important weakness is limited evaluation. Right now evaluation show POC but does not give insight into practicality of this work. More richer evaluation is needed. The paper should report performance on real life datasets. Its not clear whether we need separate configuration tuning each dataset? Also authors must evaluate what happens as vision load increases? These are some ideas.
- Further, the implementation is said to support multiple encoders, audio, video, cross-attention models, and MoE, but the performance evaluation is primarily based on image-text encoder–LLM workloads.
- More component-level ablations should be provided to attribute what specifically causes the gain in final throughput performance. What was the original bottleneck that got solved and resulted in improvements. Usually system papers have a motivation section to adderss this. This paper lacks it.
- It seems to be that the colocated three-phase schedule may introduce activation-memory and serialization costs as encoder activations or recomputation state must remain live across a potentially long LLM pipeline window. This should be showcased in experiments I think.
Overall the work seems useful, experiments show POC IMO but how general and practical is it remains an open question. Authors should make this paper a much more experiment heavy showing more models, more real pretraining or finetuning datasets, more ablations. Address configuration finding issue.
Questions
- Can authors provide a more detailed comparison to Cornstarch which seems similar in spirit.
- It is not clear how generalizable their design is - in terms of new LLMs like qwen3.6 and older ones too. Can the authors elaborate on this more?
- What is the affect of increasing/ decreasing no of images per request?
Limitations
The authors must discuss limitations like
- what regimes homogenous continue to perform best.
- whether configurations generalize across datasets
- how hard to find optimal configurations
Final justification
I read the rebuttal and decided to increase my score.
Formatting concerns
none
1 comment
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a heterogeneous parallelism approach for multimodal large language model training. The core idea is to allow different modules in an end-to-end MLLM computation graph to use their own independent TP/CP/PP/DP/EP parallel layouts and rank placements, instead of sharing a single global parallel configuration. To preserve training semantics at module boundaries, the paper introduces an autograd-aware boundary communicator, which transforms forward activations into the destination module’s layout and routes backward gradients back to the source module’s layout. The system supports both colocated and non-colocated execution modes, and extends pipeline scheduling to compose heterogeneous modules. The experiments compare homogeneous, colocated heterogeneous, and non-colocated heterogeneous configurations, showing throughput improvements and validating convergence parity with homogeneous baselines.
Strengths and weaknesses
Strengths:
- Complete engineering design. The paper proposes a module-level heterogeneous parallelism abstraction for multimodal large model training, allowing different modules such as the encoder, projector, and LLM to use independent parallel layouts and rank placements. The system supports both colocated and non-colocated modes, and designs corresponding boundary communicators and pipeline scheduling mechanisms, enabling modules with different parallel layouts to be composed within a single end-to-end training graph.
- Detailed and large-scale experiments. The paper compares homogeneous, colocated heterogeneous, and non-colocated heterogeneous configurations across different encoder/LLM scales, context lengths, vision-token ratios, and GPU scales, and reports throughput results. It also validates through FP32/BF16 loss convergence that heterogeneous parallelism does not significantly change the training semantics.
Weaknesses:
- Limited novelty; closer to an engineering report. There has already been substantial related work on module heterogeneity and scheduling optimization in multimodal training. The proposed boundary communicator is essentially a layout redistribution mechanism, and similar ideas are common in existing distributed training systems such as Alpa and Galvatron. Therefore, the main contribution appears to be a relatively complete engineering integration rather than a fundamentally new parallelization algorithm or communication primitive.
- Insufficient discussion of pipeline balance. In the non-colocated setting, graph-aware 1F1B scheduling still requires balancing the execution time of different modules and pipeline stages to reduce bubbles. The paper mainly focuses on module-boundary communication, but does not sufficiently optimize or discuss load balancing across heterogeneous modules.
- Lack of direct comparison with existing MLLM training systems. The experiments mainly compare homogeneous, colocated heterogeneous, and non-colocated heterogeneous configurations, but lack direct comparisons with the related systems discussed in the paper. This makes it difficult to quantify the practical advantages of the proposed method over existing systems.
- High manual tuning cost. As the number of modalities increases, the parallel-configuration space grows rapidly. In practice, obtaining high throughput may still require substantial manual tuning, which makes the system harder to use effectively.
Questions
- Please further clarify the core novelty of the proposed method. There has already been substantial related work on module heterogeneity and scheduling optimization in multimodal training, and the proposed boundary communicator appears conceptually similar to layout redistribution mechanisms in existing distributed training systems. Therefore, it would be helpful for the authors to more clearly explain the new contributions of this work compared with prior multimodal distributed training systems, beyond its engineering implementation.
- Please further discuss how the graph-aware 1F1B schedule handles pipeline balance in the non-colocated setting. Since different modules and pipeline stages may have different execution times, it would be useful for the authors to explain whether the current system includes mechanisms to mitigate pipeline bubbles.
- Please add direct experimental comparisons with existing MLLM training systems discussed in the related work. The current evaluation mainly compares homogeneous, colocated heterogeneous, and non-colocated heterogeneous configurations within the proposed system, making it difficult to quantify the practical advantages of the proposed method over prior systems.
- Please further discuss how users should choose efficient heterogeneous parallel configurations in practice. As the number of modalities increases, each module may have independent TP/CP/PP/DP configurations and rank placements, causing the overall search space to grow rapidly. It would be helpful for the authors to provide automatic search methods, heuristics, or practical guidelines to reduce manual tuning cost.
Limitations
I did not find a clear limitations discussion in the paper. I suggest that the authors include a dedicated limitations section and discuss some of the issues raised above.
Final justification
I acknowledge the engineering value and implementation completeness of this work, but I still have concerns regarding its originality. Table R1 primarily demonstrates the completeness of the system’s feature coverage, but it is insufficient to establish that these capabilities are themselves significantly novel. The paper does not present a particularly novel core insight, and the boundary communicator appears more like an engineering mechanism required to transform data and gradients across different parallel layouts. Similar functionality is already present in many systems, and I do not view it as a concept with strong independent novelty.
In addition, the authors’ response still lacks end-to-end experimental comparisons with existing MLLM training systems. I understand that different systems may target different workloads and favor different execution modes. Nevertheless, the authors could select workloads and configurations that are supported by both their system and the relevant baselines, thereby enabling a fair comparison and more directly demonstrating the practical efficiency advantages of the proposed system.
Overall, the authors’ response has not sufficiently addressed my core concerns regarding the paper’s originality and the completeness of its experimental comparisons. I therefore decide to maintain my original score. At the same time, I also acknowledge the perspective expressed in the Meta Review: if the Area Chair considers the complete system implementation, substantial engineering effort, and practical value to constitute a sufficiently important contribution, then the paper may still meet the acceptance threshold despite its relatively limited novelty.
Formatting concerns
No major formatting or anonymity issues.
2 comments
Rebuttal
We thank the reviewer for a detailed review. We particularly appreciate the assessment of the work as a complete end-to-end system and of the evaluation as detailed and large-scale. These were important goals of the work: supporting independent module layouts and rank placements requires boundary communication, pipeline scheduling, and training correctness to work together at realistic scale.
The Reviewer raises precise questions about novelty, non-colocated pipeline balance, comparison with related systems, and configuration-selection cost. We address each below and will incorporate the resulting clarifications, practical guidance, and a dedicated Limitations section into the camera-ready manuscript.
Novelty positioning
Table R1: Capability Comparison across Distributed Training Systems
✓ = first-class; ◐ = partial/restricted; ✗ = no; — = N/A.
| System | Module-local TP/PP/DP | CP LLM-only | Colocated: shared ranks, diff grids | Non-colocated: disjoint | Autograd-aware boundary | Graph-aware schedule (both placements) |
|---|---|---|---|---|---|---|
| Megatron / DeepSpeed / FSDP | ✗ | ✗ | ✗ | ✗ | — | ✗ |
| DISTMM [4] | ✓ | ✗ | ✗ | ◐ | ✗ | ✗ |
| Optimus [3] | ✓ | ✗ | ✓ | ✗ | ✗ | ◐ |
| DistTrain [19] | ✓ | ✓ | ✗ | ✓ | ◐ (broker) | ✗ |
| Cornstarch [2,5] | ◐ | ✓ | ✗ | ◐ | ✗ | ✗ |
| DHP/FCP [10] | ✗ | ◐ | ✗ | ✗ | ✗ | ✗ |
| DIP/PipeWeaver [18] | ◐ | ✗ | ✗ | ◐ | ✗ | ◐ |
| Ours | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
We thank the reviewer for pointing to the boundary communicator and graph aware scheduling as the parts that make this a novel system; we see it the same way. These two components together enable composable module layouts and placements in a distributed training system, which no prior work does. Specifically, each of the prior systems commit to one regime (disjoint units, nested colocated layouts, or a single fused pipeline; shown in Table R1), while ours lets any per-module TP/CP/PP/DP/EP layout and either shared or disjoint placement compose in one training graph. Because the best layout shifts with model, tokens, and interconnect, this composability lets a user switch modes to fit the workload without rebuilding the framework. We will highlight this in the camera ready version, but here also briefly highlight the significance of these novel components for our system.
The boundary communicator keeps this composition correct. The hard part is not sending encoder activations to the LLM, but ensuring both forward activations and backward gradients reach the right ranks. Our method applies a forward layout transform and its exact reverse in backward, even across different grids or separate GPUs.
The graph-aware schedule lets these boundaries compose in a non-linear graph. Since several encoders feed the LLM, it treats each boundary as its own dispatch decision for separate-GPU modules, while a three-phase schedule for shared-GPU modules keeps encoder collectives off the LLM pipeline. Together these run colocated and non-colocated execution in one graph.
Non-Colocated schedules and pipeline bubbles.
The current system mitigates bubbles from unequal encoder and LLM execution times through two mechanisms.
Rate matching: Encoder and LLM use independent DP degrees. We choose the DP_E:DP_L fan-out ratio so that the aggregate encoder output rate matches the LLM consumption rate. Thus, a smaller encoder DP group can feed multiple LLM DP replicas without leaving the LLM waiting for encoder outputs.
Schedule overlap: Graph-aware 1F1B dispatches dependency-ready encoder and LLM forward/backward work across microbatches. Once the two modules are rate-matched, their execution overlaps in steady state. The exposed bubble is approximately one encoder forward during pipeline fill and one encoder backward during drain, amortized over the microbatches. This bubble is confined to the compact encoder GPU group rather than the much larger LLM group.
This balancing is unavailable in the homogeneous layout, where the encoder is tied to the first LLM PP stage and inherits the LLM's DP/TP layout. Non-colocation lets us independently adjust encoder capacity without changing the LLM layout. In our 120B experiments, an eight-GPU encoder group feeds a 256- or 512-GPU LLM group.
Comparison with Cornstarch and other heterogeneous MLLM systems.
Existing MLLM systems support fixed subsets of the layout and placement choices our runtime enables: DistTrain uses disjoint module pools, and Cornstarch composes modules into one pipeline with a common DP degree and nested TP constraints. Ours instead supports independent TP/CP/PP/DP layouts with either shared or disjoint rank sets. This matters because our evaluation shows different workloads favor homogeneous, colocated, or non-colocated execution; no fixed placement family is uniformly best. A raw cross-framework throughput comparison would also conflate this design-space difference with framework-specific implementation choices (kernels and fusion, communication overlap, pipeline scheduling, memory management, precision, optimizer). We therefore use optimized homogeneous Megatron-LM as the controlled baseline and compare all three modes within the same runtime, holding the model, hardware, precision, global batch size, and recipe fixed.
Choosing optimal configurations.
Fully automated selection from analytical estimates alone is hard to make reliable: parallelism choices change GEMM shapes, collective placement, pipeline bubbles, and compute–communication overlap, and depend on implementation details like kernel fusion and contention, so closed-form estimates cannot reliably rank close configurations. Existing planners reflect this: Alpa profiles compiled executables after fusion and memory planning, and Galvatron reports that ignoring compute–communication contention raises average prediction error from below 5% to above 15%. We narrow the space with a cost model and topology heuristics below:
1) Estimate per-rank memory.
For a dense GQA transformer with hidden H, FFN F, KV K, vocab V, microbatch b, sequence s, per-rank layers L_r and live microbatches n_r, and I_in/I_out marking the embedding/output ranks, the per-rank parameters P_r, saved activations A_r, and bytes M_r (BF16 params/activations; distributed FP32 optimizer) are:
P_r ≈ I_in × VH/TP + L_r × (2H² + 2HK + 3HF)/TP + I_out × VH/TP
A_r ≈ {n_r × [I_in × bsH + L_r × bs(8H + 2K + 3F)/TP] + I_out × 3bsV/TP} / CP
M_r ≈ [6 + 12/(DP × CP)]P_r + 2A_r bytes
2) Account for parallelism costs.
| Choice | Communication cost | Selection rule |
|---|---|---|
| TP | ∝ L_r bsH(TP−1)/(TP·BW) |
Parameter pressure; keep within the scale-up domain |
| CP | ∝ L_r bsK(CP−1)/(CP·BW) |
Long-sequence activation pressure; prefer over TP when s ≫ H |
| PP | ∝ 2(PP−1)N_mb bsH/BW; bubble ≈ (PP−1)/(N_mb+PP−1) |
OOM or TP/CP too costly; use across scale-out domains with enough microbatches to bound the bubble |
N_mb is microbatches per step and BW effective interconnect bandwidth.
3) Build a per-module shortlist.
For G GPUs, enumerate legal TP, PP, CP and set DP=G/(TP·PP·CP). Reject invalid or very conservative layouts and those with max_r M_r > M_GPU. Use the dominant memory term to pick layout families (TP/PP for parameter pressure, CP/PP for activation pressure, mixed when needed), and within each family (TP, TP+PP, TP+CP, TP+PP+CP) keep layouts not dominated in both peak memory and estimated communication or pipeline-bubble cost.
4) Compose multimodal candidates.
For homogeneous and colocated candidates, require max_gpu(M_encoder + M_LLM) ≤ M_GPU:
| Placement | Construct | Retain when |
|---|---|---|
| Homogeneous | One shared layout and GPU pool | Modules have similar compute and memory footprint |
| Colocated | Independent module layouts on the same GPUs | Joint memory holds and modality work is balanced across DP replicas |
| Non-colocated | Independent layouts on separate GPU pools | Co-residency blocks a shortlisted layout, or modality work is sparse/skewed; size the encoder pool to keep pace with LLM demand |
5) Benchmark and select.
Benchmark the shortlist at the target global batch size. From the best measured candidate, run one refinement round over nearby layouts predicted to reduce communication or pipeline-bubble cost, and evaluate selective recomputation or offload where needed to fit. Select the highest measured end-to-end throughput; stop when no neighbor improves it.
Configurations transfer across datasets when their sequence-length and modality-token distributions are similar.
Scope, limitations, and practical implications
We will add a dedicated section clarifying the method's scope and its practical implications:
-
Workload dependence: Gains arise when a shared layout constrains at least one module; otherwise, homogeneous execution can remain competitive. This motivates supporting homogeneous, colocated, and non-colocated execution in one runtime rather than prescribing one placement as universally optimal.
-
Configuration selection: Analytical estimates cannot reliably rank close configurations because kernel efficiency, communication overlap, and resource contention are implementation-dependent. Our cost model reduces the full search space to a few feasible candidates, so only a small end-to-end benchmark is required.
-
Platform dependence: The exact layouts and gains are specific to the evaluated Megatron-LM and H100 platform. However, the boundary communicator and graph-aware schedules operate at module boundaries, while the cost-guided procedure accounts for hardware memory and interconnect topology when selecting new layouts.
Thank you for the detailed response. I acknowledge the engineering value and implementation completeness of this work, but I still have concerns regarding its originality. Table R1 primarily demonstrates the completeness of the system’s feature coverage, but it is insufficient to establish that these capabilities are themselves significantly novel. The paper does not present a particularly novel core insight, and the boundary communicator appears more like an engineering mechanism required to transform data and gradients across different parallel layouts. Similar functionality is already present in many systems, and I do not view it as a concept with strong independent novelty.
In addition, the authors’ response still lacks end-to-end experimental comparisons with existing MLLM training systems. I understand that different systems may target different workloads and favor different execution modes. Nevertheless, the authors could select workloads and configurations that are supported by both their system and the relevant baselines, thereby enabling a fair comparison and more directly demonstrating the practical efficiency advantages of the proposed system.
Overall, the authors’ response has not sufficiently addressed my core concerns regarding the paper’s originality and the completeness of its experimental comparisons. I therefore decide to maintain my original score. At the same time, I also acknowledge the perspective expressed in the Meta Review: if the Area Chair considers the complete system implementation, substantial engineering effort, and practical value to constitute a sufficiently important contribution, then the paper may still meet the acceptance threshold despite its relatively limited novelty.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper tackles a practical bottleneck in multimodal large language model training: existing frameworks expose a single, model-wide parallel layout, forcing the modality encoder and the LLM to share the same TP/CP/PP/DP/EP configuration even though their compute, memory, and sequence-length characteristics diverge sharply. The authors propose heterogeneous parallelism, that each module in a single end-to-end training graph can choose its own logical layout and physical rank set. The core primitive is an autograd-aware boundary communicator that materializes forward activations in the destination layout and routes backward gradients to the source layout. Both colocated and non-colocated placement modes are supported. Evaluated on H100 clusters across encoder/LLM scales, context lengths, and vision-token densities, colocated execution improves per-GPU TFLOPS by up to 29.3% (short context) and 49.3% (long context), while non-colocated execution improves aggregate token throughput by up to 13.0% at the 120B scale.
Strengths and weaknesses
Strengths: The work is solid and the empirical evaluation is thorough. The authors evaluate three configurations (homogeneous, colocated, non-colocated), each tuned to its best valid throughput, across a meaningful sweep of encoder size, LLM size, context length, vision-token density, and GPU scale. Multimodal training is increasingly the dominant regime, and the shared-layout constraint is a real and widely felt limitation. The decoupling of per-module layouts is not entirely new conceptually, but the paper's framing of the boundary communicator as a first-class, autograd-aware primitive that uniformly supports both colocated and non-colocated placement is a clean and distinguishing abstraction.
Weakness:
- The evaluation focuses on a single vision encoder + LLM (LLaVA-style). Although the system is claimed to support multiple encoders, audio/video, and MoE, none of these are evaluated, so the generality of the gains is asserted rather than demonstrated.
- There is no automatic placement planner; the best configurations are found by manual tuning over a large search space. This is a significant usability gap for a system whose main value is layout flexibility.
- Results are confined to a single hardware platform (H100 + NVLink + InfiniBand). The non-colocated mode's benefit depends heavily on interconnect bandwidth, so robustness on other topologies is unclear.
Questions
- Can you provide even a small-scale result (e.g., two encoders, or one audio + one vision encoder) to demonstrate that gains and convergence parity hold?
- How are the "best valid throughput configurations" found in practice, and how large is the search space per workload?
Limitations
Yes, the authors are reasonably upfront. They acknowledge that multi-encoder, audio/video, and MoE regimes are left to future work, and that the crossover between modes depends on workload.
Formatting concerns
No formatting issue.
1 comment
Rebuttal
We thank the reviewer for a constructive assessment and for highlighting the thoroughness of our evaluation. We particularly appreciate the observation that homogeneous, colocated, and non-colocated modes are each tuned to their best valid throughput. We invested significant effort in finding and validating these configurations across encoder/LLM scale, context length, vision-token density, and GPU scale; this was essential for comparing the three modes at competitive operating points. We also appreciate the Reviewer’s description of the boundary communicator as a clean, distinguishing abstraction that uniformly supports both colocated and non-colocated execution.
In response to the Reviewer’s questions, we provide Qwen3.5-VL 27B SFT on three real datasets plus a vision–audio multi-encoder evaluation and reproducibility artifacts, explain how the cost-model-guided procedure narrows the configuration space to a small benchmark grid, and clarify how hardware and interconnect topology affect configuration selection. We will incorporate these additional results and practical guidance into the camera-ready manuscript.
Showcasing on real world datasets and evaluations with multiple encoders and LLM.
-
We evaluated Qwen3.5-VL 27B SFT on three real datasets: CORD-v2 for receipt parsing, RDR for image captioning, and MedPix-VQA for medical VQA.
-
The strongest homogeneous configuration uses a shared layout (TP/CP/PP/DP) 4/1/2/2 layout on 16 GPUs. Heterogenous configuration retains 4/1/2/2 for the LLM and places the vision encoder (1/1/1/1) on one additional GPU.
| Dataset | Image input | Active tokens/s/GPU gain |
|---|---|---|
| CORD-v2 | Variable resolution | +30.2% |
| RDR | 768×768 | +30.6% |
| MedPix-VQA | Variable resolution | +26.2% |
- The artifact shared with the AC includes the complete configurations, reproduction commands, and homogeneous-versus-heterogeneous loss curves. We will include these results, loss-parity curves, and experimental details in the camera-ready version.
We evaluate a vision–audio language model comprising a 1B vision encoder, a 0.6B audio encoder, and a 14B LLM at 8K context. The input mix spans 25–38% vision tokens and 28–37% audio tokens. Each module uses an independent TP/CP/PP/DP layout, and we report end-to-end throughput in tokens/s/GPU.
| Vision / Audio / LLM | Homogenous | Colocated Vision | Colocated Audio | C LLM | Tokens/s/GPU gain |
|---|---|---|---|---|---|
| 1B / 0.6B / 14B | 4/1/1/18 | 1/1/1/72 | 1/1/1/72 | 2/1/2/18 | +17.56% |
| 3B / 0.6B / 14B | 4/1/1/16 | 1/1/1/64 | 1/1/1/64 | 2/1/2/16 | +13.26% |
We will include these multi encoder evaluations in the camera-ready appendix to support the generality claim.
Choosing optimal configurations and transferring across datasets.
Fully automated configuration selection based only on analytical estimates is difficult to make reliable in practice. We therefore use cost-model-guided heuristics to narrow the full search space to a few candidate configurations and benchmark only this shortlist.
In large-scale training, changing model parallelisms changes per-GPU GEMM shapes, collective placement across scale-up and scale-out links, pipeline bubbles, and communication–compute overlap. These effects also depend on implementation details such as kernel fusions, resource contention etc., so closed-form memory and communication estimates alone cannot reliably rank close configurations. Existing automatic planners reflect this: Alpa profiles compiled executables after fusion and memory planning, while Galvatron reports that ignoring compute–communication contention increases average prediction error from below 5% to above 15%. We therefore use the cost model and topology heuristics below to narrow the space to a few candidates, then benchmark a small grid of nearby configurations. Here is the 5 step pipeline,
1) Estimate per-rank memory
For a dense GQA transformer, H, F, K, and V denote hidden, FFN, KV-projection, and vocabulary sizes; b and s denote microbatch and sequence lengths; L_r and n_r denote layers and live microbatches on PP rank r; and I_in and I_out identify the embedding and output ranks. P_r and A_r are the per-rank parameter and saved-activation element counts:
P_r ≈ I_in × VH/TP # embedding memory
+ L_r × (2H² + 2HK + 3HF)/TP # attention + FFN memory
+ I_out × VH/TP # output memory
A_r ≈ {n_r × [I_in × bsH + L_r × bs(8H + 2K + 3F)/TP]
+ I_out × 3bsV/TP} / CP
With BF16 parameters and activations and a distributed optimizer with FP32 gradients, master parameters, and Adam states:
M_r ≈ [6 + 12/(DP × CP)]P_r + 2A_r bytes
2) Account for parallelism costs
| Choice | Per-GPU memory reduction | First-order communication cost | Selection rule |
|---|---|---|---|
| TP | Parameter and sharded-activation terms /TP |
∝ L_r bsH(TP−1)/(TP·BW) |
Parameter pressure; keep within the high-bandwidth scale-up domain |
| CP | Activation terms /CP; sharded FP32 states /(DP·CP) |
∝ L_r bsK(CP−1)/(CP·BW) |
Long-sequence activation pressure; prefer over more TP when s ≫ H |
| PP | Layers per GPU ≈ total layers/PP |
∝ 2(PP−1)N_mb bsH/BW; bubble ≈ (PP−1)/(N_mb+PP−1) |
Still OOM or more TP/CP is costly; use across scale-out domains with enough microbatches to limit the bubble |
N_mb is the number of microbatches per step and BW is effective interconnect bandwidth.
3) Build a per-module shortlist
- For G GPUs, enumerate legal TP, PP, and CP degrees and set
DP=G/(TP·PP·CP). - Reject invalid or very conservative layouts and those with
max_r M_r > M_GPU. - Use the dominant memory term to select layout families: TP/PP for parameter pressure, CP/PP for activation pressure, and mixed families when needed.
- Within each applicable family (TP, TP+PP, TP+CP, or TP+PP+CP), retain layouts not dominated in both peak memory and estimated communication or pipeline-bubble cost.
4) Compose multimodal candidates
For homogeneous and colocated candidates, require max_gpu(M_encoder + M_LLM) ≤ M_GPU:
| Placement | Construct | Retain when |
|---|---|---|
| Homogeneous | Intersect module shortlists; use one shared layout and GPU pool | Best feasible shared baseline when all modules compute and memory footprint is similar. |
| Colocated | Pair independent module layouts on the same GPUs | Joint memory constraint holds and modality work is balanced across DP replicas |
| Non-colocated | Pair independent layouts on separate GPU pools | Co-residency blocks a shortlisted module layout, or modality work is sparse/skewed across DP replicas; use the smallest encoder pool that keeps pace with LLM demand |
5) Benchmark and select
Benchmark the final shortlisted candidates at the target global batch size. Starting from the best measured candidate, run one local refinement round over nearby layouts predicted to reduce communication or pipeline-bubble cost. Also evaluate selective activation recomputation or offload. Select the configuration with the highest measured end-to-end throughput; stop when no tested neighbor improves it.
Configurations transfer across datasets when their sequence-length and modality-token distributions are similar. If either distribution changes enough to shift the memory or encoder/LLM compute balance, we rerun the cost model and benchmark only the updated shortlist—not the full configuration space. We will include this procedure in the camera-ready appendix.
Portability across GPUs and interconnects
The boundary communicator and pipeline schedules are not specific to H100, NVLink, or InfiniBand. GPU memory capacity and interconnect topology instead determine which layout and placement are efficient. The same placement guidance applies across platforms: colocate the encoder and LLM when their combined memory footprint fits while allowing both modules to use efficient independent layouts. Use non-colocation when encoder residency exhausts memory or blocks a better LLM layout; the encoder can then run on a small separate GPU pool sized to keep the LLM supplied. Sparse or uneven modality work across LLM DP replicas can also favor a separate encoder pool.
The specific layout within each placement depends on the hardware. HBM capacity determines how much parallelism is needed to fit, while scale-up-domain size and interconnect bandwidth change the relative costs of TP, CP, and PP. Interconnect bandwidth also affects boundary communication, but this traffic occurs only once in forward and once in backward per module boundary, accounting for at most 0.62% of step time in our measurements. Our cost-guided procedure incorporates these hardware properties to narrow the search to a few configurations for the target platform.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes heterogeneous parallelism for large-scale multimodal LLM training. The key idea is that modality encoders and the LLM backbone have different compute, memory, sequence-length, and communication patterns, so forcing them to share one global parallelism layout can be inefficient. The authors allow different modules to use independent TP/CP/PP/DP/EP layouts, either on the same GPUs with different logical mappings or on separate GPU groups. They introduce boundary communicators to correctly transform activations and gradients across incompatible layouts, and extend pipeline scheduling for multi-branch multimodal graphs. Experiments show improved training efficiency, especially in long-context settings and in large-encoder/large-LLM configurations where separating encoder and LLM parallelism reduces unnecessary communication and memory pressure. As a system paper, it is not bad.
Strengths and weaknesses
Strengths
-
The paper goes after a real problem in multimodal LLM training. Encoders and LLM backbones don't behave the same way that their compute load, memory use, sequence length, and communication pattern can be quite different. So it makes sense that forcing them into one shared parallel layout is often wasteful, especially for long-context training where the LLM needs context parallelism but the encoder does not get the same memory benefit from it.
-
Authors give a clean way to express this mismatch. Instead of treating the whole MLLM as one uniform stack, it lets different modules use their own TP/CP/PP/DP/EP layouts and rank placements. This feels like a natural abstraction for multimodal training, and the colocated vs. non-colocated setup is easy to follow.
-
The boundary communicator is probably the most important part of the system. The paper makes a good point that the issue is not just moving encoder activations into the LLM, but making sure the forward activations and backward gradients are mapped to the right ranks. A wrong mapping might still have the right tensor shape, but it could quietly send gradients to the wrong place, which is exactly the kind of bug that is dangerous in distributed training.
-
The pipeline scheduling part also helps make the work feel like a full system rather than just a local communication optimization. MLLM training graphs can have multiple encoder branches feeding into the LLM, so the scheduler needs to understand these boundaries. The three-phase schedule for colocated execution is also a reasonable engineering choice to avoid mixing encoder collectives with the LLM pipeline schedule.
-
The experiments are fairly convincing because the paper does not overclaim that one mode is always better. Colocated execution helps when the encoder and LLM can share the same GPUs but need different logical layouts, while non-colocated execution becomes useful when a large encoder starts putting memory or scheduling pressure on the LLM side. This makes the empirical story more believable.
Weaknesses
-
The motivation is reasonable, but not especially new. It is already widely recognized that multimodal models are heterogeneous, and that modality encoders and LLM backbones have different execution patterns. The more specific contribution here is making this decoupling work inside a distributed training system, with module-local TP/CP/PP/DP/EP layouts. The paper could state this more directly, rather than presenting the heterogeneity observation itself as the main novelty.
-
The layout selection still seems quite manual. For each workload, the authors search over valid homogeneous, colocated, and non-colocated configurations, but there is no automatic planner or clear cost model to guide this choice. This makes the system useful in practice, but also leaves the solution somewhat incomplete as a general training framework.
-
The evaluation is closely tied to Megatron-LM and NVIDIA H100 clusters. This is understandable for a large-scale training systems paper, but it also means the results may depend on the particular software stack, GPU memory size, NVLink/InfiniBand topology, and Megatron-style parallelism implementation. It is not clear how much of the conclusion would carry over to other frameworks or hardware settings.
-
The benefits are fairly regime-dependent. Colocated execution is most convincing in long-context training, where encoder-side context parallelism is clearly wasteful. Non-colocated execution mainly helps when the encoder becomes large enough to interfere with the 120B LLM layout or memory budget. In other settings, the gains can be smaller or may not appear. This does not undermine the idea, but the paper could be more explicit that the method is not a universal speedup.
-
The non-colocated mode adds extra system complexity, including separate GPU islands and cross-module boundary communication. Its reported gains are also more modest than the best colocated long-context results. The paper reports both aggregate token throughput and TFLOPS/GPU, which is helpful, but it would still be useful to explain more clearly when this added complexity is worth using.
-
The measurement protocol is a bit limited. The checklist notes that the paper does not report formal error bars because repeating 256- to 520-GPU experiments is too expensive. That is understandable, but for a systems paper, especially when some improvements are only a few percent, stronger variance reporting would make the smaller gains easier to trust.
-
The reproducibility story is not fully there yet. The paper says the system will be released as a Megatron-LM extension, but the submission does not include an anonymized code package or exact reproduction commands for all experiments. Since the main contribution is a system implementation, stronger reproducibility support would make the paper more convincing.
-
The correctness validation is useful, but still somewhat narrow. The FP32 parity checks and LLaVA-style convergence results support the main boundary-communication design, but the paper also claims broader support for settings such as multiple encoders, audio/video branches, and MoE. These more complex cases are not evaluated in the same depth, so the full generality of the correctness and performance story is not completely shown.
Weaknesses
-
The motivation is reasonable, but the main observation itself is familiar: multimodal training is heterogeneous, and encoders and LLM backbones naturally have different execution patterns. The paper’s real contribution is not this observation, but making module-level decoupling work inside distributed training through separate parallel layouts and boundary communication.
-
The system still leaves layout selection mostly to the user. The experiments compare many valid configurations, but the paper does not provide an automatic planner or a simple cost model for choosing among them. This makes the method look effective, but also somewhat hard to use for a new model or cluster.
-
The evaluation is centered on one software and hardware stack: Megatron-LM on H100 clusters. This is a reasonable setup for large-scale training, but it also makes the conclusions less general. It is unclear whether the same trends would hold under different frameworks, GPU memory limits, or network topologies.
-
The gains come from specific regimes. Colocated execution works best when the LLM needs context parallelism but the encoder does not; non-colocated execution helps mainly when a large encoder starts to constrain a very large LLM. The paper could be clearer about this operating range, rather than implying the approach broadly improves all MLLM training.
-
And there are some work with similar high-level observations.
Several prior systems have also noted that MLLMs are modular and heterogeneous, and that modality encoders and LLM backbones should not always be treated as one monolithic execution unit:
-
DISTMM studies heterogeneity across multimodal submodules and applies different distributed parallelism strategies to different parts of the model. (https://www.usenix.org/conference/nsdi24/presentation/huang)
-
Optimus observes that MLLM training contains heterogeneous encoder and LLM components, and searches separate parallel plans for them. (https://arxiv.org/abs/2408.03505)
-
DistTrain attributes MLLM training inefficiency to model and data heterogeneity, and uses disaggregated training for the modality encoder, LLM backbone, and generator units. (https://arxiv.org/abs/2408.04275)
-
Cornstarch argues that distributed MLLM training should be multimodality-aware, with modular construction and composable parallelization. (https://arxiv.org/abs/2503.11367)
-
NanoMind makes a similar observation from the edge-inference side: LMMs are naturally modular and can be decomposed into vision, audio, projector, and language bricks mapped to suitable accelerators. (https://arxiv.org/abs/2510.05109)
Questions
The paper argues that encoders and LLM backbones should not be forced into the same parallel layout, but this high-level decoupling idea has appeared before in multimodal systems, especially for inference and edge settings.
Can the authors clarify what they see as the main new insight here beyond applying module decoupling to distributed training? Is the core novelty the module-local TP/CP/PP/DP layouts, the boundary communicator design, or the way these pieces are integrated into Megatron-style pipeline training?
Limitations
yes
Final justification
The rebuttal addresses my main concerns. The authors clarify that the main contribution is the distributed-training support for module-local layouts, boundary communication, and graph-aware scheduling, rather than the general observation that MLLM components are heterogeneous. The added experiments, variance analysis, and configuration-selection guidance also improve my confidence in the system.
I still view the work as primarily a systems-engineering contribution, and layout selection remains only partially automated. However, the main concerns I raised have been reasonably addressed, so I will keep my original score.
Formatting concerns
N/A
1 comment
Rebuttal
We thank the reviewer for highlighting the boundary communicator as the central primitive, particularly its role in keeping forward-activation and backward-gradient ownership correct across independent layouts, and graph-aware scheduling as what makes the design a complete training system.
Guided by this feedback, we (i) clarify the novelty positioning; (ii) add Qwen3.5-VL 27B evaluations on three real datasets and vision–audio multi-encoder experiments with throughput gains and convergence parity; (iii) give a cost-model-guided procedure that narrows the configuration space to a small grid; and (iv) explain portability, report run-to-run variance, and provide anonymized code with reproduction instructions. We will incorporate these into the camera-ready manuscript.
Novelty positioning.
✓ = first-class; ◐ = partial/restricted; ✗ = no; — = N/A.
| System | Module-local TP/PP/DP | CP LLM-only | Colocated (shared ranks) | Non-colocated (disjoint) | Autograd-aware boundary | Graph-aware schedule (both) |
|---|---|---|---|---|---|---|
| Megatron / DeepSpeed / FSDP | ✗ | ✗ | ✗ | ✗ | — | ✗ |
| DISTMM [4] | ✓ | ✗ | ✗ | ◐ | ✗ | ✗ |
| Optimus [3] | ✓ | ✗ | ✓ | ✗ | ✗ | ◐ |
| DistTrain [19] | ✓ | ✓ | ✗ | ✓ | ◐ | ✗ |
| Cornstarch [2,5] | ◐ | ✓ | ✗ | ◐ | ✗ | ✗ |
| DHP/FCP [10] | ✗ | ◐ | ✗ | ✗ | ✗ | ✗ |
| DIP/PipeWeaver [18] | ◐ | ✗ | ✗ | ◐ | ✗ | ◐ |
| Ours | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
As pointed by the reviewer, the boundary communicator and graph-aware scheduling make this a novel system; we see it the same way. These two components together enable composable module layouts and placements in a distributed training system, which no prior work does: each prior system commits to one regime (disjoint units, nested colocated layouts, or a single fused pipeline; Table R1), while ours lets any per-module TP/CP/PP/DP/EP layout and either shared or disjoint placement compose in one training graph. Because the best layout shifts with model, tokens, and interconnect, this composability lets a user switch modes to fit the workload without rebuilding the framework.
The boundary communicator keeps this composition correct. The hard part is not sending encoder activations to the LLM, but ensuring both forward activations and backward gradients reach the right ranks. It applies a forward layout transform and its exact reverse in backward, even across different grids or separate GPUs.
The graph-aware schedule lets these boundaries compose in a non-linear graph. Since several encoders feed the LLM, it treats each boundary as its own dispatch decision for separate-GPU modules, while a three-phase schedule for shared-GPU modules keeps encoder collectives off the LLM pipeline. Together these run colocated and non-colocated execution in one graph.
Real-world datasets.
We evaluate Qwen3.5-VL 27B SFT on three real datasets: CORD-v2 (receipt parsing), RDR (image captioning), and MedPix-VQA (medical VQA), which include both fixed- and variable-resolution images. The best homogeneous configuration is a shared 4/1/2/2 (TP/CP/PP/DP) layout on 16 GPUs; the heterogeneous configuration keeps 4/1/2/2 for the LLM and places the vision encoder (1/1/1/1) on one added GPU.
| Dataset | Image input | Active tokens/s/GPU gain |
|---|---|---|
| CORD-v2 | Variable resolution | +30.2% |
| RDR | 768×768 | +30.6% |
| MedPix-VQA | Variable resolution | +26.2% |
The artifact shared with the AC includes configurations, reproduction commands, and homogeneous-versus-heterogeneous loss-parity curves, which we will also include in the camera-ready version.
Multiple encoders and an LLM.
We also evaluate a vision–audio model with a 1B vision encoder, a 0.6B audio encoder, and a 14B LLM at 8K context (25–38% vision, 28–37% audio tokens), each with an independent TP/CP/PP/DP layout.
| Vision / Audio / LLM | Homogeneous | C Vision | C Audio | C LLM | Tokens/s/GPU gain |
|---|---|---|---|---|---|
| 1B / 0.6B / 14B | 4/1/1/18 | 1/1/1/72 | 1/1/1/72 | 2/1/2/18 | +17.56% |
| 3B / 0.6B / 14B | 4/1/1/16 | 1/1/1/64 | 1/1/1/64 | 2/1/2/16 | +13.26% |
Choosing optimal configurations.
Fully automated selection from analytical estimates alone is hard to make reliable: parallelism choices change GEMM shapes, collective placement, pipeline bubbles, and compute–communication overlap, which depend on kernel fusion and contention, so closed-form estimates cannot reliably rank close configurations. Existing planners reflect this: Alpa profiles compiled executables after fusion and memory planning, and Galvatron reports that ignoring compute–communication contention raises average prediction error from below 5% to above 15%. We narrow the space with a cost model and topology heuristics below:
1) Estimate per-rank memory. For a dense GQA transformer with hidden H, FFN F, KV K, vocab V, microbatch b, sequence s, per-rank layers L_r and live microbatches n_r, and I_in/I_out marking the embedding/output ranks, the per-rank parameters P_r, saved activations A_r, and bytes M_r (BF16 params/activations; distributed FP32 optimizer) are:
P_r ≈ I_in × VH/TP + L_r × (2H² + 2HK + 3HF)/TP + I_out × VH/TP
A_r ≈ {n_r × [I_in × bsH + L_r × bs(8H + 2K + 3F)/TP] + I_out × 3bsV/TP} / CP
M_r ≈ [6 + 12/(DP × CP)]P_r + 2A_r bytes
2) Account for parallelism costs.
| Choice | Communication cost | Selection rule |
|---|---|---|
| TP | ∝ L_r bsH(TP−1)/(TP·BW) |
Parameter pressure; keep within the scale-up domain |
| CP | ∝ L_r bsK(CP−1)/(CP·BW) |
Long-sequence activation pressure; prefer over TP when s ≫ H |
| PP | ∝ 2(PP−1)N_mb bsH/BW; bubble ≈ (PP−1)/(N_mb+PP−1) |
OOM or TP/CP too costly; use across scale-out domains with enough microbatches to bound the bubble |
3) Build a per-module shortlist. For G GPUs, enumerate legal TP, PP, CP and set DP=G/(TP·PP·CP). Reject invalid layouts and those with max_r M_r > M_GPU. Use the dominant memory term to pick layout families (TP/PP for parameter pressure, CP/PP for activation pressure), and within each family keep layouts not dominated in both peak memory and estimated communication or pipeline-bubble cost.
4) Compose multimodal candidates. For homogeneous and colocated candidates, require max_gpu(M_encoder + M_LLM) ≤ M_GPU:
| Placement | Retain when |
|---|---|
| Homogeneous | Modules have similar compute and memory footprint |
| Colocated | Joint memory holds and modality work is balanced across DP replicas |
| Non-colocated | Co-residency blocks a shortlisted layout, or modality work is sparse/skewed; size the encoder pool to keep pace with LLM demand |
5) Benchmark and select. Benchmark the shortlist at the target global batch size, run one refinement round over nearby lower-TP/PP/CP layouts (with selective recomputation or offload where needed to fit), and select the highest measured throughput. Configurations transfer across datasets when their sequence-length and modality-token distributions are similar.
Portability across frameworks, GPUs, and interconnects.
The boundary communicator and graph-aware schedules are defined around module boundaries and dependency graphs, not Megatron-LM internals, so other frameworks can port them by connecting the communicator to their training loop and the scheduling logic to their pipeline engine. A different GPU or interconnect does not change these mechanisms, only which layout and placement are efficient. HBM capacity sets how much parallelism is needed to fit, while scale-up-domain size and interconnect bandwidth change the relative costs of TP, CP, and PP. Interconnect bandwidth also affects boundary communication, but that occurs once per boundary in forward and once in backward, at most 0.62% of step time; the cost-guided procedure above folds these properties into the search.
Operating regimes and when non-colocation is worthwhile.
We agree heterogeneous execution is not a universal speedup. Our evaluation finds mode crossovers: for each workload we compare the best feasible homogeneous, colocated, and non-colocated configurations across encoder/LLM scale, context length, modality mix, and GPU scale, reporting where heterogeneous execution wins, ties, or loses. Non-colocation is worthwhile when co-residency blocks a better LLM layout or modality work is sparse or uneven across LLM DP replicas; the tradeoff is whether the gain justifies the separate encoder pool. The two pools need not scale together: in our 120B experiments, an eight-GPU encoder pool serves a 256-GPU LLM pool, fanning out to multiple LLM replicas while graph-aware 1F1B overlaps their execution. Appendix Table A5 shows the crossover: for 1B–3B encoders with a 120B LLM, memory headroom makes colocation preferable; from 6B onward, co-residency blocks the better LLM PP=2 layout, and non-colocation unlocks it and stays beneficial after the extra eight GPUs.
Run-to-run variance.
Variation is small relative to the gains: relative throughput standard deviation is at most 0.54%, and propagated uncertainty in the gain is 0.44–0.85 pp. All results use the median of 15 steady-state iterations after warmup; we additionally ran four independent submissions per homogeneous and colocated comparison.
| Encoder + LLM | Runs (H/C) | Rel. throughput std. dev. (H/C) | Gain ± 1σ |
|---|---|---|---|
| 1B + 70B | 4 / 4 | 0.45% / 0.33% | +21.32% ± 0.67 pp |
| 1B + 120B | 4 / 4 | 0.43% / 0.54% | +22.78% ± 0.85 pp |
| 3B + 70B | 4 / 4 | 0.34% / 0.19% | +12.36% ± 0.44 pp |
We will include this variance analysis and error bars in the camera-ready appendix.
Anonymized code and reproduction artifacts.
We will provide the AC, through an Official Comment, an anonymized artifact with the implementation, environment setup, exact launch commands and configurations, run reports, and loss/throughput outputs for the reported evaluations, and add these to the camera-ready appendix.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for their assessment and for noting the practical value of this work and that throughput gains are very hard to realize at scale. That is why we built and open-sourced the system on Megatron-LM, so the reported gains are measured against a strong baseline. For perspective, at 10,000 GPUs a 10% improvement frees roughly 900 GPU-equivalents for the same work.
To address the central concern about generality and usability, we add: (i) Qwen3.5-VL 27B SFT on three real datasets plus a vision–audio multi-encoder evaluation and reproducibility artifacts; (ii) a cost-model-guided procedure that narrows the configuration space to a small shortlist; and (iii) a clearer comparison with Cornstarch, DistTrain, and Optimus. We then address image load, gain attribution, and when homogeneous execution is preferable.
Real-world datasets.
We evaluate Qwen3.5-VL 27B SFT on three real datasets: CORD-v2 (receipt parsing), RDR (image captioning), and MedPix-VQA (medical VQA), which include both fixed- and variable-resolution images. The best homogeneous configuration is a shared 4/1/2/2 (TP/CP/PP/DP) layout on 16 GPUs; the heterogeneous configuration keeps 4/1/2/2 for the LLM and places the vision encoder (1/1/1/1) on one added GPU.
The artifact shared with the AC includes the configurations, reproduction commands, and homogeneous-versus-heterogeneous loss-parity curves, which we will also include in the camera-ready version.
Evaluations with multiple encoders and an LLM.
Beyond single-encoder image–text workloads, we evaluate a vision–audio model with a 1B vision encoder, a 0.6B audio encoder, and a 14B LLM at 8K context. The mix spans 25–38% vision and 28–37% audio tokens. Each module uses an independent TP/CP/PP/DP layout, and we report tokens/s/GPU.
Choosing optimal configurations and transferring across datasets.
Fully automated selection from analytical estimates alone is hard to make reliable: parallelism choices change GEMM shapes, collective placement, pipeline bubbles, and compute–communication overlap, and depend on implementation details like kernel fusion and contention, so closed-form estimates cannot reliably rank close configurations. Existing planners reflect this: Alpa profiles compiled executables after fusion and memory planning, and Galvatron reports that ignoring compute–communication contention raises average prediction error from below 5% to above 15%. We narrow the space with a cost model and topology heuristics below:
1) Estimate per-rank memory.
For a dense GQA transformer with hidden H, FFN F, KV K, vocab V, microbatch b, sequence s, per-rank layers L_r and live microbatches n_r, and I_in/I_out marking the embedding/output ranks, the per-rank parameters P_r, saved activations A_r, and bytes M_r (BF16 params/activations; distributed FP32 optimizer) are:
2) Account for parallelism costs.
∝ L_r bsH(TP−1)/(TP·BW)∝ L_r bsK(CP−1)/(CP·BW)s ≫ H∝ 2(PP−1)N_mb bsH/BW; bubble ≈ (PP−1)/(N_mb+PP−1)N_mb is microbatches per step and BW effective interconnect bandwidth.
3) Build a per-module shortlist.
For G GPUs, enumerate legal TP, PP, CP and set
DP=G/(TP·PP·CP). Reject invalid or very conservative layouts and those withmax_r M_r > M_GPU. Use the dominant memory term to pick layout families (TP/PP for parameter pressure, CP/PP for activation pressure, mixed when needed), and within each family (TP, TP+PP, TP+CP, TP+PP+CP) keep layouts not dominated in both peak memory and estimated communication or pipeline-bubble cost.4) Compose multimodal candidates.
For homogeneous and colocated candidates, require
max_gpu(M_encoder + M_LLM) ≤ M_GPU:5) Benchmark and select.
Benchmark the shortlist at the target global batch size. From the best measured candidate, run one refinement round over nearby layouts predicted to reduce communication or pipeline-bubble cost, and evaluate selective recomputation or offload where needed to fit. Select the highest measured end-to-end throughput; stop when no neighbor improves it.
Configurations transfer across datasets when their sequence-length and modality-token distributions are similar.
Comparison with Cornstarch and other heterogeneous MLLM systems.
Existing MLLM systems support only fixed subsets of the layout and placement choices our runtime enables: DistTrain uses disjoint module pools, and Cornstarch composes modules into one pipeline with a common DP degree and nested TP constraints. Ours instead supports independent TP/CP/PP/DP layouts with either shared or disjoint rank sets. This matters because our evaluation shows different workloads favor homogeneous, colocated, or non-colocated execution; no fixed placement family is uniformly best. A raw cross-framework throughput comparison would also conflate this design-space difference with framework-specific implementation choices (kernels and fusion, communication overlap, pipeline scheduling, memory management, precision, optimizer). We therefore use optimized homogeneous Megatron-LM as the controlled baseline and compare all three modes within the same runtime, holding the model, hardware, precision, global batch size, and recipe fixed.
Effect of image count and resolution.
More or higher-resolution images raise the vision-token load and encoder work, which can change the best layout and placement. We characterize this through vision-token share (set jointly by image count and resolution), with results at 50%, 75%, and 87.5% in Appendix Table A2; the placement rules in step 4 then apply. A material change in image load therefore requires reevaluating only the shortlisted configurations, not the full search space.
Component-level attribution of throughput gains.
The original bottleneck is the homogeneous requirement that the encoder and LLM share one global layout. Each gain traces to a concrete layout change, and the appendix reports the layouts, peak memory, and timing for every comparison. Heterogeneity improves throughput two ways:
The Results section discusses this for selected configurations; we will expand it in the camera-ready version.
Activation-memory and phase-ordering costs of colocated execution.
The three-phase schedule extends encoder-state lifetime across LLM 1F1B, but that same interval is an offload window: encoder parameters, optimizer state, and selected saved activations move to host memory after encoder forward and reload before encoder backward, with D2H/H2D transfers overlapping LLM execution. The ordering also keeps encoder collectives from interleaving with staggered LLM pipeline communication, which would otherwise serialize the pipeline. All colocated results in Tables A2–A3 use this schedule, so their peak memory and timing already include the retained activation state, phase ordering, and offload. Section 3.3 and Figure 4(b) give the details.
When homogeneous execution remains preferable.
Homogeneous execution stays competitive when independent layouts neither shorten the critical path nor justify separate encoder resources:
Appendix Table A5 illustrates one such case. For 1B+32B at 8K, colocation changes the encoder from TP4/DP18 to TP1/DP72 and the LLM from TP4/PP1/DP18 to TP4/PP2/DP9, reducing peak memory from 66.2 to 55.2 GB. Throughput stays on par with homogeneous while non-colocation per GPU throughput 10.2% lower.