Hallucination detection for language models
AssigneeIntuit Inc.
InventorsJonathan Alexander RABIN, Ido Meir MINTZ, Guy SHTAR
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntuit Inc.
InventorsJonathan Alexander RABIN, Ido Meir MINTZ, Guy SHTAR
Estimating the term…
Certain embodiments of the disclosure provide techniques for hallucination detection. A method generally includes generating, via a first language model and based on a seed question, a plurality of semantically similar questions; processing the plurality of semantically similar questions with a second language model to generate a plurality of answers; processing the plurality of answers with a third language model to generate a plurality of factual statements; processing the plurality of factual statements with an embedding model to generate a plurality of embeddings; clustering the plurality of embeddings into a plurality of clusters; determining an average proximity score of the plurality of clusters based on a centroid of each of the plurality of clusters; and determining whether the plurality of answers generated by the second language model comprises a hallucination based on a number of the plurality of clusters and the average proximity score of the plurality of clusters.
A method of hallucination detection for language models, comprising:
A processing system, comprising:
Dependencies are inferred from the claim text.