- Source: Recursive neural network
A recursive neural network is a kind of deep neural network created by applying the same set of weights recursively over a structured input, to produce a structured prediction over variable-size input structures, or a scalar prediction on it, by traversing a given structure in topological order. These networks were first introduced to learn distributed representations of structure (such as logical terms), but have been successful in multiple applications, for instance in learning sequence and tree structures in natural language processing (mainly continuous representations of phrases and sentences based on word embeddings).
Architectures
= Basic
=In the simplest architecture, nodes are combined into parents using a weight matrix (which is shared across the whole network) and a non-linearity such as the
tanh
{\displaystyle \tanh }
hyperbolic function. If
c
1
{\displaystyle c_{1}}
and
c
2
{\displaystyle c_{2}}
are
n
{\displaystyle n}
-dimensional vector representations of nodes, their parent will also be an
n
{\displaystyle n}
-dimensional vector, defined as:
p
1
,
2
=
tanh
(
W
[
c
1
;
c
2
]
)
{\displaystyle p_{1,2}=\tanh(W[c_{1};c_{2}])}
where
W
{\displaystyle W}
is a learned
n
×
2
n
{\displaystyle n\times 2n}
weight matrix.
This architecture, with a few improvements, has been used for successfully parsing natural scenes, syntactic parsing of natural language sentences, and recursive autoencoding and generative modeling of 3D shape structures in the form of cuboid abstractions.
= Recursive cascade correlation (RecCC)
=RecCC is a constructive neural network approach to deal with tree domains with pioneering applications to chemistry and extension to directed acyclic graphs.
= Unsupervised RNN
=A framework for unsupervised RNN has been introduced in 2004.
= Tensor
=Recursive neural tensor networks use a single tensor-based composition function for all nodes in the tree.
Training
= Stochastic gradient descent
=Typically, stochastic gradient descent (SGD) is used to train the network. The gradient is computed using backpropagation through structure (BPTS), a variant of backpropagation through time used for recurrent neural networks.
Properties
The universal approximation capability of RNNs over trees has been proved in literature.
Related models
= Recurrent neural networks
=Recurrent neural networks are recursive artificial neural networks with a certain structure: that of a linear chain. Whereas recursive neural networks operate on any hierarchical structure, combining child representations into parent representations, recurrent neural networks operate on the linear progression of time, combining the previous time step and a hidden representation into the representation for the current time step.
= Tree Echo State Networks
=An efficient approach to implement recursive neural networks is given by the Tree Echo State Network within the reservoir computing paradigm.
= Extension to graphs
=Extensions to graphs include graph neural network (GNN), Neural Network for Graphs (NN4G), and more recently convolutional neural networks for graphs.
References
Kata Kunci Pencarian:
- Recursive neural network
- Recurrent neural network
- Types of artificial neural networks
- Residual neural network
- Graph neural network
- Neural network (machine learning)
- Neural machine translation
- Deep learning
- Neural tangent kernel
- RNN