Dynamics of a recurrent neural network acquired through learning a context-based attention task

Selective attention is a very important function for robots acting in the real world. In this function, not only attention itself, but also context extraction and retention are very intelligent processes and are not easily realized. In this article, an attention task is presented in which context information must be extracted from the first pattern presented, and using the context information, a recognition response must be generated from the second pattern presented. An Elman-type recurrent neural network is used to extract and retain the context information. The reinforcement signal that indicates whether the response is correct or not is the only signal given to the system during learning. By this simple learning process, the necessary context information got to be extracted and retained, and then the system changed to generate the correct responses. The function of associative memory was also observed in the feedback-loop in the Elman-type neural network. Furthermore the adaptive formation of basins was examined by varying the learning conditions.