Skip to main content
QUICK REVIEW

[Paper Review] Foundation Model is Efficient Multimodal Multitask Model Selector

Fanqing Meng, Wenqi Shao|arXiv (Cornell University)|Aug 11, 2023
Multimodal Machine Learning ApplicationsComputer Science4 citations
TL;DR

This paper proposes EMMS, an efficient multi-task model selector that uses foundation models to convert diverse label formats (e.g., categories, text, bounding boxes) into unified noisy label embeddings, enabling fast and accurate transferability estimation across multi-modal tasks via weighted linear regression. EMMS achieves state-of-the-art performance with up to 54.8% higher ranking accuracy and 6.29× faster inference than LogME, while being the first method to generalize across multi-modal, multi-task scenarios without task-specific priors.

ABSTRACT

This paper investigates an under-explored but important problem: given a collection of pre-trained neural networks, predicting their performance on each multi-modal task without fine-tuning them, such as image recognition, referring, captioning, visual question answering, and text question answering. A brute-force approach is to finetune all models on all target datasets, bringing high computational costs. Although recent-advanced approaches employed lightweight metrics to measure models' transferability,they often depend heavily on the prior knowledge of a single task, making them inapplicable in a multi-modal multi-task scenario. To tackle this issue, we propose an efficient multi-task model selector (EMMS), which employs large-scale foundation models to transform diverse label formats such as categories, texts, and bounding boxes of different downstream tasks into a unified noisy label embedding. EMMS can estimate a model's transferability through a simple weighted linear regression, which can be efficiently solved by an alternating minimization algorithm with a convergence guarantee. Extensive experiments on 5 downstream tasks with 24 datasets show that EMMS is fast, effective, and generic enough to assess the transferability of pre-trained models, making it the first model selection method in the multi-task scenario. For instance, compared with the state-of-the-art method LogME enhanced by our label embeddings, EMMS achieves 9.0\%, 26.3\%, 20.1\%, 54.8\%, 12.2\% performance gain on image recognition, referring, captioning, visual question answering, and text question answering, while bringing 5.13x, 6.29x, 3.59x, 6.19x, and 5.66x speedup in wall-clock time, respectively. The code is available at https://github.com/OpenGVLab/Multitask-Model-Selector.

Motivation & Objective

  • To address the challenge of efficiently selecting the best pre-trained model for multiple multi-modal tasks without fine-tuning.
  • To overcome the limitations of existing transferability metrics that rely on task-specific priors and fail in multi-modal, multi-task settings.
  • To develop a generic, fast, and accurate method for assessing model transferability across diverse downstream tasks with heterogeneous label formats.
  • To enable efficient model selection by transforming labels into a unified embedding space using foundation models.

Proposed method

  • EMMS employs large foundation models (e.g., CLIP, GPT-2) to embed diverse downstream task labels—such as categories, text descriptions, and bounding boxes—into a shared, unified embedding space.
  • It treats the resulting embeddings as noisy oracles and formulates transferability estimation as a weighted linear square regression (WLSR) problem.
  • The WLSR is solved via an alternating minimization algorithm with theoretical convergence guarantees, enabling efficient optimization.
  • The method is designed to be generic and scalable, handling various label formats without requiring task-specific architectural modifications.
  • It leverages the rich semantic representations of foundation models to capture complex label semantics beyond one-hot or real-valued encodings.
  • The framework is end-to-end differentiable and supports batch processing, enabling fast inference across multiple models and tasks.

Experimental results

Research questions

  • RQ1Can a unified representation of diverse label formats (e.g., text, categories, bounding boxes) improve transferability estimation across multi-modal tasks?
  • RQ2How does EMMS compare to existing metrics like LogME and TransRate in terms of accuracy and efficiency across multiple downstream tasks?
  • RQ3To what extent does using foundation model-derived label embeddings improve model selection performance compared to conventional label encoding methods?
  • RQ4Is the proposed alternating minimization algorithm for WLSR convergence-guaranteed and efficient in practice?
  • RQ5Can EMMS generalize effectively across a wide range of multi-modal tasks without task-specific adaptation?

Key findings

  • EMMS achieves 9.0%, 26.3%, 20.1%, 54.8%, and 12.2% performance gains over LogME on image recognition, referring, captioning, visual question answering, and text question answering, respectively.
  • EMMS reduces wall-clock inference time by 5.13×, 6.29×, 3.59×, 6.19×, and 5.66× on the same tasks, demonstrating significant speed improvements.
  • On the Sun397 dataset, EMMS outperforms LogME with T=1 (non-converged) by 0.082 in weighted Kendall’s tau, despite higher computational complexity.
  • EMMS consistently outperforms TransRate with both K=1 and K=3 F-labels, achieving a 0.082 higher average weighted Kendall’s tau on image classification.
  • The alternating minimization algorithm converges reliably and efficiently, enabling fast model selection across 24 datasets and 5 downstream tasks.
  • EMMS is the first method to enable effective, generic, and efficient model selection across multi-modal, multi-task scenarios without relying on task-specific priors.

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.