Hardware Neural Network Conversion via Basic Unit Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural network hardware chips face challenges in supporting arbitrary neural network applications due to fixed-size matrix operations, lower precision, and inflexible activation functions, leading to performance bottlenecks and limited integration levels.

Innovation Solution

A hardware neural network conversion method that splits the neural network connection diagram into basic units with only ingress and egress nodes, reconstructs the network topology, and adjusts weight parameters to fulfill hardware constraints, allowing for efficient mapping onto hardware modules and supporting arbitrary neural network applications.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If fixed-size matrix operations are used in hardware neural network chips, then hardware implementation efficiency is improved, but adaptability to arbitrary neural network applications deteriorates

Engineering Contradiction:
Improvehardware implementation efficiencyVSAvoidadaptability to arbitrary neural network applications
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent divides the neural network into multiple basic units, each containing only ingress nodes and egress nodes with full connections. This segmentation allows the hardware to process fixed-size matrix operations efficiently while the composition of multiple basic units can adapt to arbitrary neural network structures and sizes, thus resolving the contradiction between hardware efficiency and application adaptability.

Inventive Principle:
Principle #1Segmentation

2Device complexity

If lower precision is used in hardware neural network chips, then hardware complexity is reduced, but manufacturing precision of neural network functionality deteriorates

Engineering Contradiction:
Improvehardware complexityVSAvoidmanufacturing precision of neural network functionality
Core Design Contradiction:
Device complexityVSManufacturing precision

Solution Approach 1:

The patent adjusts weight parameters within basic units to fulfill hardware constraints while maintaining equivalent functionality. By optimizing parameter selection and using techniques like weight sharing and quantization, the system achieves acceptable precision with reduced hardware complexity, resolving the trade-off between hardware simplicity and functional accuracy.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If inflexible activation functions are used in hardware neural network chips, then device complexity is reduced, but adaptability to different neural network applications deteriorates

Engineering Contradiction:
Improvedevice complexityVSAvoidadaptability to different neural network applications
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent designs basic units with universal ingress and egress nodes that can accommodate different activation functions. The full connection structure between ingress and egress nodes allows the same hardware unit to implement various activation functions by reconfiguring weights and biases, providing multi-functionality without increasing device complexity, thus resolving the contradiction between simplicity and adaptability.

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

4Manufacturing precision

If neural network applications are tightly coupled with chip development, then manufacturing precision is improved, but device complexity and development time increase

Engineering Contradiction:
Improveneural network application precisionVSAvoiddevelopment complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent introduces basic units as an intermediary layer between arbitrary neural network applications and hardware implementation. These basic units serve as a standardized interface that decouples application development from chip development, allowing high-level neural network designs to be converted into hardware-compatible forms without direct coupling, thus reducing development complexity while maintaining precision.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11544539B2Hardware neural network conversion method, computing device, compiling method and neural network software and hardware collaboration system
Publication Date: 2023.01.03 TSINGHUA UNIVERSITY
  • US11544539B2 patent drawing
  • US11544539B2 patent drawing
  • US11544539B2 patent drawing

AI summary

A hardware neural network conversion method, a computing device, a compiling method and a neural network software and hardware collaboration system for converting a neural network application into a hardware neural network fulfilling a hardware constraint condition are disclosed. The method comprises: obtaining a neural network connection diagram corresponding to the neural network application; splitting the neural network connection diagram into neural network basic units; converting each of the neural network basic units so as to form a network having equivalent functions thereto and formed by connecting basic module virtual entities of neural network hardware; and connecting the obtained basic unit hardware network according to the sequence of splitting so as to create a parameter file for the hardware neural network. The present disclosure provides a novel neural network and a brain-like computing software and hardware system.