IP Library › Granted Patent US 12,536,372
Granted Patent B2
US 12,536,372 · App. 18/358,225 · Granted Jan 27, 2026

Large language models for extracting conversational-style explanations for entity matches

Inventors: Rajesh Vellore Arumugam (Singapore, SG); Anantharaman Ravi (Singapore, SG); Matthias Frank (Heidelberg, DE); Sundeep Gullapudi (Singapore, SG); Yi Quan Zhou (Singapore, SG)
Assignee: SAP SE
G06F40/284G06F16/248G06F40/40G06N20/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,536,372
App. No.
18/358,225
Granted
Jan 27, 2026
Kind
B2
Abstract

Methods, systems, and computer-readable storage media for receiving, by an entity matching ML model, a query and target pair including a query entity and a target entity, providing, by the entity matching ML model, a query-target prediction by processing the query entity and the target entity, the query-target prediction indicating a match type between the query entity and the target entity, generating a prompt by populating a prompt template with at least a portion of the query-target prediction, inputting the prompt into a large language model (LLM), and receiving, from the LLM, an explanation that is responsive to the prompt and that describes one or more reasons for the query-target prediction output by the entity matching ML model.

Claims (34)

1 . A computer-implemented method for computer-executed entity matching using one or more machine learning (ML) models, the method being executed by one or more processors and comprising:

receiving, by an entity matching ML model, a query and target pair comprising a query entity and a target entity;

providing, by the entity matching ML model, a query-target prediction by processing the query entity and the target entity, the query-target prediction indicating a match type between the query entity and the target entity;

generating a prompt by populating a prompt template with at least a portion of the query-target prediction, the prompt being generated based on a confidence that is output by the entity matching ML model, the confidence representing a likelihood that the query-target prediction is correct;

inputting the prompt into a large language model (LLM); and

receiving, from the LLM, an explanation that is responsive to the prompt and that describes one or more reasons for the query-target prediction output by the entity matching ML model.

2 . The method of claim 1 , wherein the prompt template comprises placeholders that are populated by a prompt generator using the at least a portion of the query-target prediction.

3 . The method of claim 1 , wherein the prompt is further generated based on a token explanation that is output by the entity matching ML model.

4 . The method of claim 1 , wherein the LLM comprises ChatGPT.

5 . The method of claim 1 , further comprising providing a conversational interface that is operable to display the explanation to a user and receive input from the user to query the LLM.

6 . The method of claim 1 , wherein the match type comprises one of a single match, a multi-match, and no match.

7 . A non-transitory computer-readable storage medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations for computer-executed entity matching using one or more machine learning (ML) models, the operations comprising:

receiving, by an entity matching ML model, a query and target pair comprising a query entity and a target entity;

providing, by the entity matching ML model, a query-target prediction by processing the query entity and the target entity, the query-target prediction indicating a match type between the query entity and the target entity;

generating a prompt by populating a prompt template with at least a portion of the query-target prediction, the prompt being generated based on a confidence that is output by the entity matching ML model, the confidence representing a likelihood that the query-target prediction is correct;

inputting the prompt into a large language model (LLM); and

receiving, from the LLM, an explanation that is responsive to the prompt and that describes one or more reasons for the query-target prediction output by the entity matching ML model.

8 . The non-transitory computer-readable storage medium of claim 7 , wherein the prompt template comprises placeholders that are populated by a prompt generator using the at least a portion of the query-target prediction.

9 . The non-transitory computer-readable storage medium of claim 7 , wherein the prompt is further generated based on a token explanation that is output by the entity matching ML model.

10 . The non-transitory computer-readable storage medium of claim 7 , wherein the LLM comprises ChatGPT.

11 . The non-transitory computer-readable storage medium of claim 7 , wherein operations further comprise providing a conversational interface that is operable to display the explanation to a user and receive input from the user to query the LLM.

12 . The non-transitory computer-readable storage medium of claim 7 , wherein the match type comprises one of a single match, a multi-match, and no match.

13 . A system, comprising:

a computing device; and

a computer-readable storage device coupled to the computing device and having instructions stored thereon which, when executed by the computing device, cause the computing device to perform operations for computer-executed entity matching using one or more machine learning (ML) models, the operations comprising:

receiving, by an entity matching ML model, a query and target pair comprising a query entity and a target entity;

providing, by the entity matching ML model, a query-target prediction by processing the query entity and the target entity, the query-target prediction indicating a match type between the query entity and the target entity;

generating a prompt by populating a prompt template with at least a portion of the query-target prediction, the prompt being generated based on a confidence that is output by the entity matching ML model, the confidence representing a likelihood that the query-target prediction is correct;

inputting the prompt into a large language model (LLM); and

receiving, from the LLM, an explanation that is responsive to the prompt and that describes one or more reasons for the query-target prediction output by the entity matching ML model.

14 . The system of claim 13 , wherein the prompt template comprises placeholders that are populated by a prompt generator using the at least a portion of the query-target prediction.

15 . The system of claim 13 , wherein the prompt is further generated based on a token explanation that is output by the entity matching ML model.

16 . The system of claim 13 , wherein the LLM comprises ChatGPT.

17 . The system of claim 13 , wherein operations further comprise providing a conversational interface that is operable to display the explanation to a user and receive input from the user to query the LLM.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 27, 2023
From: ARUMUGAM, RAJESH VELLORE; RAVI, ANANTHARAMAN; FRANK, MATTHIAS; ZHOU, YI QUAN; GULLAPUDI, SUNDEEP
To: SAP SE
Reel/Frame 064409/0032 →
Continuity (1)
Related Publication 20250077773A1 · Mar 6, 2025
References Cited (15)
US 12124468B1 · Zhou · 2024 [cited by applicant]
US 12218890B2 · Abraham · 2025 [cited by examiner]
US 20150095840A1 · Soshin et al. · 2015 [cited by applicant]
US 20220270721A1 · Schrempf et al. · 2022 [cited by applicant]
US 20240070394A1 · Peng et al. · 2024 [cited by applicant]
US 20240086648A1 · Han et al. · 2024 [cited by applicant]
US 20240095077A1 · Singh et al. · 2024 [cited by applicant]
US 20240144346A1 · Alkan et al. · 2024 [cited by applicant]
US 20240146563A1 · Sheth · 2024 [cited by applicant]
US 20240249080A1 · Sun et al. · 2024 [cited by applicant]
US 20240296279A1 · Gardner · 2024 [cited by examiner]
US 20240386462A1 · Qi · 2024 [cited by examiner]
US 20240419698A1 · Ananthanarayanan · 2024 [cited by examiner]
U.S. Appl. No. 18/454,905, Zhou, Generative Graphical Explanation using Large Language Models in Ai-Based Services, filed Aug. 24, 2023, 30 pages. [cited by applicant]
Non-Final Office Action in U.S. Appl. No. 18/454,905, mailed on May 8, 2024, 16 pages. [cited by applicant]