System and method for one-shot neural architecture search with selective training

The one-shot NAS method evaluates subnetworks during training to eliminate impractical architectures, addressing the inefficiencies of traditional NAS by reducing redundant iterations and improving training speed.

JP2024137648AActive Publication Date: 2024-10-07WOVEN BY TOYOTA INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023193805
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-24
Filing Date
2023-11-14
Publication Date
2024-10-07
Estimated Expiration
2043-11-14

AI Technical Summary

Technical Problem

Neural architecture search (NAS) is time-consuming and sensitive to initial conditions due to its iterative nature, leading to unnecessary and potentially harmful training iterations.

Method used

A one-shot neural architecture search (NAS) method that evaluates subnetworks during the training phase, filtering out those that do not meet predetermined criteria, thereby avoiding unnecessary training and reducing redundant iterations.

Benefits of technology

This approach speeds up the training process by eliminating impractical subnetworks, reducing redundant training, and avoiding shared weight collapse, thus optimizing the neural architecture design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024137648000001_ABST
    Figure 2024137648000001_ABST
Patent Text Reader

Abstract

To provide an optimized one-shot neural architecture search (NAS).SOLUTION: A method for performing a one-shot neural architecture search (NAS) includes the steps of: obtaining an overall network, the overall network including a plurality of candidate subnetworks for the one-shot NAS; obtaining a first subnetwork of the plurality of candidate subnetworks from the overall network; obtaining a first metric value of the first subnetwork; determining whether the first metric value satisfies a first predetermined condition; based on determining that the first metric value does not satisfy the first predetermined condition, determining not to train the obtained first subnetwork for the one-shot NAS, and obtaining a second subnetwork of the plurality of candidate subnetworks from the overall network; and training the second subnetwork for the one-shot NAS.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Apparatus and methods according to exemplary embodiments of the present disclosure relate to neural architecture search (NAS). [Background technology]

[0002] Generally, neural networks are characterized by two main parameters: (1) architecture, and (2) weights applied to inputs transmitted between neurons. Typically, the architecture is designed manually or by hand, while the weights are optimized by training the network using a training set and a neural network algorithm. Thus, to optimize the performance of a neural network, architecture design is an important consideration, especially since the network is generally static at the time it is deployed for use. In the related art, neural architecture search (NAS) has emerged as a technique for automatically designing the architecture of a neural network. However, this process is very time-consuming and sensitive to the initial state (i.e., the initial sample architecture) due to its iterative nature. Summary of the Invention

[0003] According to an embodiment, the system and method is an optimized one-shot neural architecture search (NAS) where some evaluation is performed during the one-shot training phase of the entire network to eliminate unnecessary or detrimental training iterations (i.e., sub-networks that detrimentally impact the overall training).

[0004] According to one aspect of the present disclosure, a method for performing one-shot NAS includes steps of acquiring an entire network, the entire network including a plurality of candidate subnetworks for the one-shot NAS; acquiring a first subnetwork from the entire network among the plurality of candidate subnetworks; acquiring a first metric value of the first subnetwork; determining whether the first metric value satisfies a first predetermined condition; based on a determination that the first metric value does not satisfy the first predetermined condition, determining not to train the acquired first subnetwork for the one-shot NAS, acquiring a second subnetwork from the entire network among the plurality of candidate subnetworks; and training the second subnetwork for the one-shot NAS.

[0005] According to one aspect of the present disclosure, a system for performing one-shot NAS includes at least one memory storing instructions and at least one processor, where the at least one processor is configured to execute the instructions to obtain an entire network including a plurality of candidate subnetworks for the one-shot NAS, obtain a first subnetwork from the entire network among the plurality of candidate subnetworks, obtain a first metric value of the first subnetwork, determine whether the first metric value satisfies a first predetermined condition, determine not to train the obtained first subnetwork for the one-shot NAS based on a determination that the first metric value does not satisfy the first predetermined condition, obtain a second subnetwork from the plurality of candidate subnetworks from the entire network, and train the second subnetwork for the one-shot NAS.

[0006] According to one aspect of the present disclosure, a non-transitory computer-readable storage medium stores instructions that, when executed by at least one processor, cause the at least one processor to perform the steps of: acquiring an entire network, the entire network including a plurality of candidate subnetworks for one-shot NAS; acquiring a first subnetwork of the plurality of candidate subnetworks from the entire network; acquiring a first metric value of the first subnetwork; determining whether the first metric value satisfies a first predetermined condition; based on a determination that the first metric value does not satisfy the first predetermined condition, determining not to train the acquired first subnetwork for one-shot NAS, acquiring a second subnetwork of the plurality of candidate subnetworks from the entire network; and training the second subnetwork for one-shot NAS.

