[Paper Review] Chain of Thought Prompt Tuning in Vision Language Models
The paper introduces chain-of-thought prompt tuning for vision-language models, using chained prompts, a self-adaptive chain controller, and Meta-Nets to emulate step-by-step reasoning, improving generalization across image classification, retrieval, and VQA tasks.
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
Motivation & Objective
- Motivate improving generalization of vision-language prompts by incorporating human-like step-by-step reasoning.
- Develop a chain-of-thought prompt architecture that combines visual and textual embeddings.
- Introduce a self-adaptive chain controller to dynamically tailor reasoning depth per input.
- Incorporate a chain of Meta-Nets to generate step-specific biases for prompts.
- Demonstrate improved performance across base-to-new generalization, cross-dataset transfer, domain generalization, image-text retrieval, and VQA.
Proposed method
- Construct a chain of prompts where each prompt corresponds to a reasoning step and passes information to the next.
- Use a chain of networks (one per step) to generate step-specific biases, with a residual connection that preserves original visual features.
- Introduce a self-adaptive chain controller (linear-ReLU-linear-Sigmoid) that outputs step weights lambda_j for each prompt step.
- Employ a chain of Meta-Nets to produce biases added to prompt embeddings at each step, preserving information via a residual-like architecture.
- Use the final prompt in the chain for prediction, while keeping vision and text encoders frozen, and train only the prompts, Meta-Nets, and controller.
Experimental results
Research questions
- RQ1Can chain-of-thought reasoning be effectively integrated with vision-language prompts to improve generalization and reasoning-required tasks?
- RQ2Does a dynamic, input-guided chain controller improve adaptation to unseen concepts and domains?
- RQ3Do chained Meta-Nets and prompt chains outperform single-prompt or unconnected meta-net approaches in V-L tasks?
Key findings
- The approach yields consistent improvements across five tasks and 18 datasets, including base-to-new generalization, cross-dataset transfer, domain generalization, image-text retrieval, and VQA.
- Base-to-new harmonic mean scores improve over CoCoOp on 11 datasets in base-to-new settings.
- Cross-dataset transfer shows highest accuracy on eight of ten datasets, outperforming CoOp on all ten datasets.
- Domain generalization achieves best performance on all four target datasets when trained on ImageNet.
- Zero-shot and data-scarce retrieval and VQA settings outperform CLIP and CoCoOp across Flickr30k, MSCOCO, and VQAv2 with small training fractions.
- A chain length of three prompts optimally balances performance and stability; dynamic chain controller yields the best results on most datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.