RAG-Based Generative AI Incident Remediation From Logs

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing IT service systems face challenges in efficiently identifying the causes of incidents and deriving remedial actions due to increased system complexity and vendor diversity, leading to prolonged operational costs and reduced reliability.

Innovation Solution

A processor-implemented method using retrieval-augmented generation (RAG) with large language models (LLM) to analyze system logs, generate responses, and provide remedial actions, with secondary inquiries to enhance accuracy and handle private information through obfuscation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If operators manually analyze system logs to identify incident causes and derive remedial actions, then accuracy in incident response can be maintained, but the time required and operational costs increase significantly

Engineering Contradiction:
Improvetime required to derive remedial actionsVSAvoidservice provider reliability
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The system enables self-service incident response by automatically analyzing system logs and generating remedial actions through LLMs without requiring manual operator intervention. The automated incident response system processes logs, identifies causes, and derives solutions independently, reducing both time consumption and operational costs while maintaining response reliability.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the mechanical manual analysis process with an automated AI-based system. Instead of operators manually reviewing logs and deriving actions, the system uses LLMs to automatically process log data, identify incident causes, and generate remedial actions, thereby eliminating the time-consuming manual mechanism.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Measurement precision

If multiple LLMs are used to enhance response accuracy, then the quality of incident analysis improves, but the system complexity increases

Engineering Contradiction:
Improveresponse accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system segments the incident response task across multiple specialized LLMs, where each model handles specific aspects of analysis. This segmentation allows each LLM to focus on particular functions (e.g., log analysis, cause identification, remedial action generation), improving overall accuracy while maintaining manageable complexity through functional division.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a multi-functional LLM architecture where different language models can be selectively deployed based on incident type and complexity. The system provides universal capability to handle various incident scenarios while maintaining flexibility to simplify the system by using only necessary models for each specific case, avoiding unnecessary complexity.

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

3Adaptability or versatility

If private information is included in log analysis, then comprehensive incident analysis can be performed, but security risks increase

Engineering Contradiction:
Improveanalysis completenessVSAvoidsecurity risks
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The system introduces an intermediary processing layer that sits between the raw log data and the LLM analysis. This intermediary component filters, anonymizes, and sanitizes private information before it reaches the LLMs, allowing comprehensive analysis to proceed while preventing sensitive data from being processed or leaked by the AI models.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent extracts and removes private information from the log data before it is input to the LLMs for analysis. By separating sensitive data from the analysis process, the system maintains the ability to perform comprehensive incident analysis on the remaining data while eliminating security risks associated with processing private information through the AI models.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS20250307067A1Method, apparatus, and computer program for responding to system incidents based on generative artificial intelligence
Publication Date: 2025.10.02 SAMSUNG SDS CO LTD
  • US20250307067A1 patent drawing
  • US20250307067A1 patent drawing
  • US20250307067A1 patent drawing

AI summary

A processor implemented method including monitoring an event in a system, analyzing a log of the event to determine whether the event is a system incident, searching, responsive to the event being determined to be a system incident event, an internal knowledge base for causes of the system incident event and remedial actions for the system incident event, based on retrieval-augmented generation, prompting a first inquiry, the first inquiry including the log and a search result from the searching to a first LLM, and generating a first response including remedial actions for the system incident event by the first LLM, based on the first inquiry and the search result.