Neural Network Prompt Tuning for Recognition Consistency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current neural network training and processing methods require significant memory and computing resources, especially when updating or recognizing images and text, which can be inefficient and disrupt the training process.

Innovation Solution

A method for tuning neural network prompts using a single test image, where a processor augments the image, encodes text and images, filters noisy inputs, and updates prompts to improve recognition consistency across different views, leveraging techniques like Contrastive Language-Image Pre-Training (CLIP) and A Large-Scale Image and Noisy-Text Embedding (ALIGN) for zero-shot generalization without additional training data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If neural network training and processing methods are used to recognize images and text, then recognition capability is improved, but memory and computing resources are significantly consumed

Engineering Contradiction:
Improverecognition capabilityVSAvoidcomputing resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by pre-training the neural network on large datasets before deployment. The network is pre-trained with diverse image-text pairs to learn robust features, so that during actual operation with a single test image, it can perform accurate recognition without requiring extensive computing resources for training at that moment.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes parameters by using prompt tuning instead of full network training. Instead of updating all network weights during inference, only the prompt parameters are adjusted based on the test image, significantly reducing computational burden while maintaining recognition capability.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If neural network updating is performed after training, then recognition accuracy is improved, but training stability is disrupted and additional resources are consumed

Engineering Contradiction:
Improverecognition accuracyVSAvoidtraining stability
Core Design Contradiction:
ReliabilityVSStability of the object's composition

Solution Approach 1:

The patent segments the neural network into fixed pre-trained components and adjustable prompt components. The main network structure remains stable and frozen, while only the prompt parameters are updated during inference. This segmentation allows accuracy improvement without disrupting the stability of the trained network.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamics by making the prompt parameters adaptive during inference. The prompts are dynamically adjusted based on the specific test image to improve recognition accuracy, while the core network remains static. This creates a flexible updating mechanism that doesn't require full retraining.

Inventive Principle:
Principle #15Dynamics

3Adaptability or versatility

If multiple training datasets are used to improve generalization, then zero-shot capability is improved, but data processing time and resources increase

Engineering Contradiction:
Improvezero-shot generalizationVSAvoiddata processing time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by incorporating diverse training data during the pre-training phase using methods like CLIP and ALIGN. These large-scale pre-training processes teach the network general concepts across multiple domains, enabling zero-shot transfer to new tasks without requiring additional processing time during deployment.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20240095534A1Neural network prompt tuning
Publication Date: 2024.03.21 NVIDIA CORP
  • US20240095534A1 patent drawing
  • US20240095534A1 patent drawing
  • US20240095534A1 patent drawing

AI summary

Apparatuses, systems, and techniques to perform neural networks. In at least one embodiment, a most consistent output of one or more pre-trained neural networks is to be selected. In at least one embodiment, a most consistent output of one or more pre-trained neural networks is to be selected based, at least in part, on a plurality of variances of one or more inputs to the one or more neural networks.