From Generalist to Specialist: Adapting Vision Language Models via Task-Specific Visual Instruction Tuning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bai, Yang, Zhou, Yang, Zhou, Jun, Goh, Rick Siow Mong, Ting, Daniel Shu Wei, Liu, Yong
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916428814221312
author Bai, Yang
Zhou, Yang
Zhou, Jun
Goh, Rick Siow Mong
Ting, Daniel Shu Wei
Liu, Yong
author_facet Bai, Yang
Zhou, Yang
Zhou, Jun
Goh, Rick Siow Mong
Ting, Daniel Shu Wei
Liu, Yong
contents Large vision language models (VLMs) combine large language models with vision encoders, demonstrating promise across various tasks. However, they often underperform in task-specific applications due to domain gaps between pre-training and fine-tuning. We introduce VITask, a novel framework that enhances task-specific adaptability of VLMs by integrating task-specific models (TSMs). VITask employs three key strategies: exemplar prompting (EP), response distribution alignment (RDA), and contrastive response tuning (CRT) to improve the task-specific performance of VLMs by adjusting their response distributions. EP allows TSM features to guide VLMs, while RDA enables VLMs to adapt without TSMs during inference by learning from exemplar-prompted models. CRT further optimizes the ranking of correct image-response pairs, thereby reducing the risk of generating undesired responses. Experiments on 12 medical diagnosis datasets across 9 imaging modalities show that VITask outperforms both vanilla instruction-tuned VLMs and TSMs, showcasing its ability to integrate complementary features from both models effectively. Additionally, VITask offers practical advantages such as flexible TSM integration and robustness to incomplete instructions, making it a versatile and efficient solution for task-specific VLM tuning. Our code are available at https://github.com/baiyang4/VITask.
format Preprint
id arxiv_https___arxiv_org_abs_2410_06456
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle From Generalist to Specialist: Adapting Vision Language Models via Task-Specific Visual Instruction Tuning
Bai, Yang
Zhou, Yang
Zhou, Jun
Goh, Rick Siow Mong
Ting, Daniel Shu Wei
Liu, Yong
Computer Vision and Pattern Recognition
Large vision language models (VLMs) combine large language models with vision encoders, demonstrating promise across various tasks. However, they often underperform in task-specific applications due to domain gaps between pre-training and fine-tuning. We introduce VITask, a novel framework that enhances task-specific adaptability of VLMs by integrating task-specific models (TSMs). VITask employs three key strategies: exemplar prompting (EP), response distribution alignment (RDA), and contrastive response tuning (CRT) to improve the task-specific performance of VLMs by adjusting their response distributions. EP allows TSM features to guide VLMs, while RDA enables VLMs to adapt without TSMs during inference by learning from exemplar-prompted models. CRT further optimizes the ranking of correct image-response pairs, thereby reducing the risk of generating undesired responses. Experiments on 12 medical diagnosis datasets across 9 imaging modalities show that VITask outperforms both vanilla instruction-tuned VLMs and TSMs, showcasing its ability to integrate complementary features from both models effectively. Additionally, VITask offers practical advantages such as flexible TSM integration and robustness to incomplete instructions, making it a versatile and efficient solution for task-specific VLM tuning. Our code are available at https://github.com/baiyang4/VITask.
title From Generalist to Specialist: Adapting Vision Language Models via Task-Specific Visual Instruction Tuning
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2410.06456