Decoupling Shared and Personalized Knowledge
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.
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.
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.
Average accuracy (%)
| Method | Chest-X-Ray-4 | Digits-Five | Office-Caltech-10 | DomainNet |
|---|---|---|---|---|
| Single domain | 80.7 | 82.6 | 65.1 | 42.8 |
| FedAvg | 79.6 | 82.7 | 62.7 | 41.5 |
| FedProx | 79.0 | 82.7 | 62.0 | 41.6 |
| FedBN | 81.0 | 85.2 | 70.5 | 48.0 |
| pFedSD | 81.1 | 83.6 | 72.7 | 46.2 |
| FedSSD | 81.2 | 83.4 | 70.1 | 45.3 |
| FedWon | 81.5 | 85.4 | 72.2 | 48.8 |
| pFedDB (ours) | 83.4 | 86.8 | 73.4 | 50.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}
}