Industrial Machine Log Anomaly Detection Using Severity Histograms

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Industrial machines generate massive, unlabeled, and unstructured log files with high token variety, making it difficult to accurately predict future anomalies and requiring significant human intervention, leading to inefficient and inaccurate error detection.

Innovation Solution

Transform log file messages into anomaly severity sequences, reducing the dimensionality from N-dimensional log tokens to M-dimensional anomaly severity levels, using large language models to predict future anomaly severity histograms, enabling efficient and accurate anomaly detection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If next token prediction is used to predict future log tokens, then prediction accuracy can be achieved for short timescales, but the model size explodes and memory consumption becomes massive

Engineering Contradiction:
Improveprediction accuracyVSAvoidmodel size
Core Design Contradiction:
Measurement precisionVSVolume of stationary object

Solution Approach 1:

The patent extracts only the essential anomaly severity information from the full log token sequence, transforming the prediction task from predicting all possible next tokens to predicting only the anomaly severity histogram. This extraction reduces the prediction space from N-dimensional token vocabulary to M-dimensional severity levels, dramatically reducing model size while maintaining prediction accuracy for anomaly detection.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the log token prediction task into separate components: first classifying tokens into severity levels (M=5-10), then predicting the histogram distribution. This segmentation divides the complex N-dimensional token prediction into a simplified M-dimensional severity prediction, reducing computational complexity and model requirements.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If high token variety and specificity are used in log files, then detailed anomaly detection is possible, but prediction accuracy degrades over larger timescales

Engineering Contradiction:
Improveanomaly detection detailVSAvoidprediction timescale
Core Design Contradiction:
Measurement precisionVSDuration of action of moving object

Solution Approach 1:

The patent changes the prediction parameter from specific log tokens to anomaly severity levels. By transforming the prediction target from detailed token sequences to aggregated severity histograms, the model can maintain accuracy over longer timescales while still capturing detailed anomaly information through the severity classification.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If supervised learning is used to train machine learning models, then training accuracy can be improved, but the process becomes cumbersome and requires massive labeled data

Engineering Contradiction:
Improvetraining accuracyVSAvoiddata labeling complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent enables the system to label its own data automatically by transforming log tokens into anomaly severity sequences using the learned model. This self-labeling mechanism eliminates the need for manual annotation of massive log datasets, allowing the system to train on its own generated labels without human intervention.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20250238300A1Large language models for efficient anomaly detection in log files of industrial machines
Publication Date: 2025.07.24 NANO DIMENSIONS TECH LTD
  • US20250238300A1 patent drawing
  • US20250238300A1 patent drawing
  • US20250238300A1 patent drawing

AI summary

Abnormal behavior detection for industrial machines component(s) using large language models based on sequence(s) of log file messages recorded by logger(s) at initial time(s). The log file message sequence may be transformed into an anomaly severity sequence comprising log tokens encoding, times, and/or associated anomaly severity levels. The anomaly severity sequence may be input into the large language model. The large language model may output an anomaly severity histogram predicting M probabilities that the logger(s) will record log file messages encoded by log keys associated with M respective anomaly severity levels at the subsequent time(s). Abnormal behavior may be predicted based on the M probability patterns of the anomaly severity histogram. in the one or more components of the industrial machine logged by the one or more loggers at the one or more subsequent times. A control command may trigger automatically altering the component(s) operation to prevent the abnormal behavior.