Large language model (llm) hallucination reduction by adverserial prompt refinement
AssigneeMicrosoft Technology Licensing, LLC
InventorsQiang GAN, Chungheong GOOI, Chujie HE, Robert Tyler Kazuo DESJARDINS
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorsQiang GAN, Chungheong GOOI, Chujie HE, Robert Tyler Kazuo DESJARDINS
Estimating the term…
Solutions disclosed herein provide for the reduction of hallucinations by language models, such as large language models (LLMs), by adversarial prompt refinement. A generator prompt template, including at least a generator prompt reference section, of a user is received from a computing device. The generator prompt template is provided as an input to a language model, the language model having an LLM-based generator, an LLM-based judger, and an LLM-based reproducer. Within the LLM-based generator, a generated response is generated from the generator prompt template. The generated response is then evaluated for a hallucination by the LLM-based judger. Based on that evaluation, a final generator prompt template is generated using an adversarial generator prompt template refinement process. For example, the adversarial generator prompt template refinement process may utilize an evolutionary prompt optimization process. The final generator prompt template, having a reduced hallucination risk, is then deployed to the LLM-based generator.
A system for LLM hallucination reduction, comprising:
A method for hallucination reduction, comprising:
A method for LLM hallucination reduction, comprising:
Dependencies are inferred from the claim text.