UniFed-VLM: Federated Instruction Tuning for Vision-Language Models with Multiple Heterogeneity

Pengyu Wang, Baochen Xiong, Xiaoshan Yang, Yifan Xu, Zhang Qimeng, Haifeng Chen, Changsheng XuarXiv 2026

TL;DR

UniFed-VLM is a novel federated learning framework designed to fine-tune Vision-Language Models (VLMs) across decentralized clients exhibiting simultaneous differences in tasks, data modalities, and model architectures. By combining subspace-aligned adapter aggregation with a two-stage collaborative distillation mechanism, it allows diverse models to securely share knowledge and achieve near-centralized performance without exposing private data.

What Problem Does This Paper Address?

Vision-Language Models (VLMs)—such as those powering multimodal chatbots and image-analysis tools—typically require massive, centralized datasets for instruction fine-tuning. However, in privacy-sensitive domains like healthcare, centralizing data violates strict privacy regulations.

Federated Learning (FL) solves this by training models locally on client devices and aggregating only the model updates on a central server. Unfortunately, standard FL breaks down when applied to real-world VLM deployments due to multi-dimensional heterogeneity. As shown in Figure 1, clients often vary simultaneously across three dimensions:

  1. Tasks: One client might focus on image classification, while another handles visual question answering (VQA).
  2. Modalities: Data inputs can range from pure text to complex image-text pairs.
  3. Architectures: Clients run entirely different model backbones (e.g., encoder-based LLaVA vs. encoder-free Show-O) with varying layer depths and feature dimensions.

This extreme diversity causes severe gradient conflicts during server aggregation, rendering traditional federated averaging algorithms ineffective.

Figure 1: An overview of the federated setting with inter- twined heterogeneities across models, tasks, and modalities.

Methods

The authors introduce UniFed-VLM, a unified framework that splits the problem into intra-architecture aggregation (for clients running the same model type) and inter-architecture knowledge transfer (across different model types).

1. Federated Compensated Subspace Aggregation (FedCSA)

For clients sharing the same underlying architecture, UniFed-VLM aggregates parameter-efficient LoRA adapters. Instead of directly averaging weights—which causes destructive interference between different tasks—FedCSA applies randomized Singular Value Decomposition (SVD) to project updates into a geometrically aligned, shared subspace. It uses a dynamic weighting mechanism to favor stable updates over highly volatile ones and introduces a compensation optimization step to recover low-rank information typically lost during factor-wise aggregation.

2. Two-stage Collaborative Distillation (TCoD)

Because the server cannot directly aggregate weights from entirely different model architectures, UniFed-VLM equips each client with a lightweight Mutual Distillation Adapter (MDA) to act as a bridge.

  • Stage 1 (VLM $\rightarrow$ MDA): The local VLM's parameters are frozen, and its knowledge is distilled into the local MDA.
  • Stage 2 (MDA $\rightarrow$ VLM): The MDA is transformed into a Mixture-of-Experts (MoE) architecture containing attention mechanisms from the other heterogeneous client models. Knowledge is then distilled back from this expert-pool adapter into the local VLM, allowing it to absorb cross-model insights.
Figure 2: Overview of UniFed-VLM. Each client consists of a local VLM and an MDA. The training involves two steps. In Step 1, homogeneous LoRA parameters from the same model group are aggregated via FedCSA with SVD-based subspace alignment, dynamic weighting, and compensation optimization. In Step 2, the aggregated parameters are broadcast to clients, where the local VLM and MDA perform two-stage knowledge distillation with different MDA architectures across stages.

Datasets

The framework was evaluated on two distinct benchmarks from FedVLMBench:

  • Fed-Nature: Derived from the COCO dataset, it splits 4 tasks across clients: VQA, visual grounding, caption generation, and image classification.
  • Fed-Crossdomain: A highly non-IID (independent and identically distributed) dataset compiled from multiple distinct sources (including Fed-FGVC, Fed-ScienceCap, Fed-SLAKE, and Fed-RadGenome). It features the same tasks as Fed-Nature but introduces severe cross-domain distribution shifts.

The experiments utilized two structurally distinct models: LLaVA 1.5 (built on LLaMA 3.2-3B) and Show-O 1.5B.

Key Insights and Ideas

  • Subspace Alignment Beats Weight Averaging: Directly averaging weights from models trained on completely different tasks (like captioning vs. classification) erases task-specific nuances. Aligning them in a shared orthogonal subspace preserves unique variations while capturing shared structural knowledge.
  • Adapters as Architecture Translators: You don't need a public dataset or server-side data to bridge different architectures. A local, dimension-unified adapter can capture and translate representations between an encoder-based model and an encoder-free model via bidirectional distillation.
  • Update Stability as a Quality Metric: Clients experiencing massive parameter fluctuations are often overfitting to local task anomalies. Giving higher aggregation weights to clients with stable updates helps the global model retain generalizable multimodal knowledge.

Key Results

UniFed-VLM consistently outperformed standard federated learning baselines (such as FedAvg, FedAdam, and specialized adapter methods like FlexLoRA and pFedLoRA) across all tasks.

  • Performance Gains: On the Fed-Nature benchmark, UniFed-VLM achieved 74.3% accuracy on VQA and 91.8% accuracy on classification, outperforming the competitive FlexLoRA baseline by 5.0% and 2.5% respectively.
  • Surpassing Centralized Training: Remarkably, on certain tasks like image classification within the Fed-Nature dataset, UniFed-VLM (91.8%) slightly outperformed the centralized training upper bound (91.3%), demonstrating that collaborative federated training can act as an effective regularizer against local overfitting.

Limitations and Future Work

  • Client-Side Compute: The two-stage collaborative distillation process requires extra local training epochs, which could pose a challenge for highly resource-constrained edge devices.
  • Server Latency: Performing SVD and compensation optimization on the server adds overhead. FedCSA takes roughly 2 minutes per communication round compared to 1 minute for simpler baselines, which might impact scalability when coordinating thousands of clients.
  • Extreme Structural Gaps: While effective between LLaVA and Show-O, the distillation efficiency of TCoD may degrade if the architectural gap between client models becomes excessively vast.
  • Modality Expansion: The current work is strictly validated on vision-language tasks; extending the framework to video, audio, or sensor data remains an open research direction.

Summary updated

BibTeX
@misc{wang2026unifed,
  author = {Pengyu Wang and Baochen Xiong and Xiaoshan Yang and Yifan Xu and Zhang Qimeng and Haifeng Chen and Changsheng Xu},
  title = {{UniFed-VLM: Federated Instruction Tuning for Vision-Language Models with Multiple Heterogeneity}},
  year = {2026},
  eprint = {2608.15516},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.15516},
}
Figure