Neural Network Matrix Multiplication Using Convolution Hardware

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural network accelerators (NNAs) often lack native support for efficient matrix multiplications, leading to inefficiencies and additional overheads when using general-purpose processors, which can slow down computations and waste resources.

Innovation Solution

Map matrix multiplications to a graph of neural network operations, including transformations and convolutions, utilizing fixed-function hardware in NNAs to perform these operations efficiently, leveraging existing specialized hardware without the need for additional modules.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If general-purpose processors are used to perform matrix multiplications on neural network accelerators, then computational flexibility is maintained, but computation speed decreases and resource overhead increases

Engineering Contradiction:
Improvecomputation speedVSAvoidresource overhead
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent makes existing convolutional hardware perform matrix multiplication operations by reconfiguring it to handle matrix multiplication as a specialized case of convolution. This allows the same hardware to serve both convolution and matrix multiplication functions, eliminating the need for separate dedicated matrix multiplication units while maintaining high computational efficiency.

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

Solution Approach 2:

The patent changes the operational parameters of the convolutional hardware by setting specific convolution parameters (such as kernel size, stride, and padding) to values that transform the convolution operation into an equivalent matrix multiplication operation. This parameter reconfiguration enables the hardware to efficiently execute matrix multiplication without requiring structural modifications.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If dedicated matrix multiplication hardware is added to neural network accelerators, then computation efficiency improves, but device complexity and manufacturing cost increase

Engineering Contradiction:
Improvecomputation efficiencyVSAvoidmanufacturing complexity
Core Design Contradiction:
ProductivityVSEase of manufacture

Solution Approach 1:

The patent achieves dedicated matrix multiplication functionality by reconfiguring existing convolutional hardware parameters rather than adding separate dedicated hardware. This multi-functional approach allows the same physical hardware to efficiently perform both convolution and matrix multiplication, avoiding increased manufacturing complexity and cost while maintaining high computation efficiency.

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

Solution Approach 2:

The patent merges the matrix multiplication function into the existing convolutional processing pipeline by treating matrix multiplication as a specialized convolution operation. This consolidation eliminates the need for separate hardware paths and integrates matrix multiplication capabilities into the existing convolutional hardware architecture, simplifying manufacturing while improving efficiency.

Inventive Principle:
Principle #5Merging (Combining)

3Device complexity

If matrix multiplications are performed using existing convolutional hardware, then additional hardware overhead is avoided, but operational complexity increases

Engineering Contradiction:
Improvehardware overheadVSAvoidoperational complexity
Core Design Contradiction:
Device complexityVSEase of operation

Solution Approach 1:

The patent simplifies operational complexity by establishing clear parameter mapping rules that automatically transform matrix multiplication operations into convolution operations. The system configures convolution parameters (kernel size, stride, padding) based on the matrix dimensions, providing a systematic and automated approach that reduces operational complexity despite the conceptual transformation.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces a mapping layer or interface that mediates between matrix multiplication operations and convolutional hardware execution. This intermediary automatically handles the transformation and parameter configuration, shielding users from operational complexity while enabling efficient hardware utilization.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12488253B2Neural network comprising matrix multiplication
Publication Date: 2025.12.02 IMAGINATION TECH LTD
  • US12488253B2 patent drawing
  • US12488253B2 patent drawing
  • US12488253B2 patent drawing

AI summary

A method and data processing system implement a neural network containing at least one matrix multiplication operation. The matrix multiplication operation is mapped to a graph of neural network operations including at least one transformation and at least one convolution. The at least one convolution is implemented in fixed-function hardware of a neural network accelerator.