# US 2022/0284302 A1 · Apparatus and method with neural architecture searching

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

- Number: US 2022/0284302 A1
- Document ID: US20220284302A1
- Status: Published application
- Kind: A1
- Application number: 17/384,050
- Filed: 2021-07-23
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: Samsung Electronics Co., Ltd.; Snu R&Db Foundation
- Applicants: Samsung Electronics Co., Ltd.; Snu R&Db Foundation
- Inventors: Sungjoo YOO
- Web page: https://patentgrep.com/patent/US20220284302A1

## CPC

- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method and apparatus with neural architecture search are provided. A processor-implemented method includes obtaining target data, sampling a trained first neural network into a plurality of second neural networks, training each of the second neural networks based on a portion of the target data, and selecting a second neural network satisfying a predetermined condition among the trained second neural networks for performing an inference operation.

## Claims

### Claim 1

A processor-implemented method, the method comprising:
obtaining target data;
sampling a trained first neural network into a plurality of second neural networks;
training each of the second neural networks based on a portion of the target data; and
selecting a second neural network satisfying a predetermined condition among the trained second neural networks for performing an inference operation.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
training the selected second neural network based on the target data.

### Claim 3 (depends on 2)

The method of claim 2, wherein the training of the selected second neural network comprises training the selected second neural network using the first neural network.

### Claim 4 (depends on 3)

The method of claim 3, further comprising implementing the inference operation using the trained selected second neural network.

### Claim 5 (depends on 3)

The method of claim 3, wherein the training of the selected second neural network using the first neural network comprises:
performing teacher learning on the selected second neural network based on the first neural network by using the first neural network as a teacher network and using the selected second neural network as a student network.

### Claim 6 (depends on 1)

The method of claim 1, wherein the training of each of the second neural networks comprises training each of the second neural networks without labels corresponding to the target data.

### Claim 7 (depends on 1)

The method of claim 1, wherein the training of each of the second neural networks comprises training an architecture parameter of each of the second neural networks using respective outputs obtained by inputting the portion of the target data to each of the second neural networks.

### Claim 8 (depends on 1)

The method of claim 1, wherein the training of each of the second neural networks comprises:
performing a self-supervised learning task on each of the second neural networks using the portion of the target data; and
training an architecture parameter of each of the second neural networks based on respective results obtained by performing the self-supervised learning task.

### Claim 9 (depends on 1)

The method of claim 1, wherein the training of each of the second neural networks comprises:
performing a semi-supervised learning task on each of the second neural networks using the portion of the target data; and
training an architecture parameter of each of the second neural networks based on respective results obtained by performing the semi-supervised learning task.

### Claim 10 (depends on 1)

The method of claim 1, wherein the training of each of the second neural networks comprises:
performing a self-supervised learning task on at least one of the second neural networks using the portion of the target data;
training an architecture parameter of the at least one of the second neural networks based on respective results obtained by performing the self-supervised learning task;
performing a semi-supervised learning task on another at least one of the second neural networks using the portion of the target data; and
training an architecture parameter of the other at least one of the second neural networks based on respective results obtained by performing the semi-supervised learning task.

### Claim 11 (depends on 1)

The method of claim 1, wherein the selecting of the second neural network comprises:
classifying which one or more second neural networks satisfy a quality condition among the trained second neural networks;
evaluating the one or more second neural networks that satisfy the quality condition based on at least one of a performance condition and an energy consumption condition; and
selecting the second neural network based on a result of the evaluating.

### Claim 12 (depends on 1)

The method of claim 1, further comprising, using one or more processors, executing instructions that cause the one or more processors to obtain the target data and the trained first neural network from one or more memories, perform the sampling of the trained first neural network, perform the training of each of the second neural networks, and perform the selecting of the second neural network.

### Claim 13 (depends on 12)

The method of claim 12, further comprising implementing the inference operation using the selected second neural network.

### Claim 14 (depends on 1)

A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors, cause the one or more processors to perform the method of claim 1.

### Claim 15

A neural network apparatus comprising:
one or more processors configured to:
obtain target data;
sample a trained first neural network into a plurality of second neural networks;
train each of the second neural networks based on a portion of the target data; and
perform a selection, from among the trained second neural networks, of a second neural network that satisfies a predetermined condition for performing an inference operation.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the one or more processors are further configured to train the selected second neural network based on the target data.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein, for the training of the selected second neural network, the one or more processors are configured to train the selected second neural network using the first neural network.

### Claim 18 (depends on 17)

The apparatus of claim 17, further comprising implementing the inference operation using the trained selected second neural network.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein, for the training of the selected second neural network using the first neural network, the one or more processors are configured to perform teacher learning on the selected second neural network based on the first neural network by using the first neural network as a teacher network and using the selected second neural network as a student network.

