Reparametric Neural Network Architecture Search for Edge Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural network architecture search methods face challenges in achieving high accuracy and real-time detection speed, particularly in mobile devices, due to limitations in branch structures and video memory usage, which hinder the efficient improvement of model performance.

Innovation Solution

An edge calculation-oriented reparametric neural network architecture search method that designs multi-branch blocks, constructs a hypernetwork, and trains it under video memory restrictions to activate and fuse branches, ultimately transforming the network into a single-branch structure for improved reasoning speed and accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If multi-branch structure is used to improve feature extraction ability and network accuracy, then network accuracy is improved, but reasoning speed decreases and video memory space increases

Engineering Contradiction:
Improvenetwork accuracyVSAvoidreasoning speed
Core Design Contradiction:
Measurement precisionVSSpeed

Solution Approach 1:

The network is divided into multiple branches during training to improve feature extraction, but each branch processes features independently. During reasoning, these segmented branches are merged into a single unified computation path, eliminating redundant operations while preserving the benefits of multi-branch feature extraction.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The network structure dynamically changes between training and reasoning phases. During training, the multi-branch structure is active to enhance feature extraction capabilities. During reasoning, the structure transforms into a single-branch equivalent that maintains accuracy while improving speed and reducing memory usage.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If multi-branch structure is used to improve network accuracy, then network accuracy is improved, but video memory space required for training increases

Engineering Contradiction:
Improvenetwork accuracyVSAvoidvideo memory space
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

Multiple branch computations are merged into a single unified computation during reasoning. By combining the computational paths of multiple branches into one equivalent operation, the patent reduces video memory requirements while preserving the feature extraction capabilities of the multi-branch structure.

Inventive Principle:
Principle #5Merging (Combining)

3Speed

If single-branch structure is used to improve reasoning speed, then reasoning speed is improved, but network accuracy decreases

Engineering Contradiction:
Improvereasoning speedVSAvoidnetwork accuracy
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The patent changes the structural parameters of the network between training and reasoning phases. During training, multi-branch parameters enable high accuracy. During reasoning, these parameters are transformed into a single-branch equivalent that maintains the same accuracy level while improving speed through more efficient computation.

Inventive Principle:
Principle #35Parameter changes

4Quantity of substance

If nonparametric operations such as skip connections are used to reduce parameters, then parameter count is reduced, but reasoning speed is still slowed down

Engineering Contradiction:
Improveparameter countVSAvoidreasoning speed
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

The patent extracts and eliminates redundant operations from the network structure. By identifying and removing unnecessary computational steps including certain nonparametric operations, the patent achieves both parameter reduction and speed improvement, unlike conventional approaches where skip connections alone are insufficient for speed optimization.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS11645495B2Edge calculation-oriented reparametric neural network architecture search method
Publication Date: 2023.05.09 ZHEJIANG LAB
  • US11645495B2 patent drawing
  • US11645495B2 patent drawing
  • US11645495B2 patent drawing

AI summary

The present invention discloses an edge calculation-oriented reparametric neural network architecture search method, including the following steps: S1: designing linear operators and multi-branch block structures; S2: constructing a hypernetwork by stacking the multi-branch block structures; S3: training the hypernetwork through a gradient-based first-stage search algorithm; S4: deleting redundant branches in the hypernetwork to construct an optimal subnetwork; S5: converting the multi-branch optimal subnetwork into a single-branch network; and S6: completing task reasoning by using the single-branch network. The method is used to search the neural network structure capable of performing reparameterization, and ensures the reasoning real-time performance and the high efficiency of model operation while ensuring the reasoning precision.