Systems and methods for shared latent space prompt tuning
AssigneeSalesforce, Inc.
InventorsBo Pang, Semih Yavuz, Caiming Xiong, Yingbo Zhou
Life of this patent
Estimating the term…
Loading patent…
AssigneeSalesforce, Inc.
InventorsBo Pang, Semih Yavuz, Caiming Xiong, Yingbo Zhou
Estimating the term…
Embodiments described herein provide a prompt-based transfer learning method that employs shared latent space prompt tuning). Specifically, a shared latent space is assumed, among all source and target tasks, where each vector in the space captures a basis skill to do a particular task. Given an instance (from either a source task or a target task), it is first encoded into an instance representation vector and then queries the latent space, which yields a skill vector for this instance. This vector modulates a frozen model, via soft prompts which are a simple prompt transformation (the prompt generator in FIG. 3) of the basis skill vector, to generate an answer for the instance. The latent space and prompt transformation are learned end-to-end in upstream pre-training on source tasks.
A method of shared prompt-tuning in language models, the method comprising:
A system of shared prompt-tuning in language models, the system comprising:
A non-transitory processor-readable storage medium storing a plurality of processor-executable instructions for shared prompt-tuning in language models, the instructions being executed by one or more processors to perform operations comprising:
Dependencies are inferred from the claim text.