Neural architecture search with weight sharing
AssigneeGoogle Inc.
InventorGabriel Mintzer Bender
Life of this patent
Estimating the term…
Abstract
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for selecting a neural network to perform a particular machine learning task while satisfying a set of constraints.
Claims23
(canceled)
A method performed by one or more computers, the method comprising:
- receiving training data and validation data for a particular machine learning task;
- receiving data specifying a target latency for performing the particular machine learning task;
- and
- selecting, from a space of candidate architectures and using the training data and the validation data, an architecture for a neural network to be deployed for performing the machine learning task,
- wherein each candidate architecture in the space has a different subset of a shared set of model parameters that is defined by a corresponding set of decision values that includes a respective decision value for each of a plurality of categorical decisions, and
- wherein the selecting comprises:
- jointly updating (i) a set of controller policy parameters that define, for each of the plurality of categorical decisions, a respective probability distribution over decision values for the categorical decision and (ii) the shared set of parameters, wherein:
- updating the set of controller policy parameters comprises updating the set of controller policy parameters through reinforcement learning to maximize a reward function that measures an estimated quality and an estimated latency of candidate architectures defined by sets of decision values sampled from probability distributions generated using the controller policy parameters, and
- updating the shared set of model parameters comprises updating the shared set of model parameters to optimize an objective function that measures a performance on the particular machine learning task of the candidate architectures defined by the sets of decision values sampled from the probability distributions generated using the controller policy parameters;
- prior to the joint updating, updating the shared set of parameters without updating the controller policy parameters by repeatedly performing operations comprising:
- selecting a candidate architecture from the space, comprising, for each of one or more of the categorical decisions:
- with probability p, including operations represented by all of the respective decision values for the categorical decision in the candidate architecture, and
- with probability 1−p, sampling a decision value from a fixed initial probability distribution for the categorical decision and including only the sampled decision value in the candidate architecture;
- and
- determining, using the training data, an update to the subset of the shared set of model parameters that are in the selected candidate architecture by optimizing the objective function for the particular machine learning task;
- and
- after the joint updating, selecting as the architecture for the neural network, a candidate architecture that is defined by respective particular decision values for each of the plurality of categorical decisions.
A system comprising one or more computers and one or more storage devices storing instructions that when executed by the one or more computers cause the one or more computers to perform operations comprising:
- receiving training data and validation data for a particular machine learning task;
- receiving data specifying a target latency for performing the particular machine learning task;
- and
- selecting, from a space of candidate architectures and using the training data and the validation data, an architecture for a neural network to be deployed for performing the machine learning task,
- wherein each candidate architecture in the space has a different subset of a shared set of model parameters that is defined by a corresponding set of decision values that includes a respective decision value for each of a plurality of categorical decisions, and
- wherein the selecting comprises:
- jointly updating (i) a set of controller policy parameters that define, for each of the plurality of categorical decisions, a respective probability distribution over decision values for the categorical decision and (ii) the shared set of parameters, wherein:
- updating the set of controller policy parameters comprises updating the set of controller policy parameters through reinforcement learning to maximize a reward function that measures an estimated quality and an estimated latency of candidate architectures defined by sets of decision values sampled from probability distributions generated using the controller policy parameters, and
- updating the shared set of model parameters comprises updating the shared set of model parameters to optimize an objective function that measures a performance on the particular machine learning task of the candidate architectures defined by the sets of decision values sampled from the probability distributions generated using the controller policy parameters;
- prior to the joint updating, updating the shared set of parameters without updating the controller policy parameters by repeatedly performing operations comprising:
- selecting a candidate architecture from the space, comprising, for each of one or more of the categorical decisions:
- with probability p, including operations represented by all of the respective decision values for the categorical decision in the candidate architecture, and
- with probability 1−p, sampling a decision value from a fixed initial probability distribution for the categorical decision and including only the sampled decision value in the candidate architecture;
- and
- determining, using the training data, an update to the subset of the shared set of model parameters that are in the selected candidate architecture by optimizing the objective function for the particular machine learning task;
- and
- after the joint updating, selecting as the architecture for the neural network, a candidate architecture that is defined by respective particular decision values for each of the plurality of categorical decisions.
One or more non-transitory computer-readable storage media storing instructions that when executed by one or more computers cause the one or more computers to perform operations comprising:
- receiving training data and validation data for a particular machine learning task;
- receiving data specifying a target latency for performing the particular machine learning task;
- and
- selecting, from a space of candidate architectures and using the training data and the validation data, an architecture for a neural network to be deployed for performing the machine learning task,
- wherein each candidate architecture in the space has a different subset of a shared set of model parameters that is defined by a corresponding set of decision values that includes a respective decision value for each of a plurality of categorical decisions, and
- wherein the selecting comprises:
- jointly updating (i) a set of controller policy parameters that define, for each of the plurality of categorical decisions, a respective probability distribution over decision values for the categorical decision and (ii) the shared set of parameters, wherein:
- updating the set of controller policy parameters comprises updating the set of controller policy parameters through reinforcement learning to maximize a reward function that measures an estimated quality and an estimated latency of candidate architectures defined by sets of decision values sampled from probability distributions generated using the controller policy parameters, and
- updating the shared set of model parameters comprises updating the shared set of model parameters to optimize an objective function that measures a performance on the particular machine learning task of the candidate architectures defined by the sets of decision values sampled from the probability distributions generated using the controller policy parameters;
- prior to the joint updating, updating the shared set of parameters without updating the controller policy parameters by repeatedly performing operations comprising:
- selecting a candidate architecture from the space, comprising, for each of one or more of the categorical decisions:
- with probability p, including operations represented by all of the respective decision values for the categorical decision in the candidate architecture, and with probability 1−p, sampling a decision value from a fixed initial probability distribution for the categorical decision and including only the sampled decision value in the candidate architecture;
- and
- determining, using the training data, an update to the subset of the shared set of model parameters that are in the selected candidate architecture by optimizing the objective function for the particular machine learning task;
- and
- after the joint updating, selecting as the architecture for the neural network, a candidate architecture that is defined by respective particular decision values for each of the plurality of categorical decisions.
Dependencies are inferred from the claim text.