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

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

Zezhou Wang, Yi Du, Xingjun Ma, Yu-Gang Jiang, Zhuzhong Qian, Siheng Chen

Training Large Language Models (LLMs) for specialized fields like medicine or finance presents a significant challenge. While high-quality, domain-specific data is essential for fine-tuning, such data is frequently confined within private silos—such as hospitals or financial institutions—that are restricted by privacy regulations from sharing raw information. Federated Instruction Tuning (FedIT) emerged as a potential solution to this problem, allowing models to learn from decentralized data. However, FedIT often struggles because individual local datasets are typically too small and narrow to facilitate effective learning.

In their recent research, a team from Nanjing University, SJTU, and Fudan University introduces FedDCA, a framework that shifts the focus of federated learning from mitigating data heterogeneity between clients to maximizing the "coverage" of the target domain across the entire federation.

The Shift from Heterogeneity to Coverage

Traditionally, the primary concern in federated learning has been data heterogeneity, often referred to as the "non-IID" (non-independent and identically distributed) problem. The assumption was that if Client A’s data distribution differs significantly from Client B’s, the global model would struggle to converge or generalize.

However, this paper challenges that assumption in the context of domain-specific instruction tuning. The researchers argue that the real bottleneck isn't heterogeneity, but rather scarcity and redundancy. If a federation of medical centers only possesses data on a narrow set of common conditions, the resulting model will fail to diagnose rarer diseases, regardless of how many clients participate. Conversely, simply flooding clients with generic public data can introduce noise or redundant information that does not improve generalization.

The authors discover that "cross-client domain coverage"—a measure of how much of the total domain knowledge is represented across the collective federation—is a far stronger predictor of LLM performance than traditional non-IID metrics.

The FedDCA Framework

To address these challenges, the authors propose FedDCA (Domain Coverage Augmentation). This framework enables a central server to help clients augment their limited private datasets with relevant instructions from a public pool without ever accessing the private data itself.

Overview of the FedDCA framework, illustrating the client-side proxy generation and server-side domain data retrieval processes.

The FedDCA process operates in four distinct stages:

  1. Client-Side Proxy Generation: To preserve privacy, clients do not share raw text. Instead, they perform K-means clustering on their local data embeddings and send only the resulting cluster centroids to the server. These centroids serve as "semantic anchors," representing the local data distribution without revealing specific private instructions.
  2. Diversity-Oriented Selection: Upon receiving centroids from all clients, the server must select which data to retrieve. Rather than retrieving data for every single centroid—which would lead to massive redundancy—the server treats this as a Facility Location Problem. It employs a greedy algorithm to select a strategic subset of centers that maximizes the "coverage" of the collective semantic space.
  3. Retrieval-Based Augmentation: The server uses these optimized centers to perform dense retrieval from a large, multi-domain public dataset. A critical privacy feature is the similarity threshold ($\alpha$): if a public instruction is found to be too similar to a client's centroid, it is filtered out. This prevents potential membership inference attacks where an adversary might deduce the contents of a private dataset.
  4. Collaborative Tuning: Once clients receive their tailored augmented datasets, they engage in standard Federated Learning. The researchers utilize LoRA (Low-Rank Adaptation) to minimize communication overhead and computational requirements.

Experimental Evaluation and Results

The researchers evaluated FedDCA across three demanding domains: Medical (using MMLU-Med and MedAlpaca), Financial (using FPB, FiQA, TFNS, and FinGPT), and Mathematical (using GSM8K and MathInstruct). They also used the Alpaca dataset as a general-purpose foundation in the public pool.

Experimental results showing performance across Medical, Financial, and Mathematical domains, alongside an analysis of domain coverage.

The empirical results underscore the effectiveness of the FedDCA approach:

  • Significant Performance Gains: FedDCA outperformed eleven established baselines (including FedAvg and FedProx) by as much as 29.19% in specific tasks.
  • Enhanced Domain Coverage: The method increased relative domain coverage by 4.82% to 21.36% compared to standard retrieval methods, validating the core hypothesis of the paper.
  • High Data Efficiency: In data selection experiments, FedDCA achieved performance comparable to baselines while utilizing only 10% of the data. This suggests that the quality and diversity of instructions are far more important than sheer volume.
  • Algorithmic Agnostic: FedDCA proved to be a "plug-and-play" solution, showing consistent performance improvements when integrated with various underlying FL algorithms like FedAvg, FedProx, or SCAFFOLD.

Theoretical Foundations and Limitations

A key theoretical contribution of the paper is the application of submodularity. By framing data selection as a submodular facility location problem, the authors provide a mathematical guarantee that their greedy selection algorithm will achieve a solution within a factor of $(1 - 1/e)$ of the optimal solution.

Despite its success, the authors acknowledge several limitations. The method's effectiveness is inherently tied to the quality and relevance of the public data pool available at the server. Furthermore, the number of clusters ($\xi$) is currently a fixed hyperparameter; future work may explore adaptive clustering techniques. Finally, the privacy-utility trade-off remains a factor, as setting the similarity threshold ($\alpha$) too high may exclude the most beneficial augmentation data.

In conclusion, FedDCA represents a significant step forward for Federated Instruction Tuning, demonstrating that intelligently maximizing domain coverage is a powerful strategy for training specialized LLMs in privacy-sensitive environments.

Summary updated

BibTeX
@misc{wang2024optimizing,
  author = {Zezhou Wang and Yi Du and Xingjun Ma and Yu-Gang 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