ParaBlock: Communication-Computation Parallel Block Coordinate Federated Learning for Large Language Models

Yujia Wang, Yuanpu Cao, Jinghui Chen

TL;DR

Federated block coordinate descent allows edge clients to fine-tune large language models (LLMs) by training only a single block of layers at a time, but transferring even one block creates a massive communication bottleneck. ParaBlock eliminates client idle time by running communication and computation in parallel threads—training the current block while synchronizing the previous block with the server in the background. The authors prove that this one-round staleness achieves the standard $\mathcal{O}(1/\sqrt{T})$ convergence rate while slashing wall-clock training time by up to 40% compared to standard federated baselines.

What Problem Does This Paper Address?

Fine-tuning LLMs under privacy constraints often relies on Federated Learning (FL), where edge devices compute updates on local data without transmitting raw inputs. Because training an entire billion-parameter model on edge devices is memory-prohibitive, Federated Block Coordinate Descent (BCD) splits the model into blocks of layers and trains one block per round.

However, existing federated BCD algorithms follow a strict, single-threaded communication-computation-communication cycle. Because a single transformer block in modern LLMs can contain tens or hundreds of millions of parameters, clients spend substantial idle time waiting for network transfers to finish before computation can resume. In low-bandwidth or high-latency environments, this communication overhead severely hinders practical deployment.

Methods

ParaBlock replaces the sequential execution pipeline on each client with two parallel threads:

  • Computation Thread: While fine-tuning block $b_t$ for $K$ local steps, the client works on its local parameters without waiting for the server's immediate feedback.
  • Communication Thread: Simultaneously, the client sends its previous block update ($\Delta_{t-1}^i$) to the central server and receives the aggregated global update ($\Delta_{t-1}$).
  • Staleness Correction: Because the global update arrives one round behind, the client reconciles its local model at the start of round $t+1$ by replacing its local update of block $b_{t-1}$ with the newly received global update: $$\theta_{t+1}^i[b_{t-1}] \leftarrow \theta_t^i[b_{t-1}] + \eta(\Delta_{t-1} - \Delta_{t-1}^i)$$
  • Theoretical Guarantee: Despite the introduced one-round staleness, the authors prove that ParaBlock preserves the optimal $\mathcal{O}(1/\sqrt{T})$ convergence rate for non-convex objectives under both local SGD and local adaptive optimizers (AdamW).
Single-Thread BCD:  [ Downlink ] -> [ Local Compute ] -> [ Uplink ] -> (wait...)
ParaBlock:          [ Local Compute (Round t)               ]
                    [ Uplink (t-1) ] -> [ Downlink (t-1)   ] (Parallel!)

Datasets

The authors evaluated downstream LLM performance across two primary domains:

  • General Instruction Following: The Alpaca-GPT4 dataset, partitioned non-i.i.d. among 10 clients via text clustering (Dirichlet $\alpha = 0.1$). Evaluation was conducted using MT-Bench judged by GPT-4o.
  • Mathematical Reasoning: 50,000 samples sampled from MathInstruct, partitioned non-i.i.d. using data source tags (Dirichlet $\alpha = 0.6$). Evaluated on GSM8K.
  • Evaluated models included Llama 3-8B, Llama 3.2-3B, and Qwen-2.5-1.5B-Instruct.

Key Insights and Ideas

  • Staleness Can Be Completely Corrected Across Blocks: Because block coordinates operate largely independently per step, the parameter drift introduced by a one-round communication delay can be cleanly corrected by subtracting the local delta and adding the global delta before the block is updated again.
  • Computation Hides Latency: As local batch sizes grow, local computation time scales up, allowing it to fully absorb the communication latency. When network bandwidth reaches $\ge 100\text{ MB/s}$, the communication overhead drops to near zero.
  • Orthogonality to Compression: While methods like top-$k$ gradient sparsification reduce transmitted bits, they still require synchronous blocking. ParaBlock directly removes waiting time and can be seamlessly stacked with top-$k$ sparsification for compounding efficiency.

Key Results

  • Instruction Following (Alpaca-GPT4):
  • On Llama 3-8B, ParaBlock matched standard FedBCD's score of 5.14 MT-Bench while reducing wall-clock runtime from 30.2 minutes to 21.1 minutes (~30% speedup), outperforming LoRA-based FL baselines like FedIT (5.11 score, 34.5 min).
  • On Llama 3.2-3B, ParaBlock attained the highest score among all baselines (4.40 MT-Bench) in 11.9 minutes (vs. 19.1 min for FedBCD and 23.8 min for FedIT).
  • Mathematical Reasoning (GSM8K):
  • On Llama 3-8B, ParaBlock achieved 55.88% accuracy in 15.8 minutes, outperforming FedBCD (54.74%, 24.9 min) and FedIT (54.60%, 23.1 min).
  • On Qwen-2.5-1.5B, ParaBlock reached 62.70% in 10.56 minutes (vs. 61.79% in 18.48 min for FedBCD).
  • Memory Footprint: ParaBlock used 23.3 GB peak GPU memory for Llama 3-8B (compared to 27.0 GB for FedIT and 29.6 GB for FedCyBGD).

Limitations and Future Work

  • Heterogeneous Bandwidth and Stragglers: When a single client is extremely slow (e.g., incurring 3 rounds of staleness), GSM8K accuracy dropped from 55.88% to 52.46%. Non-trivial designs are still needed to handle severe client-side network heterogeneity.
  • Data Privacy Leaks: ParaBlock keeps raw data local and addresses systems bottlenecks, but does not provide formal privacy guarantees (e.g., differential privacy) against data memorization or inversion attacks in generative models.
  • Extreme Staleness: While 1-round staleness yields negligible loss, extending to multi-round staleness ($>2$ rounds) begins to show measurable utility degradation.

Summary updated

BibTeX
@article{wang2025parablock,
  author = {Yujia Wang and Yuanpu Cao and Jinghui Chen},
  title = {{ParaBlock: Communication-Computation Parallel Block Coordinate Federated Learning for Large Language Models}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=Hnf7eCdBeV},
}
Figure