[0007] Additional aspects will be set forth in part in the description that follows, and in part will be apparent from the description, or may be realized by practice of the embodiments presented in this disclosure. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram of a neural network architecture according to one embodiment. [Diagram 2] FIG. 2 is a diagram of an example of Neural Architecture Search (NAS) performed by one embodiment. [Diagram 3] FIG. 3 is a diagram of a single-pass one-shot (SPOS) method according to one embodiment. [Figure 4] FIG. 4 is a diagram of an SPOS subnetwork according to one embodiment. [Diagram 5] FIG. 5 is a flow chart of a NAS method according to one embodiment. [Figure 6] FIG. 6 is a diagram of an example environment in which the systems and / or methods described herein may be implemented. [Figure 7]FIG. 7 is a diagram of exemplary components of an apparatus according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] The features, advantages and importance of exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which like reference numerals indicate like elements, and in which:

[0010] The following detailed description of the exemplary embodiments refers to the accompanying drawings, in which the same reference numbers in different drawings may identify the same or similar elements.

[0011] The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the implementations to the precise form disclosed. Modifications and variations are possible in light of the above disclosure or may be acquired from practice of the implementations. Moreover, one or more features or components of one embodiment may be combined with or combined with other embodiments (or one or more features of other embodiments). Furthermore, in the flowcharts and descriptions of operations provided below, it is understood that one or more operations may be omitted, one or more operations may be added, one or more operations may be performed simultaneously (at least in part), and the order of one or more operations may be rearranged.

[0012] It will be apparent that the systems and / or methods described herein may be implemented in different forms of hardware, firmware, or a combination of hardware and software. The actual specialized control hardware or software code used to implement such systems and / or methods is not intended to limit the implementation. Thus, the operation and behavior of the systems and / or methods have been described herein without reference to any specific software code. It will be understood that software and hardware may be designed to implement the systems and / or methods based on the description herein.

[0013] Although particular combinations of features may be recited in the claims and / or disclosed in the specification, such combinations are not intended to limit the disclosure of possible implementations. Indeed, many of such features may be combined in ways not specifically recited in the claims and / or disclosed in the specification. Although each dependent claim listed below may depend directly on only one claim, the disclosure of possible implementations includes each dependent claim in combination with every other claim in the group.

[0014] No element, act, or instruction used herein should be construed as critical or required unless expressly stated otherwise. Additionally, as used herein, the articles "a" and "an" are intended to include one or more items and may be used interchangeably with "one or more." When only one item is intended, the term "a" or similar terms are used. Additionally, as used herein, terms such as "have," "having," "includes," "including," and the like are intended to be open-ended terms. Additionally, the phrase "based on" is intended to mean "based at least in part on," unless expressly stated otherwise. Additionally, phrases such as "at least one of [A] and [B]," or "at least one of [A] or [B]" should be understood as including only A, only B, or both A and B.

[0015] In an exemplary embodiment of the present disclosure, a method and system are disclosed, in which the system obtains an overall network including multiple candidate subnetworks for NAS, obtains a first subnetwork of the multiple candidate subnetworks from the overall network, obtains a first metric value of the first subnetwork, determines whether the first metric value meets a first predetermined condition, and based on the determination that the first metric value does not meet the first predetermined condition, determines not to train the obtained first subnetwork for one-shot NAS, and obtains a second subnetwork of the multiple candidate subnetworks from the overall network. The system may train the second subnetwork for one-shot NAS. By filtering out impossible or impractical subnetworks in the training phase of one-shot NAS, potentially harmful and unnecessary training can be omitted, thereby avoiding redundant training and collapsing shared weights and speeding up the training phase.

[0016] Figure 1 is a diagram of a neural network architecture according to one embodiment. Referring to Figure 1, a neural network architecture 100 is defined by its connections, layer types (or operations), the number of layers, and the number of channels in each layer. Layer types include, for example, convolutional layers (in the case of a convolutional neural network (CNN)), activation layers (e.g., rectified linear units (ReLU)), pooling layers (max pooling), fully connected layers, batch normalization layers (BatchNorm), dropout layers, etc. The architecture design of the network is embodied by a combination of layers corresponding to at least some of these layer types.

