# US 2021/0334661 A1 · Image processing method and apparatus based on super network, and computer storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0334661 A1
- Document ID: US20210334661A1
- Status: Published application
- Kind: A1
- Application number: 17/028,876
- Filed: 2020-09-22
- Published: 2021-10-28
- Earliest claimed: 2020-04-26
- Assignees: Beijing Xiaomi Pinecone Electronics Co., Ltd.
- Applicants: Beijing Xiaomi Pinecone Electronics Co., Ltd.
- Inventors: Xiangxiang CHU; Ruijun XU; Bo ZHANG; Bin WANG
- Web page: https://patentgrep.com/patent/US20210334661A1

## CPC

- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/063: using electronic means
- G06N 3/09: Supervised learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

The present disclosure relates to an image processing method and apparatus based on a super network, and a computer storage medium. The method can include that a pretrained backbone network is merged with a rear end of a target detection network to obtain a merged super network, the merged super network is trained, Neural Architecture Search (NAS) is performed based on the trained super network to obtain a target detection neural architecture, and an image to be processed is processed by using the target detection neural architecture to obtain an image processing result.

## Claims

### Claim 1

An image processing method based on a super network, comprising:
merging a pretrained backbone network with a rear end of a target detection network to obtain a merged super network, the pretrained backbone network including a classified super network in a search space of the backbone network, the classified super network being configured to extract an image feature from image information, and the rear end of the target detection network including a target detection rear-end super network in a search space of the rear end of the target detection network, the target detection rear-end super network being configured to perform target detection based on the image feature;
training the merged super network;
performing Neural Architecture Search (NAS) based on the trained super network to obtain a target detection neural architecture; and
processing an image to be processed using the target detection neural architecture to obtain an image processing result.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the merged super network includes multiple structural layers that are sequentially and serially connected, each structural layer includes multiple sub-structures having outputs thereof included in each structural layer form an output of the structural layer, and each sub-structure corresponds to a neural network basic operation module, and
training the merged super network includes performing single-path activation training on the merged super network.

### Claim 3 (depends on 2)

The method of claim 2, wherein performing the single-path activation training on the merged super network further comprises:
performing single-path sampling on the merged super network to obtain a sampled single-path sub-network;
performing single-step training on the sampled single-path sub-network based on sample image information; and
repeating sampling and training processes until the merged super network converges to obtain a weight of each sub-structure.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
performing single-path activation training on a constructed initial backbone network to obtain the pretrained backbone network.

### Claim 5 (depends on 3)

The method of claim 3, wherein performing the NAS based on the trained super network to obtain the target detection neural architecture further comprises:
determining evaluation indexes of sampled single-path sub-networks of the super network for predicting test image information based on the respective obtained weights of the sub-structures; and
performing a searching in a search space according to a special search approach based on the evaluation indexes of the sampled single-path sub-networks to obtain a series of sub-networks meeting an actual demand, and taking the series of sub-networks as the target detection network architecture.

### Claim 6

An image processing apparatus based on a super network, comprising:
a processor; and
a memory that is configured to store instructions executable for the processor,
wherein the processor is configured to execute the instructions to:
merge a pretrained backbone network with a rear end of a target detection network to obtain a merged super network, the pretrained backbone network including a classified super network in a search space of the backbone network, the classified super network being configured to extract an image feature from image information, and the rear end of the target detection network including a target detection rear-end super network in a search space of the rear end of the target detection network, the target detection rear-end super network being configured to perform target detection based on the image feature;
train the merged super network;
perform Neural Architecture Search (NAS) based on the trained super network to obtain a target detection neural architecture; and
process an image to be processed using the target detection neural architecture to obtain an image processing result.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein:
the merged super network includes multiple structural layers that are sequentially and serially connected, each structural layer includes multiple sub-structures having outputs thereof included in each structural layer form an output of the structural layer, and each sub-structure corresponds to a neural network basic operation module; and
the processor is further configured to execute the instructions to perform single-path activation training on the merged super network.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the processor is further configured to execute the instructions to:
perform single-path sampling on the merged super network to obtain a sampled single-path sub-network;
perform single-step training on the sampled single-path sub-network based on sample image information; and
repeat sampling and training processes until the merged super network converges to obtain a weight of each sub-structure.

### Claim 9 (depends on 7)

The apparatus of claim 7, wherein the processor is further configured to execute the instructions to perform single-path activation training on a constructed initial backbone network to obtain the pretrained backbone network.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the processor is further configured to execute the instructions to:
determine evaluation indexes of the sampled single-path sub-networks of the super network for predicting test image information based on the trained weights of the sub-structures; and
perform a searching in a search space according to a special search approach based on evaluation indexes of the sampled single-path sub-networks to obtain a series of sub-networks meeting an actual demand, and
take the series of sub-networks as the target detection network architecture.

### Claim 11

A non-transitory computer-readable storage medium having computer programs stored thereon that, when executed by a processor, cause the processor to implement operations comprising:
merging a pretrained backbone network with a rear end of a target detection network to obtain a merged super network, the pretrained backbone network including a classified super network in a search space of the backbone network, the classified super network being configured to extract an image feature from image information, and the rear end of the target detection network including a target detection rear-end super network in a search space of the rear end of the target detection network, the target detection rear-end super network being configured to perform target detection based on the image feature;
training the merged super network;
performing Neural Architecture Search (NAS) based on the trained super network to obtain a target detection neural architecture; and
processing an image to be processed by using the target detection neural architecture to obtain an image processing result.
