mlsanityData to 14 Oct 2026

DCP: Addressing Input Dynamism In Long-Context Training via Dynamic Context Parallelism

arXiv 2510.10620 ↗First posted 12 Oct 2025cs.DC cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Context parallelism has emerged as a key technique to support long-context training, a growing trend in generative AI for modern large models. However, existing context parallel methods rely on static parallelization configurations that overlook the dynamic nature of training data, specifically, the variability in sequence lengths and token relationships (i.e., attention patterns) across samples. As a result, these methods often suffer from unnecessary communication overhead and imbalanced computation. In this paper, we present DCP, a dynamic context parallel training framework that introduces fine-grained blockwise partitioning of both data and computation. By enabling flexible mapping of data and computation blocks to devices, DCP can adapt to varying sequence characteristics, effectively reducing communication and improving memory and computation balance. Micro-benchmarks demonstrate that DCP accelerates attention by 1.19x~2.45x under causal masks and 2.15x~3.77x under sparse attention patterns. Additionally, we observe up to 0.94x~1.16x end-to-end training speed-up for causal masks, and 1.00x~1.46x for sparse masks.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 26 of its 50 references that are in the map. First posted on arXiv 12 Oct 2025.

Builds on

26 of 50 references.

References · 26

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  7. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  9. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  10. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  11. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  12. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 457
14 more
  1. 2024LongVILA: Scaling Long-Context Visual Language Models for Long Videoscited by 309
  2. 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
  3. 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 245
  4. 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 185
  5. 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 128
  6. 2024LongAlign: A Recipe for Long Context Alignment of Large Language Modelscited by 106
  7. 2024USP: A Unified Sequence Parallelism Approach for Long Context Generative AIcited by 61
  8. 2025The Amazon Nova Family of Models: Technical Report and Model Cardcited by 41
  9. 2024FlashMask: Efficient and Rich Mask Extension of FlashAttentioncited by 20
  10. 2024FlexSP: Accelerating Large Language Model Training via Flexible Sequence Parallelismcited by 19
  11. 2025WLB-LLM: Workload-Balanced 4D Parallelism for Large Language Model Trainingcited by 17
  12. 2023DynaPipe: Optimizing Multi-task Training through Dynamic Pipelinescited by 12
  13. 2021High-Quality Hypergraph Partitioningcited by 10
  14. 2025Hierarchical Balance Packing: Towards Efficient Supervised Fine-tuning for Long-Context LLMcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 6.

7 papers.