Unsupervised ML Model Evaluation via Benchmarking and Mean Average Precision

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Evaluating and comparing the performance of unsupervised or semi-supervised machine learning models for anomaly detection is challenging due to the rarity of outlier events and the lack of labeled datasets, making it difficult to assess their effectiveness in detecting multiple types of anomalies.

Innovation Solution

A method is introduced that involves generating benchmarking datasets with a larger number of negative samples compared to positive samples for each type of anomalous activity, training and cross-validating machine learning models using these datasets, and computing mean average precision to rank candidate algorithms for deployment in anomaly detection systems.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If unsupervised or semi-supervised machine learning models are used for anomaly detection, then the system can operate without extensive labeled data, but the evaluation and comparison of model performance becomes difficult due to lack of labeled datasets

Engineering Contradiction:
Improveease of model deploymentVSAvoidperformance evaluation accuracy
Core Design Contradiction:
Ease of manufactureVSMeasurement precision

Solution Approach 1:

The patent introduces an intermediary evaluation framework that uses a small amount of labeled data combined with unsupervised learning techniques to assess model performance. This intermediary approach bridges the gap between fully supervised evaluation (which requires extensive labeled data) and completely unsupervised operation (which lacks evaluation capability), enabling performance measurement without requiring large labeled datasets for deployment

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent performs preliminary evaluation actions by training models on available labeled data and then using cross-validation with synthetic or semi-labeled datasets to assess performance before full deployment. This preliminary evaluation allows the system to compare different unsupervised models using metrics like average precision computed from limited labeled validation sets, enabling informed model selection without extensive labeling

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If multiple types of anomalies are detected, then the system coverage is improved, but the variability in performance metrics increases making fair comparison difficult

Engineering Contradiction:
Improveanomaly type coverageVSAvoidperformance metric stability
Core Design Contradiction:
Adaptability or versatilityVSStability of the object's composition

Solution Approach 1:

The patent segments the evaluation process by computing separate average precision metrics for each anomaly type individually, then aggregating these segmented results. This segmentation allows the system to evaluate performance on each anomaly type separately (improving adaptability) while maintaining stable comparison through consistent metric computation and aggregation across all types

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the evaluation parameter from raw detection counts to average precision metrics that are normalized and comparable across different anomaly types. By using average precision as the standard parameter and computing it consistently across multiple anomaly types, the system achieves both versatile coverage and stable, fair comparison of model performance

Inventive Principle:
Principle #35Parameter changes

3Reliability

If the number of positive samples is small compared to negative samples, then the system reflects real-world anomaly rarity, but the statistical reliability of performance metrics decreases

Engineering Contradiction:
Improverealism of anomaly detectionVSAvoidperformance metric reliability
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

The patent implements feedback through cross-validation where the model's performance on the small positive samples is repeatedly evaluated and averaged. This feedback mechanism accumulates statistical evidence across multiple validation folds, improving the reliability of performance metrics despite the small number of positive samples, while maintaining the realistic class imbalance

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11367022B2System and method for evaluating and deploying unsupervised or semi-supervised machine learning models
Publication Date: 2022.06.21 AMADEUS SAS
  • US11367022B2 patent drawing
  • US11367022B2 patent drawing
  • US11367022B2 patent drawing

AI summary

Methods of evaluating and deploying machine learning models for anomaly detection of a monitored system and related systems. Candidate machine learning algorithms are configured for anomaly detection of the monitored system. For each combination of candidate machine learning algorithm with type of anomalous activity, training and cross-validation sets are drawn from a benchmarking dataset. Using each of the training and cross-validation sets, a machine-learning model is trained and validated using the cross-validation set with average precision as a performance metric. A mean average precision value is then computed across these average precision performance metrics. A ranking value is computed for each candidate machine learning algorithm, and a machine learning algorithm is selected from the candidate machine learning algorithms based upon the computed ranking values. The selected machine learning model is deployed to a monitoring system that executes the deployed machine learning model to detect anomalies of the monitored system.