Convolution Operator Sub-Multipliers for Mixed-Precision Neural Networks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current neural network technologies face inefficiencies in processing large amounts of input data in real-time, particularly in maintaining accuracy with varying bit lengths during operations, which affects the performance of convolution operations.

Innovation Solution

The method involves determining first-bit and second-bit feature map operands and weight operands from input feature maps and kernels, respectively, and dispatching these operands to decomposed sub-multipliers for parallel processing, optimizing the use of hardware resources by employing different bit precisions and clock-gating zero operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a single multiplier is used for convolution operations, then device complexity is reduced, but productivity decreases due to inability to process different bit precisions in parallel

Engineering Contradiction:
Improveconvolution operation speedVSAvoidmultiplier structure
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent divides a single multiplier into multiple sub-multipliers with different bit precisions (e.g., first sub-multiplier for 8-bit operations, second sub-multiplier for 16-bit operations). This segmentation allows parallel processing of convolution operations with different precision requirements, significantly improving productivity while keeping each sub-multiplier relatively simple in structure.

Inventive Principle:
Principle #1Segmentation

2Manufacturing precision

If full precision multipliers are used, then manufacturing precision is maintained, but use of energy increases due to unnecessary computational operations

Engineering Contradiction:
Improveconvolution accuracyVSAvoidcomputational energy consumption
Core Design Contradiction:
Manufacturing precisionVSUse of energy by moving object

Solution Approach 1:

The patent applies different bit precisions to different sub-multipliers based on the specific requirements of the convolution operation. For example, less critical computations use lower precision (8-bit) to reduce energy consumption, while critical computations use higher precision (16-bit) to maintain accuracy. This local optimization of precision levels balances manufacturing precision with energy efficiency.

Inventive Principle:
Principle #3Local quality

3Adaptability or versatility

If varying bit lengths are used during operations, then adaptability improves, but device complexity increases due to need for multiple precision handlers

Engineering Contradiction:
Improvebit precision flexibilityVSAvoidprecision management structure
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent designs the convolution operator to universally handle multiple bit precisions through dedicated sub-multipliers. Each sub-multiplier is optimized for a specific precision level, but the overall operator can process mixed-precision operations in parallel. This universal design provides adaptability for different neural network layers and operations without requiring complex dynamic precision management logic.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20240362471A1Method and apparatus for processing convolution operation in neural network using sub-multipliers
Publication Date: 2024.10.31 SAMSUNG ELECTRONICS CO LTD
  • US20240362471A1 patent drawing
  • US20240362471A1 patent drawing
  • US20240362471A1 patent drawing

AI summary

Provided are a method and apparatus for processing a convolution operation in a neural network, the method includes determining a precision of feature map operands and a precision of weight operands, respectively, on which the convolution operation is to be performed in parallel, decomposing a multiplier included in a convolution operator into sub-multipliers based on the precision of the feature map operands and the precision of the weight operands, performing the convolution operation between the feature map operands and the weight operands by using the decomposed sub-multipliers, each operand being processed in a sub-multiplier corresponding to a precision of the operand, and obtaining output feature maps corresponding to results of the convolution operation.