Mixed-Precision Processing Elements for Neural Network Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing machine learning systems, particularly artificial neural networks, face significant computational challenges due to the large volume of operations required for complex tasks like computer vision and natural language processing, which can tax processing systems and lead to high power consumption and reduced efficiency.

Innovation Solution

The implementation of mixed-precision processing elements that utilize multiple hardware multipliers of varying bit widths to perform multiplication operations, allowing for parallel processing and reducing the need for all multipliers to handle maximum precision levels, thereby decreasing power consumption and increasing processing speed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If all hardware multipliers are designed to handle maximum precision levels, then processing accuracy is maintained, but device area and power consumption increase

Engineering Contradiction:
Improveprocessing accuracyVSAvoiddevice area
Core Design Contradiction:
Measurement precisionVSArea of stationary object

Solution Approach 1:

The patent applies local quality by organizing multipliers into different precision groups (first precision, second precision, third precision) where each group handles specific precision requirements. Not all multipliers use maximum precision - instead, each multiplier's precision is matched to the local needs of the computational task, reducing overall device area while maintaining necessary accuracy.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The multiplier array is segmented into multiple precision groups with different bit widths. The first precision group handles high-precision operations, the second precision group handles medium-precision operations, and the third precision group handles low-precision operations. This segmentation allows the system to allocate computational resources efficiently without requiring all multipliers to operate at maximum precision.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If all hardware multipliers are designed to handle maximum precision levels, then processing accuracy is maintained, but power consumption increases

Engineering Contradiction:
Improveprocessing accuracyVSAvoidpower consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by stationary object

Solution Approach 1:

Each precision group is activated based on the specific computational requirements of the current operation. Low-precision groups consume less power than high-precision groups, allowing the system to dynamically adjust power consumption by selecting appropriate precision levels for different computational tasks while maintaining accuracy where needed.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically selects which precision group to use based on the input data characteristics and computational requirements. This dynamic adaptation allows the processor to optimize power consumption by using lower precision (and thus lower power) when high accuracy is not required, while switching to higher precision groups when accuracy is critical.

Inventive Principle:
Principle #15Dynamics

3Productivity

If more hardware multipliers are included to increase processing speed, then computational throughput improves, but device area increases

Engineering Contradiction:
Improvecomputational throughputVSAvoiddevice area
Core Design Contradiction:
ProductivityVSArea of stationary object

Solution Approach 1:

Each precision group can handle multiple types of operations depending on the precision requirements. The same physical multiplier infrastructure serves multiple precision levels, allowing the system to achieve high computational throughput without proportionally increasing device area. A single multiplier can be configured to operate at different precision levels based on the computational task.

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

Solution Approach 2:

The patent adds a precision dimension to the multiplier architecture, organizing multipliers not just by quantity but by precision level. This creates a multi-dimensional resource allocation strategy where computational throughput is increased by utilizing different precision levels rather than simply adding more full-precision multipliers, thus improving productivity without linearly increasing device area.

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

Data Source

PatentUS10474430B2Mixed-precision processing elements, systems, and methods for computational models
Publication Date: 2019.11.12 META PLATFORMS INC
  • US10474430B2 patent drawing
  • US10474430B2 patent drawing
  • US10474430B2 patent drawing

AI summary

The disclosed method may include (1) receiving a precision level of each weight associated with each input of a node of a computational model, (2) identifying, for each weight, one of a plurality of multiplier groups, where each multiplier group may include a plurality of hardware multipliers of a corresponding bit width, and where the corresponding bit width of the plurality of hardware multipliers of the one of the plurality of multiplier groups may be sufficient to multiply the weight by the associated input, and (3) multiplying each weight by its associated input using an available hardware multiplier of the one of the plurality of multiplier groups identified for the weight. Various other processing elements, methods, and systems are also disclosed.