Network Anomaly Detection via Metric Space Clustering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for detecting network anomalies, such as signature-based detection and Deep Packet Inspection (DPI), are inadequate in identifying novel threats and are resource-intensive, privacy-invasive, and inefficient with encrypted data, leading to low recall rates and high computational costs.

Innovation Solution

A network anomaly detection system that models network communication in metric space using unsupervised machine learning to generate dynamic groupings of normal clusters, identifying abnormal data points as outliers, and incorporates an enrichment component for continuous adaptation and dimensionality reduction.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If signature-based detection and Deep Packet Inspection (DPI) are used to detect network anomalies, then detection capability is provided, but computational resources are excessively consumed and recall rates remain low

Engineering Contradiction:
Improveanomaly detection capabilityVSAvoidcomputational resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts and analyzes only specific metadata features from network traffic (such as packet size, inter-arrival times, flow duration) rather than inspecting entire packet contents. This selective extraction of relevant features reduces computational overhead while maintaining detection effectiveness, directly addressing the contradiction between detection capability and resource consumption.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent replaces traditional mechanical inspection methods (signature matching and DPI) with machine learning-based anomaly detection. The system trains models on historical traffic patterns and uses these models to automatically identify anomalies, substituting resource-intensive manual inspection with more efficient automated pattern recognition that consumes fewer computational resources.

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

2Measurement precision

If Deep Packet Inspection (DPI) is used to inspect every payload, then detection precision may improve, but privacy is violated and encrypted data cannot be effectively processed

Engineering Contradiction:
Improvedetection precisionVSAvoidprivacy
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent extracts only metadata from network packets (such as source/destination addresses, packet sizes, timing information) while deliberately leaving the actual payload content un inspected. This extraction approach maintains detection precision by analyzing traffic patterns without violating user privacy or requiring decryption of encrypted data, directly resolving the contradiction between precision and privacy protection.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If traditional anomaly detection methods are used, then known threats can be detected, but novel threats and zero-day attacks cannot be identified

Engineering Contradiction:
Improvedetection of known threatsVSAvoiddetection of novel threats
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic anomaly detection using machine learning models that continuously adapt to new traffic patterns. The system learns from historical data and evolves its detection criteria over time, enabling it to identify novel threats and zero-day attacks that static signature-based systems cannot detect, while maintaining effectiveness against known threats through continuous model updates.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the detection parameters from fixed signature patterns to dynamic statistical thresholds and machine learning-derived features. By analyzing deviations from learned normal behavior patterns rather than matching against predefined signatures, the system gains adaptability to detect novel threats while maintaining reliability for known attack patterns through the learned baseline behavior.

Inventive Principle:
Principle #35Parameter changes

4Productivity

If signature-based detection is used to match known patterns, then detection speed is maintained, but recall rates are low and novel threats are missed

Engineering Contradiction:
Improvedetection speedVSAvoidrecall rate
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent performs preliminary action by pre-training machine learning models on extensive historical traffic data to establish baseline normal behavior patterns. This preliminary training enables the system to quickly evaluate new traffic against learned patterns without requiring time-consuming analysis, maintaining high detection speed while improving recall rates through the comprehensive understanding of normal vs. anomalous behavior embedded in the trained models.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11930039B1Metric space modeling of network communication
Publication Date: 2024.03.12 AMAZON TECH INC
  • US11930039B1 patent drawing
  • US11930039B1 patent drawing
  • US11930039B1 patent drawing

AI summary

Devices and techniques are generally described for detection of network anomalies. In various examples, first data describing network communication between a plurality of source entities and a plurality of destination entities may be received. In some examples, respective feature data representing network communication between a respective source entity and one or more of the plurality of destination entities may be generated. In some examples, an unsupervised machine learning model may be used to determine a first number of clusters of the feature data. In various cases, a first source entity that is an outlier with respect to the first number of clusters may be determined based at least in part on the first number of clusters. The first source entity may be classified as an anomalous entity.