Rolling-Window Metadata Anomaly Detection for Long Log Contexts

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional anomaly detection models struggle to identify anomalous sub-sequences in system logs and detect root causes effectively, particularly in scenarios where the input context length exceeds the model's capacity, and they lack the ability to dynamically adjust their input context window.

Innovation Solution

A framework leveraging rolling windows and large language models (LLMs) to dynamically adjust input context length, detect anomalous sub-sequences, and perform root cause analysis in system logs by leveraging contextual and syntactic learning.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional anomaly detection models are used with fixed input context length, then the model structure is simple, but the model cannot effectively detect anomalies when input context length exceeds model capacity

Engineering Contradiction:
Improveanomaly detection accuracyVSAvoidmodel structure complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent divides the input log into multiple overlapping windows of size w, where each window is processed independently by the LLM. This segmentation allows the model to handle long context logs by processing them in manageable chunks, resolving the contradiction between handling long context and maintaining simple model structure.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a dynamic window sliding mechanism that moves the window across the log sequence. The window position is dynamically adjusted to create overlapping regions, allowing the model to adaptively process different portions of the log. This dynamic approach enables effective anomaly detection in long context without requiring a fundamentally complex model architecture.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If the input context window is fixed, then the system is simple to implement, but it cannot dynamically adapt to different log lengths and complexity levels

Engineering Contradiction:
Improveadaptability to different log lengthsVSAvoidsystem implementation complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements a dynamic window sliding mechanism that automatically adapts to different log lengths. The window position is dynamically adjusted based on the log content, allowing the system to handle variable context lengths without requiring complex reconfiguration. This dynamic adaptation resolves the contradiction between versatility and implementation complexity.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the window size parameter w to control the balance between context detail and processing efficiency. By adjusting this single parameter, the system can adapt to different log lengths and complexity levels without requiring fundamental changes to the architecture. This parameter-based adaptation resolves the contradiction between versatility and complexity.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If rolling windows with overlapping regions are used, then anomaly detection precision is improved through contextual analysis, but processing time increases

Engineering Contradiction:
Improveanomaly detection precisionVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent segments the log into overlapping windows, where each window is processed independently and in parallel. This segmentation enables precise contextual analysis while reducing processing time through parallelization, as multiple windows can be analyzed simultaneously without requiring sequential processing of the entire log.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses overlapping windows that extend beyond the minimum required context, providing excessive contextual information to improve detection precision. However, this is managed by processing only the necessary portions of the log through the windowing mechanism, balancing precision improvement with acceptable processing time through selective analysis of critical regions.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12386691B1Method and system for detecting anomalous sub- sequences in metadata using rolling windows
Publication Date: 2025.08.12 DELL PROD LP
  • US12386691B1 patent drawing
  • US12386691B1 patent drawing
  • US12386691B1 patent drawing

AI summary

A method for managing an anomaly in a client includes: obtaining, by an analyzer, historical metadata (HM); obtaining, by the analyzer, an error description that is associated with the HM; analyzing, by the analyzer, the HM to generate a first data frame (DF); generating, by the analyzer, a second DF and a third DF based on the first DF, in which the second DF and the third DF are sent to an engine; generating, by the analyzer, a fourth DF based on the first DF and error description, in which the fourth DF is sent to the engine; tuning, by the engine, an anomaly detection model (ADM) to obtain a tuned ADM using: a first target parameter (TP) and the second DF; a second TP and the third DF; a third TP and the fourth DF; and initiating, by the engine, notification of an administrator about the tuned ADM.