Recursive (not Recurrent!) Neural Networks in TensorFlow
For the past few days I've been working on how to implement recursive neural networks in TensorFlow. Recursive neural networks (which I'll call TreeNets from now on to avoid confusion with recurrent neural nets) can be used for learning tree-like structures (more generally, directed acyclic graph structures). They are highly useful for parsing natural scenes and language; see the work of Richard Socher (2011) for examples. More recently, in 2014, Ozan İrsoy used a deep variant of TreeNets to obtain some interesting NLP results. In RNNs, at each time step the network takes as input its previous state s(t-1) and its current input x(t) and produces an output y(t) and a new hidden state s(t).
May-18-2017, 14:45:04 GMT