Zero-Shot VLM Reasoning With CoT Prompting for Distribution Shift

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing vision-language models (VLMs) face performance degradation when applied to datasets diverging from their training data due to distribution shifts and the limitations of generic prompt templates, and require labeled data for prompt learning, which is impractical in real-world scenarios.

Innovation Solution

Implement chain-of-thought (CoT) prompting that generates task-specific question-answer pairs to enhance VLMs without additional training or labeling, leveraging pre-trained visual question answering models to extract nuanced image contexts and integrate these pairs into standard prompts for enriched textual embeddings.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If generic prompt templates are used in pre-trained VLMs, then deployment is simple and fast, but performance degrades on datasets diverging from training data

Engineering Contradiction:
Improvedeployment simplicityVSAvoidperformance on divergent datasets
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The patent applies preliminary action by pre-generating multiple diverse prompt templates before deployment. These templates are designed to cover various linguistic patterns and styles that may appear in different datasets. The system selects and applies appropriate pre-generated templates based on the input image characteristics, eliminating the need for real-time prompt engineering while maintaining adaptability to diverse datasets.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter of prompt diversity by using multiple templates with varying linguistic structures, styles, and formulations. Instead of relying on a single generic prompt, the system employs a collection of prompt templates that differ in their phrasing, complexity, and focus, allowing the model to adapt to different data distributions by selecting the most appropriate template variant.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If prompt learning is used to improve task-specific performance, then accuracy improves, but labeled data is required which is impractical in real-world scenarios

Engineering Contradiction:
Improvetask-specific accuracyVSAvoidlabeled data requirement
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent applies self-service by enabling the system to automatically select and adapt prompt templates without requiring external labeled data for fine-tuning. The framework uses unsupervised strategies to identify suitable templates based on image characteristics and task requirements, allowing the model to improve its task-specific performance autonomously without human annotation intervention.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent performs preliminary action by pre-curating a comprehensive set of prompt templates that cover various tasks and domains. This pre-prepared template library enables the system to adapt to different tasks by selecting appropriate templates from the existing collection, eliminating the need for time-consuming labeled data collection and prompt learning fine-tuning processes.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If multiple prompt templates are engineered manually to handle diverse tasks, then task-specific performance improves, but the process becomes time-consuming and complex

Engineering Contradiction:
Improvetask-specific performanceVSAvoidprompt engineering time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements self-service by automating the prompt selection process. The system automatically analyzes the input image and task requirements to select the most appropriate pre-generated prompt template, eliminating the need for manual prompt engineering. This automated selection mechanism significantly reduces the time and effort required while maintaining high task-specific performance.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent creates a universal prompt template framework that can handle multiple tasks and domains with a single collection of templates. The pre-generated templates are designed to be versatile and adaptable, allowing the same template set to serve various functions across different tasks, thereby reducing the overall time and effort needed for prompt engineering compared to creating task-specific prompts manually.

Inventive Principle:
Principle #6Universality (Multi-functionality)

4Reliability

If distribution shift is addressed through retraining, then performance on target data improves, but additional training data and computational resources are required

Engineering Contradiction:
Improveperformance on target dataVSAvoidcomputational resources for retraining
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by pre-generating a diverse collection of prompt templates that anticipate various data distributions and task requirements. This pre-prepared template library allows the system to adapt to distribution shifts through template selection rather than retraining, significantly reducing computational resources and energy requirements while maintaining performance on target data.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent enables the system to self-adapt to distribution shifts by automatically selecting appropriate prompt templates from the pre-generated collection based on the characteristics of the target data. This self-service adaptation mechanism eliminates the need for resource-intensive retraining processes while effectively addressing distribution shift challenges.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20260017317A1Zero-shot reasoning in vision-language models
Publication Date: 2026.01.15 NATIONAL UNIVERSITY OF SINGAPORE
  • US20260017317A1 patent drawing
  • US20260017317A1 patent drawing
  • US20260017317A1 patent drawing

AI summary

Disclosed are examples of training-free systems, methods and apparatuses, rooted in Chainof-Thought (CoT) reasoning, used to enhance the zero-shot performance of vision language models (VLMs) such as CLIP on a variety of downstream tasks. Hierarchical questions reflecting human visual cognition can be used with a pre-trained visual question answering model to extract the context of a query image from a global to local perspective through strategic questioning. Those CoT-based question-answer (QA) pairs, in conjunction with predefined class names, can serve as input to a language encoder, resulting in multi-level textual embeddings that emphasize various aspects of the image to improve existing VLM performance without additional training or labelled data.