FedWeave: Rethinking the Unit of Specialization in Heterogeneous Federated MoE-LoRA

Donghang Duan, Xu Zheng, Lizong Zhang, Chong Mu, Meng Han
7/29/2026
cs.LGcs.CL

No official code found. Best implementation: SowingG2333/FedWeave (1 star, MIT, last commit 2026-07-29).

Abstract

Federated PEFT enables LLMs to collaboratively adapt to decentralized private data without sharing raw examples. However, task heterogeneity across clients can cause cross-task interference and gradient conflicts during aggregation. Federated MoE-LoRA addresses this challenge through specialized LoRA experts and conditional routing. Yet existing methods typically specialize at client granularity, implicitly assuming task-coherent clients. Our core insight is that experts need purity, namely pattern-coherent updates that preserve specialization, whereas routers need contrast, namely mixed-task observations that support expert comparison. We propose FedWeave, a framework that adopts asymmetric aggregation, separating expert aggregation from router optimization to meet these two requirements. FedWeave uses unsupervised prototype discovery to form local buckets and align them across clients, enabling prototype-level expert aggregation while retaining mixed-task client trajectories for router training. At inference, FedWeave performs sparse inference with one active expert while preserving nearly all soft-routing performance. Our theoretical analysis explains why asymmetric aggregation is advantageous: it controls expert convergence in stationarity through off-pattern contamination, identifies the consensus error induced by fragmented router trajectories, and bounds sparse-inference risk. On a heterogeneous multi-task benchmark with mainstream LLM backbones, FedWeave consistently outperforms strong baselines, while ablations verify the effectiveness of our design.

View on arXivView PDF

Code Implementations(1)

MIT

[arXiv 2026] FedWeave: Rethinking the Unit of Specialization in Heterogeneous Federated MoE-LoRA

10Jul 29, 20262 months agoMIT

Cite this paper

@article{duan2026fedweave,
  title  = {FedWeave: Rethinking the Unit of Specialization in Heterogeneous Federated MoE-LoRA},
  author = {Donghang Duan and Xu Zheng and Lizong Zhang and Chong Mu and Meng Han},
  year   = {2026},
  eprint = {2607.26618},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.26618v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.26618.svg)](https://codeofpaper.com/paper/2607.26618)

Discussion