IP Library Granted Patent US 12,602,413
Granted Patent B1
US 12,602,413 · App. 19/191,776 · Granted Apr 14, 2026

Managing generative artificial intelligence (AI) model outputs using explainability reports

Inventors: Ofir Ezrielev (Be'er Sheva, IL); Hanna Yehuda (Acton, MA); Anne-Marie Mcreynolds (San Jose, CA)
Assignee: Dell Products L.P.
G06F16/33295G06F16/3328
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,602,413
App. No.
19/191,776
Granted
Apr 14, 2026
Kind
B1
Abstract

Methods and systems for providing computer-implemented services using generative AI models are disclosed. To do so, a prompt may be obtained for a generative AI model of the generative AI models. The prompt and the generative AI model may be used to obtain a first output. An output explainability process may be performed using at least the prompt, the first output, and the generative AI model to obtain an explainability report for the first output. The explainability report may indicate relationships between first information elements of the prompt and second information elements of the first output. The relationships may be based, at least in part, on a second output generated by the generative AI model using a modified prompt based on the prompt. The first output and the explainability report may be provided to a downstream consumer as part of providing computer-implemented services to the downstream consumer.

Claims (88)

1 . A method for providing computer-implemented services using generative artificial intelligence (AI) models, the method comprising:

obtaining a prompt for a generative AI model of the generative AI models;

obtaining, using the prompt and the generative AI model, a first output from the generative AI model;

performing, using at least the prompt, the first output, and the generative AI model, an output explainability process to obtain an explainability report for the first output, the explainability report indicating relationships between first information elements of the prompt and second information elements of the first output, and the relationships are based, at least in part, on a second output generated by the generative AI model using a modified prompt and the modified prompt being based on the prompt; and

providing the first output and the explainability report to a downstream consumer as part of providing computer-implemented services to the downstream consumer.

2 . The method of claim 1 , wherein performing the output explainability process comprises:

performing, using the prompt, a prompt modification process to obtain the modified prompt;

obtaining, using the modified prompt and the generative AI model, the second output from the generative AI model;

obtaining, using the second output, third information elements of the second output;

comparing the second information elements of the first output and the third information elements of the second output to obtain a difference; and

populating, based on the difference, the explainability report with at least a first relationship of the relationships.

3 . The method of claim 2 , wherein performing the prompt modification process comprises:

obtaining, using the prompt and the first output, the first information elements and the second information elements; and

performing at least one action selected from a list of actions consisting of:

removing a first information element of the first information elements to obtain the modified prompt; and

replacing the first information element with a replacement information element to obtain the modified prompt.

4 . The method of claim 3 , wherein performing the prompt modification process further comprises:

in an instance of the performing where the at least one action comprises replacing the first information element:

prior to replacing the first information element:

obtaining, based on the first information element and an information element replacement schema, the replacement information element.

5 . The method of claim 3 , wherein performing the prompt modification process further comprises:

in an instance of the performing where the at least one action comprises replacing the first information element:

prior to replacing the first information element:

displaying, via a graphical user interface (GUI), at least the first information elements to a user; and

obtaining, via an interaction with the GUI, feedback from the user, the feedback comprising the replacement information element.

6 . The method of claim 5 , wherein displaying the at least the first information elements to the user comprises:

obtaining a first graphical representation of the first information elements, the first graphical representation comprising:

a first set of nodes that correspond to the first information elements, and

first edges that indicate relationships between the first set of the nodes; and

populating the GUI with the first graphical representation.

7 . The method of claim 5 , wherein comparing the second information elements of the first output and the third information elements of the second output comprises:

obtaining a second graphical representation of the second information elements, the second graphical representation comprising:

a second set of nodes that correspond to the second information elements, and

second edges that represent relationships between the second set of the nodes;

obtaining a third graphical representation of the third information elements, the third graphical representation comprising:

a third set of nodes that correspond to the third information elements, and

third edges that represent relationships between the third set of the nodes; and

identifying, using the second graphical representation and the third graphical representation, one or more nodes of the second set of the nodes that is not present in the third graphical representation.

8 . The method of claim 7 , wherein the first output comprises a second information element and the second output does not comprise the second information element.

9 . The method of claim 8 , wherein the second output comprises a third information element and the first output does not comprise the third information element.

10 . The method of claim 7 , wherein the second graphical representation and the third graphical representation are displayed to the user via the GUI.

11 . The method of claim 1 , wherein performing the output explainability process comprises:

iteratively perturbating information content of the prompt to obtain perturbated prompts;

evaluating the perturbated prompts using the generative AI model to obtain perturbated outputs; and

using the perturbated prompts and the perturbated outputs to identify the relationships between the first information elements and the second information elements.

12 . The method of claim 1 , wherein the generative AI model is a large language model (LLM).

13 . A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations for providing computer-implemented services using generative artificial intelligence (AI) models, the operations comprising:

obtaining a prompt for a generative AI model of the generative AI models;

obtaining, using the prompt and the generative AI model, a first output from the generative AI model;

performing, using at least the prompt, the first output, and the generative AI model, an output explainability process to obtain an explainability report for the first output, the explainability report indicating relationships between first information elements of the prompt and second information elements of the first output, and the relationships are based, at least in part, on a second output generated by the generative AI model using a modified prompt and the modified prompt being based on the prompt; and

providing the first output and the explainability report to a downstream consumer as part of providing computer-implemented services to the downstream consumer.

14 . The non-transitory machine-readable medium of claim 13 , wherein performing the output explainability process comprises:

performing, using the prompt, a prompt modification process to obtain the modified prompt;

obtaining, using the modified prompt and the generative AI model, the second output from the generative AI model;

obtaining, using the second output, third information elements of the second output;

comparing the second information elements of the first output and the third information elements of the second output to obtain a difference; and

populating, based on the difference, the explainability report with at least a first relationship of the relationships.

15 . The non-transitory machine-readable medium of claim 14 , wherein performing the prompt modification process comprises:

obtaining, using the prompt and the first output, the first information elements and the second information elements; and

performing at least one action selected from a list of actions consisting of:

removing a first information element of the first information elements to obtain the modified prompt; and

replacing the first information element with a replacement information element to obtain the modified prompt.

16 . The non-transitory machine-readable medium of claim 15 , wherein performing the prompt modification process further comprises:

in an instance of the performing where the at least one action comprises replacing the first information element:

prior to replacing the first information element:

obtaining, based on the first information element and an information element replacement schema, the replacement information element.

17 . A data processing system, comprising:

a processor; and

a memory coupled to the processor to store instructions, which when executed by the processor, cause the processor to perform operations for providing computer-implemented services using generative artificial intelligence (AI) models, the operations comprising:

obtaining a prompt for a generative AI model of the generative AI models;

obtaining, using the prompt and the generative AI model, a first output from the generative AI model;

performing, using at least the prompt, the first output, and the generative AI model, an output explainability process to obtain an explainability report for the first output, the explainability report indicating relationships between first information elements of the prompt and second information elements of the first output, and the relationships are based, at least in part, on a second output generated by the generative AI model using a modified prompt and the modified prompt being based on the prompt; and

providing the first output and the explainability report to a downstream consumer as part of providing computer-implemented services to the downstream consumer.

18 . The data processing system of claim 17 , wherein performing the output explainability process comprises:

performing, using the prompt, a prompt modification process to obtain the modified prompt;

obtaining, using the modified prompt and the generative AI model, the second output from the generative AI model;

obtaining, using the second output, third information elements of the second output;

comparing the second information elements of the first output and the third information elements of the second output to obtain a difference; and

populating, based on the difference, the explainability report with at least a first relationship of the relationships.

19 . The data processing system of claim 18 , wherein performing the prompt modification process comprises:

obtaining, using the prompt and the first output, the first information elements and the second information elements; and

performing at least one action selected from a list of actions consisting of:

removing a first information element of the first information elements to obtain the modified prompt; and

replacing the first information element with a replacement information element to obtain the modified prompt.

20 . The data processing system of claim 19 , wherein performing the prompt modification process further comprises:

in an instance of the performing where the at least one action comprises replacing the first information element:

prior to replacing the first information element:

obtaining, based on the first information element and an information element replacement schema, the replacement information element.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 12, 2025
From: EZRIELEV, OFIR; YEHUDA, HANNA; MCREYNOLDS, ANNIE-MARIE
To: DELL PRODUCTS L.P.
Reel/Frame 071086/0688 →
References Cited (31)
US 11120365B2 · Campos et al. · 2021 [cited by applicant]
US 11651216B2 · Dalli et al. · 2023 [cited by applicant]
US 20240070495A1 · Satish · 2024 [cited by examiner]
US 20240193821A1 · Denison · 2024 [cited by examiner]
US 20240296278A1 · Grimshaw · 2024 [cited by examiner]
US 20250307372A1 · Bayldon · 2025 [cited by examiner]
US 20250322306A1 · Ahmadia · 2025 [cited by examiner]
US 20260010591A1 · Rodriguez Bravo · 2026 [cited by examiner]
Johannes Schneider, “Explainable Generative AI (GenXAI): A Survey, Conceptualization, and Research Agenda”, arXiv:2404.09554v1, Apr. 15, 2024, retrieved from < https://arxiv.org/abs/2404.09554> on Apr. 25, 2025 (47 page… [cited by applicant]
Sun et al., “Investigating Explainability of Generative AI for Code through Scenario-based Design”, arXiv:2202.04903v1, Feb. 10, 2022, retrieved from <https://arxiv.org/abs/2202.04903> on Apr. 25, 2025 (17 pages). [cited by applicant]
Vaeth et al., “Generative Example-Based Explanations: Bridging the Gap between Generative Modeling and Explainability”, arXiv:2410.20890v1, Oct. 28, 2024, retrieved from <https://arxiv.org/abs/2410.20890> on Apr. 25, 20… [cited by applicant]
Gabriela Ben Melech Stan et al., “FASTRM: An Efficient and Automatic Explainability Framework for Multimodal Generative Models”, arXiv:2412.01487, Apr. 1, 2025, retrieved from <https://arxiv.org/abs/2412.01487> on Apr. … [cited by applicant]
Najjar et al., “Leveraging Explainable AI for LLM Text Attribution: Differentiating Human-Written and Multiple LLMs-Generated Text”, arXiv:2501.03212v1, Jan. 6, 2025, retrieved from <https://arxiv.org/abs/2501.03212> on… [cited by applicant]
Yongchen Zhou and Richard Jiang, “Advancing Explainable AI Toward Human-Like Intelligence: Forging the Path to Artificial Brain”, arXiv:2402.06673v1, Feb. 7, 2024, retrieved from <https://arxiv.org/abs/2402.06673> on Ap… [cited by applicant]
Sushri et al., “Combining Cognitive and Generative AI for Self-explanation in Interactive AI Agents”, arXiv:2407.18335v1, Jul. 25, 2024, retrieved from <https://arxiv.org/abs/2407.18335> on Apr. 25, 2025 (10 pages). [cited by applicant]
Bugueño et al., “Graph-Based Explainable AI: A Comprehensive Survey”, HAL open science, HAL Id: hal-04660442, Preprint submitted on Jul. 23, 2024, retrieved from <https://hal.science/hal-04660442v1/document> on Apr. 25,… [cited by applicant]
Sun et al., “Investigating Explainability of Generative Al for Code through Scenario-based Design”, ACM Digital Library, ACM ISBN 978-1-4503-9144-3/22/03, Mar. 22, 2022, retrieved from <https://dl.acm.org/doi/fullHtml/1… [cited by applicant]
Ye et al., “Generative AI for visualization: State of the art and future directions”, Science Direct, Visual Informatics, vol. 8, Issue 2, Jun. 2024, pp. 43-66. Retrieved from <https://www.sciencedirect.com/science/arti… [cited by applicant]
Salem et al., “Maatphor: Automated Variant Analysis for Prompt Injection Attacks”, arXiv:2312.11513v1, Dec. 12, 2023, retrieved from <https://arxiv.org/abs/2312.11513> on Apr. 25, 2025 (13 pages). [cited by applicant]
Xiong et al., “Defensive Prompt Patch: A Robust and Interpretable Defense of LLMs against Jailbreak Attacks”, arXiv:2405.20099v1, May 30, 2024, retrieved from <https://arxiv.org/abs/2405.20099> on Apr. 25, 2025 (27 page… [cited by applicant]
Liu et al., “Formalizing and Benchmarking Prompt Injection Attacks and Defenses”, arXiv:2310.12815v4, Nov. 24, 2024, retrieved from <https://arxiv.org/abs/2310.12815> on Apr. 25, 2025 (27 pages). [cited by applicant]
Wang et al., “Hidden You Malicious Goal Into Benign Narratives: Jailbreak Large Language Models through Logic Chain Injection”, arXiv:2404.04849v2, Apr. 16, 2024, retrieved from <https://arxiv.org/abs/2404.04849> on Apr… [cited by applicant]
Yu et al., “Assessing Prompt Injection Risks in 200+ Custom GPTS”, arXiv:2311.11538v2, May 25, 2024, retrieved from <https://arxiv.org/abs/2311.11538> on Apr. 25, 2025 (10 pages). [cited by applicant]
Liu et al., “Large Language Models and Causal Inference in Collaboration: A Comprehensive Survey”, arXiv:2403.09606v1, Mar. 14, 2024, retrieved from <https://arxiv.org/pdf/2403.09606v1> on Apr. 25, 2025 (19 pages). [cited by applicant]
Ji et al., “LLM Internal States Reveal Hallucination Risk Faced With a Query”, arXiv:2407.03282v1, Jul. 3, 2024, retrieved from <https://arxiv.org/pdf/2407.03282v1> on Apr. 25, 2025 (17 pages). [cited by applicant]
Wang et al., “M-RAG: Reinforcing Large Language Model Performance through Retrieval-Augmented Generation with Multiple Partitions”, arXiv:2405.16420v1, May 26, 2024, retrieved from <https://arxiv.org/pdf/2405.16420v1> o… [cited by applicant]
Chan et al., “RQ-RAG: Learning To Refine Queries for Retrieval Augmented Generation”, arXiv:2404.00610v1, Mar. 31, 2024, retrieved from <https://arxiv.org/pdf/2404.00610v1> on Apr. 25, 2025 (18 pages). [cited by applicant]
Yang et al., “The Geometry of Queries: Query-Based Innovations in Retrieval-Augmented Generation”, arXiv:2407.18044v1, Jul. 25, 2024, retrieved from <https://arxiv.org/pdf/2407.18044v1> on Apr. 25, 2025 (22 pages). [cited by applicant]
Ganesh et al., “Context-augmented Retrieval: A Novel Framework for Fast Information Retrieval based Response Generation using Large Language Model”, arXiv:2406.16383v1, Jun. 24, 2024, retrieved from <https://arxiv.org/p… [cited by applicant]
Wang et al., “RichRAG: Crafting Rich Responses for Multi-faceted Queries in Retrieval-Augmented Generation”, arXiv:2406.12566v3, retrieved from <https://arxiv.org/pdf/2406.12566> on Apr. 25, 2025 (17 pages). [cited by applicant]
He et al., “Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation”, arXiv:2410.05801v1, Oct. 8, 2024, retrieved from <https://arxiv.org/abs/2410.05801> on Apr. 25, 202… [cited by applicant]