Attention Vector Generation Using Local Receptive Field

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing attention mechanisms in convolutional neural networks (CNNs) face a trade-off between processing efficiency and inference accuracy, particularly when extracting complex relationships across multiple regions and feature dimensions.

Innovation Solution

The proposed technique implements an attention mechanism through a feature transformation process with a local receptive field, allowing for efficient attention application by acquiring an attention vector and applying it to the input data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If self-attention mechanism processes all region combinations to extract complex relationships, then inference accuracy is improved, but processing amount and computational cost increase significantly

Engineering Contradiction:
Improveinference accuracyVSAvoidprocessing amount
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent divides the input data into multiple regions and processes them in a segmented manner using window-based self-attention. Instead of processing all region combinations simultaneously, the system divides the sequence into windows of size w, processes each window independently, and then combines the results. This segmentation reduces the computational complexity from O(N^2) to O(N*w) where N is the total number of elements.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial self-attention by only processing certain region combinations within each window rather than all possible combinations across the entire input. The window-based approach selectively processes local relationships while maintaining global context through overlapping windows, achieving a balance between computational efficiency and relationship extraction completeness.

Inventive Principle:
Principle #16Partial or excessive action

2Productivity

If attention mechanism uses fixed weight for feature extraction, then computational cost is reduced, but adaptability to different input features deteriorates

Engineering Contradiction:
Improvecomputational costVSAvoidadaptability to input features
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic weight adjustment through self-attention mechanisms that compute attention weights based on the input data itself. The attention weights are calculated as softmax(QK^T/√d) where Q and K are query and key projections of the input features. This allows the model to automatically adapt to different input patterns and prioritize important features dynamically, replacing fixed weight approaches with data-driven adaptive weights.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20250139933A1Information processing apparatus, information processing method, and non-transitory computer-readable storage medium
Publication Date: 2025.05.01 CANON KK
  • US20250139933A1 patent drawing
  • US20250139933A1 patent drawing
  • US20250139933A1 patent drawing

AI summary

An information processing apparatus comprises an acquisition unit configured to acquire input data, and an application unit configured to obtain an attention vector by performing a feature transformation process having a local receptive field on the input data, and apply attention to the input data based on the input data and the attention vector.