Skip to main content
QUICK REVIEW

[논문 리뷰] MiniGPT-v2: large language model as a unified interface for vision-language multi-task learning

Jun Chen, Deyao Zhu|arXiv (Cornell University)|2023. 10. 14.
Multimodal Machine Learning ApplicationsComputer Science인용 수 66
한 줄 요약

MiniGPT-v2를 제안하는 통합 비전-언어 모델로, 작업별 식별자와 세 단계 학습 체계를 사용하여 VQA, 캡션 생성, grounding 등 여러 작업을 처리하며, 벤치마크 전반에서 최첨단 또는 그에 버금가는 결과를 달성한다.

ABSTRACT

Large language models have shown their remarkable capabilities as a general interface for various language-related applications. Motivated by this, we target to build a unified interface for completing many vision-language tasks including image description, visual question answering, and visual grounding, among others. The challenge is to use a single model for performing diverse vision-language tasks effectively with simple multi-modal instructions. Towards this objective, we introduce MiniGPT-v2, a model that can be treated as a unified interface for better handling various vision-language tasks. We propose using unique identifiers for different tasks when training the model. These identifiers enable our model to better distinguish each task instruction effortlessly and also improve the model learning efficiency for each task. After the three-stage training, the experimental results show that MiniGPT-v2 achieves strong performance on many visual question-answering and visual grounding benchmarks compared to other vision-language generalist models. Our model and codes are available at https://minigpt-v2.github.io/

연구 동기 및 목표

  • 간단한 지시를 통해 다양한 비전-언어 작업을 수행할 수 있는 단일 모델 구축의 필요성을 제시한다.
  • 작업 간 지시의 모호성을 줄이기 위해 작업별 식별자를 도입한다.
  • 약하게 라벨링된 데이터, 세밀한 데이터, 다중 모달 지시 데이터를 활용하기 위한 3단계 학습 커리큘럼을 설계한다.
  • 투사 계층과 LoRA-튜닝된 언어 모델을 학습시키는 동안 시각 백본은 동결 상태를 유지한다.
  • VL-generalist 모델과 비교하여 VQA 및 지칭 표현 벤치마크에서 강한 성능을 보여준다.

제안 방법

  • 고정된 ViT 기반 시각 백본(EVA)을 사용하여 448x448 해상도에서 시각 토큰을 추출한다.
  • 연속된 네 개의 이웃 시각 토큰을 연결하여 시퀀스 길이를 줄이고 선형 프로젝션을 통해 LLaMA-2 공간으로 투사한다.
  • 다중 모달 입력에 대해 통합 언어 인터페이스로 LLaMA-2-chat을 채택한다.
  • 작업별 식별자 토큰([vqa], [caption], [grounding], [refer], [identify], [detection])을 도입하여 모든 데이터를 작업별로 조건화한다.
  • 세 단계로 훈련한다: Stage 1은 약하게 라벨링된 데이터와 세밀한 데이터에서 폭넓은 VL 지식을 구축하기 위함; Stage 2는 각 작업에 초점을 맞춘 세밀한 데이터에서 학습; Stage 3은 다중 모달 지시 조정과 대화 능력을 포함한 멀티모달 지시 조정, LLaVA, Flickr30k, Unnatural Instruction 데이터 세트를 포함한다.
  • 시각 백본을 동결한 상태로 LoRA(rank 64)를 사용하여 언어 모델을 미세조정한다.
Figure 1: Our MiniGPT-v2 achieves state-of-the-art performances on a broad range of vision-language tasks compared with other generalist models.
Figure 1: Our MiniGPT-v2 achieves state-of-the-art performances on a broad range of vision-language tasks compared with other generalist models.

실험 결과

연구 질문

  • RQ1하나의 비전-언어 모델이 작업별 식별자를 사용하여 여러 VL 작업을 경쟁력 있는 정확도로 수행할 수 있는가?
  • RQ2작업 지향 지시가 VQA, 캡션 생성, grounding, REC/REG 전반의 다작업 학습 효율성과 정확도를 향상시키는가?
  • RQ3다중 단계 학습과 지시 조정이 grounding 및 오픈 엔드형 VL 능력을 얼마나 향상시키는가?
  • RQ4MiniGPT-v2가 표준 VQA 및 REC 벤치마크에서 VL-일반ist 및 전문 모델과 비교하여 어떻게 성능을 보이는가?

주요 결과

  • MiniGPT-v2는 MiniGPT-4, InstructBLIP, LLaVA, Shikra와 같은 비전-언어 일반ist 모델과 비교하여 다양한 VL 벤치마크에서 최첨단 또는 경쟁력 있는 결과를 달성한다.
  • VSR 벤치마크에서 MiniGPT-v2는 MiniGPT-4보다 21.3%, InstructBLIP보다 11.3%, LLaVA보다 11.7% 우수하다(초록의 표 텍스트).
  • 챗 버전인 MiniGPT-v2 chat은 비챗 버전보다 종종 성능이 향상되며, OKVQA, VSR, IconVQA, VizWiz, HM 등에서 상대적 개선이 보고된다.
  • REC에서 MiniGPT-v2는 RefCOCO/RefCOCO+/RefCOCOg에서 8% 이상의 정확도 향상을 보였고 Shikra(13B)와도 경쟁력을 유지한다.
  • 토막실험은 작업 식별자를 추가하면 작업 식별자가 없는 버전에 비해 VQA 벤치마크에서 평균 top-1 정확도가 약 1.2% 개선됨을 시사한다.
  • 정성적 결과는 객체 식별, 지상화된 이미지 캡션 생성, VQA, REC 등에서 능력을 보여주며 제한된 지시 데이터로 새로운 작업에 일반화하는 능력을 확인한다.
Figure 2: Architecture of MiniGPT-v2. The model takes a ViT visual backbone, which remains frozen during all training phases. We concatenate four adjacent visual output tokens from ViT backbone and project them into LLaMA-2 language model space via a linear projection layer.
Figure 2: Architecture of MiniGPT-v2. The model takes a ViT visual backbone, which remains frozen during all training phases. We concatenate four adjacent visual output tokens from ViT backbone and project them into LLaMA-2 language model space via a linear projection layer.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.