GAP Layer Directional Contribution Analysis in Class Discriminant Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing class discriminant models using global average pooling (GAP) layers fail to quantify the contribution of feature vectors to the direction of the GAP layer vector, which significantly influences the class discriminant result.

Innovation Solution

A method and computer program to calculate the degree of contribution of each partial region in the immediately preceding layer to the direction of the GAP layer vector by extracting feature vectors and using cosine similarity to determine the influence on the class discriminant result.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If cosine similarity between feature vectors and GAP layer vector is calculated to determine contribution degree, then the contribution of each partial region to the direction of GAP layer vector can be quantified, but the existing method only measures contribution to magnitude rather than direction

Engineering Contradiction:
Improvecontribution degree measurement precisionVSAvoiddirection information loss
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent changes the measurement parameter from magnitude-based contribution degree to direction-based contribution degree. Specifically, it uses cosine similarity to measure the angular relationship between feature vectors and the GAP layer vector, thereby capturing directional contribution information that was previously lost. This parameter change enables precise measurement of how each partial region contributes to the direction of the GAP layer vector, which is critical for class discriminant problems.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If the degree of contribution to the magnitude of the GAP layer vector is obtained, then the contribution of feature vectors can be quantified, but the direction information reflected in class discriminant results cannot be captured

Engineering Contradiction:
Improvecontribution degree quantificationVSAvoiddirectional contribution information
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent transitions from measuring contribution to magnitude to measuring contribution to direction by utilizing cosine similarity. This parameter change allows the system to capture how each partial region's feature vector aligns with the GAP layer vector's direction, which directly impacts class discriminant results. The cosine similarity metric specifically measures angular relationship, thereby preserving directional information that magnitude-based measurements cannot capture.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250259040A1Method and computer program for performing processing related to class discriminant model including gap layer
Publication Date: 2025.08.14 SEIKO EPSON CORP
  • US20250259040A1 patent drawing
  • US20250259040A1 patent drawing
  • US20250259040A1 patent drawing

AI summary

A method of the present disclosure includes (a) a step for inputting input data to a class discriminant model to obtain an operation result of the class discriminant model, (b) a step for extracting a plurality of feature vectors in a plurality of partial regions constituting an immediately preceding layer disposed immediately before a GAP layer, and a GAP layer vector being output of the GAP layer, and (c) a step for calculating a degree of contribution of each of the plurality of partial regions related to a direction of the GAP layer vector using the plurality of feature vectors and the GAP layer vector.