Reduction of parameters in fully connected layers of neural networks by low rank factorizations
AssigneeHuawei Technologies Co., Ltd.
InventorsSerdar Sozubek, Barnaby Dalton, Vanessa Courville, Graham Taylor
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsSerdar Sozubek, Barnaby Dalton, Vanessa Courville, Graham Taylor
Estimating the term…
The present disclosure is drawn to the reduction of parameters in fully connected layers of neural networks. For a layer whose output is defined by y=Wx, where y∈Rm is the output vector, x∈Rn is the input vector, and W∈Rm×n is a matrix of connection parameters, matrices Uij and Vij are defined and submatrices Wij are computed as the product of Uij and Vij, so that Wij=VijUij, and W is obtained by appending submatrices Wi,j.
A computer-implemented method for computing an output of a fully connected layer of a neural network, the fully connected layer comprising n inputs and m outputs, and m×n connection parameters, the computer-implemented method comprising:
A system for computing an output of a fully connected layer of a neural network, the fully connected layer comprising n inputs and m outputs the system comprising:
A computer-implemented method for computing an m-dimensional output vector y representative of m outputs of a fully connected layer of a neural network, the method comprising:
A computing system for computing an m-dimensional output vector y representative of m outputs of a fully connected layer of a neural network, the computing system comprising:
Dependencies are inferred from the claim text.
Drawings are temporarily unavailable. Open the PDF at USPTO
From the US filing history. Foreign family members aren’t listed.
The present disclosure relates to creating layers for neural networks and particularly, to creating fully connected layers.
Artificial neural networks are connectionist systems inspired by biological neural networks. They are used to approximate functions that can depend on a large number of unknown inputs. Neural networks are generally presented as systems of interconnected “neurons” (or nodes) which exchange messages between each other. The connections (or edges) between the neurons may have numeric weights associated with them that can be tuned using various optimization methods, for example stochastic gradient descent.
A deep neural network is made up of many layers. A layer, for example, may have n inputs (x1, x2, . . . , xn) and m outputs (y1, y2, . . . , ym). The number of inputs may be different from the number of outputs, and may also be different for different layers. Each layer connects the inputs nodes to the outputs nodes, in a way that is specific to the type of layer. The outputs from one layer may be the inputs to the next layer.
Further features and advantages of the present invention will become apparent from the following detailed description, taken in combination with the appended drawings, in which:
FIG. 1 is a graphical illustration of a fully connected layer of a neural network, as per the prior art;
FIG. 2 is a graphical illustration of a local connection pattern between xj and yi, in accordance with one embodiment;
It will be noted that throughout the appended drawings, like features are identified by like reference numerals.
Referring to FIG. 1, there is illustrated a fully connected layer 100 of a neural network (not shown), as per the prior art. In this example, n inputs 1021, 1022, 1023 . . . 102n are connected to m outputs 1041, 1042, . . . 104m. More specifically, each input 1021, 1022, 1023 . . . 102n is connected to each output 1041, 1042, . . . 104m via a direct connection 1061,1, 1062,1, . . . 106m,n. Each connection 1061,1, 1062,1, . . . 106m,n, corresponds to a parameter used to attenuate or amplify a signal going from the inputs 1021, 1022, 1023 . . . 102n to the outputs 1041, 1042, . . . 104m and/or to reverse a sign of the signal.
The n inputs 1021, 1022, 1023 . . . 102n are represented mathematically as an n-dimensional input vector x. The m outputs 1041, 1042, . . . 104n are represented mathematically as an m-dimensional output vector y. The connections 1061,1, 1062,1, . . . 106m,n correspond to a matrix W such that the output vector y is given by: y=W·x (1)
Neural networks: architecture, e.g. interconnection topology
Architecture, e.g. interconnection topology: quantised networks; Sparse networks; Compressed networks
Complex mathematical operations: matrix or vector computation , e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
Architecture, e.g. interconnection topology: feedforward networks
About 12 years 5 months of term left · ends 31 Mar 2039 (estimated)