IP Library Granted Patent US 12,701,042
Granted Patent B2
US 12,701,042 · App. 18/206,753 · Granted Aug 4, 2026

Automated root cause determination using a pre-trained generative model

Inventor: Mustafa Kasap (Kenmore, WA)
Assignee: Microsoft Technology Licensing, LLC
H04L41/065G06F11/366G06F40/166G06F40/40
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,701,042
App. No.
18/206,753
Granted
Aug 4, 2026
Kind
B2
Abstract

Systems and methods are provided for determining a root cause of an incident that occurred in a 5G/6G multi-access edge computing and core network system. In particular, the disclosed technology is directed to using a pre-trained generative model to determine the root cause for an incident as recorded in event data of a system log. The present disclosure generates a prompt for the generative model to determine the root cause for an incident as recorded in the system log. The prompt comprises a combination including event data from a system log, function hierarchy graph data, and function information as grounding information in a prefix of the prompt. The prompt further includes a question that requests determining a root cause of an incident as recorded in the event data. An answer as generated by the pre-trained generative model indicates of the root cause and a function call associated with the incident.

Claims (76)

1 . A computer-implemented method, comprising:

retrieving a set of data including:

event data of a system log, wherein the event data indicates an incident,

function hierarchy graph data, and

function information;

generating a prompt for transmission to a pre-trained generative model, wherein the prompt includes grounding information and a question, the grounding information includes the event data, the function hierarchy graph data, and the function information, and the grounding information as a part of the prompt causes the pre-trained generative model to identify a root cause of an incident in a predetermined domain as described in the grounding information;

receiving, in response to the transmission of the prompt, a natural language text from the pre-trained generative model, wherein the natural language text includes a description of the root cause of the incident with accuracy by restricting the root cause in the predetermined domain according to the grounding information; and

displaying the description of the root cause.

2 . The computer-implemented method according to claim 1 , wherein the incident is associated with an error occurred in an edge server of a 5G multi-access edge computing network.

3 . The computer-implemented method according to claim 1 , wherein the function information includes fingerprint data associated with a function, the event data includes the fingerprint data, and the function hierarchy graph data includes the fingerprint data.

4 . The computer-implemented method according to claim 1 , wherein the prompt is based on the natural language text.

5 . The computer-implemented method according to claim 1 , further comprising:

retrieving a code associated with program instruction of an edge server in a 5G MEC system;

generating a summary prompt, wherein the summary prompt includes the code as the grounding information;

transmitting the summary prompt;

receiving a summary text associated with the code from the pre-trained generative model; and

displaying the summary text for insertion into the code.

6 . The computer-implemented method according to claim 1 , further comprising:

retrieving a code associated with program instruction of an edge server in a 5G MEC system;

generating a prompt for a missing function call, wherein the prompt for a missing function includes the function information and the code as the grounding information and the question, wherein the question includes a request for identifying a missing exception handler function call in the code;

transmitting the prompt for a missing function call;

receiving an answer for a missing function call from the pre-trained generative model, wherein the answer for a missing function call includes a textual descriptions of the missing exception handler function call in the code, and the textual descriptions of the missing exception handler function call includes fingerprint data associated with the missing exception handler function call; and

displaying a code snippet associated with the missing exception handler function call, wherein the code snippet includes the fingerprint data.

7 . The computer-implemented method according to claim 1 , wherein the function hierarchy graph data indicates a hierarchical caller-callee relationship between two function calls in program instruction.

8 . The computer-implemented method according to claim 1 , wherein the description of the root cause associated with the incident comprises:

fingerprint data identified in the event data,

a first textual description of a function call associated with the fingerprint data,

a second textual description of the incident according to the fingerprint data, and

a sample code of calling an exception handler function call for preventing the incident.

9 . The computer-implemented method according to claim 8 , further comprising:

retrieving a code associated with the fingerprint data;

updating the code according to the sample code; and

storing the code in a code repository database.

10 . A system for determining a root cause of an event using a pre-trained generative model, the system comprising:

a processor; and

a memory storing computer-executable instructions that when executed by the processor cause the system to execute operations comprising:

retrieving a set of data including:

event data of a system log, wherein the event data indicates an incident,

function hierarchy graph data, and

function information;

generating a prompt for transmission to the pre-trained generative model, wherein the prompt includes grounding information and a question, the grounding information includes the event data, the function hierarchy graph data, and the function information, and the grounding information as a part of the prompt causes the pre-trained generative model to identify a root cause of an incident in a predetermined domain as described in the grounding information;

receiving, in response to the transmission of the prompt, a natural language text from the pre-trained generative model, wherein the natural language text includes a description of the root cause of the incident with accuracy by restricting the root cause in the predetermined domain according to the grounding information; and

displaying the description of the root cause.

11 . The system according to claim 10 , wherein the incident is associated with an error occurred in an edge server of a 5G multi-access edge computing network.

12 . The system according to claim 10 , wherein the function information includes fingerprint data associated with a function, the event data includes the fingerprint data, and the function hierarchy graph data includes the fingerprint data.

