Training neural networks using distributed batch normalization
AssigneeGoogle Inc.
InventorsBlake Alan Hechtman, Sameer Kumar
Life of this patent
Estimating the term…
Loading patent…
AssigneeGoogle Inc.
InventorsBlake Alan Hechtman, Sameer Kumar
Estimating the term…
Methods, systems, and apparatus, including instructions encoded on storage media, for performing reduction of gradient vectors for distributed training of a neural network. One of the methods includes receiving, at each of the plurality of devices, a respective batch; performing, by each device, a forward pass comprising, for each batch normalization layer: generating, by each of the devices, a respective output of the corresponding other layer for each training example in the batch, determining, by each of the devices, a per-replica mean and a per-replica variance; determining, for each sub-group, a distributed mean and a distributed variance from the per-replica means and the per-replica variances for the devices in the sub-group; and applying, by each device, batch normalization to the respective outputs of the corresponding other layer generated by the device using the distributed mean and the distributed variance for the sub-group to which the device belongs.
A method of distributing the training of a neural network across a plurality of devices, wherein the neural network has a plurality of network parameters, wherein the neural network has one or more batch normalization layers, wherein each batch normalization layer applies batch normalization to outputs of a corresponding other layer in the neural network, wherein each device maintains a respective replica of the neural network, and wherein the method comprises:
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 for distributing the training of a neural network across a plurality of devices, wherein the neural network has a plurality of network parameters, wherein the neural network has one or more batch normalization layers, wherein each batch normalization layer applies batch normalization to outputs of a corresponding other layer in the neural network, wherein each device maintains a respective replica of the neural network, and wherein the operations comprise:
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 for distributing the training of a neural network across a plurality of devices, wherein the neural network has a plurality of network parameters, wherein the neural network has one or more batch normalization layers, wherein each batch normalization layer applies batch normalization to outputs of a corresponding other layer in the neural network, wherein each device maintains a respective replica of the neural network, and wherein the operations comprise:
Dependencies are inferred from the claim text.