From Task Mixtures to Specialized Experts
Hojat Allah Salehi, Mehrdad Mahdavi, Andrew Arash Mahyari, M. Hadi Amini
Abstract
In collaborative foundation model fine-tuning, client data is rarely homogeneous. Instead, clients typically possess unknown mixtures of distinct data distributions, or tasks. Conventional federated learning primarily addresses heterogeneity across clients without explicitly resolving latent task mixtures within each client. We study this setting as compound heterogeneity, where data is heterogeneous both across and within clients. We study adaptation over a common frozen representation and show that, when tasks share the same feature geometry, the optimal model for a client's task mixture under squared loss is a convex combination of the optimal models for its underlying tasks. Thus, a single locally trained model represents the client's overall task mixture, while individual inputs may be drawn from different underlying task distributions. This motivates routing inputs to specialized experts, and we show that, when the task optima form a simplex, task-aligned routing achieves lower risk than any single adapted model for genuinely mixed clients. With access to a small set of task-labeled public samples, we derive a convex program to recover task experts and match them to their corresponding tasks. Our routing analysis shows that effective specialization requires input-dependent expert selection aligned with each client's task mixture. Motivated by this analysis, we propose FedSEE. Across our experiments, FedSEE avoids the negative transfer observed in the evaluated baselines and improves performance by 2.9 points overall and 3.7 points for the worst-served quartile.
Create a lesson
Metadata
- Comments
- 63 pages, 9 figures
Related papers
Mixing Expertise with Confidence: A Mixture of Experts Framework for Robust Multi-Modal Continual Learning
Shared title terminologycs.LGMd Abdullah Al Forhad, Yuansheng Zhu, Abhinab Acharya et al.
Laying Off Experts: Domain-Conditioned Pruning of Mixture-of-Experts Models
Shared title terminologycs.LGChinmayee Raman, Haolin Yang, Reza Rawassizadeh
Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-Experts
Shared title terminologycs.LGDi He, Pengxiang Li, Da Chang et al.
Scaling Laws for Looped Mixture of Experts
Shared title terminologycs.LGYanbei Chen, Anirudh Goyal, Raghuraman Krishnamoorthi
Predicting Multicomponent Mixture Properties with Hierarchical Representation Learning
Shared title terminologycs.LGLuca Mondonico, Jacob Florian, Ryan Lam et al.
Efficient Algorithms for Lifelong Representation Learning in Linear Bandits Beyond Task Diversity
Shared title terminologycs.LGThang Duong, Zhi Wang, Chicheng Zhang