Asynchronous Cost-Model-Guided Token-Pack Scheduling for Mixture-of-Transformers Training
Schedule variable-length multimodal training batches using learned kernel-time predictors and asynchronous rank grouping to eliminate distributed synchronization stalls during large-scale model training.
Time
Compute level
Resources
What the paper used
Prerequisites
Scope
The Gap
In Section 3.2.1 and Appendix E.2.3, training the tri-tower MoT model on variable-length packed U/V/A/T sequences suffers low utilization (25.28% Transformer MFU / 31.04% with VAE on 128 GPUs in Table 2), while a prototype cost-aware workload reassignment yields only +0.18% end-to-end throughput (p = 0.468) because Python object all-gather coordination takes 0.2104 s/window and the quadratic attention cost model achieves R^2 = -0.097 on held-out packs; meanwhile, ODC runs 7.84% slower and Grouped FA3 fails update-level numerical validation.
“Across seventeen cohort-matched updates, core time decreases 20.7519 → 20.4973 s (+1.24% throughput). Coordination takes 0.2104 s/window, leaving +0.18% complete-update throughput (p = 0.468; time-saving 95% CI [−0.0685, 0.1426] s).”
Limitation
Poorly calibrated analytical cost models, heavy synchronous coordination overhead, and numerical divergence in grouped/asynchronous communication kernels leave substantial GPU compute idle when packing heterogeneous multimodal sequence lengths across HSDP shards.
Proposed Solution
Move sample-pack scheduling off the critical training path into the asynchronous CPU shared-pool data loader (which already tracks source cursors and credit budgets in Figure 7), operating purely on lightweight integer token-length metadata (U_p, V_p, A_p, T_p) rather than all-gathering full Python sample objects. Replace the quadratic analytical fit with an online hardware-profiled lookup/gradient-boosted latency predictor calibrated against actual FlashAttention-3 segment-kernel and FSDP all-gather timings, and integrate deterministic precision-preserving reduction ordering for grouped attention backward passes.
Why This Matters
Eliminating critical-path coordination overhead and accurately balancing attention-plus-communication costs across variable-length multimodal batches is expected to meaningfully raise useful MFU above 31% on large-scale MoT clusters without altering optimization convergence.
How to Get Started
How to test it: Test whether asynchronous metadata-only pack assignment guided by an online kernel-time predictor achieves >=10% end-to-end throughput improvement and held-out step-time prediction R^2 > 0.85 on 8-GPU HSDP runs (replica4/shard2) while maintaining exact loss-weight invariance (<1e-5 relative L2 update diff); stop if coordination overhead exceeds 0.5% of step time.
- Set up an 8-GPU PyTorch FSDP2/HSDP benchmark using Cosmos-Framework and FlashAttention-3 with variable-length packed text-video-action sequences matching Table E.1's 64K/96K token budgets.
- Profile actual per-microbatch forward/backward kernel durations across diverse (U, V, A, T) segment combinations to train an online latency predictor replacing the quadratic model.
- Implement an asynchronous greedy/swap bin-packer inside the CPU shared-pool batcher operating strictly on integer token-count tuples without GPU-rank object all-gathers.
- Validate numerical loss-weight invariance and measure end-to-end samples/s and useful MFU against sequential packing.
Suggested by AI. Adapt it to your setup.
Has This Been Done?
The listed production training frameworks and system papers discuss model scaling and training pipeline optimization, but do not target asynchronous cost-model-guided token-pack scheduling utilizing lightweight integer token-length metadata for mixture-of-transformers training.
We searched OpenAlex and arXiv for “variable length multimodal packing load balancing FSDP mixture of transformers” and “Asynchronous Cost-Model-Guided Token-Pack Scheduling for Mixture-of-Transformers Training” and an AI compared the idea with the top 10 results. A small search can miss relevant work.
Source Paper
Innata-0: A Native Embodied World System with Model-Agent Co-DesignInnata Team, Yu Bai, Ziyi Bai +38 more · 2026
Innata-0 introduces a native embodied world system that co-designs a tri-tower Mixture-of-Transformers world-action model (Innata-0-WAM) with an embodied coordinator agent (Innata-0-Agent) to unify physical execution, verification, and long-horizon adaptation. By aligning model training supervision with the agent's structured task context, hierarchical memory, and experience-driven skill evolution, the system achieves strong performance across embodied understanding, WorldArena 2.0 video prediction, RoboCasa365, RoboDojo-Sim, UniVTAC, and Bench2Dex.
Related Ideas
- Multi-Shape Generalization and End-to-End Workload Evaluation for NPU Kernel OptimizationAscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs🟠Medium
- Hybrid Sliding-Window and Fixed-State Depth Memory for Deeply Looped TransformersLoopback Transformer: Towards a Unified View of Residual Looped Transformers🔴Hard
- Execution-Time and Hardware-Cost-Aware Scoring Beyond Token Budgets in Agentic Kernel OptimizationAscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs🟡Fairly easy
- Joint Inter-DP and Intra-Sequence Layout Optimization for Multi-Document Sparse AttentionTeleChat to Xing4: Advancing Frontier Agentic Models on Domestic Chips and Frameworks🟠Medium
- Graph-Compatible Dynamic Sparse Attention for End-to-End Prefix CaptureTideway: Phase-Aware Tiered Memory Management for MoE Inference on Consumer Devices🟡Fairly easy