Unlock instant, AI-driven research and patent intelligence for your innovation.

Neural network searching method and system

A neural network and search method technology, applied in neural learning methods, biological neural network models, etc., can solve problems such as inability to obtain search results, poor generalization ability of neural network search methods, etc., to alleviate unfair training and achieve good classification results , efficient and robust training

Pending Publication Date: 2022-05-24
暗物智能科技(广州)有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, the technical problem to be solved by the present invention is to overcome the poor generalization ability of the neural network search method in the prior art and the defect that the optimal search result cannot be obtained. , achieved good results on semantic segmentation and instance segmentation tasks

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Neural network searching method and system
  • Neural network searching method and system
  • Neural network searching method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] The embodiment of the present invention provides a neural network search method, such as figure 1 As shown, the method includes the following steps:

[0034] Step S1: Randomly sample two non-overlapping models on the super-network to be searched, the two sampled models have one copy each in the encoder and the momentum encoder, and train the encoder based on the momentum contrastive learning method.

[0035] In the embodiment of the present invention, the initial structure of the momentum encoder is the same as that of the corresponding encoder. During the training process, the update of the parameters of the momentum encoder is only based on the parameters of the encoder, and the encoder is trained unsupervised by momentum comparison learning. The specific process of training the encoder based on the momentum contrastive learning method, such as figure 2 As shown, the momentum encoder is initialized using the same network structure as the encoder, and in each trainin...

Embodiment 2

[0044] The embodiment of the present invention provides a neural network search system, such as image 3 shown, including:

[0045] Sampling model training module 1 is used to randomly sample two non-overlapping models on the super-network to be searched. The two sampled models have one copy each in the encoder and the momentum encoder. The method based on momentum contrastive learning compares the encoder and the momentum encoder. The momentum encoder is trained; this module executes the method described in step S1 in Embodiment 1, and details are not repeated here.

[0046] Classification head training module 2, used to take out the trained encoder and fix its network weights, set all batch normalization layers in the encoder to training mode, and add a randomly initialized fully connected classification head after the encoder structure part, and train the classification head; this module executes the method described in step S2 in Embodiment 1, and details are not repeated...

Embodiment 3

[0051] An embodiment of the present invention provides a computer device, such as Figure 4 As shown, the device may include a processor 51 and a memory 52, wherein the processor 51 and the memory 52 may be connected by a bus or in other ways, Figure 4 Take connection via bus as an example.

[0052] The processor 51 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-available processors A programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components and other chips, or a combination of the above-mentioned types of chips.

[0053] As a non-transitory computer-readable storage medium, the memory 52 can be used to store non-transitory software programs, n...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a neural network searching method and system, and the method comprises the steps: carrying out the random sampling of two non-overlapping models on a to-be-searched super network, enabling an encoder and a momentum encoder to have one part, and carrying out the training of the encoder based on the momentum comparison learning; fixing the network weight of the encoder, setting a batch standardization layer of the encoder as a training mode, adding a randomly initialized full-connection classification head behind the encoder, and training the encoder; the classification prediction accuracy of the verification set calculation model serves as a performance index of the sampling model, the steps of sampling model training, classification head training and performance evaluation are searched and repeated again, and the model with the best performance index is obtained to serve as a final model. According to the search method provided by the invention, the super network can be trained in a self-supervised manner, the process does not need data annotation, different structures can learn similar expressions by utilizing cross learning, the problem that training of different structures on the super network is unfair and even fails is relieved, and training of the super network is more efficient and higher in robustness.

Description

technical field [0001] The invention relates to the technical field of neural network search, in particular to a neural network search method and system. Background technique [0002] Neural Network Architecture Search (NAS) aims to automate the design of neural network architectures, thereby avoiding tedious manual design. At present, the neural network obtained by NAS search has achieved remarkable results in tasks such as image classification, object detection, image segmentation, and natural language. Starting from the manual design of discrete model space and operation space, NAS uses search techniques to explore preset search fields and can find the best structure for single or multiple goals (such as accuracy, memory consumption, etc.) designed performance. [0003] Early NAS methods used dense methods for neural network search, which required sampling a large number of network structures and training them from scratch. The huge computational cost makes them inappl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06N3/08G06N3/02
CPCG06N3/08G06N3/02
Inventor 何子健张吉祺彭杰锋王广润梁小丹
Owner 暗物智能科技(广州)有限公司