>
Fa   |   Ar   |   En
   visualisation and ‘diagnostic classifiers’ reveal how recurrent and recursive neural networks process hierarchical structure  
   
نویسنده hupkes d. ,veldhoen s. ,zuidema w.
منبع journal of artificial intelligence research - 2018 - دوره : 61 - شماره : 0 - صفحه:907 -926
چکیده    We investigate how neural networks can learn and process languages with hierarchical, compositional semantics. to this end, we define the artificial task of processing nested arithmetic expressions, and study whether different types of neural networks can learn to compute their meaning. we find that recursive neural networks can implement a generalising solution to this problem, and we visualise this solution by breaking it up in three steps: project, sum and squash. as a next step, we investigate recurrent neural networks, and show that a gated recurrent unit, that processes its input incrementally, also performs very well on this task: the network learns to predict the outcome of the arithmetic expressions with high accuracy, although performance deteriorates somewhat with increasing length. to develop an understanding of what the recurrent network encodes, visualisation techniques alone do not suffice. therefore, we develop an approach where we formulate and test multiple hypotheses on the information encoded and processed by the network. for each hypothesis, we derive predictions about features of the hidden state representations at each time step, and train ‘diagnostic classifiers’ to test those predictions. our results indicate that the networks follow a strategy similar to our hypothesised ‘cumulative strategy’, which explains the high accuracy of the network on novel expressions, the generalisation to longer expressions than seen in training, and the mild deterioration with increasing length. this in turn shows that diagnostic classifiers can be a useful technique for opening up the black box of neural networks. we argue that diagnostic classification, unlike most visualisation techniques, does scale up from small networks in a toy domain, to larger and deeper recurrent networks dealing with real-life data, and may therefore contribute to a better understanding of the internal dynamics of current state-of-the-art models in natural language processing. c 2018 ai access foundation. all rights reserved.
آدرس university of amsterdam, institute for logic, language and computation (illc), netherlands, university of amsterdam, institute for logic, language and computation (illc), netherlands, university of amsterdam, institute for logic, language and computation (illc), netherlands
 
     
   
Authors
  
 
 

Copyright 2023
Islamic World Science Citation Center
All Rights Reserved