[0017] FIG. 2 is a diagram of an example of Neural Architecture Search (NAS) performed by one embodiment. NAS refers to a technique for automatically designing the architecture of a neural network. A functional block diagram 200 is shown in FIG. 2. In FIG. 2, NAS is performed according to a sampling method or algorithm (e.g., reinforcement learning, evolutionary search, Bayesian optimization, etc.). NAS is implemented with a controller 202, and training 204 and evaluation 206 operations.

[0018] 2, the sampling method is an iterative process in which the controller 202 generates sample architecture candidates 210 (e.g., from a search space of a set of layers). The sample architectures 210 are optimized via a training operation 204 and an evaluation operation 206 to obtain metric values ​​such as accuracy, latency, model size, etc. Based on the evaluation results of the previous sample evaluation operation 206, the controller 202 generates the next sample architecture candidate using methods such as reinforcement learning, Bayesian optimization, evolutionary algorithms, etc. This process is performed repeatedly until a target performance is reached (e.g., until a target accuracy is achieved, until a target latency is achieved, until a target model size is achieved, etc.).

[0019] While the sampling method shown in Fig. 2 is flexible in terms of network structure (i.e., in terms of layer type, number of channels, number of layers, macro-architecture, etc.) and can provide a trained model with known performance (i.e., no need for reconstruction), the process is extremely time-consuming and sensitive to the initial state (i.e., the initial sample architecture) due to its iterative nature. That is, the sampling method requires multiple iterations of training, evaluation, and updating / changing the sample architecture (especially if the initial seed is not optimal) to finally obtain the optimal architecture.

[0020] 3 is a diagram of a single-pass one-shot (SPOS) method according to one embodiment. The one-shot NAS method can reduce the computational overhead and time for search by separating training from evaluation and search, and performing training on the entire network including all candidate network architectures of a defined search space (e.g., referred to herein as a supernet). That is, the entire network includes multiple candidate sub-networks of the NAS. In particular, the SPOS method trains a single sub-network of the supernet in each iteration and applies the resulting weights uniformly to all underlying architectures.

[0021] With reference to FIG. 3, the SPOS method may include multiple superblocks, from superblock 302, superblock 304 through superblock N 306. Each superblock may include multiple selection blocks. The SPOS method randomly selects a single path connecting the selection blocks in multiple consecutive superblocks (e.g., as indicated by the arrows in FIG. 3), where each superblock corresponds to a layer (and / or set of layers) and each selection block corresponds to a candidate layer (and / or set of layers). For example, for superblocks 302-306, up to selection X, selection 1 may be 3×3 CNN, selection 2 may be 5×5 CNN, selection 3 may be ReLU, etc. This process is repeated with the weights applied to a selection block in one training iteration being applied uniformly to the selection block in another iteration where the selected path (i.e., sub-network) includes the selection block. That is, the weights determined during the training iteration are shared across the candidate architectures (i.e., sub-networks). Sampling methods (e.g., evolutionary algorithms) are then applied to efficiently search for the best performing architecture without fine-tuning. By decoupling training from evaluation and search, only one training is required and different constraints can be applied after training.

[0022] In an exemplary embodiment where the search space or supernet is large and arbitrary sub-networks are selected, training becomes more difficult, complex and time consuming. In such cases, it may become difficult to train the supernet sufficiently.

[0023] Exemplary embodiments include an optimized one-shot neural architecture search (NAS) in which some evaluation is performed during a one-shot training phase of the entire network (e.g., a supernet) to eliminate unnecessary or detrimental training iterations (i.e., sub-networks that detrimentally impact the overall training).

[0024] In an exemplary embodiment, certain architecture metrics are evaluated without training. Therefore, these evaluations are performed during the training phase. For example, metrics such as model size, floating point operations per second (flops), latency, etc. may be evaluated for a sub-network before training the sub-network, and the metrics are not affected by training. Thus, if a randomly selected sub-network during an SPOS training iteration has one or more metrics that do not meet certain criteria (e.g., model size smaller than a first threshold or larger than a second threshold, latency larger than a third threshold, etc.), the sub-network is not trained (i.e., the sub-network is rejected) and another sub-network is selected (e.g., may be selected randomly or based on a predefined order of sub-networks). As a result, unnecessary or potentially harmful training iterations are avoided, redundant training and collapse of shared weights are avoided, and the overall training time is reduced.

[0025] Figure 4 is a diagram of SPOS subnetworks according to one embodiment, showing examples of randomly selected or constructed subnetworks for SPOS probing, such as subnetwork 402, subnetwork 404, and subnetwork 406.

