Blocked Convolution Computing for Variable Neural Network Dimensions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing deep learning neural networks face challenges in optimizing convolution operations due to varying input feature map and weight dimensions, which affect computing performance across different applications, such as speech recognition and image processing.

Innovation Solution

A computing device with a master-slave structure is employed, where input feature maps and convolution kernels are split into splitting units and processed using different data paths, optimizing the convolution operation by adapting to hardware capabilities and utilizing parallel processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If convolution operations are performed with varying input feature map and weight dimensions to support different neural network models, then adaptability is improved, but computing performance deteriorates due to inability to fully utilize hardware capabilities

Engineering Contradiction:
Improveadaptability to different neural network modelsVSAvoidcomputing performance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent divides the input feature map and weight data into multiple blocks along different dimensions (e.g., N, H, W, C dimensions). This segmentation allows the convolution operation to be processed in smaller, manageable units that can be efficiently mapped to hardware processing elements, thereby improving computing performance while maintaining support for various input dimensions through flexible block partitioning strategies.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms the storage dimensions of input data and convolution kernels by changing parameter representations. Specifically, it reorganizes data layout from traditional NHWC or NCHW formats to block-based representations where data is partitioned into manageable units. This parameter transformation enables better utilization of hardware resources by aligning data access patterns with processor architecture, thus improving computing performance across different model configurations.

Inventive Principle:
Principle #35Parameter changes

2Ease of operation

If data of various dimensions is processed without blocking, then ease of operation is maintained, but computing efficiency deteriorates due to mismatch with hardware capabilities

Engineering Contradiction:
Improvesimplicity of processingVSAvoidcomputing efficiency
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent automatically segments input data and kernels into blocks based on their dimensional characteristics. This segmentation is performed through systematic dimension transformation that divides large-dimensional inputs into smaller blocks suitable for hardware processing. The blocking operation simplifies the mapping between data and hardware resources while improving computing efficiency, as hardware can process fixed-size blocks more efficiently than variable-size data.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces blocking dimensions by transforming the original data dimensions into blocked representations. By adding block-level organization to the data structure, it creates an additional dimension of organization that facilitates efficient hardware utilization. This dimensional transformation allows the system to maintain ease of operation through automated blocking while achieving improved computing efficiency through better hardware data alignment.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Productivity

If blocking processing is applied to align data with hardware capabilities, then computing efficiency is improved, but device complexity increases due to additional processing steps

Engineering Contradiction:
Improvecomputing efficiencyVSAvoidprocessing complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements segmentation through a systematic blocking mechanism that divides input data and kernels into standardized blocks. This segmentation approach improves computing efficiency by enabling efficient memory access patterns and parallel processing. The complexity introduced by blocking is managed through automated dimension transformation algorithms that systematically organize data without requiring complex manual intervention, thus balancing the trade-off between efficiency improvement and processing complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies parameter changes by transforming data storage layouts from traditional formats to blocked representations. This transformation involves reorganizing data in memory according to block dimensions, which improves computing efficiency by aligning data access with hardware capabilities. The parameter transformation is performed through systematic dimension reordering and blocking operations that, while adding processing steps, follow consistent algorithms that minimize the increase in overall system complexity.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250342347A1Computing device, method for implementing convolution operation by using computing device, and related product
Publication Date: 2025.11.06 CAMBRICON (XIAN) SEMICON CO LTD
  • US20250342347A1 patent drawing
  • US20250342347A1 patent drawing
  • US20250342347A1 patent drawing

AI summary

The present disclosure provides a computing device, a method for implementing a convolution operation by using a computing device, and related products. The computing device is included in a combined processing device. The combined processing device further includes an interface device and other processing devices. The computing device interacts with other processing devices to jointly complete a computing operation specified by a user. The combined processing device further includes a storage device, which is connected to the computing device and other processing devices respectively and configured to store data of the computing device and other processing devices. A scheme of the present disclosure optimizes the convolution operation and improves operation processing efficiency.