Pilot: Building the Federated Multimodal Instruction Tuning Framework

Baochen Xiong, Xiaoshan Yang, Yaguang Song, Yaowei Wang, Changsheng Xu

Abstract

Multimodal Large Language Models (MLLMs) have demonstrated remarkable capabilities through instruction tuning. However, extending this process to a federated learning (FL) setting introduces significant challenges due to task heterogeneity. When clients perform diverse tasks—such as image captioning versus visual grounding—standard federated aggregation leads to parameter conflicts and negative transfer. This paper introduces Pilot, a novel Federated Multimodal Instruction Tuning (FedMIT) framework. Pilot utilizes a two-stage "adapter on adapter" architecture and adaptive parameter aggregation to facilitate collaborative learning across distributed clients while mitigating interference between disparate tasks.

Introduction

Federated Learning (FL) has emerged as a vital paradigm for training models on decentralized data while preserving privacy. While Federated Instruction Tuning (FedIT) has seen success in Natural Language Processing, its application to multimodal contexts (FedMIT) is hindered by extreme task heterogeneity. In a typical FedMIT scenario, one client might focus on visual grounding (predicting spatial coordinates), while another focuses on descriptive image captioning.

Traditional FL algorithms, such as FedAvg, typically aggregate model weights by simple averaging. In multimodal settings, this approach often results in "negative transfer," where the shared model performs worse than models trained locally in isolation. The Pilot framework addresses this by enabling the sharing of generalizable multimodal knowledge without allowing distinct tasks to cannibalize each other's performance.

The Pilot Framework

Pilot is built upon the LLaVA 1.5 architecture, utilizing a frozen CLIP vision encoder and a frozen Vicuna LLM. To achieve efficient and effective tuning, Pilot employs Parameter-Efficient Fine-Tuning (PEFT) via LoRA for the LLM and a specialized two-stage strategy within the vision-language connector.

1. Task-Specific Feature Mining

In the first stage, the model employs two parallel adapters within the connector:

  • Task-Specific Adapter: Captures features relevant to the general category of the task.
  • Client-Specific Adapter: Learns nuances unique to the local data distribution.

To ensure these components remain distinct, an orthogonality loss is applied, forcing the adapters to learn non-overlapping feature sets.

2. Cross-Task Visual Interaction

The second stage introduces a Cross-task Mixture-of-Adapters (CT-MoA) module. This allows clients to leverage task-specific adapters from other tasks via the central server. A routing network dynamically determines which adapters to activate for specific image tokens, allowing the model to "borrow" visual processing strategies from related tasks without overwriting its primary logic.

3. Federated Optimization and Aggregation

Pilot moves away from blind weight averaging. The server implements two distinct strategies:

  • Task-aware Aggregation: Visual adapters are only averaged among clients performing the same task.
  • Adaptive Aggregation: For LLM text-adapters, the server calculates the Euclidean distance between client parameters. It only aggregates the Top-M most similar weights, ensuring that only compatible linguistic knowledge is shared.

Experimental Evaluation

The authors evaluated Pilot across two complex federated scenarios involving nine clients and three distinct tasks:

  1. Visual Understanding Scenario: GQA (Visual Question Answering), COCO (Image Captioning), and RefCOCO (Visual Grounding).
  2. General VQA Scenario: ScienceQA, GQA, and OCRVQA.

Key Results

Pilot consistently outperformed state-of-the-art FL baselines, including FedAvg, FedProx, and Shepherd.

  • Visual Understanding: Pilot achieved CIDEr scores of 120.3–126.4 on COCO (vs. FedAvg's 86.5–104.2) and IoU scores of 49.6–52.4 on RefCOCO (vs. FedAvg's 25.4–32.4).
  • General VQA: Pilot maintained the highest accuracy across all tested question-answering clients.

Ablation studies confirmed that the orthogonality loss, the CT-MoA module, and the adaptive aggregation strategy are all critical to the framework's success in handling heterogeneity.

Discussion and Limitations

A primary challenge identified during development was the trade-off between performance and communication overhead. While unfreezing parts of the vision encoder (e.g., using CT-CLIP) provided minor performance gains, it significantly increased the parameter count and computational requirements for edge devices. Consequently, the authors prioritized the frozen-encoder Pilot method for its practical applicability in federated environments.

Conclusion

Pilot represents a significant step forward in Federated Multimodal Instruction Tuning. By acknowledging and addressing task heterogeneity through modular adapters and intelligent aggregation, it enables robust collaborative learning across diverse multimodal tasks. Future research will focus on further reducing communication overhead while attempting to match the performance of full-encoder fine-tuning.

Summary updated

BibTeX
@inproceedings{xiong2025pilot,
  author = {Baochen Xiong and Xiaoshan Yang and Yaguang Song and Yaowei Wang and Changsheng Xu},
  title = {{Pilot: Building the Federated Multimodal Instruction Tuning Framework}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i20.35476},
}
Figure