Low-Complex Global Attention Generator for Tile-Based Image Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Complex deep learning networks require high computational resources and power consumption, making them unsuitable for electronic devices with limited resources, and integrating global attention into hardware accelerators is challenging due to memory and quality constraints.

Innovation Solution

A low-complex neural network is implemented in an electronic device with a hardware accelerator for memory-efficient computation of global attention, allowing tile-based processing of full-size images without compromising quality, and a switchable network architecture to turn global attention on/off based on use case requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If complex deep learning networks are used for image/video processing, then processing quality and performance are improved, but computational resource consumption and power usage increase significantly

Engineering Contradiction:
Improveprocessing qualityVSAvoidpower consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent divides the full image into multiple tiles that can be processed independently in parallel, reducing the computational burden on each processing unit while maintaining overall processing quality through aggregation of tile-level results

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If global attention mechanism is integrated into hardware accelerator, then processing quality is improved, but memory requirements and device complexity increase

Engineering Contradiction:
Improveprocessing qualityVSAvoiddevice complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The global attention computation is segmented into tile-level operations where each tile processes local regions independently, then combines results to achieve global attention effects without requiring the hardware accelerator to handle the entire image at once, thus reducing memory and complexity requirements

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies approximate global attention by computing attention for each tile separately rather than computing exact global attention across the entire image, achieving sufficient processing quality with reduced computational complexity and memory usage

Inventive Principle:
Principle #16Partial or excessive action

3Use of energy by moving object

If tile-based processing is used in hardware accelerator, then power consumption and complexity are reduced, but receptive field is limited and processing quality deteriorates

Engineering Contradiction:
Improvepower consumptionVSAvoidprocessing quality
Core Design Contradiction:
Use of energy by moving objectVSMeasurement precision

Solution Approach 1:

The patent merges tile-level processing results to reconstruct global attention maps, combining local processing efficiency with global contextual understanding, thereby maintaining processing quality while benefiting from reduced power consumption and complexity of tile-based operations

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS20230351719A1Method and electronic device for determining optimal global attention in deep learning model
Publication Date: 2023.11.02 SAMSUNG ELECTRONICS CO LTD
  • US20230351719A1 patent drawing
  • US20230351719A1 patent drawing
  • US20230351719A1 patent drawing

AI summary

An electronic device for determining global attention in a deep learning model is provided. The electronic device includes a hardware accelerator, a low-complex global attention generator, a parallel switch, and a series switch. The hardware accelerator is configured to process each tile of a full-frame image and the low complex global attention generator is configured to generate a channel attention map of the full-frame image. The parallel switch is configured to bypass a connection of the channel attention map with the hardware accelerator and a series switch, configured to gate the connection of the channel attention map with the hardware accelerator.