Remediating hallucinations in language models
Abstract
A system includes one or more processors to receive a natural language query; execute the first language model using the natural language query to generate a text-based response to the natural language query; segment the text-based response into a plurality of segments each corresponding to a different fact-based response to the natural language query; convert each of the segments into a set of queries; generate a query response to each query by using the query to search a data repository; generate a factuality score of the query responses for the text-based response to the natural language query; generate an aggregate factuality score for the natural language query based on the factuality score for each query generated for each of the plurality of segments; and executing decontextualized atomic decomposition responsive to determining the factuality score does not satisfy a threshold.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 39 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system for remediating hallucinations in a first language model, the system comprising one or more processors and one or more machine-readable media storing program instructions that, when executed by the one or more processors, causes the one or more processors to perform operations comprising: receiving, from a chat interface, a natural language query, the natural language query comprising a request for a plurality of facts; executing the first language model using the natural language query to generate a text-based response to the natural language query; generating a filtered text-based r
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (39)
Non-Patent Literature (5)
- Ali, S., Evaluating large language models (LLMs) – Insights about transforming trends (2023), 14 pages, Retrieved from the Internet: https://datasciencedojo.com/blog/evaluating-large-language-models-llms/ (retrieved on Feb. 11, 2025).
- Chuang et al., “Lookback Lens: Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Maps,” (2024), 18 pages, Retrieved from the Internet: https://arxiv.org/abs/2407.07071 (retrieved on Feb. 11, 2025).
- Durai, K. “How to Evaluate Response of a RAG Empowered LLM”, Dataworkz, 28 pages, Retrieved from the Internet: URL: https://www.dataworkz.com/how-to-evaluate-response-of-a-rag-empowered-llm/ (retrieved on Feb. 11, 2025).
- Gunjal et al., Molecular Facts: Desiderata for Decontextualization in LLMFact Verification, arXiv:2406.20079v1 [cs.CL] Jun. 28, 2024, pp. 1-17 (Year: 2024).
- He, K. “Detect Hallucinations Using LLM Metrics”, Fiddler AI, 7 pages, Retrieved from the Internet: URL: https://www.fiddler.ai/blog/detect-hallucinations-using-llm-metrics (retrieved on Feb. 11, 2025).