[0026] As shown in FIG. 4, the sub-network 402 is determined to be smaller than a first threshold and is therefore rejected without training. The first threshold is a threshold determined based on the number of layers or components of the sub-network. The threshold may be based on the total number of layers of the sub-network, the total number of convolutional layers of the sub-network, the total number of residual blocks of the network, the total number of transport layers, etc. As a result, unnecessary or potentially harmful training is avoided. Furthermore, the collapse of shared weights is avoided. That is, the sub-network 402 (i.e., a single convolutional layer architecture) is an impossible network architecture. If the sub-network 402 were trained with an SPOS search, the resulting shared weights for the convolutional layer selection block of the first superblock would not be optimal for any realistic or possible network architecture that includes that layer. In this case, additional training iterations would be required to obtain the optimal weights for that selection block. By rejecting the sub-network 402 without training, redundant or unnecessary training is avoided and the overall training is sped up.

[0027] Furthermore, sub-network 404 may be determined to be acceptable, but sub-network 406 may be determined to be too large and therefore unacceptable, thus avoiding unnecessary or potentially harmful training.

[0028] Further provided is a method for determining a final architecture of a task neural network for performing a target machine learning task. The target machine learning task is associated with a target training dataset. The system generates a target metafeature tensor for the target training dataset, where the target metafeature tensor represents features of the target training dataset. The system iteratively generates candidate architectures for the task neural network for performing the target machine learning task from a search space defining a plurality of architectures, and processes inputs including the target metafeature tensor and data specifying the candidate architectures based on an evaluation neural network to generate a candidate performance score that estimates the performance of the candidate architecture on the target machine learning task. The system identifies the candidate architecture with the largest candidate performance score among the candidate architectures as the final architecture.

[0029] 5 is a flowchart of a method of NAS according to an embodiment. In operation 502, the system acquires an entire network, the entire network including a plurality of candidate sub-networks of the NAS. In operation 504, the system acquires a first sub-network of the plurality of candidate sub-networks from the entire network. In operation 506, the system acquires a first metric value of the first sub-network. In operation 508, the system determines whether the first metric value satisfies a first predetermined condition. Based on the determination that the first metric value does not satisfy the first predetermined condition, in operation 510, the system determines not to train the acquired first sub-network for one-shot NAS, and in operation 512, the system acquires a second sub-network of the plurality of candidate sub-networks from the entire network. In operation 514, the system trains the second sub-network for one-shot NAS.

[0030] Training the second sub-network includes obtaining a second metric value of the second sub-network and determining whether the second metric value satisfies a first predetermined condition, where the second sub-network for one-shot NAS is trained based on the determination that the second metric value satisfies the first predetermined condition. Determining whether the first metric value satisfies the first predetermined condition includes comparing the first metric value to a first predetermined threshold. Determining whether the first metric value satisfies the first predetermined condition includes determining whether the first metric value is greater than the first predetermined threshold and less than a second predetermined threshold. Obtaining the first metric value includes obtaining a plurality of metric values ​​including the first metric value of the first sub-network, and determining whether the first metric value satisfies the first predetermined condition includes determining whether the plurality of metric values ​​each satisfy a corresponding plurality of predetermined conditions including the first predetermined condition for training in one-shot NAS. The first metric value includes at least one of a latency value, a model size value, and a flops value. The first predetermined condition is determined based on at least one of a total number of layers of the subnetwork, a total number of convolutional layers of the subnetwork, a total number of residual blocks of the subnetwork, and a total number of transport layers of the subnetwork.

[0031] By filtering out impossible or impractical sub-networks in the training phase of the one-shot NAS, potentially harmful and unnecessary training can be omitted, thereby avoiding redundant training and collapsing shared weights and speeding up the training phase.

[0032] Figure 6 is a diagram of an example environment 600 in which the systems and / or methods described herein may be implemented. As shown in Figure 6, environment 600 includes a user device 610, a platform 620, and a network 630. The devices of environment 600 are interconnected via wired connections, wireless connections, or a combination of wired and wireless connections. In an embodiment, any of the functions and operations described above with reference to Figure 1 are performed by any combination of elements shown in Figure 6.

[0033] User device 610 includes one or more devices that can receive, generate, store, process, and / or provide information associated with platform 620. For example, user device 610 includes a computing device (e.g., a desktop computer, a laptop computer, a tablet computer, a handheld computer, a smart speaker, a server, etc.), a mobile phone (e.g., a smartphone, a wireless phone, etc.), a wearable device (e.g., a pair of smart glasses or a smart watch), or a similar device). In some implementations, user device 610 receives information from and / or transmits information to platform 620.