### Claim 20 (depends on 15)

The apparatus of claim 15, wherein, for the training of each of the second neural networks, the one or more processors are configured to train each of the second neural networks without labels corresponding to the target data.

### Claim 21 (depends on 15)

The apparatus of claim 15, wherein, for the training of each of the second neural networks, the one or more processors are configured to train an architecture parameter of each of the second neural networks using respective outputs obtained by inputting the portion of the target data to each of the second neural networks.

### Claim 22 (depends on 15)

The apparatus of claim 15, wherein, for the training of each of the second neural networks, the one or more processors are configured to perform a self-supervised learning task on each of the second neural networks using the portion of the target data, and to train an architecture parameter of each of the second neural networks based on respective results obtained by performing the self-supervised learning task.

### Claim 23 (depends on 15)

The apparatus of claim 15, wherein, for the training of each of the second neural networks, the one or more processors are configured to perform a semi-supervised learning task on each of the second neural networks using the portion of the target data, and to train an architecture parameter of each of the second neural networks based on respective results obtained by performing the semi-supervised learning task.

### Claim 24 (depends on 15)

The apparatus of claim 15, wherein, for the training of each of the second neural networks, the one or more processors are configured to:
perform a self-supervised learning task on at least one of the second neural networks using the portion of the target data;
train an architecture parameter of the at least one of the second neural networks based on respective results obtained by performing the self-supervised learning task;
perform a semi-supervised learning task on another at least one of the second neural networks using the portion of the target data; and
train an architecture parameter of the other at least one of the second neural networks based on respective results obtained by performing the semi-supervised learning task.

### Claim 25 (depends on 15)

The apparatus of claim 15, wherein, for the selection of the second neural network, the one or more processors are configured to classify which one or more second neural networks satisfy a quality condition among the trained second neural networks, to evaluate the second neural networks satisfying the quality condition based on at least one of a performance condition and an energy consumption condition, and to select the second neural network based on a result of the evaluation.

### Claim 26 (depends on 15)

The apparatus of claim 15, further comprising one or more memories, including at least one of the one or more memories storing instructions, which when executed by the one or more processors, configure the one or more processors to obtain the target data and the trained first neural network from at least one of the one or more memories, perform the sampling of the trained first neural network, perform the training of each of the second neural networks, and perform the selecting of the second neural network.

### Claim 27 (depends on 25)

The apparatus of claim 25, wherein the stored instructions, which when executed by the one or more processors, configure the one or more processors to implement the inference operation using the selected second neural network, where the inference operation is a classification of information about image data input to the selected second neural network.

### Claim 28 (depends on 15)

The apparatus of claim 15, wherein the apparatus is a mobile device.

### Claim 29

A mobile device comprising:
one or more processors; and
one or more memories comprising instructions, which when executed by the one or more processors, configure the one or more processors to:
sample a trained first neural network into a plurality of second neural networks;
train each of the second neural networks based on a portion of unlabeled target image data;
perform a selection, from among the trained second neural networks, of a second neural network; and
generate a final second neural network by training the selected second neural network using the first neural network and the unlabeled target data.

### Claim 30 (depends on 29)

The apparatus of claim 29, wherein the one or more processors are configured to train an architecture parameter of each of the second neural networks using respective outputs obtained by inputting the portion of the target data to each of the second neural networks.

### Claim 31 (depends on 29)

The apparatus of claim 29, wherein the one or more processors are further configured to implement an inference operation using the generated final second neural network, where the inference operation is a classification of information about image data input to the final second neural network.

### Claim 32 (depends on 31)

The apparatus of claim 31, wherein, for the training of the selected second neural network using the first neural network, the one or more processors are configured to perform teacher learning on the selected second neural network based on the first neural network by using the first neural network as a teacher network and using the selected second neural network as a student network.

### Claim 33 (depends on 29)

The apparatus of claim 29, wherein, for the training of each of the second neural networks, the one or more processors are configured to perform a self-supervised learning task on each of the second neural networks using the portion of the target data, and to train an architecture parameter of each of the second neural networks based on respective results obtained by performing the self-supervised learning task.

### Claim 34 (depends on 29)

The apparatus of claim 29, wherein, for the training of each of the second neural networks, the one or more processors are configured to perform a semi-supervised learning task on each of the second neural networks using the portion of the target data, and to train an architecture parameter of each of the second neural networks based on respective results obtained by performing the semi-supervised learning task.

### Claim 35 (depends on 29)

The apparatus of claim 29, wherein, for the selection of the second neural network, the one or more processors are configured to classify second neural networks satisfying a quality condition among the trained second neural networks, to evaluate the second neural networks satisfying the quality condition based on at least one of a performance condition and an energy consumption condition, and to select the second neural network based on a result of the evaluation.
