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),[1] 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 hyperbolic function. If and are -dimensional vector representations of nodes, their parent will also be an -dimensional vector, defined as:
where is a learned weight matrix.
This architecture, with a few improvements, has been used for successfully parsing natural scenes, syntactic parsing of natural language sentences,[2] and recursive autoencoding and generative modeling of 3D shape structures in the form of cuboid abstractions.[3]
Recursive cascade correlation (RecCC)
RecCC is a constructive neural network approach to deal with tree domains[4] with pioneering applications to chemistry[5] and extension to directed acyclic graphs.[6]
Unsupervised RNN
A framework for unsupervised RNN has been introduced in 2004.[7][8]
Tensor
Recursive neural tensor networks use a single tensor-based composition function for all nodes in the tree.[9]
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[12] within the reservoir computing paradigm.
^Sperduti, A.; Starita, A. (1997-05-01). "Supervised neural networks for the classification of structures". IEEE Transactions on Neural Networks. 8 (3): 714–735. doi:10.1109/72.572108. ISSN1045-9227. PMID18255672.
^Bianucci, Anna Maria; Micheli, Alessio; Sperduti, Alessandro; Starita, Antonina (2000). "Application of Cascade Correlation Networks for Structures to Chemistry". Applied Intelligence. 12 (1–2): 117–147. doi:10.1023/A:1008368105614. ISSN0924-669X. S2CID10031212.
^Hammer, Barbara; Micheli, Alessio; Sperduti, Alessandro; Strickert, Marc (2004-03-01). "A general framework for unsupervised processing of structured data". Neurocomputing. 57: 3–35. CiteSeerX10.1.1.3.984. doi:10.1016/j.neucom.2004.01.008.