Co-LoRA: Collaborative Model Personalization on Heterogeneous Multi-Modal Clients

Minhyuk Seo, Taeheon Kim, Hankook Lee, Jonghyun Choi, Tinne Tuytelaars

TL;DR

This paper introduces FedMosaic, a personalized federated learning (PFL) framework designed for realistic, heterogeneous environments where clients possess both diverse model architectures (e.g., different sizes and families of Multimodal Large Language Models) and distinct, shifting data distributions. By combining a task-relevance-aware model aggregation strategy (RELA) with a novel dimension-invariant adapter module (Co-LoRA), FedMosaic enables effective collaborative learning without architectural constraints or privacy risks. The authors also release DRAKE, the first multi-modal PFL benchmark that incorporates temporal distribution shifts across 40 diverse tasks.

What Problem Does This Paper Address?

Personalized Federated Learning (PFL) allows decentralized clients to collaboratively train AI models tailored to their specific preferences without sharing raw data. However, existing PFL methods typically operate under highly simplified assumptions: they assume every client uses the exact same model architecture and trains on static data splits.

In real-world applications like Agentic AI, these assumptions fall apart. Clients have vastly different hardware constraints, meaning a smartphone might run a 1B parameter model while a robust edge server runs an 8B model from a completely different family (e.g., Llama vs. Qwen). Furthermore, user data is highly personalized and changes over time, introducing both data heterogeneity and temporal distribution shifts. Naive model averaging in these scenarios fails due to two main roadblocks:

  1. Parameter Interference: Merging models trained on completely unrelated tasks degrades performance.
  2. Architectural Mismatch: You cannot directly average weights between models with different hidden dimensions, depths, or layer structures.
Figure 1: Overview of the heterogeneous personalized federated learning scenarios. Li refers to the local model for the ith client. Clients focus on different tasks (i.e., data heterogeneity) where new data are encountered continuously. In addition to data heterogeneity, model architectures may differ across clients (i.e., model heterogeneity) due to differences in hardware constraints.

Methods

To tackle these challenges simultaneously, the authors propose FedMosaic, which introduces two core components:

1. RELevance-guided Aggregation (RELA)

Instead of uniformly averaging client updates, RELA constructs a customized global model for each client based on task similarity. To achieve this efficiently and privately:

  • Each client computes gradients using a small, frozen, pre-trained proxy model ($W_s$) rather than their active training model.
  • To account for data evolving over time, past gradients are aggregated using an Exponential Moving Average (EMA) to capture knowledge shifts and combat catastrophic forgetting.
  • Gradients are sanitized via random dimension subsampling and Gaussian noise injection before being sent to the server, providing robust privacy guarantees against gradient inversion attacks.

2. Collaborative-LoRA (Co-LoRA)

To bridge the architectural gap between heterogeneous models, the authors modify the standard Low-Rank Adaptation (LoRA) architecture. Standard LoRA matrices ($A$ and $B$) depend heavily on model-specific hidden dimensions ($d_I, d_O$). Co-LoRA introduces two new dimension-invariant modules between them: $P \in \mathbb{R}^{r \times r}$ and $Q \in \mathbb{R}^r$, where $r$ is the low-rank size.

Figure 3: Illustration of (a) Conventional LoRA and (b) Co-LoRA. While A and B are trainable in conventional LoRA, Co-LoRA freezes both, updating only the dimension-invariant modules P ∈Rr×r and Q ∈Rr during training.
  • Weight Alignment: Before federated training begins, the dimension-dependent matrices $A$ and $B$ are aligned across different architectures using a small public dataset (via L2 loss for $A$ and Canonical Correlation Analysis for $B$) and then frozen.
  • Block-Wise Aggregation: Because models vary in depth, the authors use Centered Kernel Alignment (CKA) to map layer representations. They discover that models share the strongest representation alignment at similar relative depths. Models are divided into $N_B$ blocks linearly, and Co-LoRA modules are attached to the final layer of each block. During federated rounds, only the dimension-invariant $P$ and $Q$ modules are trained, uploaded, and aggregated.
