Bit-Slice Matrix Multiply Accelerator for Variable Bitwidth Operands

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

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

Innovation Solution

The system employs an array of bitslice dot product (BSDP) units to generate bit slice vectors for each matrix based on its bit resolution, allowing for efficient multiplication of matrices with variable bit-width operands by performing bit-wise operations and accumulating results efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

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

Engineering Contradiction:
Improvepower efficiencyVSAvoidvariable bit-width processing efficiency
Core Design Contradiction:
Loss of energyVSAdaptability or versatility

Solution Approach 1:

The patent segments the multiplication operation into bit-slice operations. Each BSDP unit processes one bit of the multiplier operand at a time, dividing the fixed-resolution MAC unit into multiple specialized bit-slice units that can efficiently handle different bit-widths without wasting resources on unused bits.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamic bit-width handling through the BSDP unit architecture, where the number of active bit-slice operations can be dynamically adjusted based on the actual bit-width of the operands being processed, allowing the system to adapt between different precision requirements.

Inventive Principle:
Principle #15Dynamics

2Area of stationary object

If fixed-resolution MAC units are used in MMAs, then area efficiency is maximized, but resource utilization for variable bit-width operands deteriorates

Engineering Contradiction:
Improvearea efficiencyVSAvoidvariable bit-width processing efficiency
Core Design Contradiction:
Area of stationary objectVSAdaptability or versatility

Solution Approach 1:

The patent segments the multiplication operation into bit-slice operations. Each BSDP unit processes one bit of the multiplier operand at a time, dividing the fixed-resolution MAC unit into multiple specialized bit-slice units that can efficiently handle different bit-widths without wasting resources on unused bits.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by making each bit-slice unit specialized for processing a specific bit position, allowing each unit to be optimized for its specific function rather than requiring a single large fixed-resolution unit that must handle all possible bit-widths.

Inventive Principle:
Principle #3Local quality

3Adaptability or versatility

If wide datapaths are used to handle variable bit-widths, then adaptability is improved, but resource usage and processing efficiency deteriorate

Engineering Contradiction:
Improvevariable bit-width supportVSAvoidresource usage
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent segments the multiplication operation into bit-slice operations. Each BSDP unit processes one bit of the multiplier operand at a time, dividing the fixed-resolution MAC unit into multiple specialized bit-slice units that can efficiently handle different bit-widths without wasting resources on unused bits.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the operational parameters of the multiplication unit by using variable numbers of bit-slice operations based on the input bit-width, rather than maintaining a fixed wide datapath that operates at full capacity regardless of actual needs.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20230108629A1Matrix Multiply Accelerator For Variable Bitwidth Operands
Publication Date: 2023.04.06 ARM LTD
  • US20230108629A1 patent drawing
  • US20230108629A1 patent drawing
  • US20230108629A1 patent drawing

AI summary

A system and method for multiplying first and second matrices are provided. For the first matrix, a number of bit slice vectors for each row are generated based on the bit resolution, and a first bit slice tensor is generated based on the bit slice vectors for each row. For the second matrix, a number of bit slice vectors for each column are generated based on the bit resolution, and a second bit slice tensor is generated based on the bit slice vectors for each row. The first and second bit slice tensors are multiplied by a matrix multiply accelerator (MMA) to generate an output matrix.