Distributed batch normalization using estimates and rollback
Abstract
A technique utilizing speculative execution and rollback for performing data parallel training of a neural network model is disclosed. Activations for a layer of the neural network model are normalized during a speculative normalization operation using estimated normalization parameters associated with a partial population of a set of training data allocated to a particular processor. Normalization parameters associated with the total population of the set of training data are generated by a distributed reduce operation in parallel with the speculative normalization operation. An optional rollback operation can revert the activations to a pre-normalization state if the estimated normalization parameters for the partial population are subsequently determined to be inaccurate compared to the normalization parameters for the population of the set of training data distributed across a plurality of processors.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for training a neural network model, comprising: processing, by at least one processor in a plurality of processors, a set of training samples allocated to the at least one processor by a layer of the neural network model to generate activations; analyzing, by the at least one processor, the activations to calculate a statistical measure associated with the activations for the at least one sample; generating, by the at least one processor, estimated normalization parameters based on the statistical measure; applying, in a speculative normalization operation by the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2023120516 A1 | Computation graph optimization by partial evaluations | — | 3 |
References Cited — Backward Prior Art (4)
Non-Patent Literature (4)
- K. He, et al., “Deep residual learning for image recognition,” in Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770-778, 2016.
- S. Ioff, et al., “Batch normalization: Accelerating deep network training by reducing internal covariate shift,” in Proceedings of the 32nd International Conference on Machine Learning (F. Bach and D. Blei, eds.), vol. 37 of Proceedings of Machine Learning Research, (Lille, France), pp. 448-456, PML
- S. Ioffe, “Batch renormalization: Towards reducing minibatch dependence in batch-normalized models,” in Advances in Neural Information Processing Systems, pp. 1945-1953, 2017.
- Y. Wu, et al., “Group normalization,” arXiv preprint arXiv:1803.08494, 2018.