Language Model Response Segmentation for Hallucination Remediation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current large language models (LLMs) frequently generate responses containing factual inaccuracies, undermining their reliability and performance in critical applications due to the lack of versatile and universal frameworks for fact-checking and truth verification across diverse tasks and domains.

Innovation Solution

A system segments responses into individual facts, generates metrics for each segment, and trains the model to reduce hallucinations by filtering and querying a data repository for verification, using metrics like fluency, diversity, and factuality scores to detect and remediate inaccuracies.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If large language models generate responses across diverse queries, then user interaction and functionality are enhanced, but factual inaccuracies and hallucinations increase

Engineering Contradiction:
Improvefunctionality across diverse queriesVSAvoidfactuality of responses
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments the LLM response into multiple atomic claims or statements that can be independently verified. Each claim is extracted and evaluated separately against a knowledge base, allowing granular fact-checking of individual assertions rather than treating the entire response as a single unit.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary verification system that acts as a mediator between the LLM and the user. This system includes a claim extractor, knowledge base searcher, and verifier that collectively validate the factual accuracy of LLM responses before presenting them to users.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If language models produce credible and well-structured content, then user trust appears enhanced, but factual correctness may be compromised

Engineering Contradiction:
Improvecredibility and structure of responsesVSAvoidfactual accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent implements a feedback mechanism where the verification results are fed back into the response generation process. When claims are verified as false or unsupported, the system can correct these claims or indicate their uncertain status, thereby improving factual accuracy while maintaining response structure.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent uses visual indicators (such as confidence scores, verification status labels, or color-coded markers) to differentiate between verified and unverified claims within the response structure, allowing users to quickly assess the reliability of different parts of the content.

Inventive Principle:
Principle #32Color changes

3Reliability

If fact-checking frameworks are implemented for language models, then reliability improves, but system complexity increases

Engineering Contradiction:
Improvefactuality verificationVSAvoidverification system structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent designs a universal verification framework that can handle multiple types of claims and knowledge domains through a single integrated system. The claim extractor and verifier are designed to work across diverse query types, reducing the need for domain-specific verification mechanisms.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent implements self-service mechanisms where the system automatically extracts claims, searches the knowledge base, verifies facts, and generates corrected responses without requiring manual intervention. This automation reduces operational complexity while maintaining high reliability.

Inventive Principle:
Principle #25Self-service

4Measurement precision

If hallucination detection and remediation are performed, then model accuracy improves, but processing time and computational resources increase

Engineering Contradiction:
Improveresponse accuracyVSAvoidverification and training time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies partial verification by focusing on atomic claims rather than verifying every word of the response. This selective approach verifies only the critical factual assertions, reducing processing time while maintaining accuracy for the most important information.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent performs preliminary verification by checking claims against the knowledge base before finalizing the response. This early detection and correction of hallucinations prevents the propagation of false information and reduces the need for extensive post-processing verification.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12373649B1Remediating hallucinations in language models
Publication Date: 2025.07.29 U S BANCORP NAT ASSOC
  • US12373649B1 patent drawing
  • US12373649B1 patent drawing
  • US12373649B1 patent drawing

AI summary

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.