Saliency Mask Generation for Black Box Model Interpretation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Machine learning models lack explanatory capabilities, as they perform as black boxes, making it difficult to understand why they classify inputs or identify weaknesses, especially when trained with limited data or millions of parameters, and ground truth-based metrics fail to account for external influences.

Innovation Solution

A system that generates saliency masks by iteratively optimizing a perturbed input using a classification term, sparsity term, and smoothness term, while keeping model parameters constant, to reveal the regions of input that contribute to classification decisions, thereby explaining model behavior and locating objects without localization information.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If machine learning models are trained with limited data or millions of parameters, then classification accuracy is improved, but explanatory capability deteriorates

Engineering Contradiction:
Improveclassification accuracyVSAvoidexplanatory capability
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent introduces saliency maps as an intermediary component that bridges the gap between the black-box model and human understanding. The saliency map generation module creates visual representations showing which input regions most influence classification decisions, providing explanatory capability without affecting the model's internal parameters or training data requirements

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces traditional ground truth-based evaluation metrics with a perturbation-based saliency analysis system. Instead of relying on manually annotated ground truth data to explain model decisions, the system uses automated perturbation of input data and measurement of classification changes to generate explanatory saliency maps

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

2Measurement precision

If ground truth-based metrics are used to evaluate model performance, then classification accuracy is measured, but ability to account for external influences deteriorates

Engineering Contradiction:
Improveclassification accuracy measurementVSAvoidability to account for external influences
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent applies partial action by focusing saliency analysis on specific input regions rather than requiring complete ground truth annotation of all relevant factors. The perturbation method selectively modifies certain input areas to determine their influence, capturing external influences without needing comprehensive ground truth data

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent changes the evaluation parameter from static ground truth comparison to dynamic perturbation response measurement. By systematically varying input parameters and observing classification changes, the system can account for external influences that ground truth-based metrics would miss

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If saliency metric optimization is performed with multiple terms (classification, sparsity, smoothness), then quality of saliency masks is improved, but computational complexity increases

Engineering Contradiction:
Improvequality of saliency masksVSAvoidcomputational complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent segments the complex optimization problem into three distinct terms: classification accuracy term, sparsity term, and smoothness term. Each term addresses a specific aspect of saliency map quality, allowing the optimization to systematically improve multiple qualities simultaneously while maintaining manageable computational complexity through modular term design

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11568183B2Generating saliency masks for inputs of models using saliency metric
Publication Date: 2023.01.31 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11568183B2 patent drawing
  • US11568183B2 patent drawing
  • US11568183B2 patent drawing

AI summary

An example system includes a processor to receive an input and a model trained to classify inputs. The processor is to iteratively generate a perturbed input that optimizes a saliency metric including a classification term, a sparsity term, and a smoothness term, while keeping parameters of the model constant. The processor is to also detect that a predefined number of iterations is exceeded or a convergence of values of the perturbed input. The processor is to further generate a saliency mask based on a perturbation of the perturbed input in response to detecting the predefined number of iterations is exceeded or the convergence.