[0034] Platform 620 includes one or more devices that can receive, generate, store, process, and / or provide information. In some implementations, platform 620 includes a cloud server or a collection of cloud servers. In some implementations, platform 620 may be designed in a modular manner such that particular software components are swapped in or out depending on particular needs. In that way, platform 620 is easily and / or quickly reconfigured for different uses.

[0035] In some implementations, as shown, platform 620 is hosted within a cloud computing environment 622. Notably, although implementations described herein describe platform 620 as being hosted within a cloud computing environment 622, in some implementations platform 620 may not be cloud-based (i.e., implemented outside of a cloud computing environment) or may be partially cloud-based.

[0036] Cloud computing environment 622 includes an environment that hosts platform 620. Cloud computing environment 622 may provide services, such as computing, software, data access, storage, etc., that do not require end-user (e.g., user device 610) knowledge of the physical location and configuration of the systems and / or devices that host platform 620. As shown, cloud computing environment 622 includes a collection of computing resources 624 (collectively referred to as “computing resources 624” and individually referred to as “computing resource 624”).

[0037] The computing resources 624 include one or more personal computers, collections of computing devices, workstation computers, server devices, or other types of computing and / or communication devices. In some implementations, the computing resources 624 host the platform 620. Cloud resources may include compute instances running within the computing resources 624, storage devices provided within the computing resources 624, data transfer devices provided by the computing resources 624, etc. In some implementations, the computing resources 624 communicate with other computing resources 624 via wired connections, wireless connections, or a combination of wired and wireless connections.

[0038] As further shown in FIG. 6, computing resources 624 include a collection of cloud resources, such as one or more applications (“APP”) 624-1, one or more virtual machines (“VM”) 624-2, virtualized storage (“VS”) 624-2, one or more hypervisors (“HYP”) 624-4, or equivalents thereof.

[0039] The applications 624-1 include one or more software applications provided to or accessed by the user device 610. The applications 624-1 may eliminate the need to install and run software applications on the user device 610. For example, the applications 624-1 include software associated with the platform 620 and / or any other software that may be provided via the cloud computing environment 622. In some implementations, one application 624-1 sends and receives information to and from one or more other applications 624-1 via the virtual machine 624-2.

[0040] Virtual machine 624-2 includes a software implementation of a machine (e.g., a computer) that executes programs like a physical machine. Virtual machine 624-2 is either a system virtual machine or a process virtual machine, depending on the application or the degree to which virtual machine 624-2 corresponds to any real machine. A system virtual machine provides a complete system platform that supports the execution of a complete operating system ("OS"). A process virtual machine executes a single program and supports a single process. In some implementations, virtual machine 624-2 can execute on behalf of a user (e.g., user device 610) and manage the infrastructure of cloud computing environment 622, such as data management, synchronization, or long-term data transfer.

[0041] Virtualized storage 624-3 includes one or more storage systems and / or one or more devices that use virtualization technology within the storage systems or devices of computing resources 624. In some implementations, in the context of storage systems, types of virtualization include block virtualization and file virtualization. Block virtualization refers to the abstraction (or separation) of logical storage from physical storage so that the storage system may be accessed without regard to the physical storage or heterogeneous structure. This separation allows storage system administrators flexibility in how they manage the storage for end users. File virtualization can eliminate the dependency between data accessed at the file level and where the file is physically stored. This allows for optimization of storage usage, server consolidation, and / or performance of on-the-fly file migration.

[0042] The hypervisor 624-4 provides hardware virtualization technology that allows multiple operating systems (e.g., "guest operating systems") to run simultaneously on a host computer, such as the computing resource 624. The hypervisor 624-4 presents a virtual operating platform to the guest operating systems and manages the execution of the guest operating systems. Multiple instances of different operating systems share virtualized hardware resources.

[0043] Network 630 may include one or more wired and / or wireless networks. For example, network 630 may include a cellular network (e.g., a fifth generation (5G) network, a long term evolution (LTE) network, a third generation (3G) network, a code division multiple access (CDMA) network, etc.), a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a telephone network (e.g., the public switched telephone network (PSTN)), a private network, an ad-hoc network, an intranet, the Internet, a fiber optic based network, or equivalents thereof, and / or a combination of these or other types of networks. .

[0044] The number and arrangement of devices and networks shown in Figure 6 are provided as an example. In practice, there may be additional, fewer, different, or different arrangements of devices and / or networks other than those shown in Figure 6. Furthermore, two or more of the devices shown in Figure 6 may be implemented within a single device, or a single device shown in Figure 6 may be implemented as multiple distributed devices. Additionally or alternatively, a set of devices (e.g., one or more devices) of environment 600 may perform one or more functions that are described as being performed by another set of devices of environment 600.

