Hardware Multiplier Bypassing Zero-Value Multiplications

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing hardware solutions for neural networks face challenges in achieving high computational performance with low power consumption, particularly in matrix multiplication operations, which are common and computationally intensive, leading to significant power wastage due to zero-result multiplications.

Innovation Solution

A hardware matrix multiplier system that detects zero inputs and bypasses unnecessary multiplications by disabling operand register updates and using a zero-value signal to output a zero result, reducing power consumption and improving efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If hardware multiplication is performed for all operations in neural networks, then computational performance is improved, but power consumption increases due to zero-result multiplications

Engineering Contradiction:
Improvecomputational performanceVSAvoidpower consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent extracts and identifies zero-value operands from the multiplication operation before execution. By detecting zero inputs and removing them from the computation pipeline, the system avoids performing unnecessary multiplication operations, thereby reducing power consumption while maintaining computational throughput.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent implements preliminary detection of zero-value operands before the multiplication operation is executed. This preliminary action allows the system to bypass the multiplication unit when zeros are detected, preventing wasted energy consumption on operations that would produce zero results anyway.

Inventive Principle:
Principle #10Preliminary action

2Use of energy by moving object

If zero-value multiplications are bypassed, then power consumption is reduced, but hardware complexity increases due to detection logic

Engineering Contradiction:
Improvepower consumptionVSAvoidhardware complexity
Core Design Contradiction:
Use of energy by moving objectVSDevice complexity

Solution Approach 1:

The patent applies zero-detection logic selectively at specific points in the computation pipeline where operands are available, rather than implementing a complex global control system. This localized approach adds minimal hardware overhead while achieving significant power savings by focusing detection efforts only where necessary.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces a simple intermediary detection mechanism that sits between the input operands and the multiplication unit. This intermediary component detects zero values and generates control signals to bypass the multiplication operation, adding minimal complexity while effectively reducing power consumption.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11614920B2Bypassing zero-value multiplications in a hardware multiplier
Publication Date: 2023.03.28 META PLATFORMS INC
  • US11614920B2 patent drawing
  • US11614920B2 patent drawing
  • US11614920B2 patent drawing

AI summary

A device (e.g., integrated circuit chip) includes a first operand register, a second operand register, a multiplication unit, and a hardware logic component. The first operand register is configured to store a first operand value. The second operand register is configured to store a second operand value. The multiplication unit is configured to at least multiply the first operand value with the second operand value. The hardware logic component is configured to detect whether a zero value is provided and in response to a detection that the zero value is being provided: cause an update of at least the first operand register to be disabled, and cause a result of a multiplication of the first operand value with the second operand value to be a zero-value result.