One-Bit Dot Product Array for Variable-Bitwidth Matrix Multiply

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional matrix multiplication accelerators (MMAs) are inefficient when handling matrices with varying bit-widths, as they use fixed-resolution MAC units, leading to wasted resources and reduced efficiency in processing operations with narrower bit-width operands.

Innovation Solution

The system employs an array of one-bit dot product units or processors to efficiently multiply matrices with variable bit-width operands by processing bitslices, allowing for efficient computation across different bit-widths without the inefficiencies of wide datapaths.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Use of energy by moving object

If fixed-resolution MAC units are used in MMAs, then power and area efficiency are maximized, but processing efficiency deteriorates when handling variable bit-width operands

Engineering Contradiction:
Improvepower efficiencyVSAvoidprocessing efficiency
Core Design Contradiction:
Use of energy by moving objectVSProductivity

Solution Approach 1:

The patent segments the multiplication operation into bit-level operations using one-bit dot product units. Each unit processes individual bits of operands, and multiple units work in parallel to compute the full product. This segmentation allows the system to handle variable bit-width operands efficiently without requiring fixed-resolution MAC units, thereby resolving the contradiction between power efficiency and processing efficiency for variable precision operations.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from processing operands in their original bit-width dimension to processing them in a bit-level dimension. By decomposing multi-bit operands into individual bits and processing them through one-bit units, the system achieves variable precision support without the overhead of fixed-resolution hardware, improving processing efficiency while maintaining power efficiency.

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

2Device complexity

If fixed-resolution MAC units are used in MMAs, then hardware simplicity is maintained, but resource waste increases when processing narrower bit-width operands

Engineering Contradiction:
Improvehardware simplicityVSAvoidresource waste
Core Design Contradiction:
Device complexityVSLoss of substance

Solution Approach 1:

The patent segments the MAC unit into multiple one-bit dot product units that can be selectively activated. Instead of using a single fixed-resolution unit that processes all operands at maximum precision, the system uses multiple fine-grained units that can be configured to match the actual bit-width requirements of the operands, eliminating resource waste while maintaining hardware simplicity through modular design.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamic configurability to the hardware architecture. The number of active one-bit dot product units can be dynamically adjusted based on the bit-width of the operands being processed. This dynamic adaptation allows the system to optimize resource utilization for each operation, preventing resource waste when processing narrower bit-width operands while maintaining overall hardware simplicity.

Inventive Principle:
Principle #15Dynamics

3Adaptability or versatility

If variable precision support is added to MMAs, then adaptability improves, but device complexity increases

Engineering Contradiction:
Improvevariable precision supportVSAvoiddevice complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent achieves variable precision support by segmenting the computation into independent one-bit dot product units. This segmentation provides adaptability because the system can selectively activate the required number of units based on operand precision requirements, without needing complex control logic or reconfigurable arithmetic units. The modular segmented architecture enables precision adaptation while keeping device complexity low.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20230103312A1Matrix Multiply Accelerator for Variable Bitwidth Operands
Publication Date: 2023.04.06 ARM LTD
  • US20230103312A1 patent drawing
  • US20230103312A1 patent drawing
  • US20230103312A1 patent drawing

AI summary

A processor, computer based method and apparatus for performing matrix multiplication are provided. The processor obtains a first bitslice vector comprising m elements, obtains a second bitslice vector comprising n elements, provides at least one element of the first bitslice vector as a first input to a single bit dot product unit, provides at least one element of the second bit-slice vector as a second input to the single-bit dot product unit, and obtains, from the single-bit dot product unit, an output comprising at least a partial dot product of the first and second bitslice vectors.