Neural Network Models for API Gateway Anomaly Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In complex gateway architectures, anomaly detection becomes unmanageable due to the overwhelming number of service requests, making it difficult for engineering teams to identify and resolve issues in a timely manner.

Innovation Solution

The implementation of a system utilizing multiple small neural networks that can be trained and retrained quickly, processing streaming data in parallel to detect anomalies in real-time, with each network associated with a specific service and using metadata to determine the features for training and anomaly detection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If a single deep neural network is used for anomaly detection, then the system can process large amounts of data, but the training time and processing power requirements become unmanageably high

Engineering Contradiction:
Improvedata processing capacityVSAvoidtraining time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent divides a single deep neural network into multiple smaller neural networks, each responsible for detecting anomalies in specific services. This segmentation reduces the computational burden on each individual network, enabling faster training and inference while maintaining the ability to process large volumes of data across all services collectively.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimension of organization by grouping neural networks according to services rather than using a single monolithic network. This dimensional change allows parallel processing of data from different services, effectively increasing data processing capacity while reducing the time required to train each individual network model.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Quantity of substance

If a single deep neural network is used for anomaly detection, then the system can process large amounts of data, but the processing power requirements become excessive

Engineering Contradiction:
Improvedata processing capacityVSAvoidprocessing power
Core Design Contradiction:
Quantity of substanceVSPower

Solution Approach 1:

The patent segments the processing workload across multiple smaller neural networks, each handling a subset of services. This distribution reduces the processing power required by any single network while maintaining the overall data processing capacity of the system through parallel operation of multiple networks.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent merges multiple specialized neural networks into a unified anomaly detection system that collectively processes data from all services. This merging allows the system to maintain high data processing capacity while each individual network operates within reasonable processing power constraints.

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If traditional anomaly detection methods are used in complex gateway architectures, then engineering teams can monitor error messages, but the effort becomes unmanageable with large numbers of services

Engineering Contradiction:
Improveanomaly detection capabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements self-service anomaly detection by training neural networks to automatically identify and flag anomalous patterns in service data. This eliminates the need for manual monitoring of error messages by engineering teams, allowing the system to reliably detect anomalies across large numbers of services without increasing operational complexity.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces manual anomaly detection mechanisms with automated neural network-based detection. This substitution transforms the mechanical process of human engineers reviewing error messages into an automated system that can handle complex gateway architectures with numerous services, maintaining reliability while reducing operational burden.

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

4Quantity of substance

If a deep neural network with backpropagation is used, then the network can learn from large quantities of data, but retraining with additional data remains time-consuming

Engineering Contradiction:
Improvetraining data volumeVSAvoidretraining time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent segments the training process across multiple smaller neural networks, each trained on data from specific services. This allows for more efficient retraining when new data becomes available, as individual networks can be updated independently and in parallel, reducing the overall retraining time while still processing large volumes of training data.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11436473B2System and method for detecting anomalies utilizing a plurality of neural network models
Publication Date: 2022.09.06 INTUIT INC
  • US11436473B2 patent drawing
  • US11436473B2 patent drawing
  • US11436473B2 patent drawing

AI summary

API gateway log data of HTTP response information is collected and aggregated for each API service. The log data is streamed and formed into a feature vector. A model training module trains a neural network model based on the feature vector and model metadata. The model training module also retrains the neural network model based on a new feature vector. Neural network model artifacts are stored and used to detect anomalous patterns and generate alerts of the detection.