[0045] 7 is a diagram of example components of an apparatus 700. The apparatus 700 corresponds to a user device 610 and / or a platform 620. As shown in FIG. 7, the apparatus 700 includes a bus 710, a processor 720, a memory 730, a storage component 740, an input component 750, an output component 760, and a communication interface 770.

[0046] The bus 710 includes components that enable communication between the components of the device 700. The processor 720 is implemented in hardware, firmware, or a combination of hardware and software. The processor 720 is a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), a microprocessor, a microcontroller, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or another type of processing component. In some implementations, the processor 720 includes one or more processors that are programmable to perform functions. The memory 730 includes random access memory (RAM), read only memory (ROM), and / or another type of dynamic or static storage device (e.g., flash memory, magnetic memory, and / or optical memory) that stores information and / or instructions used by the processor 720.

[0047] The storage component 740 stores information and / or software related to the operation and use of the device 700. For example, the storage component 740 includes a hard disk (e.g., a magnetic disk, an optical disk, a magneto-optical disk, and / or a solid-state disk), a compact disk (CD), a digital versatile disk (DVD), a floppy disk, a cartridge, a magnetic tape, and / or another type of non-transitory computer-readable medium along with a corresponding drive. The input component 750 includes components that enable the device 700 to receive information via user input (e.g., a touch screen display, a keyboard, a keypad, a mouse, a button, a switch, and / or a microphone), and the like. Additionally or alternatively, the input component 750 may include sensors for sensing information (e.g., a global positioning system (GPS) component, an accelerometer, a gyroscope, and / or an actuator). The output component 760 includes components that provide output information from the device 700 (e.g., a display, a speaker, and / or one or more light-emitting diodes (LEDs)).

[0048] The communications interface 770 includes transceiver-like components (e.g., a transceiver and / or a separate receiver and transmitter) that enable the device 700 to communicate with other devices, such as via a wired connection, a wireless connection, or a combination of wired and wireless connections. The communications interface 770 enables the device 700 to receive information from and / or provide information to another device. For example, the communications interface 770 includes an Ethernet interface, an optical interface, a coaxial interface, an infrared interface, a radio frequency (RF) interface, a universal serial bus (USB) interface, a Wi-Fi interface, a cellular network interface, or equivalents thereof.

[0049] The device 700 performs one or more processes described herein. The device 700 performs these processes in response to the processor 720 executing software instructions stored by a non-transitory computer-readable medium, such as the memory 730 and / or the storage component 740. A computer-readable medium is defined herein as a non-transitory memory device. A memory device includes memory space within a single physical storage device or memory space across multiple physical storage devices.

[0050] The software instructions may be read into memory 730 and / or storage component 740 from another computer-readable medium or another device via communications interface 770. The software instructions stored in memory 730 and / or storage component 740, when executed, cause processor 720 to perform one or more processes described herein.

[0051] Additionally or alternatively, hardwired circuitry may be used in place of or in combination with software instructions to implement one or more processes described herein, and thus, implementations described herein are not limited to any specific combination of hardware circuitry and software.

[0052] The number and arrangement of components shown in Figure 7 are provided as an example. In practice, apparatus 700 may include additional, fewer, different, or different arrangements of components than those shown in Figure 7. Additionally or alternatively, a set of components of apparatus 700 (e.g., one or more components) may perform one or more functions that are described as being performed by another set of components of apparatus 700.

[0053] In an embodiment, any one of the operations or processes of Figures 1 to 5 is performed by or using any one of the elements shown in Figures 6 and 7.

[0054] The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the implementations to the precise form disclosed. Modifications and variations are possible in light of the above disclosure or may be acquired from practice of the implementations.

[0055] Some embodiments relate to systems, methods and / or computer-readable media at any level of technical detail where integration is possible. Furthermore, one or more of the above-mentioned components may be implemented as instructions stored on a computer-readable medium and executable by at least one processor (and / or may include at least one processor). The computer-readable medium includes a non-transitory computer-readable storage medium(s) having computer-readable program instructions for causing a processor to perform operations.

[0056] A computer-readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. A computer-readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. A non-exhaustive list of more specific examples of computer-readable storage media includes portable computer diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), static random access memories (SRAMs), portable compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridge-in-groove structures having instructions stored thereon, and any suitable combination thereof. A computer-readable storage medium, as used herein, should not be construed as being a transitory signal itself, such as an electric signal transmitted over a wire, such as an electric wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse passing through a fiber optic cable), or an electric signal transmitted over a wire.

