Beyond Domain-Level Adaptation: Margin-Oriented Semantic-Appearance Interaction Correction for Personalized Federated Vision-Language Models
Abstract
Federated parameter-efficient fine-tuning enables distributed clients to adapt pretrained vision-language models without sharing raw data or updating the full backbone. Its effectiveness, however, is limited by domain heterogeneity across clients. Existing personalized methods separate globally shared knowledge from client-specific style, but they largely treat each domain as a class-agnostic transformation. We show that this abstraction is insufficient: the cross-domain displacement associated with a fixed domain varies across semantic classes, and only a subset of these class-domain residuals damages the image-text decision margin. We therefore propose Margin-Oriented Semantic-Appearance Interaction Correction (MOSAIC), which first constructs a decision-aware harmfulness score that measures whether a training-derived class-domain residual favors a competing text prototype over the true class. It then models fine-grained class-domain interactions with a low-rank residual adapter whose class factors and residual basis are globally shared while domain factors remain client-private. An image-conditioned gate further controls candidate-wise correction, and harmful-pair-aware reweighting prioritizes decision-relevant residuals during local optimization. Extensive experiments on Office31, OfficeHome, and DomainNet100 demonstrate that MOSAIC consistently improves macro-client top-1 accuracy across all evaluated domain-shift and joint domain-label-shift settings.
Figures & tables
| Method | Office31 | OfficeHome | DomainNet100 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A | W | D | Avg. | A | C | P | R | Avg. | C | I | P | Q | R | S | Avg. | |
| Setting ①: one domain for one client | ||||||||||||||||
| Zero-shot CLIP [ICML2021] | 81.14 | 72.45 | 74.05 | 75.88 | 84.30 | 66.28 | 89.06 | 89.66 | 82.33 | 71.93 | 53.30 | 65.73 | 13.57 | 83.49 | 66.46 | 59.08 |
| PromptFL [TMC2023] | 88.90 | 87.55 | 94.30 | 90.25 | 86.94 | 75.76 | 94.32 | 93.59 | 87.65 | 86.55 | 70.29 | 79.89 | 34.31 | 91.54 | 79.97 | 73.76 |
| PromptFL+Prox [TMC2023; MLSys2020] | 89.22 | 89.80 | 93.04 | 90.68 | 86.16 | 76.28 | 94.25 | 93.59 | 87.57 | 87.47 | 71.25 | 82.15 | 32.63 | 91.79 | 81.20 | 74.41 |
| FedOTP [CVPR2024] | 85.73 | 94.69 | 94.94 | 91.79 | 79.71 | 76.24 | 92.18 | 87.10 | 83.81 | 86.73 | 69.80 | 82.05 | 50.37 | 90.75 | 82.69 | 77.06 |
| Method | Office31 | OfficeHome | DomainNet100 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Zero-shot CLIP [ICML2021] | 75.36 | 75.01 | 75.49 | 82.27 | 82.39 | 82.30 | 59.07 | 59.24 | 59.11 |
| PromptFL [TMC2023] | 89.01 | 90.44 | 88.40 | 87.35 | 87.23 | 87.01 | 73.14 | 73.88 | 74.23 |
| PromptFL+Prox [TMC2023; MLSys2020] | 89.27 | 89.66 | 88.11 | 87.46 | 87.32 | 87.36 | 73.41 | 73.66 | 74.07 |
| FedOTP [CVPR2024] | 90.78 | 90.54 | 88.75 | 84.81 | 85.66 | 84.28 | 77.52 | 77.70 | 76.94 |
| FedPGP [ICML2024] | 91.78 | 90.88 | 91.68 | 89.49 | 89.63 | 88.78 | 80.72 | 82.46 | 82.12 |
| Axis | Value | Final | Best |
|---|---|---|---|
| Rank | 8 | 95.85 | 96.44 |
| 16 | 95.67 | 96.52 | |
| 32 | 96.43 | 96.86 | |
| Scale | 0.03 | 95.97 | 96.69 |
| 0.05 | 96.50 | 96.80 | |
| 0.10 | 95.67 | 96.52 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Rank | Scale | Harmful weight | Quantile | Regularization |
| Office31 | 32 | 0.10 | 1.5 | 20% | |
| OfficeHome | 16 | 0.05 | 1.5 | 20% | |
| DomainNet100 | 32 | 0.10 | 1.5 | 20% | |
| Candidate values |
| Method | Adapted state | Shared mechanism | Private mechanism | Correction granularity |
|---|---|---|---|---|
| Zero-shot CLIP | None | Pretrained image–text space | None | None |
| PromptFL | Text prompt | Federated prompt averaging | None | Task/global prompt |
| PromptFL+Prox | Text prompt | Prompt averaging with proximal control | None | Task/global prompt |
| FedOTP | Text prompts | Global prompt | Local prompt with optimal transport | Client/prompt |
| FedPGP | Text prompts | CLIP-guided global knowledge | Low-rank personalized prompt | Client/prompt |
| FedDDA | Text and visual adapters | Global prompt and shared adapter | Local prompt and specific adapter | Client/domain |
| Dataset | Shared params | Round trip | Statistics | |
|---|---|---|---|---|
| (KiB) | (KiB) | |||
| Office31 | 33,791 | 264.0 | 62.1 | |
| OfficeHome | 17,489 | 136.6 | 130.3 | |
| DomainNet100 | 36,068 | 281.8 | 200.4 |
| Dataset | Intersection/size | Jaccard | ||
|---|---|---|---|---|
| Office31 | 0.656 | 0.724 | 9/18 | 0.333 |
| OfficeHome | 0.908 | 0.852 | 27/52 | 0.351 |
| DomainNet100 | 0.930 | 0.897 | 69/120 | 0.404 |
| Dataset | Pairs | |||
|---|---|---|---|---|
| Office31 | 93 | 0.724 | ||
| OfficeHome | 260 | 0.852 | 0.207 | 0.364 |
| DomainNet100 | 600 | 0.897 | 0.145 | 0.619 |
| Setting 1: one client/domain | Setting 2: two clients/domain | ||||||
| Dataset | Domain | FedDDA | MOSAIC | FedDDA | MOSAIC | ||
| Office31 | Amazon | 89.32 | 90.57 | +1.25 | 88.39 | 90.00 | +1.61 |
| Webcam | 97.14 | 100.00 | +2.86 | 95.06 | 98.10 | +3.04 | |
| DSLR | 98.23 | 100.00 | +1.77 | 98.10 | 96.90 | ||
| Average | 94.90 | 96.86 | +1.96 | 93.85 | 95.00 | +1.15 | |
| OfficeHome | Art | 87.07 | 88.60 | +1.53 | 86.69 | 88.25 | +1.56 |
| Class | Acc. | Class | Acc. |
|---|---|---|---|
| back_pack | 96.0 | mouse | 100.0 |
| bike | 100.0 | mug | 95.8 |
| bike_helmet | 100.0 | paper_notebook | 89.3 |
| bookcase | 91.3 | pen | 96.2 |
| bottle | 69.2 | phone | 95.8 |
| calculator | 100.0 | printer | 92.3 |
| Class | Acc. | Class | Acc. | Class | Acc. |
|---|---|---|---|---|---|
| Alarm_Clock | 100.0 | Flowers | 100.0 | Postit_Notes | 83.9 |
| Backpack | 93.0 | Folder | 83.3 | Printer | 98.1 |
| Batteries | 91.5 | Fork | 83.8 | Push_Pin | 90.9 |
| Bed | 98.0 | Glasses | 100.0 | Radio | 88.9 |
| Bike | 96.8 | Hammer | 85.7 | Refrigerator | 91.3 |
| Bottle | 88.2 | Helmet | 100.0 | Ruler | 89.5 |
| Class | Acc. | Class | Acc. | Class | Acc. | Class | Acc. |
|---|---|---|---|---|---|---|---|
| aircraft_carrier | 70.7 | bed | 80.3 | cactus | 87.6 | coffee_cup | 77.2 |
| airplane | 89.3 | bee | 91.4 | cake | 59.6 | compass | 79.3 |
| alarm_clock | 73.0 | belt | 61.6 | calculator | 87.6 | computer | 81.4 |
| ambulance | 85.2 | bench | 72.4 | calendar | 74.6 | cookie | 80.0 |
| angel | 90.2 | bicycle | 94.2 | camel | 88.8 | cooler | 64.1 |
| animal_migration | 90.4 | binoculars | 81.8 | camera | 92.2 | couch | 73.5 |