NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Optimizing Cross-Client Domain Coverage for Federated Instruction Tuning of Large Language Models

Zezhou Wang, Yaxin Du, Xingjun Ma, Yugang Jiang, Zhuzhong Qian, Siheng Chen

TL;DR

Federated domain-specific instruction tuning (FedDIT) allows collaborative LLM training on private data siloes, but performance is often bottlenecked by limited local data scale. This paper reveals that cross-client domain coverage—rather than data heterogeneity—is the pivotal factor driving model performance, and introduces FedDCA, a privacy-preserving algorithm that maximizes this coverage through diversity-oriented data augmentation.

What Problem Does This Paper Address?

Fine-tuning Large Language Models (LLMs) for specialized fields like medicine or finance requires high-quality instruction datasets. However, this data is often distributed across multiple institutions and bound by strict privacy constraints (e.g., hospital patient records or confidential financial data).

While Federated Learning (FL) enables collaborative training without directly sharing raw data, individual local datasets are often too small to achieve robust performance. Data augmentation using public datasets can help, but doing so across distributed clients without violating privacy or introducing massive data redundancy is incredibly challenging. Furthermore, the community has lacked a clear understanding of what actually dictates success in federated instruction tuning: is it the non-IID (heterogeneous) nature of the data, or something else entirely?

Methods

The authors introduce FedDCA (Domain Coverage Augmentation), a three-stage framework designed to optimize domain coverage while safeguarding privacy:

  1. Client-Side Clustering: Instead of uploading raw text, each client encodes its local instructions into embeddings, clusters them using $k$-means, and sends only the cluster centers to the server. These centers act as privacy-preserving semantic proxies.
  2. Server-Side Selection & Retrieval: The server runs a coordinate ascent-style greedy algorithm to select a strategic subset of these client centers that maximizes overall semantic diversity. Crucially, this selection is agnostic to the server's public dataset, preventing domain bias. The server then uses these optimized centers to perform dense retrieval from a large, multi-domain public dataset, filtering out redundant samples using a similarity threshold ($\alpha$).
  3. Collaborative Fine-tuning: The retrieved public instructions are distributed back to the clients to augment their local training sets. The clients then collaboratively fine-tune the LLM using standard parameter-efficient methods like LoRA.

Datasets

  • Public Pool for Augmentation: A massive combined dataset consisting of Alpaca (general), MedAlpaca (medical), FinGPT (financial), and MathInstruct (mathematical).
  • Evaluation Benchmarks:
  • Medical Domain: MMLU-Med (evaluated via Accuracy).
  • Financial Domain: FPB, FiQA, and TFNS (evaluated via Accuracy).
  • Mathematical Domain: GSM8K (evaluated via Exact Match).

Key Insights and Ideas

  • Heterogeneity is a Red Herring: Counterintuitively, the authors empirically demonstrate that there is no monotonic correlation between data heterogeneity (how differently data is distributed across clients) and final LLM performance.
  • Domain Coverage is King: The true catalyst for performance is cross-client domain coverage—how thoroughly the combined client datasets span the semantic space of the target domain. Higher coverage consistently translates to superior generalization.
Figure 1: (a)-(c) Performance (%) of different hetero- geneity in each domain with 10 and 100 clients. (d)- (e) Performance and domain coverage of iid and non- iid settings on different domains. Experiments show that cross-client domain coverage significantly impacts model effectiveness, while data heterogeneity shows no monotonic correlation with performance.
  • Theoretical Guarantees via Submodularity: The authors prove that maximizing domain coverage is formally equivalent to the classic submodular facility location problem. This mathematical mapping guarantees that FedDCA's simple greedy selection strategy achieves near-optimal results (at least a $1 - 1/e$ approximation ratio).

Key Results

  • Substantial Performance Gains: FedDCA consistently outperformed 11 baseline methods (including standard FedAvg, LESS, and generation-based approaches like Self-Instruct), yielding performance boosts of up to 29.19% and relative domain coverage improvements of 4.82% to 21.36%.
  • Extreme Data Efficiency: In data selection experiments, FedDCA achieved comparable performance to full-dataset training while utilizing only 10% of the data.
  • Enhanced Privacy: Simulating memory extraction attacks revealed that augmenting local data with public data actually mitigates the risk of privacy leakage, as the model avoids overfitting on purely private client distributions.
  • The Power of Filtering: Introducing a similarity threshold ($\alpha$) to filter out overly redundant public data significantly boosted both domain diversity and final task accuracy.
Figure 3: Impact of similarity threshold α on FedDCA’s (a) performance (%) and (b) domain coverage. Results highlight the role of the similarity threshold in enhanc- ing diversity. Lighter bars indicate FedDCA†.

Limitations and Future Work

While FedDCA provides a highly scalable and robust framework, the authors note a few areas for improvement:

  • Dependency on the Public Pool: The quality and diversity of the server-hosted public data still act as an upper bound for the retrieval phase's effectiveness.
  • Static Hyperparameters: The number of clusters per client ($\xi$) is currently a fixed constant. Developing adaptive client-side clustering techniques could further enhance robustness.
  • Evolving Data: The current algorithm assumes a static dataset and does not yet account for streaming data or continual learning scenarios where domain distributions shift over time.

Summary updated

BibTeX
@misc{wang2024optimizing,
  author = {Zezhou Wang and Yaxin Du and Xingjun Ma and Yugang Jiang and Zhuzhong Qian and Siheng Chen},
  title = {{Optimizing Cross-Client Domain Coverage for Federated Instruction Tuning of Large Language Models}},
  year = {2024},
  eprint = {2409.20135},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.20135},
}
Figure