Skip to main content
QUICK REVIEW

[Paper Review] MmAP : Multi-modal Alignment Prompt for Cross-domain Multi-task Learning

Xin Yi, Junlong Du|arXiv (Cornell University)|Dec 14, 2023
Domain Adaptation and Few-Shot LearningComputer Science5 citations
TL;DR

This paper proposes MmAP, a multi-modal alignment prompt method for cross-domain multi-task learning using CLIP, which jointly tunes text and visual prompts via a Kronecker product to preserve modality alignment. It achieves state-of-the-art performance with only ~0.09% of full fine-tuning parameters on Office-Home and miniDomainNet, outperforming existing prompt tuning baselines across all shot settings.

ABSTRACT

Multi-Task Learning (MTL) is designed to train multiple correlated tasks simultaneously, thereby enhancing the performance of individual tasks. Typically, a multi-task network structure consists of a shared backbone and task-specific decoders. However, the complexity of the decoders increases with the number of tasks. To tackle this challenge, we integrate the decoder-free vision-language model CLIP, which exhibits robust zero-shot generalization capability. Recently, parameter-efficient transfer learning methods have been extensively explored with CLIP for adapting to downstream tasks, where prompt tuning showcases strong potential. Nevertheless, these methods solely fine-tune a single modality (text or visual), disrupting the modality structure of CLIP. In this paper, we first propose Multi-modal Alignment Prompt (MmAP) for CLIP, which aligns text and visual modalities during fine-tuning process. Building upon MmAP, we develop an innovative multi-task prompt learning framework. On the one hand, to maximize the complementarity of tasks with high similarity, we utilize a gradient-driven task grouping method that partitions tasks into several disjoint groups and assign a group-shared MmAP to each group. On the other hand, to preserve the unique characteristics of each task, we assign an task-specific MmAP to each task. Comprehensive experiments on two large multi-task learning datasets demonstrate that our method achieves significant performance improvements compared to full fine-tuning while only utilizing approximately 0.09% of trainable parameters.

Motivation & Objective

  • Address the challenge of parameter explosion in multi-task learning due to task-specific decoders in standard MTL frameworks.
  • Overcome the limitation of single-modality prompt tuning (e.g., text or visual only) that disrupts CLIP’s inherent modality alignment.
  • Enable efficient, parameter-efficient multi-task adaptation of CLIP by preserving modality alignment during prompt tuning.
  • Design a multi-task prompt learning framework that groups similar tasks for complementarity while retaining task-specific characteristics.
  • Achieve strong generalization across cross-domain multi-task benchmarks with minimal trainable parameters.

Proposed method

  • Propose MmAP, a multi-modal alignment prompt that generates both text and visual prompts from a shared source prompt using a Kronecker product to enforce cross-modal alignment during tuning.
  • Introduce a gradient-driven task grouping strategy that clusters tasks based on gradient similarity to form disjoint groups for shared MmAP tuning.
  • Assign a task-specific MmAP to each individual task to preserve unique representation characteristics.
  • Construct a multi-task prompt learning framework combining group-shared and task-specific MmAPs to balance knowledge sharing and task independence.
  • Utilize CLIP’s pre-trained vision-language encoders without additional decoders, enabling zero-shot generalization and parameter efficiency.
  • Train only the prompt parameters (not backbone weights), reducing trainable parameters to ~0.09% of full fine-tuning.

Experimental results

Research questions

  • RQ1Can joint tuning of text and visual prompts in CLIP preserve modality alignment better than single-modality prompt tuning?
  • RQ2How does multi-modal prompt alignment affect performance in cross-domain multi-task learning compared to standard prompt tuning?
  • RQ3Can gradient-based task grouping improve performance by enhancing complementarity among similar tasks?
  • RQ4Does combining group-shared and task-specific prompts lead to better performance than using only one type?
  • RQ5To what extent can a parameter-efficient prompt tuning method achieve performance close to full fine-tuning with minimal trainable parameters?

Key findings

  • MmAP achieves a 0.54% improvement over the MLP baseline in multi-modal prompt tuning, demonstrating superior information sharing between modalities.
  • On Office-Home, MmAP achieves 87.77% accuracy under the 20% shot setting, outperforming all baselines including CoOp-MT, VPT-MT, and MaPLe-MT.
  • The multi-task prompt learning framework with gradient-based grouping improves performance by 0.68% and 0.85% over random grouping at 10% and 20% data settings, respectively.
  • At 1-shot, all methods underperform zero-shot CLIP on Art and Real World tasks, but MmAP shows the largest performance gap reduction at 3+ shots, indicating strong generalization.
  • MmAP reduces trainable parameters to ~0.13M (vs. 3.96M in MLP baseline), achieving ~0.09% of full fine-tuning parameters while maintaining high performance.
  • The ablation study confirms that both group-shared and task-specific MmAP components are essential, with the full framework outperforming all ablated variants.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.