Figure 2: Overview of proposed FedMosaic. On every round, the local Co-LoRA Li fine-tuned during local training and the sanitized last layer gradient ˜gi are uploaded from the ith client to server. The last layer gradient is extracted on every m iterations from the small pre-trained model Ws, which is then EMA updated and sanitized to ˜g. In server, the sanitized gradients ˜gi are used to measure client task relevance and to build customized global Co-LoRA Gi, which is distributed and kept frozen. h and Wp denote the hidden state input and the pre-trained weight, respectively. β is a learnable gating parameter that balances the output from the global and local models.

Datasets

The authors introduce DRAKE (Dynamic and Real-world benchmark for Agentic Knowledge Evaluation), a comprehensive multi-modal PFL benchmark spanning 40 distinct tasks across 19 datasets, totaling 375k images and 274k questions. It features:

  • Three training task subgroups: Visual Relation Tasks (e.g., fashion relation, dual-image relation), Multi-modal Reasoning Tasks (e.g., visual figurative understanding), and VQA Tasks (e.g., image quality, icon-domain).
  • Built-in distribution shifts: Simulating real-world non-stationary data streams.
  • Unseen evaluation tasks: 7 disjoint tasks to rigorously test model generalizability.

The framework was also validated on the existing Heterogeneous Federated Learning Benchmark (HFLB) and several text-only NLP benchmarks (Fed-Scope, Fed-Aya, and Fed-LLM-Large).

Key Insights and Ideas

  • Linear Depth Alignment: CKA analysis revealed a surprisingly clean, near-linear representation alignment between completely different model families (like Llama and Qwen) at similar relative depths. This justifies block-wise aggregation rather than complex layer-matching heuristics.
  • Zero Aggregation Error: Mathematically, the authors prove that by freezing the aligned $A$ and $B$ matrices during local training, the practical parameter aggregation error on the server drops to exactly zero ($\delta = 0$).
  • Communication Efficiency: Because only the low-rank $P$ and $Q$ matrices are transmitted (while $A$ and $B$ remain frozen), FedMosaic actually achieves a 10.9% lower communication cost than standard FedAvg, despite handling complex heterogeneity.

Key Results

FedMosaic consistently outperformed state-of-the-art PFL methods (such as Ditto, FedDAT, and PerAda) and standalone local fine-tuning (SFT) across all benchmarks:

  • Personalization & Generalization: On the DRAKE-Dynamic benchmark, FedMosaic achieved an accuracy ($A_{last}$) of 67.86% on the clients' own tasks (outperforming SFT's 65.79%) and 51.16% on other clients' tasks (outperforming SFT's 47.66%).
  • Cross-Family Robustness: In cross-family setups mixing LLaVA-Llama3 and LLaVA-Qwen2.5 models, FedMosaic maintained a significant performance lead over all baselines.
  • Fast Adaptation: Models initialized with FedMosaic's aggregated weights adapted to entirely unseen downstream tasks much faster than models initialized with competing baseline weights.
  • Computational Efficiency: FedMosaic delivers these gains with 60% fewer FLOPs than dual-adapter distillation baselines, making it highly practical for resource-constrained edge clients.

Limitations and Future Work

While highly effective, the authors note a few limitations:

  • Modality Constraints: FedMosaic has currently only been evaluated on vision-language and text-only benchmarks. Its efficacy on other modalities like speech or time-series data remains untested.
  • Architecture Scope: The block-wise aggregation strategy relies on transformer-based architectures. While LoRA can apply to convolutional layers, expanding Co-LoRA to seamlessly bridge non-transformer architectures is left for future exploration.

Summary updated

BibTeX
@inproceedings{seo2026co,
  author = {Minhyuk Seo and Taeheon Kim and Hankook Lee and Jonghyun Choi and Tinne Tuytelaars},
  title = {{Co-LoRA: Collaborative Model Personalization on Heterogeneous Multi-Modal Clients}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=0g5Dk4Qfh0},
}
Figure