LLM Hallucination Verification Using Source Passage Citations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large language models often generate text with inaccuracies, known as 'hallucinations', which require manual review for accuracy, and there is a need for improved techniques for hallucination detection and remediation in text generation systems.

Innovation Solution

A system that generates novel text at the passage level, incorporating citations to unique identifiers, and fact-checks against source passages using large language models, machine learning methods, and rules-based entity extraction to verify accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If large language models generate text autonomously, then productivity is improved, but reliability deteriorates due to hallucinations

Engineering Contradiction:
Improvetext generation efficiencyVSAvoidfactual accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent introduces an intermediary verification system that acts as a mediator between the LLM generator and final output. This verification layer checks generated text against source documents without requiring manual review, thus maintaining productivity while improving reliability through automated fact-checking

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements feedback loops where generated text is continuously verified against source materials. The verification results feed back into the generation process, allowing the system to self-correct hallucinations and improve factual accuracy while maintaining autonomous operation

Inventive Principle:
Principle #23Feedback

2Reliability

If manual review processes are implemented to verify accuracy, then reliability is improved, but productivity deteriorates due to increased workload

Engineering Contradiction:
Improvefactual accuracyVSAvoidtext generation efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The verification system performs self-service by automatically checking generated text against source documents without requiring human intervention. This maintains high factual accuracy while preserving productivity, as the system handles its own verification independently

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the mechanical manual review process with an automated computational verification system. This substitution maintains reliability through thorough checking while eliminating the productivity loss associated with human review time and workload

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Reliability

If comprehensive fact-checking is performed on all generated text, then reliability is improved, but device complexity increases

Engineering Contradiction:
Improvefactual accuracyVSAvoidverification system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The verification system is segmented into modular components that handle different aspects of fact-checking independently. This segmentation maintains comprehensive verification capability while reducing overall system complexity through organized, manageable modules

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs verification selectively rather than uniformly on all text. By applying verification only where needed based on risk assessment or content type, the system maintains high reliability for critical outputs while reducing complexity through targeted rather than comprehensive verification

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12505299B2Hallucination detection and remediation in text generation interface systems
Publication Date: 2025.12.23 CASETEXT INC
  • US12505299B2 patent drawing
  • US12505299B2 patent drawing
  • US12505299B2 patent drawing

AI summary

Enumerated source text passages may be determined based on one or more source text documents. The enumerated source text passages may include source text passage identifiers uniquely identifying the passages. A novel text passage including novel text portions may be determined based on a query and the enumerated source text passages. One or more of the novel text portions may be verified by a large language model to produce text verification information. A novel text generation message including novel text generated by the large language model may be determined based on the text verification information and sent to a client machine.