arXiv:2611.01893cs.DCNov 2026

Manuscript Offprint

arXiv:2611.01893

Rethinking Model Aggregation for Federated Learning with Domain Skew: A Knowledge-Preserving Perspective

Haotian Wu, Xu Ji, Qiheng Li, Li Xiong, Zibin Pan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Domain skew challenges federated learning by requiring a shared model to accommodate distinct visual distributions. Domain-specific experts can capture these distributions separately, creating an opportunity to integrate their representations in a unified predictor. We propose Federated Knowledge-Preserving Learning (FKPL), a two-stage framework that combines domain-oriented expert training with prototype-based classifier calibration. First, a one-shot subspace-based clustering procedure groups clients for intra-cluster training. The resulting expert encoders are concatenated and frozen, preserving each learned feature mapping during global integration. Second, clients interpolate their concatenated features with class-matched domain prototypes and upload the resulting virtual features. The server trains a global linear classifier on these features, concentrating classifier optimization at the server after a single feature upload. FKPL achieves average accuracies of 73.01%, 67.00%, and 64.51% on Office-Caltech-10, PACS, and a four-domain subset of DomainNet, respectively. On DomainNet, its cross-domain standard deviation is 7.50 percentage points, the lowest among the evaluated methods. With the same concatenated extractor, prototype-based calibration improves average accuracy over federated classifier training by 9.99 and 14.94 percentage points on Office-Caltech-10 and PACS. These results identify classifier calibration as an effective way to combine preserved domain representations into a global predictor.

Keywords: Model aggregation, federated learning, domain skew, classifier calibration, feature concatenation

1. Introduction

Federated learning (FL) enables distributed data owners to train models collaboratively while retaining their raw training samples locally [1]. Its applications include image classification [2], medical analysis [3], and Internet-of-Things systems [4]. A typical classification model combines a feature encoder, which maps an input to a representation vector, with a classifier, which converts that representation into class predictions. How to aggregate these components becomes consequential when clients observe different domains.

Data heterogeneity creates differences between local objectives and their optimization trajectories [5, 6]. Under domain skew, clients share a classification task while the appearance or acquisition conditions of their inputs vary [7, 8]. A feature useful in one domain can receive conflicting updates from another domain. Figure 1 illustrates the resulting gap between a shared FedAvg model and independently trained domain models. This motivates an aggregation strategy that retains specialized representations while supporting a common prediction interface.

Clustered FL groups clients with similar distributions and trains a model within each group [9, 10]. This provides a direct route to domain specialization. Integrating the resulting experts requires an additional mechanism that combines their learned information. Shared-parameter approaches pursue global integration during training through regularization, partial parameter sharing, or modified aggregation [11, 8]. When domain objectives conflict, their shared representations must accommodate competing requirements [12, 13]. These observations motivate separating expert training from the construction of the final global classifier.

*Corresponding author. Email address: zibinpan@gzhu.edu.cn (Zibin Pan)

Figure

Figure 1: Federated learning across multiple domains. The reported domain accuracies compare FedAvg with domain-specific independent training (SOLO), illustrating the performance gap that motivates preserving specialized representations.

We propose Federated Knowledge-Preserving Learning (FKPL), following a “divide-and-integrate” design. Its first component, Domain Expert Training and Feature Aggregation (DETFA), applies one-shot subspace-based clustering [14], trains experts within the resulting clusters, and concatenates their feature encoders. Freezing these encoders retains their learned mappings during the integration stage. Every input is then represented by the outputs of all experts, giving a common feature space for global prediction.

The second component, Prototype-based Classifier Calibration (PCC), learns how to use this concatenated representation. Clients first compute class prototypes in the frozen global feature space. The server aggregates these prototypes within each cluster and distributes the resulting domain prototypes. Clients then interpolate local features with class-matched prototypes from the represented domains and upload the synthesized virtual features. The server uses this feature collection to train a global linear classifier. This arrangement moves the iterative classifier optimization to the server and makes the classifier's access to cross-domain feature statistics explicit.

Feature concatenation has an established role in FL. FedConcat [15] clusters clients using label-distribution information, trains cluster models, concatenates their encoders, and trains a classifier with the encoders frozen. FKPL develops this structural approach for domain-skewed data through two choices: client grouping based on data subspaces and classifier calibration using prototype-guided virtual features. The distinction lies in the grouping information and calibration protocol. Table 1 places these mechanisms alongside representative alternatives.

Experiments on Office-Caltech-10, PACS, and Domain-Net4 examine global prediction, component contributions, representation inversion, and system cost. The strongest component-level gains arise from PCC: with the concatenated extractor fixed, it increases average accuracy by 9.99 percentage points on Office-Caltech-10 and 14.94 points on PACS relative to a federated classifier. FKPL also produces the smallest cross-domain accuracy dispersion on Domain-Net4. These findings support the following contributions:

  • A domain-oriented integration framework combines subspace-based client grouping, intra-cluster expert train-

ing, and frozen encoder concatenation to retain specialized feature mappings in a global predictor.

  • Prototype-based classifier calibration constructs cross-domain virtual features in a common representation space and trains the global classifier at the server after a single feature-upload phase.

  • Experiments quantify the gains from classifier calibration, the contributions of expert grouping, and the communication and inference costs of retaining multiple encoders.

Section 2 reviews the relevant FL approaches. Section 3 presents FKPL, Section 4 reports the experiments, and Section 5 concludes the paper.

References (26)