Preventing attacks on generative models
AssigneeMicrosoft Technology Licensing, LLC
InventorsKeegan HINES, Gary David LOPEZ MUNOZ
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorsKeegan HINES, Gary David LOPEZ MUNOZ
Estimating the term…
A computer-implemented method is provided that prevents prompt injection attacks against generative models. Input data is received, and a first prompt section is generated from the input data. First, second and third instructions are received, which respectively instruct the generative model to carry out a task based on the first prompt section, inform the generative model of a boundary of the first prompt section, and instruct the generative model to ignore any instructions in present in the first prompt section. A prompt for the generative model is generated from the first prompt section and the first instructions, second instructions and third instructions.
A computer-implemented method, comprising:
A non-transitory computer-readable medium storing a template prompt for a generative model, the template prompt comprising:
A system comprising:
Dependencies are inferred from the claim text.