Anomaly Detection Model Sanity Check via Traffic Mixing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing anomaly detection systems in computer networks face challenges in distinguishing between normal and anomalous traffic patterns, particularly in identifying Denial of Service (DoS) attacks, as they often learn over time and may incorporate malicious behaviors into their baseline models, making it difficult to detect subsequent anomalies.

Innovation Solution

A sanity check mechanism is implemented by mixing known anomalous traffic samples with observed network traffic, allowing the system to verify if learned anomalies are correctly detected, and if not, prompting a retraining of the anomaly detection model to ensure accurate identification of malicious activities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the anomaly detection model learns over time from observed network traffic, then it adapts to normal traffic patterns, but it may accidentally incorporate malicious behaviors into its baseline model, reducing detection accuracy

Engineering Contradiction:
Improveadaptability to normal traffic patternsVSAvoiddetection accuracy
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system performs preliminary classification of traffic samples into normal and anomalous categories before training. By pre-labeling training data with known anomaly types (such as DoS attacks) and normal traffic patterns, the model learns from curated datasets rather than blindly adapting to all observed traffic, preventing it from incorporating malicious behaviors into its baseline.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements a feedback mechanism where the anomaly detection model's predictions are evaluated against ground truth labels. The loss function computes the difference between predicted and actual anomaly classifications, providing feedback that guides the model's learning process. This ensures the model continuously improves its detection accuracy while maintaining adaptability to changing traffic patterns.

Inventive Principle:
Principle #23Feedback

2Area of stationary object

If the system uses distributed learning agents across multiple network devices, then detection coverage is improved, but coordination and validation of anomaly detection become more complex

Engineering Contradiction:
Improvedetection coverageVSAvoidcoordination complexity
Core Design Contradiction:
Area of stationary objectVSDevice complexity

Solution Approach 1:

The system merges the anomaly detection capabilities of multiple distributed learning agents into a unified training process. All learning agents share a common anomaly detection model and training framework, allowing them to collectively learn from distributed traffic observations while maintaining consistency through centralized model updates and coordinated validation procedures.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The learning agents implement a universal anomaly detection model that can identify multiple types of anomalies (DoS attacks, botnet traffic, etc.) across different network devices. This multi-functional model serves all detection needs uniformly, simplifying coordination by providing a single detection framework that works consistently across the distributed network infrastructure.

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

3Measurement precision

If the anomaly detection model is trained on real network traffic, then it learns actual traffic patterns, but it cannot distinguish between legitimate and malicious traffic flows, leading to false positives

Engineering Contradiction:
Improvetraffic pattern recognitionVSAvoidmalicious traffic identification
Core Design Contradiction:
Measurement precisionVSDifficulty of detecting and measuring

Solution Approach 1:

The system applies local quality by using different training strategies for different types of traffic samples. Known anomalous traffic (such as botnet or DoS traffic) is used to train specific anomaly detection capabilities, while normal traffic is used to establish baseline behavior. This differentiated approach allows the model to recognize traffic patterns precisely while distinguishing malicious from legitimate flows.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system changes parameters by using labeled traffic data with known anomaly types to train the model. By controlling the composition and labeling of training data (changing the data parameters), the model learns to differentiate between normal and anomalous patterns more effectively, reducing false positives while maintaining high detection precision.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10218727B2Sanity check of potential learned anomalies
Publication Date: 2019.02.26 CISCO TECHNOLOGY INC
  • US10218727B2 patent drawing
  • US10218727B2 patent drawing
  • US10218727B2 patent drawing

AI summary

In one embodiment, a device in a network receives, from a supervisory device, trace information for one or more traffic flows associated with a particular anomaly. The device remaps network addresses in the trace information to addresses of one or more nodes in the network based on roles of the one or more nodes. The device mixes, using the remapped network addresses, the trace information with traffic information regarding one or more observed traffic flows in the network, to form a set of mixed traffic information. The device analyzes the mixed traffic information using an anomaly detection model. The device provides an indication of a result of the analysis of the mixed traffic information to the supervisory device.