Attention Block for Neural Network Image Compression

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current multimedia transport technologies face challenges in efficiently compressing images and videos using neural networks, particularly in effectively utilizing attention mechanisms for feature extraction and representation, which affects compression efficiency and quality.

Innovation Solution

The proposed solution involves an attention block architecture that includes a set of initial neural network layers, core attention blocks, a concatenation block, and a summation block, utilizing ResNeSt blocks and split-attention mechanisms to process tensors, apply softmax operations, and concatenate outputs to generate a final compressed representation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If standard neural network layers are used for image and video compression, then the basic compression function is achieved, but the feature extraction efficiency and representation quality are insufficient

Engineering Contradiction:
Improvefeature extraction efficiencyVSAvoidnetwork architecture complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The attention block is segmented into distinct functional components: initial neural network layers for feature extraction, core attention blocks for selective feature processing, concatenation blocks for merging features, and summation blocks for residual connection. This segmentation allows each component to specialize in specific feature processing tasks, improving overall feature extraction efficiency while maintaining manageable complexity through modular design.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The attention mechanism applies local quality by selectively processing different features with different levels of attention. The core attention blocks identify and emphasize important features while suppressing less relevant ones, allowing the network to allocate computational resources more effectively to critical features, thereby improving representation quality without uniformly increasing complexity across all features.

Inventive Principle:
Principle #3Local quality

2Manufacturing precision

If attention mechanisms are added to improve feature representation, then compression quality improves, but computational complexity increases

Engineering Contradiction:
Improvecompression qualityVSAvoidcomputational complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The initial neural network layers perform preliminary feature extraction before the attention mechanisms are applied. This preliminary action prepares the features in a form that is more amenable to attention processing, reducing the computational burden on the attention blocks while maintaining the quality improvements that attention provides in the subsequent processing stages.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The attention mechanism is applied selectively to specific features rather than all features uniformly. The core attention blocks process only the most relevant features identified by the initial layers, applying partial action to achieve quality improvements where needed without the excessive computational complexity that would result from applying attention to every feature equally.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of information

If multiple processing blocks are concatenated and summed, then feature representation completeness improves, but processing time increases

Engineering Contradiction:
Improvefeature representation completenessVSAvoidprocessing time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The concatenation blocks merge features from multiple sources (initial layers and core attention blocks) into a unified representation, ensuring completeness by combining complementary information. The summation blocks then integrate these concatenated features with residual connections, maintaining information completeness while reducing processing time by consolidating multiple operations into efficient combined computations rather than sequential processing of separate features.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS20240289590A1Method, apparatus and computer program product for providing an attention block for neural network-based image and video compression
Publication Date: 2024.08.29 NOKIA TECHNOLOGIES OY
  • US20240289590A1 patent drawing
  • US20240289590A1 patent drawing
  • US20240289590A1 patent drawing

AI summary

Various embodiments provide a method, an apparatus, and computer program product. The method comprising: defining an attention block comprising: a set of initial neural network layers, wherein each layer is caused to process an output of a previous layer, and wherein a first layer processes an input of a dense split attention block; core attention blocks process one or more outputs of the set of initial neural network layers; a concatenation block for concatenating one or more outputs of the core attention blocks and at least one intermediate output of the set of initial neural network layers; one or more final neural network layers process at least the output of the concatenation block; and a summation block caused to sum an output of the final neural network layers and an input to the attention block; and providing an output of the summation block as a final output of the attention block.