Neural Network Model Conversion for Streaming Architecture Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural network models developed under conventional instruction set architectures face inefficiencies when deployed on streaming architectures due to mismatched operator granularities, leading to suboptimal computation efficiency and limited customization for deep learning applications.

Innovation Solution

A neural network model conversion method that parses and reconstructs initial model information to generate target model information suitable for streaming architectures, enabling efficient deployment and operation of neural network models on streaming architecture-based chips.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If neural network models are developed under conventional instruction set architecture, then development is straightforward with fine-grained operators, but computation efficiency is low when deployed on streaming architecture

Engineering Contradiction:
Improvemodel development easeVSAvoidcomputation efficiency
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent changes the operator granularity parameter from fine-grained (instruction set level) to coarse-grained (basic layer operator level) through automatic conversion. This parameter transformation enables the model to adapt from conventional architecture to streaming architecture, resolving the contradiction between development ease and computation efficiency.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces an automatic model conversion tool as an intermediary between conventional instruction set architecture and streaming architecture. This intermediary automatically transforms models developed under conventional architecture into formats suitable for streaming architecture, eliminating the need for manual redevelopment while enabling efficient execution.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If operator granularity is at tensor operator level in conventional instruction set architecture, then model development is flexible, but computation power is insufficient for various application scenarios

Engineering Contradiction:
Improvemodel development flexibilityVSAvoidcomputation power
Core Design Contradiction:
Adaptability or versatilityVSPower

Solution Approach 1:

The patent merges multiple fine-grained tensor operators into coarse-grained basic layer operators during the conversion process. This merging operation consolidates computation tasks into larger operational units that better utilize the streaming architecture's computation power while maintaining the original model's functional flexibility.

Inventive Principle:
Principle #5Merging (Combining)

3Productivity

If streaming architecture with larger operator granularity is used, then computation efficiency is higher, but additional processing is required due to operator granularity mismatching

Engineering Contradiction:
Improvecomputation efficiencyVSAvoidconversion processing complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The conversion tool performs self-service by automatically analyzing the original model structure, identifying operator granularity mismatches, and performing the necessary transformations without requiring manual intervention. This automation reduces the perceived complexity for users while achieving high computation efficiency.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent performs the model conversion action in advance before deployment to the streaming architecture. By completing the granularity alignment transformation beforehand, the system eliminates the need for complex runtime processing and ensures optimal computation efficiency during actual execution.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11797277B2Neural network model conversion method server, and storage medium
Publication Date: 2023.10.24 SHENZHEN CORERAIN TECH CO LTD
  • US11797277B2 patent drawing
  • US11797277B2 patent drawing
  • US11797277B2 patent drawing

AI summary

A neural network model conversion method, a server, and a storage medium are provided according to embodiments of the present disclosure. The neural network model conversion method includes: parsing a neural network model to obtain initial model information; reconstructing the initial model information to obtain streaming model information; generating a target model information file according to the streaming model information; and running, under a streaming architecture, the neural network model according to the target model information file.