[논문 리뷰] Chain of Thought Prompt Tuning in Vision Language Models
논문은 chain-of-thought 프롬프트 튜닝을 비전-언어 모델에 도입하여, chained prompts, a self-adaptive chain controller, 및 Meta-Nets를 사용해 단계별 추론을 모사하고 이미지 분류, 검색, VQA 태스크 전반에서 일반화를 향상시킨다.
Language-Image Pre-training has demonstrated promising results on zero-shot and few-shot downstream tasks by prompting visual models with natural language prompts. However, most recent studies only use a single prompt for tuning, neglecting the inherent step-to-step cognitive reasoning process that humans conduct in complex task settings, for example, when processing images from unfamiliar domains. Chain of Thought is a simple and effective approximation to human reasoning process and has been proven useful for natural language processing (NLP) tasks. Based on this cognitive intuition, we believe that conducting effective reasoning is also an important problem in visual tasks, and a chain of thought could be a solution to this problem. In this work, we propose a novel chain of thought prompt tuning for vision-language modeling. Extensive experiments show that our method not only generalizes better in image classification tasks, has greater transferability beyond a single dataset, and has stronger domain generalization performance, but also performs much better in imagetext retrieval and visual question answering, which require more reasoning capabilities. We are the first to successfully adapt chain-of-thought prompting that combines visual and textual embeddings. We will release our codes
연구 동기 및 목표
- 비전-언어 프롬프트의 일반화 능력을 인간과 유사한 단계별 추론을 도입하여 향상시키는 것을 목표로 한다.
- 시각적 임베딩과 텍스트 임베딩을 결합하는 chain-of-thought 프롬프트 아키텍처를 개발한다.
- 입력마다 동적으로 추론 깊이를 조정하는 self-adaptive chain controller를 도입한다.
- 프롬프트에 단계별 바이어스를 생성하기 위해 chain of Meta-Nets를 도입한다.
- base-to-new 일반화, 크로스-데이터셋 전이, 도메인 일반화, 이미지-텍스트 검색, 및 VQA 전반에서 향상된 성능을 입증한다.
제안 방법
- 각 프롬프트가 하나의 추론 단계에 해당하고 정보를 다음 단계로 전달하는 프롬프트 체인을 구성한다.
- 각 단계당 하나의 네트워크로 구성된 체인을 사용해 단계별 바이어스를 생성하고, 원래의 시각적 특징을 보존하는 잔여 연결(residual connection)을 포함한다.
- 각 프롬프트 단계에 대한 가중치 lambda_j를 출력하는 self-adaptive chain controller(linear-ReLU-linear-Sigmoid)을 도입한다.
- 프롬프트를 위한 단계별 바이어스를 생성하기 위해 Meta-Nets의 체인을 도입하고, 잔류형 아키텍처를 통해 정보를 보존한다.
- 체인의 최종 프롬프트를 활용해 예측을 수행하되, 비전 인코더와 텍스트 인코더는 고정하고 프롬프트, Meta-Nets, 컨트롤러만 학습한다.
실험 결과
연구 질문
- RQ1chain-of-thought 추론을 비전-언어 프롬프트에 효과적으로 통합하여 일반화 및 추론이 필요한 태스크를 개선할 수 있는가?
- RQ2동적이고 입력 가이드된 chain controller가 보지 못한 개념과 도메인에 대한 적응력을 향상시키는가?
- RQ3연쇄된 Meta-Nets와 프롬프트 체인이 V-L 태스크에서 단일 프롬프트 또는 연결되지 않은 메타-넷 접근법보다 더 나은 성능을 보이는가?
주요 결과
- 본 접근법은 5개 태스크와 18개 데이터셋에 걸쳐 일관된 향상을 제공하며, base-to-new 일반화, 크로스-데다셋 전이, 도메인 일반화, 이미지-텍스트 검색, VQA를 포함한다.
- base-to-new 설정에서 11개 데이터셋에서 CoCoOp보다 조화평균(Harmonic Mean) 점수가 향상된다.
- 크로스-데이터셋 전이에서 10개 데이터셋 중 8개에서 가장 높은 정확도를 보이며, 10개 데이터셋 모두에서 CoOp를 능가한다.
- ImageNet으로 학습했을 때 네 가지 대상 데이터셋 모두에서 도메인 일반화가 최고 성능을 달성한다.
- 제로-shot 및 데이터가 제한된 검색 및 VQA 설정이 Flickr30k, MSCOCO, VQAv2에서 작은 학습 분수로도 CLIP 및 CoCoOp를 능가한다.
- 세 프롬프트로 구성된 체인은 성능과 안정성의 균형을 최적으로 맞추며, 동적 체인 컨트롤러가 대부분의 데이터셋에서 최상의 결과를 낸다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.