← Projects

AAAI 2026

Decoupling Shared and Personalized Knowledge

Yiran Pang, Zhen Ni, Xiangnan Zhong*

Florida Atlantic University · *Corresponding author

A dual-branch federated learning framework for multi-domain, non-IID data. pFedDB gives every client a private branch that never leaves the device and aggregates only a shared branch, so collaboration adds to what a client already knows instead of overwriting it.

Paper Code PDF Poster Appendix BibTeX

Overview

Why one global model fails when every client sees a different domain.

In multi-domain federated learning each client holds data from a single domain, such as one hospital or one image style, so the client distributions barely overlap. Two problems follow.

Catastrophic forgetting. At the start of every round the server sends the newest global weights, and that download overwrites the model the client has tuned to its own data. Accuracy drops, the client relearns, and the cycle repeats.

Negative transfer. Methods that pull all clients toward a single global optimum force a consensus between domains that disagree, and aggregating knowledge from disparate domains can make a client worse than training alone.

pFedDB handles both by separating shared knowledge from personalized knowledge in the structure of the model itself.

19 of 19domains where the client beats its own single-domain baseline
4 of 4benchmarks with the highest average accuracy among the compared methods
30–37%fewer bytes sent per communication round

Method

Split the model, then let each client learn alone before it collaborates.

Architecture

A dual-branch model

A cut depth lc splits the backbone. The layers below the cut are cloned into two parallel feature extractors: a shared one that is aggregated across clients, and a private one that stays local. Their features are added element-wise and passed to a local head made of the remaining top layers and the classifier.

Training

A two-phase protocol

In phase 1 each client trains a standard single-branch model on its own data; this is its knowledge anchor. In phase 2 the client clones that model to initialize both branches, trains all of its parameters every round, and uploads only the shared branch, which the server averages.

For an input x on client c, the prediction is ŷ = gp(fs(x; φ) + fp(x; ψc); ωc), where only the shared parameters φ are ever sent to the server.

Because the private branch is never uploaded, a global update cannot overwrite domain-specific knowledge. Because the two branches are added, the gradient that reaches the shared branch is scaled by the error the client still makes: where the private branch already explains a local feature the loss is small and the shared update is muted, while unexplained patterns produce larger updates. The shared branch therefore learns a general representation that complements each client's expertise. The top layers and the classifier stay on the device, which also keeps the most semantic parameters private.

Results

Four multi-domain benchmarks, one domain per client, five runs each.

Scatter plot of mean accuracy on CheXpert and RSNA against mean accuracy on OpenI and VinBigData for eight methods. pFedDB is the only point above and to the right of the single-domain baseline.
Chest-X-Ray-4. Dashed lines mark single-domain training. Only pFedDB improves both pairs of domains at once; the other methods help one pair and hurt the other, or trail overall.
Average validation accuracy on DomainNet over 300 epochs. After epoch 150, pFedDB rises to about 0.47 and stays there, while FedAvg oscillates around 0.39.
DomainNet. Both federated methods start from the same locally trained checkpoint at round 150. FedAvg oscillates because every download overwrites the client's weights; pFedDB rises and stays above the local baseline.

Average accuracy (%)

MethodChest-X-Ray-4Digits-FiveOffice-Caltech-10DomainNet
Single domain80.782.665.142.8
FedAvg79.682.762.741.5
FedProx79.082.762.041.6
FedBN81.085.270.548.0
pFedSD81.183.672.746.2
FedSSD81.283.470.145.3
FedWon81.585.472.248.8
pFedDB (ours)83.486.873.450.3

Mean classification accuracy over the domains of each benchmark, averaged over 5 runs. The table lists the methods evaluated on all four benchmarks; the paper reports every domain and four more baselines on the first two. Backbones: DenseNet-121 for Chest-X-Ray-4, a simple CNN for Digits-Five, and AlexNet for the other two.

What else the paper shows

  • Communication. Only the shared branch is transmitted, which removes 30–37% of the bytes sent per round on a simple CNN, AlexNet, and DenseNet-121. The first 150 of the 300 rounds are local, so total traffic is well below half that of full-model baselines.
  • New clients. A client that joins late, downloads the shared branch, and freezes it starts at the highest accuracy and converges fastest, ahead of fine-tuning the whole network and of training from scratch.
  • Cut depth. Accuracy is best when about 70% of the parameters sit in the shared branch. This holds for AlexNet, DenseNet-121, and a lightweight Vision Transformer.
  • Fusion. Plain element-wise addition reaches 73.4% on Office-Caltech-10, above concatenation, attention gating, and fixed weighted sums (70.5–72.7%), with no extra parameters.

Chest-X-Ray-4

A new benchmark released with the paper.

Chest-X-Ray-4 unifies four public chest X-ray datasets, CheXpert, OpenI, RSNA, and VinBigData, into one binary task: lung opacity versus normal. Each dataset is one client, which gives a federated benchmark with real-world non-IID data.

Dataset on Hugging Face Trained checkpoints Setup and training

Cite

@inproceedings{pang2026decoupling,
  title={Decoupling Shared and Personalized Knowledge: A Dual-Branch Federated Learning Framework for Multi-Domain with Non-IID Data},
  author={Pang, Yiran and Ni, Zhen and Zhong, Xiangnan},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={40},
  number={29},
  pages={24745--24754},
  year={2026}
}