Reducing dynamic range of low-rank decomposition matrices
US-2015170020-A1 · Jun 18, 2015 · US
US10223635B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10223635-B2 |
| Application number | US-201514846579-A |
| Country | US |
| Kind code | B2 |
| Filing date | Sep 4, 2015 |
| Priority date | Jan 22, 2015 |
| Publication date | Mar 5, 2019 |
| Grant date | Mar 5, 2019 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Compressing a machine learning network, such as a neural network, includes replacing one layer in the neural network with compressed layers to produce the compressed network. The compressed network may be fine-tuned by updating weight values in the compressed layer(s).
Opening claim text (preview).
What is claimed is: 1. A method of compressing a neural network, comprising: replacing at least one layer in the neural network with a plurality of compressed layers to produce a compressed neural network, a dimension of each compressed layer being less than a dimension of the at least one layer, and a size of a memory footprint of the compressed neural network being less than a memory footprint of the neural network; inserting nonlinearity between adjacent compressed layers of the compressed neural network by applying a nonlinear activation function to neurons of the plurality of compressed layers, such that the plurality of compressed layers are nonlinear layers; and fine-tuning the compressed neural network by updating weight values in at least one of the plurality of compressed layers. 2. The method of claim 1 , in which the nonlinear activation function is a rectifier, absolute value function, hyperbolic tangent function or a sigmoid function. 3. The method of claim 1 , in which the fine-tuning is performed by updating the weight values in the compressed neural network. 4. The method of claim 3 , in which the fine-tuning comprises updating weight values in at least one of a subset of the plurality of compressed layers or in a subset of uncompressed layers. 5. The method of claim 3 , in which the fine-tuning is performed using training examples, the training examples comprising at least one of a first set of examples used to train an uncompressed neural network or a new set of examples. 6. The method of claim 1 , further comprising: initializing the neural network by repeatedly applying compression, insertion of nonlinear layers, and the fine-tuning as a method for initializing deeper neural networks. 7. A method of compressing a neural network, comprising: replacing at least one layer in the neural network with multiple compressed layers to produce a compressed neural network such that a receptive field size of the multiple compressed layers combined matches a receptive field size of uncompressed layers, a dimension of each of the multiple compressed layers being less than a dimension of the at least one layer, and a size of a memory footprint of the compressed neural network being less than a memory footprint of the neural network; inserting nonlinearity between adjacent compressed layers of the compressed neural network by applying a nonlinear activation function to neurons of the plurality of compressed layers, such that the plurality of compressed layers are nonlinear layers; and fine-tuning the compressed neural network by updating weight values in at least one compressed layer. 8. The method of claim 7 , in which a kernel size of the uncompressed layers is equal to the receptive field size. 9. The method of claim 7 , in which the replacing comprises replacing at least one layer in the neural network having a kernel size k x ×k y with the multiple compressed layers of a same type with the kernel sizes k 1x ×k 1y , k 2x ×k 2y . . . k Lx ×k Ly to produce the compressed network in which properties (k 1x −1)+(k 2x −1) + . . . +(k Lx −1)=(k x −1) and (k 1y −1)+(k 2y −1)+ . . . +(k Ly −1)=(k y −1) are satisfied, and in which L is an Lth layer. 10. The method of claim 9 , in which a convolutional layer with the kernel size k x ×k y is replaced with three convolutional layers with the kernel sizes 1×1, k x ×k y and 1×1, respectively. 11. A method of compressing a neural network, comprising: replacing at least one layer in the neural network with a plurality of compressed layers to produce a compressed neural network, a dimension of each compressed layer being less than a dimension of the at least one layer, and a size of a memory footprint of the compressed neural network being less than a memory footprint of the neural network; determining weight matrices of the plurality of compressed layers by applying an alternating minimization process; and inserting nonlinearity between adjacent compressed layers of the compressed neural network by applying a nonlinear activation function to neurons of the plurality of compressed layers, such that the plurality of compressed layers are nonlinear layers. 12. The method of claim 11 , further comprising fine-tuning the compressed neural network by updating weight values in at least one of the plurality of compressed layers. 13. The method of claim 12 , in which the fine-tuning includes updating weight values in at least one of a subset of the plurality of compressed layers, or a subset of uncompressed layers. 14. The method of claim 12 , in which the fine-tuning is performed in multiple stages, in which in a first stage the fine-tuning is performed on a subset of the plurality of compressed layers, and in a second stage the fine-tuning is performed on a subset of the plurality of compressed layers and uncompressed layers. 15. An apparatus for compressing a neural network, comprising: a memory; and at least one processor coupled to the memory, the at least one processor configured: to replace at least one layer in the neural network with a plurality of compressed layers to produce a compressed neural network, a dimension of each compressed layer being less than a dimension of the at least one layer, and a size of a memory footprint of the compressed neural network being less than a memory footprint of the neural network; to insert nonlinearity between adjacent compressed layers of the compressed neural network by applying a nonlinear activation function to neurons of the plurality of compressed layers, such that the plurality of compressed layers are nonlinear layers; and to fine-tune the compressed neural network by updating weight values in at least one compressed layer. 16. The apparatus of claim 15 , in which the nonlinear activation function is a rectifier, absolute value function, hyperbolic tangent function or a sigmoid function. 17. The apparatus of claim 15 , in which the at least one processor is further configured to perform the fine-tune by updating the weight values in the compressed neural network. 18. The apparatus of claim 17 , in which the at least one processor is further configured to perform the fine-tuning by updating weight values in at least one of a subset of compressed layers or in a subset of uncompressed layers. 19. The apparatus of claim 17 , in which the at least one processor is further configured to perform the fine-tuning by using training examples, the training examples comprising at least one of a first set of examples used to train an uncompressed neural network or a new set of examples. 20. The apparatus of claim 15 , in which the at least one processor is further configured to initialize the neural network by repeatedly applying compression, insertion of nonlinear layers, and the fine-tuning as a method for initializing deeper neural networks. 21. An apparatus for compressing a neural network, comprising: a memory; and at least one processor coupled to the memory, the at least one processor configured: to replace at least one layer in the neural network with multiple compressed layers to produce a compressed neural network such that a receptive field size of the multiple compressed layers combined matches a receptive field size of uncompressed layers, a dimension of each of the multiple compressed layers being less than a dimension of the at least one layer, and a size of a memory footprint of the compressed neural network being less than a memory footprint of the neural network; to insert nonlinearity betw
Quantised networks; Sparse networks; Compressed networks · CPC title
Learning methods · CPC title
Architecture, e.g. interconnection topology · CPC title
modifying the architecture, e.g. adding, deleting or silencing nodes or connections · CPC title
Convolutional networks [CNN, ConvNet] · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.