PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 27, 20260 citationsOpen Access

Zeppelin: Balancing Variable-length Workloads in Data Parallel Large Model Training

View Full Paper
CCChang ChenTCTiancheng ChenJDJiangfei Duan

Key Points

  • The aim is to develop a system that addresses load imbalance in data-parallel training of large language models caused by variable-length sequences.
  • Introduced a hierarchical sequence partitioning method for the attention module.
  • Implemented a routing layer for efficient inter-node data transfers.
  • Developed a remapping layer for optimized sequence layouts across modules.
  • Zeppelin achieved an average speedup of 2.80x compared to state-of-the-art methods.
  • Substantial reduction in communication overhead was observed.
  • Improved computational efficiency across diverse configurations.

Abstract

Training large language models (LLMs) with increasingly long and varying sequence lengths introduces severe load imbalance challenges in large-scale data-parallel training. Recent frameworks attempt to mitigate these issues through data reorganization or hybrid parallel strategies. However, they often overlook how computational and communication costs scale with sequence length, resulting in suboptimal performance. We identify three critical challenges: (1) varying computation-to-communication ratios across sequences of different lengths in distributed attention, (2) mismatch between static NIC-GPU affinity and dynamic parallel workloads, and (3) distinct optimal partitioning strategies required for quadratic attention versus linear components. To address these challenges, we present Zeppelin, a novel training system that integrates three key techniques: (1) a hierarchical sequence partitioning method for the attention module that reduces communication overhead and balances computation, supported by an efficient attention engine that applies divergent parallel strategies; (2) a routing layer that orchestrates inter-node transfers to fully utilize NIC bandwidth; and (3) a remapping layer that transforms sequence layouts between attention and linear modules, ensuring high computational efficiency across both. Comprehensive evaluations across diverse configurations show that Zeppelin delivers an average 2.80x speedup over state-of-the-art methods.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Chen et al. (2025) studied this question.

synapsesocial.com/papers/69a1359eed1d949a99abfb96https://doi.org/10.3929/ethz-c-000792576
Ask AI
Helpful
Bookmark
Share
View Full Paper