13 . The system according to claim 10 , wherein the function hierarchy graph data indicates a hierarchical caller-callee relationship between two function calls in program instruction.

14 . The system according to claim 10 , wherein the description of the root cause associated with the incident comprises:

fingerprint data identified in the event data,

a first textual description of a function call associated with the fingerprint data,

a second textual description of the incident according to the fingerprint data, and

a sample code of calling an exception handler function call for preventing the incident.

15 . The system according to claim 14 , the processor further configured to cause the system to execute operations comprising:

retrieving a code associated with the fingerprint data;

updating the code according to the sample code; and

storing the code in a code repository database.

16 . A computer storage media storing computer-executable instructions that when executed by a processor cause a computer system to execute operations comprising:

retrieving a set of data including:

event data of a system log, wherein the event data indicates an incident,

function hierarchy graph data, and

function information;

generating a prompt for transmission to a pre-trained generative model, wherein the prompt includes grounding information and a question, the grounding information includes the event data, the function hierarchy graph data, and the function information, and the grounding information as a part of the prompt causes the pre-trained generative model to identify a root cause of an incident in a predetermined domain as described in the grounding information;

receiving, in response to the transmission of the prompt, a natural language text from the pre-trained generative model, wherein the natural language text includes a description of the root cause of the incident with accuracy by restricting the root cause in the predetermined domain according to the grounding information; and

displaying the description of the root cause.

17 . The computer storage media of claim 16 , wherein the incident is associated with an error occurred in an edge server of a 5G multi-access edge computing network.

18 . The computer storage media of claim 16 ,

wherein the function hierarchy graph data indicates a hierarchical caller-callee relationship between two function calls in program instruction, and

wherein the function information includes fingerprint data associated with a function, the event data includes the fingerprint data, and the function hierarchy graph data includes the fingerprint data.

19 . The computer storage media of claim 16 , wherein the description of the root cause associated with the incident comprises:

fingerprint data identified in the event data,

a first textual description of a function call associated with the fingerprint data,

a second textual description of the incident according to the fingerprint data, and

a sample code of calling an exception handler function call for preventing the incident.

20 . The computer storage media of claim 19 , the processor further causes a computer system to execute operations comprising:

retrieving a code associated with the fingerprint data;

updating the code according to the sample code for preventing the incident from occurring in a subsequent operation; and

storing the code in a code repository database.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 7, 2023
From: KASAP, MUSTAFA
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 063879/0782 →
Continuity (1)
Related Publication 20240414048A1 · Dec 12, 2024
References Cited (16)
US 11188411B1 · Shen · 2021 [cited by examiner]
US 12282305B2 · Brown · 2025 [cited by examiner]
US 12323449B1 · Graves · 2025 [cited by examiner]
US 20200344249A1 · Mohan · 2020 [cited by examiner]
US 20220358005A1 · Saha · 2022 [cited by examiner]
US 20240070130A1 · Niyazov · 2024 [cited by examiner]
Lin, Bor-Shing, et al. “Fall detection system with artificial intelligence-based edge computing.” IEEE Access 10 (2022): pp. 4328-4339. (Year: 2022). [cited by examiner]
Zhou, Zhi, et al. “Edge intelligence: Paving the last mile of artificial intelligence with edge computing.” Proceedings of the IEEE 107.8 (2019): pp. 1738-1762. (Year: 2019). [cited by examiner]
Wang, Xiaofei, et al. “Convergence of edge computing and deep learning: A comprehensive survey.” IEEE communications surveys & tutorials 22.2 (2020): pp. 869-904. (Year: 2020). [cited by examiner]
Gan, Yu, et al. “Sleuth: A trace-based root cause analysis system for large-scale microservices with graph neural networks.” Proceedings of the 28th ACM International Conference on Architectural Support for Programming … [cited by examiner]
Cheng, Qian, et al. “Ai for it operations (aiops) on cloud platforms: Reviews, opportunities and challenges.” arXiv preprint arXiv:2304.04661 (2023). pp. 1-34. (Year: 2023). [cited by examiner]
Zhang, Dylan, et al. “Pace-Im: Prompting and augmentation for calibrated confidence estimation with gpt-4 in cloud incident root cause analysis.” arXiv preprint arXiv:2309.05833 (2023). pp. 1-21. (Year: 2023). [cited by examiner]
Chen, et al., “Empowering Practical Root Cause Analysis by Large Language Models for Cloud Incidents”, arXiv preprint arXiv:2305.15778, May 25, 2023, pp. 1-15. [cited by applicant]
International Search Report and Written Opinion received for PCT Application No. PCT/US2024/031522, Sep. 16, 2024, 14 pages. [cited by applicant]
Melo, et al., “On a Feature-Oriented Characterization of Exception Flows in Software Product Lines”, 26th Brazilian Symposium on Software Engineering—IEEE, Sep. 23, 2012, pp. 121-130. [cited by applicant]
Nguyen, et al., “Recommendation of Exception Handling Code in Mobile App Development”, arXiv preprint arXiv:1908.06567, Aug. 19, 2019, 12 pages. [cited by applicant]