Prompt tuning for zero-shot compositional learning in machine learning systems
AssigneeSamsung Electronics Co., Ltd.
InventorsLingyu Zhang, Ting Hua, Yilin Shen, Hongxia Jin
Life of this patent
Estimating the term…
Loading patent…
AssigneeSamsung Electronics Co., Ltd.
InventorsLingyu Zhang, Ting Hua, Yilin Shen, Hongxia Jin
Estimating the term…
A method includes obtaining an image, a set of attribute labels, and a set of object labels and performing prompt tuning of a pre-trained vision-language model having first and second textual encoders and a vision encoder. The model is trained during prompt tuning to select one attribute label and one object label that match content in the image. Performing the prompt tuning includes, for each attribute label-object label pair, generating object textual features associated with the object label using the first textual encoder, generating attribute textual features associated with the attribute label using the second textual encoder, and generating image features associated with the image using the vision encoder. Intermediate outputs from initial layers of the textual encoders and the vision encoder are combined to generate layer-specific learnable prompt tokens that are appended to inputs of specified layers in the first and second textual encoders and the vision encoder.
A method comprising:
An apparatus comprising:
A method comprising:
Dependencies are inferred from the claim text.