IP Library › Granted Patent US 12,731,077
Granted Patent B2
US 12,731,077 · App. 18/194,547 · Granted Sep 8, 2026

Domain-specific hallucination detection and correction for machine learning models

Inventors: Ajoy Kumar (Santa Clara, CA); Himanshu Singhvi (Pune, IN); Priya Saurabh Talwalkar (Pune, IN)
Assignee: BMC Helix, Inc.
G06N20/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,731,077
App. No.
18/194,547
Filed
Mar 31, 2023
Granted
Sep 8, 2026
Kind
B2
Art Unit
2487
USPC
706/12
Abstract

An incident ticket having a worklog field for a resolution field and a worklog providing a history of actions taken during attempts to resolve an incident may be received. The incident ticket may be processed using a domain-specific machine learning model trained using training data that includes a plurality of resolved incident tickets, to thereby generate at least one resolution statement. Source data used by the domain-specific machine learning model in providing the at least one resolution statement may be determined, the source data including one of the worklog and the training data. A hallucination score may be assigned to the at least one resolution statement, based on the source data, to identify hallucinated content within the at least one resolution statement. The at least one resolution statement may be modified to remove the hallucinated content and thereby obtain a resolution for inclusion in the resolution field.

Claims (67)

1 . A computer program product, the computer program product being tangibly embodied on a non-transitory computer-readable storage medium and comprising instructions that, when executed by at least one computing device, are configured to cause the at least one computing device to:

analyze training data for a domain-specific machine learning model in conjunction with training of the domain-specific machine learning model, the training data including a plurality of resolved incident tickets, to thereby generate training analysis results;

receive an incident ticket of an incident domain, the incident ticket having a resolution field and a worklog field for a worklog providing a history of actions taken during attempts to resolve an incident;

process the incident ticket using the domain-specific machine learning model trained using the training data, to thereby output at least one resolution statement from the domain-specific machine learning model;

determine, after outputting the at least one resolution statement, source data used by the domain-specific machine learning model in providing the at least one resolution statement, the source data including one of the worklog and the training data;

assign a hallucination score to the at least one resolution statement, based on the source data and the training analysis results, to identify hallucinated content within the at least one resolution statement; and

modify the at least one resolution statement, including removing the hallucinated content, to thereby obtain a resolution for inclusion in the resolution field.

2 . The computer program product of claim 1 , wherein the plurality of resolved incident tickets each include a completed worklog and a completed resolution.

3 . The computer program product of claim 1 , wherein the instructions, when executed, are further configured to cause the at least one computing device to:

generate a domain vocabulary from the training data as part of the training analysis results; and

assign the hallucination score based in part on a comparison of the at least one resolution statement and the domain vocabulary.

4 . The computer program product of claim 1 , wherein the instructions, when executed, are further configured to cause the at least one computing device to:

identify metadata fields of the plurality of resolved incident tickets as part of the training analysis results; and

generate clusters of the plurality of resolved incident tickets based on the metadata fields.

5 . The computer program product of claim 4 , wherein the instructions, when executed, are further configured to cause the at least one computing device to:

determine a metadata field of the incident ticket; and

identify the source data within a cluster of the clusters having a metadata field that matches the metadata field of the incident ticket.

6 . The computer program product of claim 5 , wherein the instructions, when executed, are further configured to cause the at least one computing device to:

evaluating a similarity of content of incident tickets within the cluster with respect to an input of the domain-specific machine learning model; and

identify the source data as including a subset of the content, based on the similarity.

7 . The computer program product of claim 1 , wherein the instructions, when executed, are further configured to cause the at least one computing device to:

determine a metadata field of the incident ticket;

perform a search of the training data, based on the metadata field, to obtain a subset of incident tickets from the training data using the training analysis results; and

identify the source data as including content from the subset, based on a degree of similarity between the content and an input of the domain-specific machine learning model.

8 . The computer program product of claim 1 , wherein the instructions, when executed, are further configured to cause the at least one computing device to:

provide the resolution together with information identifying the source data within the training data.

9 . The computer program product of claim 1 , wherein the instructions, when executed, are further configured to cause the at least one computing device to:

assign the hallucination score using a hallucination equation defining an aggregated sum of hallucination factors, in which each hallucination factor is associated with a corresponding weight.

10 . The computer program product of claim 9 , wherein the instructions, when executed, are further configured to cause the at least one computing device to:

assign the hallucination score using a classifier trained to assign each weight of the hallucination equation.

11 . A computer-implemented method, the method comprising:

analyzing training data for a domain-specific machine learning model in conjunction with training of the domain-specific machine learning model, the training data including a plurality of resolved incident tickets, to thereby generate training analysis results;

receiving an incident ticket of an incident domain, the incident ticket having a resolution field and a worklog field for a worklog providing a history of actions taken during attempts to resolve an incident;

processing the incident ticket using the domain-specific machine learning model trained using the training data, to thereby output at least one resolution statement from the domain-specific machine learning model;

determining, after outputting the at least one resolution statement, source data used by the domain-specific machine learning model in providing the at least one resolution statement, the source data including one of the worklog and the training data;

assigning a hallucination score to the at least one resolution statement, based on the source data and the training analysis results, to identify hallucinated content within the at least one resolution statement; and

modifying the at least one resolution statement, including removing the hallucinated content, to thereby obtain a resolution for inclusion in the resolution field.

12 . The method of claim 11 , further comprising:

identifying metadata fields of the plurality of resolved incident tickets as part of the training analysis results; and

generating clusters of the plurality of resolved incident tickets based on the metadata fields.

13 . The method of claim 12 , further comprising:

determining a metadata field of the incident ticket; and

identifying the source data within a cluster of the clusters having a metadata field that matches the metadata field of the incident ticket.

14 . The method of claim 13 , further comprising:

evaluating a similarity of content of incident tickets within the cluster with respect to an input of the domain-specific machine learning model; and

identifying the source data as including a subset of the content, based on the similarity.

15 . The method of claim 11 , further comprising:

providing the resolution together with information identifying the source data within the training data.

16 . The method of claim 11 , further comprising:

assigning the hallucination score using a hallucination equation defining an aggregated sum of hallucination factors, in which each hallucination factor is associated with a corresponding weight.

17 . The method of claim 16 , further comprising:

assigning the hallucination score using a classifier trained to assign each weight of the hallucination equation.

18 . A system comprising:

at least one memory including instructions; and

at least one processor that is operably coupled to the at least one memory and that is arranged and configured to execute instructions that, when executed, cause the at least one processor to:

analyze training data for a domain-specific machine learning model in conjunction with training of the domain-specific machine learning model, the training data including a plurality of resolved incident tickets, to thereby generate training analysis results;

receive an incident ticket of an incident domain, the incident ticket having a resolution field and a worklog field for a worklog providing a history of actions taken during attempts to resolve an incident;

process the incident ticket using the domain-specific machine learning model trained using the training data, to thereby output at least one resolution statement from the domain-specific machine learning model;

determine, after outputting the at least one resolution statement, source data used by the domain-specific machine learning model in providing the at least one resolution statement, the source data including one of the worklog and the training data;

assign a hallucination score to the at least one resolution statement, based on the source data and the training analysis results, to identify hallucinated content within the at least one resolution statement; and

modify the at least one resolution statement, including removing the hallucinated content, to thereby obtain a resolution for inclusion in the resolution field.

19 . The system of claim 18 , wherein the instructions, when executed, are further configured to cause the at least one processor to:

determine a metadata field of the incident ticket;

perform a search of the training data, based on the metadata field, to obtain a subset of incident tickets from the training data using the training analysis results; and

identify the source data as including content from the subset, based on a degree of similarity between the content and an input of the domain-specific machine learning model.

20 . The system of claim 18 , wherein the instructions, when executed, are further configured to cause the at least one processor to:

assign the hallucination score using a hallucination equation defining an aggregated sum of hallucination factors, in which each hallucination factor is associated with a corresponding weight.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 7, 2025
From: BMC SOFTWARE, INC.
To: BMC HELIX, INC.
Reel/Frame 070442/0197 →
GRANT OF FIRST LIEN SECURITY INTEREST IN PATENT RIGHTS Recorded Nov 13, 2024
From: BMC SOFTWARE, INC.; BLADELOGIC, INC.
To: GOLDMAN SACHS BANK USA, AS COLLATERAL AGENT
Reel/Frame 069352/0628 →
GRANT OF SECOND LIEN SECURITY INTEREST IN PATENT RIGHTS Recorded Nov 13, 2024
From: BMC SOFTWARE, INC.; BLADELOGIC, INC.
To: GOLDMAN SACHS BANK USA, AS COLLATERAL AGENT
Reel/Frame 069352/0568 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 21, 2023
From: KUMAR, AJOY; SINGHVI, HIMANSHU; TALWALKAR, PRIYA SAURABH
To: BMC SOFTWARE, INC.
Reel/Frame 063710/0481 →
Continuity (1)
Related Publication 20240330755A1 · Oct 3, 2024
References Cited (28)
US 10109297B2 · Brown et al. · 2018 [cited by applicant]
US 10347244B2 · Goel et al. · 2019 [cited by applicant]
US 11042794B2 · Allen et al. · 2021 [cited by applicant]
US 11113323B2 · Yoon et al. · 2021 [cited by applicant]
US 20180285768A1 · Karuppasamy · 2018 [cited by examiner]
US 20190347282A1 · Cai · 2019 [cited by examiner]
US 20210328888A1 · Rath · 2021 [cited by examiner]
US 20220038351A1 · Jasionowski · 2022 [cited by examiner]
US 20220156462A1 · Mcnamara et al. · 2022 [cited by applicant]
US 20240119220A1 · Aggarwal · 2024 [cited by examiner]
US 20240184988A1 · Sridhar · 2024 [cited by examiner]
US 20240275699A1 · Titon · 2024 [cited by examiner]
US 20240330661A1 · Rahman · 2024 [cited by examiner]
US 20250184242A1 · Kudeti · 2025 [cited by examiner]
WO 2020091619A1 · 2020 [cited by applicant]
WO 2022191982A1 · 2022 [cited by applicant]
Extended European Search Report for European Application No. 24165670.1, mailed Jul. 29, 2024, 7 pages. [cited by applicant]
Alkaissi et al.: “Artificial Hallucinations in ChatGPT: Implications in Scientific Writing,” Cureus, DOI: 10.7759/cureus.35179, Feb. 19, 2023, 4 pages. [cited by applicant]
BMC Software: “Learning about Incident Management—Documentation for BMC Helix ITSM: Smart IT 21.05,” available online at <https://docs.bmc.com/docs/smartit2105/learning-about-incident-management-1002909060.html>, Mar. 2… [cited by applicant]
Brooks et al.: “Got It AI, Got It AI Develops AI to Identify and Address ChatGPT Hallucinations for Enterprise Applications,” available online at <https://www.globenewswire.com/en/news-release/2023/01/13/2588735/0/en/Go… [cited by applicant]
D. Takahashi: “Got It AI creates truth checker for ChatGPT ‘hallucinations’,” available online at <https://venturebeat.com/ai/got-it-ai-creates-truth-checker-for-chatgpt-hallucinations/>, Jan. 13, 2023, 7 pages. [cited by applicant]
Dziri et al.: “Neural Path Hunter: Reducing Hallucination in Dialogue Systems via Path Grounding,” arXiv:2104.08455, Sep. 14, 2021, 18 pages. [cited by applicant]
J. Mathenge: “Incident Management: The Complete Guide,” available online at <https://www.bmc.com/blogs/incident-management/>, Mar. 25, 2021, 8 pages. [cited by applicant]
Liu et al.: “Assessing the Value of ChatGPT for Clinical Decision Support Optimization,” medRxiv preprint doi: https://doi.org/10.1101/2023.02.21.23286254, Feb. 23, 2023, 20 pages. [cited by applicant]
Liu et al.: “A Token-level Reference-free Hallucination Detection Benchmark for Free-form Text Generation,” Proceedings of the 60th Annual Meeting of the Association for Computation Linguistics, vol. 1, Long Papers, May… [cited by applicant]
M. Anderson: “Preventing ‘Hallucination’ in GPT-3 and Other Complex Language Models,” available online at <https://www.unite.ai/preventing-hallucination-in-gpt-3-and-other-complex-language-models/>, Dec. 9, 2022, 8 page… [cited by applicant]
Menick et al.: “Teaching language models to support answers with verified quotes,” Deep Mind, arXiv preprint arXiv:2203.11147, Mar. 31, 2022, 40 pages. [cited by applicant]
Shuster et al.: “Retrieval Augmentation Reduces Hallucination in Conversation,” arXiv preprint arXiv:2104.07567, Apr. 15, 2021, 21 pages. [cited by applicant]