Unsupervised ML for Log Issue Clustering and Ranking
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing log-based systems face challenges in efficiently analyzing large volumes of complex product log files to identify relevant patterns for issue troubleshooting, due to the complexity of products and the need to distinguish between relevant and distracting patterns.
Innovation Solution
The system employs unsupervised machine learning techniques to process collected input text by categorizing it into sentence-structured and non-sentence-structured data, using k-means clustering and BERT models to generate issue lists and compute weighted ranking scores for issue recommendations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Extent of automation
If log-based machine learning systems are used to analyze product log files, then automated issue identification can be achieved, but the system complexity and analysis time increase significantly due to millions of log lines
Solution Approach 1:
The patent segments the monolithic log analysis system into multiple specialized components: a log processing module that parses and structures raw logs, a pattern extraction module that identifies relevant patterns, a machine learning module that trains classification models, and a recommendation module that provides issue identification. This segmentation reduces system complexity by making each component manageable and independently optimizable while maintaining automated issue identification capability.
Solution Approach 2:
The patent extracts only the most relevant features and patterns from millions of log lines using the pattern extraction module, rather than processing entire log files. It extracts key error patterns, stack traces, and diagnostic information that are most indicative of issues, discarding redundant data. This extraction approach maintains automation while reducing the computational burden and system complexity.
2Reliability
If all log lines are analyzed to find relevant patterns, then comprehensive issue detection is achieved, but the time required to process and analyze logs increases
Solution Approach 1:
The patent performs preliminary actions by pre-processing logs during system initialization: parsing log files into structured formats, extracting relevant patterns and features, and training machine learning models before actual issue detection is needed. This preliminary preparation stores processed information in optimized data structures, enabling rapid query-time analysis without re-processing entire log files, thus maintaining detection accuracy while reducing analysis time.
Solution Approach 2:
The patent applies partial action by analyzing only the most relevant portions of log files during operational issue detection. Instead of re-processing entire log files, it queries pre-processed extracted patterns and features that are most likely to indicate current issues. This selective partial analysis maintains reliable issue detection while significantly reducing the time required for operational troubleshooting.
3Measurement precision
If machine learning models are trained on large amounts of log data, then pattern recognition improves, but the training complexity and computational resources increase
Solution Approach 1:
The patent extracts a curated subset of the most informative features and patterns from large log datasets before training machine learning models. The pattern extraction module identifies and extracts key error signatures, stack trace patterns, and diagnostic features that are most predictive of issues. By training models on this extracted feature set rather than raw log lines, the system achieves high pattern recognition accuracy with reduced training complexity and computational requirements.
Solution Approach 2:
The patent segments the training data into distinct categories and feature types: error patterns, warning patterns, information patterns, and contextual features. Each segment is processed and trained separately using appropriate machine learning techniques. This segmented approach allows for more efficient training compared to treating all log data uniformly, reducing overall training complexity while maintaining or improving pattern recognition accuracy through specialized processing of each data segment.
4Measurement precision
If comprehensive log analysis is performed to distinguish relevant patterns, then issue identification accuracy improves, but the computational resources and processing power required increase
Solution Approach 1:
The patent performs computationally intensive log processing operations in advance: parsing logs into structured formats, extracting relevant patterns, and computing feature representations during system initialization or data ingestion phases. This preliminary computation stores processed information in optimized formats, enabling rapid low-compute queries during operational issue identification. This approach maintains high identification accuracy while reducing real-time computational resource requirements.
Solution Approach 2:
The patent extracts and stores only the most computationally valuable features and patterns from comprehensive log analysis, rather than retaining or re-processing all raw log data. The extraction module identifies and retains key error patterns, diagnostic features, and relevant metadata that drive accurate issue identification, discarding redundant information. This selective extraction maintains identification accuracy while significantly reducing the computational resources needed for operational analysis.
Data Source
AI summary
Techniques are disclosed for issue handling. One example system includes at least one processing device including a processor coupled to a memory. The processing device is configured to implement the following: processing collected input text into sentence-structured data and non-sentence-structured data. For the non-sentence-structured data, determining a number ‘k’ of clusters for the non-sentence-structured data, and using a first ML algorithm to generate a non-sentence-structured issues list by categorizing the non-sentence-structured data into ‘k’ clusters. For the sentence-structured data, using a second ML model to generate a sentence-structured issues list based on semantic similarity determined among the sentence-structured data. For each issue in the non-sentence-structured and in the sentence-structured issues lists, identifying linked issues, using a support ticket system, among the non-sentence-structured and the sentence-structured issues lists, and using the linked issues to order each issue based on computing a weighted ranking score for each issue.


