Efficient Scaling of LLM Training with Flexible Context Parallelism
Not on the map. Why?
Abstract (arXiv)
Scaling long-context capabilities is crucial for Large Language Models (LLMs). However, real-world data contain a large number of sequences with heterogeneous lengths. Existing training libraries for LLMs rely on static parallelism strategies, which suffer from severe load imbalance, redundant communication, and suboptimal hardware utilization under data heterogeneity. In this work, we propose Flexible Context Parallelism (FCP), an efficient parallelism strategy that adaptively reconfigures communication groups and context parallelism degrees during LLM training. We generalize more flexible non-power-of-two parallelism degrees and develop a polynomial-time algorithm to generate near-optimal parallelism strategies with only millisecond-level overhead per training batch. FCP is able to maintain high hardware efficiency even under extreme data heterogeneity. Experimental results demonstrate that FCP significantly outperforms Megatron-LM and DeepSpeed in both LLM and MLLM training, achieving up to 1.46x speedup in average throughput while maintaining near-linear scaling efficiency across large-scale clusters. For extremely unbalanced batches, FCP even achieves 2.24x speedup.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 18 of its 30 references that are in the map. First posted on arXiv 25 Feb 2026.
Builds on
18 of 30 references.
References · 18
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
- 2024OpenVid-1M: A Large-Scale High-Quality Dataset for Text-to-video Generationcited by 332
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 194
- 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 133
- 2021Sequence Parallelism: Long Sequence Training from System Perspectivecited by 125
- 2025HoliTom: Holistic Token Merging for Fast Video Large Language Modelscited by 58
6 more
- 2023Striped Attention: Faster Ring Attention for Causal Transformerscited by 52
- 2023DISTFLASHATTN: Distributed Memory-efficient Attention for Long-context LLMs Trainingcited by 28
- 2024FlexSP: Accelerating Large Language Model Training via Flexible Sequence Parallelismcited by 19
- 2024DistTrain: Addressing Model and Data Heterogeneity with Disaggregated Training for Multimodal Large Language Modelscited by 16
- 2024Optimus: Accelerating Large-Scale Multi-Modal LLM Training by Bubble Exploitationcited by 14
- 2025ByteScale: Efficient Scaling of LLM Training with a 2048K Context Length on More Than 12,000 GPUscited by 10
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026NSP: Accelerating Variable-Length LLM Training via Nested Sequence Parallelism ↗
- 2026BASP: Communication-Efficient Batch-Aware Sequence Parallelism for LLM Training
- 2026Out of the Memory Barrier: A Highly Memory Efficient Training System for LLMs with Million-Token Contexts
- 2025Leveraging the true depth of LLMs
- 2025From 128K to 4M: Efficient Training of Ultra-Long Context Large Language Models
- 2023EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D Parallelism
- 2025Optimizing Long-context LLM Serving via Fine-grained Sequence Parallelism
- 2024Infinite-LLM: Efficient LLM Service for Long Context with DistAttention and Distributed KVCache