[0057] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium into each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing / processing device.

[0058] The computer readable program code / instructions for performing the operations are either assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or source or object code written in any combination of one or more programming languages ​​including object oriented programming languages ​​such as Smalltalk, C++, and procedural programming languages ​​such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer as a stand-alone software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the situation of execution on a remote computer or server, the remote computer may be connected to the user's computer via any type of network including a local area network (LAN) or wide area network (WAN), or connected to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may execute computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry to perform an aspect or operation.

[0059] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, executed by the processor of the computer or other programmable data processing apparatus, generate means for performing the function / acts specified in the block or blocks of the flowcharts and / or block diagrams. These computer readable program instructions may be stored in a computer readable storage medium capable of directing a computer, programmable data processing apparatus, and / or other apparatus to function in a particular manner, such that the computer readable storage medium having stored thereon includes an article of manufacture including instructions implementing an aspect of the function / acts specified in the block or blocks of the flowcharts and / or block diagrams.

[0060] The computer readable program instructions may be loaded into a computer, other programmable data processing apparatus, or other device and cause the computer, other programmable apparatus, or other device to execute a series of operational steps to generate a computer-implemented process, such that the instructions executing on the computer, other programmable apparatus, or other device perform the function / act specified in the block or blocks of the flowcharts and / or block diagrams.

[0061] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer-readable media according to various embodiments. In this regard, each block in the flowcharts or block diagrams represents a module, segment, or part of instructions that includes one or more executable instructions for implementing the specified logical function. The methods, computer systems, and computer-readable media may include additional, fewer, different, or differently arranged blocks than those shown in the figures. In some alternative implementations, the functions shown in the blocks may be performed in an order different from that shown in the figures. For example, two blocks shown in succession may in fact be performed simultaneously, nearly simultaneously, or in the reverse order depending on the functionality involved. In addition, it should be noted that each block of the block diagrams and / or flowchart diagrams, and combinations of blocks in the block diagrams and / or flowchart diagrams, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or each block and combination of blocks may implement a combination of dedicated hardware and computer instructions.

[0062] It will be apparent that the systems and / or methods described herein may be implemented in different forms of hardware, firmware, or a combination of hardware and software. The actual specialized control hardware or software code used to implement such systems and / or methods is not intended to limit the implementation. Thus, although the operation and behavior of the systems and / or methods are described herein without reference to specific software code, it will be understood that software and hardware may be designed to implement the systems and / or methods based on the description herein.

Claims

1. 1. A method for performing a one-shot neural architecture search (NAS), the method comprising: obtaining an entire network, the entire network including a plurality of candidate sub-networks for the one-shot NAS; obtaining a first sub-network of the plurality of candidate sub-networks from the entire network; obtaining a first metric value for the first sub-network; determining whether the first metric value satisfies a first predetermined condition; based on a determination that the first metric value does not satisfy the first predetermined condition, determining not to train the obtained first sub-network for the one-shot NAS; obtaining a second sub-network of the plurality of candidate sub-networks from the entire network; training the second sub-network for the one-shot NAS; A method comprising:

2. The step of training the second sub-network comprises: obtaining a second metric value for the second sub-network; and determining whether the second metric value satisfies the first predetermined condition; Including, The method of claim 1 , wherein the second sub-network for the one-shot NAS is trained based on a determination that the second metric value satisfies the first predetermined condition.

3. The method of claim 1 or 2, wherein determining whether the first metric value satisfies the first predetermined condition comprises comparing the first metric value to a first predetermined threshold.

4. 3. The method of claim 1, wherein determining whether the first metric value satisfies the first predetermined condition comprises determining whether the first metric value is greater than a first predetermined threshold and less than a second predetermined threshold.

5. The step of obtaining a first metric value includes obtaining a plurality of metric values ​​including the first metric value for the first sub-network; 3. The method of claim 1, wherein the step of determining whether the first metric value satisfies the first predetermined condition comprises determining whether the multiple metric values ​​each satisfy a corresponding multiple predetermined condition, including the first predetermined condition, for training in the one-shot NAS.

6. The method of claim 1 or 2, wherein the first metric value comprises at least one of a latency value, a model size value, and a number of floating-point operations per second (flops) value.

