Variable-bitwidth matrix multiplication

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing matrix multiplication methods are limited by fixed bitwidth capabilities, leading to inefficiencies in computational cost, hardware footprint, and flexibility, particularly in applications requiring variable bitwidth operations.

Innovation Solution

A processor device and method for performing variable-bitwidth matrix multiplication using dot product hardware and programmable adder hardware to combine dot products based on target bitwidths, allowing for flexible bitwidth operations through techniques like trace operations and scaling based on bit positions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If fixed bitwidth matrix multiplication methods are used, then hardware implementation is simpler, but computational cost and hardware footprint increase for variable precision operations

Engineering Contradiction:
Improvebitwidth flexibilityVSAvoidhardware complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the matrix multiplication operation into multiple dot product operations, each operating at a lower first bitwidth. These segmented dot products are then combined through addition operations to achieve the target bitwidth. This segmentation allows the hardware to perform simpler operations that can be composed to achieve complex variable-bitwidth functionality without requiring dedicated hardware for each bitwidth level.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a universal matrix multiplication device that can handle multiple target bitwidths (e.g., 8-bit, 16-bit, 32-bit) using the same underlying dot product hardware operating at a fixed first bitwidth. The programmable adder hardware can be configured to combine dot products in different patterns to achieve various target bitwidths, making the hardware multi-functional and adaptable to different precision requirements without redesigning the core computation units.

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

2Measurement precision

If higher bitwidth operations are performed directly, then precision is improved, but computational cost and hardware resource utilization increase

Engineering Contradiction:
Improvecomputation precisionVSAvoidcomputational efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent employs dynamic bitwidth management where the system performs computations at an optimal first bitwidth (e.g., 1-bit) and dynamically combines results through programmable adder hardware to achieve the required target bitwidth. This dynamic approach allows the hardware to operate efficiently at lower bitwidths while still delivering high-precision results when needed, adapting the computation strategy based on the specific operation requirements rather than always using maximum bitwidth.

Inventive Principle:
Principle #15Dynamics

3Adaptability or versatility

If variable bitwidth operations are enabled, then flexibility and resource utilization are improved, but device complexity increases

Engineering Contradiction:
Improveoperational flexibilityVSAvoidhardware structure complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces programmable adder hardware as an intermediary component that bridges the gap between simple dot product operations and complex variable-bitwidth matrix multiplication. The adder hardware acts as a mediator that combines multiple dot product results according to configurable patterns to achieve the desired target bitwidth. This intermediary approach allows variable-bitwidth functionality to be achieved through software-configurable hardware rather than requiring complex dedicated circuits for each bitwidth level.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentEP4687025A1Variable-bitwidth matrix multiplication
Publication Date: 2026.02.04 GDM HOLDING LLC
  • EP4687025A1 patent drawingFigure 1A
  • EP4687025A1 patent drawingFigure 1B
  • EP4687025A1 patent drawingFigure 2A

AI summary

Systems and methods for performing variable-bitwidth matrix multiplication are provided. For example, a processor device can include dot product hardware configured to perform a plurality of dot products at a first bitwidth to generate a plurality of first-bitwidth dot product outputs. The processor device can include programmable adder hardware. The programmable adder hardware can be configured to obtain data indicative of one or more target bitwidths. The programmable adder hardware can be configured to combine, based on the data indicative of the one or more target bitwidths, one or more subsets of the plurality of first-bitwidth dot product outputs according to the one or more target bitwidths.