Training deep neural networks with 4-bit integers
OwnerChanghao Li, Haocheng Xi +2inventors
InventorsChanghao Li, Haocheng Xi, Jianfei Chen, Ze Cheng
Life of this patent
Estimating the term…
Loading patent…
OwnerChanghao Li, Haocheng Xi +2inventors
InventorsChanghao Li, Haocheng Xi, Jianfei Chen, Ze Cheng
Estimating the term…
Techniques for training deep neural networks with 4-bit integers are described. A computer-implemented method for accelerating operations of a deep neural network includes: for each of a plurality of matrix multiplications during forward propagation, obtaining a first matrix by multiplying an activation matrix, which an input of the matrix multiplication, with a block-diagonal Hadamard transform matrix; obtaining a second matrix by multiplying a weight matrix, a transpose of which is another input of the matrix multiplication, with the block-diagonal Hadamard transform matrix; quantizing the first matrix and the second matrix into 4-bit integer matrices; obtaining a resultant matrix by multiplying the quantized first matrix and the transpose of the quantized second matrix; and dequantizing the resultant matrix to a matrix of floating-point representation.
1-20. (canceled)
A computer-implemented method for accelerating operations of a deep neural network, comprising:
A computing device, comprising:
A non-transitory computer-readable storage medium on which are stored instructions for accelerating operations of a deep neural network, the instructions, when executed by one or more processors, causing the one or more processors to perform the following steps:
Dependencies are inferred from the claim text.