7. 3. The method of claim 1, wherein the first predetermined condition is determined based on at least one of a total number of layers of a subnetwork, a total number of convolutional layers of a subnetwork, a total number of residual blocks of a subnetwork, and a total number of transport layers of a subnetwork.

8. 1. A system for performing one-shot neural architecture search (NAS), comprising: at least one memory for storing instructions; At least one processor; Equipped with The at least one processor executes the instructions to: Obtain an entire network including a plurality of candidate sub-networks for the one-shot NAS; obtaining a first subnetwork of the plurality of candidate subnetworks from the entire network; Obtaining a first metric value for the first sub-network; determining whether the first metric value satisfies a first predetermined condition; based on a determination that the first metric value does not satisfy the first predetermined condition, determining not to train the obtained first sub-network for the one-shot NAS; obtaining a second subnetwork of the plurality of candidate subnetworks from the entire network; The system is configured to train the second sub-network for the one-shot NAS.

9. The at least one processor executes the instructions to: obtaining a second metric value for the second sub-network; and determining whether the second metric value satisfies the first predetermined condition; and configured to train the second sub-network by The system of claim 8 , wherein the second sub-network for the one-shot NAS is trained based on a determination that the second metric value satisfies the first predetermined condition.

10. 10. The system of claim 8 or 9, wherein the at least one processor is configured to execute the instructions to determine whether the first metric value satisfies the first predetermined condition by comparing the first metric value to a first predetermined threshold.

11. 10. The system of claim 8 or 9, wherein the at least one processor is configured to execute the instructions to determine whether the first metric value satisfies the first predetermined condition by determining whether the first metric value is greater than a first predetermined threshold and less than a second predetermined threshold.

12. the at least one processor is configured to execute the instructions to obtain the first metric value by obtaining a plurality of metric values ​​including the first metric value for the first sub-network; 10. The system of claim 8 or 9, wherein the at least one processor is configured to execute the instructions to determine whether the first metric value satisfies the first predetermined condition by determining whether each of the plurality of metric values ​​satisfies a corresponding plurality of predetermined conditions, including the first predetermined condition, for training in the one-shot NAS.

13. 10. The system of claim 8 or 9, wherein the first metric value comprises at least one of a latency value, a model size value, and a floating point operations per second (flops) value.

14. 10. The system of claim 8 or 9, wherein the first predetermined condition is determined based on at least one of a total number of layers of a subnetwork, a total number of convolutional layers of a subnetwork, a total number of residual blocks of a subnetwork, and a total number of transport layers of a subnetwork.

15. A non-transitory computer-readable storage medium storing instructions, comprising: The instructions, when executed by at least one processor, cause the at least one processor to: obtaining an entire network, the entire network including a plurality of candidate sub-networks for one-shot NAS; obtaining a first sub-network of the plurality of candidate sub-networks from the entire network; obtaining a first metric value for the first sub-network; determining whether the first metric value satisfies a first predetermined condition; based on a determination that the first metric value does not satisfy the first predetermined condition, determining not to train the obtained first sub-network for the one-shot NAS; obtaining a second sub-network of the plurality of candidate sub-networks from the entire network; and training the second sub-network for the one-shot NAS.

16. The instructions, when executed, cause the at least one processor to: obtaining a second metric value for the second sub-network; and determining whether the second metric value satisfies the first predetermined condition; training the second sub-network by 16. The storage medium of claim 15, wherein the second sub-network for the one-shot NAS is trained based on a determination that the second metric value satisfies the first predetermined condition.

17. 17. The storage medium of claim 15 or 16, wherein the instructions, when executed, cause the at least one processor to perform the step of determining whether the first metric value satisfies the first predetermined condition by comparing the first metric value to a first predetermined threshold.

18. 17. The storage medium of claim 15 or 16, wherein the instructions, when executed, cause the at least one processor to perform the step of determining whether the first metric value satisfies the first predetermined condition by determining whether the first metric value is greater than a first predetermined threshold and less than a second predetermined threshold.

19. The instructions, when executed, cause the at least one processor to perform the step of obtaining the first metric value by obtaining a plurality of metric values ​​including the first metric value of the first sub-network; 17. The storage medium of claim 15, wherein the instructions, when executed, cause the at least one processor to perform a step of determining whether the first metric value satisfies a first predetermined condition by determining whether the plurality of metric values ​​each satisfy a corresponding plurality of predetermined conditions, including the first predetermined condition, for training in the one-shot NAS.

20. 17. The storage medium of claim 15 or 16, wherein the first metric value comprises at least one of a latency value, a model size value, and a number of floating-point operations per second (flops) value.