Fidelity Metric for Attribution-Based Anomaly Detection Explainers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing machine learning (ML) explainability techniques face challenges in evaluating the quality of attribution-based methods, particularly in complex models like deep learning, where human-centered evaluations are time-consuming and unreliable, and functionally-grounded methods lack direct empirical measurement of explanation quality, especially for opaque models.

Innovation Solution

A novel fidelity metric for explainers based on feature attribution that is model-agnostic and explainer-agnostic, allowing for empirical evaluation of explanation quality by artificially creating anomalous datapoints through perturbation, which assesses the capability to identify anomalous features and provides a quantifiable measure of explanation quality without requiring prior labels or scores.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If human-centered evaluation methods are used to assess explanation quality, then reliability of evaluation may be improved, but time consumption and cost increase significantly

Engineering Contradiction:
Improveevaluation reliabilityVSAvoidevaluation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent creates artificial anomalous datapoints by perturbing features of existing data points, generating synthetic test cases that copy the structure and characteristics of real anomalies. This allows automated evaluation without requiring actual human analysts, thus resolving the contradiction between reliable evaluation and time consumption.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The evaluation method uses the anomaly detection model itself and automated fidelity calculations to assess explanation quality, rather than requiring external human evaluators. The system self-evaluates by comparing attribution explanations against known perturbed features, eliminating the time and cost burden of human-centered evaluation while maintaining evaluation reliability.

Inventive Principle:
Principle #25Self-service

2Measurement precision

If axiomatic evaluation methods are used, then theoretical properties are satisfied, but direct empirical measurement of explanation quality is lost

Engineering Contradiction:
Improveexplanation quality measurementVSAvoidevaluation method complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the evaluation process into distinct components: (1) generating artificial anomalies through feature perturbation, (2) obtaining explanations from the anomaly detection model, and (3) calculating fidelity metrics by comparing explanations against known perturbed features. This segmentation enables direct empirical measurement while managing complexity through modular, systematic evaluation steps.

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If evaluation methods for opaque models are developed, then applicability to deep learning models is improved, but interpretation of model operation becomes more difficult

Engineering Contradiction:
Improvemodel applicabilityVSAvoidexplanation quality assessment
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent introduces artificial anomalous datapoints as intermediaries between the opaque anomaly detection model and the evaluation process. These synthetic test cases with known ground truth (the perturbed features) serve as a mediator that enables measurement of explanation quality without requiring interpretation of the model's internal operations, thus resolving the contradiction between model applicability and assessment difficulty.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20240037383A1Validation metric for attribution-based explanation methods for anomaly detection models
Publication Date: 2024.02.01 ORACLE INT CORP
  • US20240037383A1 patent drawing
  • US20240037383A1 patent drawing
  • US20240037383A1 patent drawing

AI summary

Herein are machine learning (ML) explainability (MLX) techniques for calculating and using a novel fidelity metric for assessing and comparing explainers that are based on feature attribution. In an embodiment, a computer generates many anomalous tuples from many non-anomalous tuples. Each anomalous tuple contains a perturbed value of a respective perturbed feature. For each anomalous tuple, a respective explanation is generated that identifies a respective identified feature as a cause of the anomalous tuple being anomalous. A fidelity metric is calculated by counting correct explanations for the anomalous tuples whose identified feature is the perturbed feature. Tuples may represent entries in an activity log such as structured query language (SQL) statements in a console output log of a database server. This approach herein may gauge the quality of a set of MLX explanations for why log entries or network packets are characterized as anomalous by an intrusion detector or other anomaly detector.