Theoretical-experimental study of a mathematical model of the episodic memory in a mobile robot
Abstract
The episodic memory consists on the ability to consciously remember episodes experienced by the individual. It is based on the associative memory, capacity to group together stimuli perceived simultaneously, creating concepts. A model of the associative memory based on the modelisation of the hippocampus with a neural network is studied. Problems related to the implementation of the model for complex stimuli association are explored and solved. Finally, this hippocampus model is used in the control algorithm of a mobile robot for problem solving both in a simulated and a real environment, to show its utility as an artificial memory system.
Full text
ESTUDIO TEÓRICO-EXPERIMENTAL DE UN MODELO MATEMÁTICO DE LA MEMORIA EPISÓDICA EN UN ROBOT MÓVIL THEORETICAL-EXPERIMENTAL STUDY OF A MATHEMATICAL MODEL OF THE EPISODIC MEMORY IN A MOBILE ROBOT GUILLERMO MARTÍN SÁNCHEZ TRABAJO DE FIN DE GRADO DEL DOBLE GRADO EN INGENIERÍA INFORMÁTICA - MATEMÁTICAS FACULTAD DE INFORMÁTICA, UNIVERSIDAD COMPLUTENSE DE MADRID https://github.com/guillemarsan/Mathematical-model-of-episodic-memory 18-09-2020 Director: JOSÉ ANTONIO LÓPEZ OROZCO
Resumen en castellano La memoria episódica consiste en la habilidad de recordar de manera consciente episodios sucedidos al individuo. Está basada en la memoria asociativa, capacidad de agrupar estímulos que ocurren de forma simultánea, formando así conceptos. Estudiamos un modelo de la memoria asociativa basado en la modelización del hipocampo con una red neuronal. Exploramos y solucionamos los problemas que surgen al implementar el modelo para usarlo para asociar estímulos complejos. Finalmente, usamos este modelo del hipocampo en el algoritmo de control de un robot móvil para la resolución de problemas tanto en un entorno simulado como en la vida real para mostrar su utilidad como sistema de memoria artificial. Palabras clave Hipocampo, Memoria asociativa, Memoria episódica, Neurona conceptual, Robot móvil, Visión por ordenador.
Abstract The episodic memory consists on the ability to consciously remember episodes experienced by the individual. It is based on the associative memory, capacity to group together stimuli perceived simultaneously, creating concepts. A model of the associative memory based on the modelisation of the hippocampus with a neural network is studied. Problems related to the implementation of the model for complex stimuli association are explored and solved. Finally, this hippocampus model is used in the control algorithm of a mobile robot for problem solving both in a simulated and a real environment, to show its utility as an artificial memory system. Keywords Associative memory, Computer Vision, Concept neuron, Episodic memory, Hippocampus, Mobile robot.
Table of Contents 1 Introduction 2 1.1 Background .................................... 2 1.2 Objectives..................................... 6 1.3 Approach ..................................... 6 1.4 Overview...................................... 7 2 Model 8 2.1 Architecture.................................... 8 2.2 Learning...................................... 9 2.3 Inhibition ..................................... 10 2.4 Retrieval...................................... 10 2.5 Summary ..................................... 11 3 Implementation of the model 13 3.1 Firststeps..................................... 13 3.1.1 Patterns and the problem of similarity . . . . . . . . . . . . . . . . . 13 3.1.2 Digits and the problem of difference . . . . . . . . . . . . . . . . . . . 15 3.1.3 Conclusions ................................ 17 3.2 Images....................................... 19 3.2.1 Segmentation ............................... 19 3.2.2 Moments.................................. 19 3.2.3 Datapreprocessing............................ 21 3.3 Prediction..................................... 24 3.4 Parametertuning................................. 25 3.5 Misclassification and ignorance . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.6 Perspective .................................... 27 3.7 Results....................................... 28 3.8 CNN........................................ 30 3.9 ResultsCNN ................................... 31 4 A case of use. Episodic memory in a mobile robot 33 4.1 Robot ....................................... 33 4.2 Experimentdesign ................................ 34 4.3 Algorithmdesign ................................. 35 4.3.1 Environment ............................... 36 4.3.2 Virtual senses and actuators . . . . . . . . . . . . . . . . . . . . . . . 37 4.3.3 Brain.................................... 38 i
4.4 Resultsofthesimulation............................. 40 4.5 Realexperiment.................................. 42 4.6 Results of the real experiment . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5 Conclusions and future work 45 Bibliography 49 A Stateflows 50 ii
Table of symbols Symbol Usage keither a scalar (k∈R) or a function k(t) : R→R keither a vector (k∈Rm) or a function k(t) : R→Rm Keither a matrix (K∈Rm×n) or a function K(t) : R→Rm×n ˙xderivative of x(t) h·,·i euclidean inner product k·k euclidean norm U(A)uniform probability distribution in set A P(A)probability of A P(A|B)probability of Agiven B ndimensionality of the stimuli Lnumber of stimuli Mnumber of neurons in the first layer Nnumber of neurons in the second layer Knumber of stimuli associated together xstimulus vector ssel(t)input function to the first layer Wweights matrix of the first layer y(t)activation of the first layer scon(t)input function to the second layer Uweights matrix of the second layer ycon(t)activation of the second layer Ttotal training time tσtime each stimulus is presented Table of abbreviations Abbreviation Usage MTL Medial Temporal Lobe ReLU Rectified Linear Unit ANN Artificial Neural Network CNN Convolutional Neural Network ResNet Residual Network
Chapter 1 Introduction 1.1 Background In 1966, R. Bellman firstly discussed and coined the term ‘curse of dimensionality’ in his famous work ‘Dynamic programming’ 1. He talked about the arising difficulty high dimensional spaces suppose to optimization. Since then this term has been used to denote several more undesired characteristics of these spaces which include the combinatorial exponential growth and the need of more training data in machine learning tasks. To avoid these undesired effects several techniques of dimensionality reduction such as principal component analysis (PCA) or, more recently, autoencoders2, are daily used to ensure good model performance. It is under this circumstances that some articles where published stating that the high dimensional nature of their problems was also key to finding an optimal solution for their optimization tasks3. The term ‘blessing of dimensionality’ was coined and considered as the other side of the coin by D. L. Donoho in his data science Manifesto: ‘High-Dimensional Data Analysis: The Curses and Blessings of Dimensionality’ 4. Several applications such as face recognition5, multidimensional cluster analysis6or error correction in machine learning systems7used the term to explain their good performance. Scientists concluded that dimensionality was a curse when not fully understood but a blessing when fully exploited. As A. N. Gorban and I. Y. Tyukin concluded in their paper abstract8in 2018: "At the beginning of the twenty-first century, it became clear that the proper utilisation of these phenomena in machine learning might transform the curse of dimensionality into the blessing of dimensionality". The brain is high dimensional9. It consists of billions of neurons working as coupled dynamical systems to form high dimensional representations of the world for problem solving. Another point of view in which scientists have been paying attention to this high dimensionality lately is the number of synaptic inputs a particular neuron has. A single rat hippocampal CA1 pyramidal cell can be post-synaptic to up to around 30,000 excitatory and 1700 inhibitory synapses10. In humans, there is experimental evidence to believe that the variation in number of synaptic connections could explain 25% of intelligence quotient CHAPTER 1. INTRODUCTION 2
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 1.1: Types of memory17. The focus of our work is in the formation of episodic memories through associative memory. (IQ) scores variance11. I. Y. Tyukin et al., researchers of the research group Cognitive Systems and Neurorobotics of the Faculty of Mathematics at Universidad Complutense de Madrid, first study the relationship between the blessings of dimensionality (high dimensional points generated stochastically with a distribution with bounded support are with high probability Fischerseparable) and concept cells12. This leads to their most recent work where they propose a neuronal model for associative memory and test its feasibility with constrained examples: stimuli sampled from a uniform distribution in the hypercube ([0,1])nand simple intensity wave input. In doing so they also provide theoretical justification of the existence of concept cells based on the high neuronal dimension as the major factor13. In 1972, Barlow said: “our perceptions are caused by the activity of a rather small number of neurons selected from a very large population of predominantly silent cells.” 14 in a manifest supporting the idea of concept cells. This was contrary to the previous belief that a single or few cells could not encode abstract concepts but rather, the orchestrated activity of a large group of neurons could. In 2005, R. Quian Quiroga et al. showed experimental evidence of the existence of these concept cells15. Intracranial electrodes recorded brain activity of the medial temporal lobe (MTL) of subjects while performing different tasks. They discovered an specific neuron that would fire to 7 different pictures of Jennifer Aniston but not pictures of other famous people or places. Furthermore, they showed this neuron would fire when the subject read the written or heard the spoken name of the actress. This experimental evidence was remarkably important in the single-cell doctrine which lead to people start calling the previously called ‘grandmother cells’ (term coined to ridicule the idea), ‘Jennifer Aniston cells’. More recently, ‘conceptual cells’ has been established as preferred term. In 2012, R. Quian Quiroga wrote about how these neurons could be understood to create and retrieve associations between stimuli of different nature (e.g. visual input as an image and written language, and auditory input as spoken language) to form the “building blocks of episodic memory”16. Memory can be classified in different types as show in Fig. 1.1. Episodic memory consists on the ability to retrieve past events that an individual has lived. ‘Associative learning’ and ‘associative memory’ are terms used to refer to the integration, storage and later retrieval CHAPTER 1. INTRODUCTION 3
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 1.2: 12 A) Layered structure of the hippocampus leads to parallel connections between the CA3 and CA1 layers. B) Via Schaffer collaterals the connections are dense: the axons of each of the CA3 pyramidal neurons reach the dendrites of many CA1 neurons leading to a convergence-divergence of information. of associated signals in the brain18, ability used to later form episodic memory. The main way in which two stimuli are associated in the brain is through time simultaneity. In this way an event could be understood to be constructed through the association of stimuli that happened at the same (or closely in) time. The hippocampus (which is part of the MTL with the parahippocampal and perirhinal cortices) is considered the core of episodic memory in the human brain. This is why I. Y. Tyukin et al. use the mathematical modelisation of the CA3 and CA1 regions of this part of the brain for their work on concept cells and their role in associative memory. Pyramidal cells in CA1 are parallel oriented to the same axis. They receive excitatory input from the CA3 neuron’s axons that bifurcate and cross CA1 in parallel leading to high connectivity between each CA3 neuron and many CA1 neurons. This allows the passing of high dimensional data in a convergence-divergence manner (see Fig. 1.2). We are seeing deep neural networks complete numerous pattern recognition tasks successfully. However, they still perform poorly in cognition benchmarks19. In the same way first artificial neural networks (ANNs) where invented taking inspiration from biological systems it seems clear that the step forward is to keep using new research in neuroscience to develop new machine learning algorithms. As H. Sinz et al put in his manifesto ‘Engineering a Less Artificial Intelligence’ 20: "Despite enormous progress in machine learning, artificial neural networks still lag behind brains in their ability to generalize to new situations" and "neuroscience can guide the quest for better inductive biases by providing useful constraints on representations and network architecture". They focus on the well-known idea that while ANNs need thousand of examples to learn, the brain generalizes well with many fewer examples. There has been attempts to modelise biological systems more closely to solve some of these problems. Spiking neural networks (SNNs)21 use neurons that mimic the biological ones in greater detail: they use some time dependent differential equation, e.g. the Hodgkin–Huxley model22, to modelise the membrane potential of each neuron at each time step. Experimental evidence suggests that biological neural systems use the timing of single action potentials to encode information. However, this approach is computationally very expensive. Another modelisation is the Adaptive resonance theory (ART)23 which has lead to a number of different neural network algorithms with the main idea that changes in the CHAPTER 1. INTRODUCTION 4
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 2.1: Architecture with inhibition layers. In black the model neurons, in grey the inhibitory neurons. The activation is forwards except when shown by arrows. Light red represent constant inhibitory connections (weights = -1) and light grey constant excitatory connections (weights = 1). layer and the second Uare computed through learning, we compute the activation of the last layer neurons as follows: v=hW,sii,y=H(v−θ), vcn =hU,yi,ycn =H(vcn −θcn).(2.10) During the retrieval the Hebbian plasticity stops and we do not compute the effect of the inhibitory neurons: we consider it a separate task from learning. 2.5 Summary The neural network consists of two layers of ReLUs. During the learning phase we use the differential equation Eq. 2.5 to update the weights of both layers. We use inhibition during learning to ensure there are fewer lost stimuli. During a second phase of retrieval we compute the activation of the layers through forward propagation without plastic changes and without using inhibition (see Fig. 2.2). CHAPTER 2. MODEL 11
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 2.2: Diagram of the two states of the system. During learning we use plasticity, synaptic integration and inhibition. During retrieval we only compute the activation through forward propagation. With learning we expect the first layer to become highly selective with not many lost stimuli, i.e. it becomes a layer able to recognise all stimuli. We also expect the second layer to become conceptual to stimuli showed closely in time (all Kstimuli in a concept), i.e. it becomes able to associate stimuli that happened close in time together, implementing associative memory, the building block of episodic memory. CHAPTER 2. MODEL 12
Chapter 3 Implementation of the model 3.1 First steps Since for the concept layer the nature of the stimuli is nonimportant, as long as the selective layer exhibits high selectivity, we implemented a simplified model consisting only of the first layer and tested it with stimuli of different nature. In particular, we started with simple stimuli but more complex than the already tested (random uniform sample in [−1,1]nand simple oscillation functions). We tested it with binary simple line patterns and with the MNIST library26. 3.1.1 Patterns and the problem of similarity We first test the first layer on a series of 7×7binary simple patterns consisting of all the vertical, horizontal and diagonal lines. Some of these patterns can be seen in Fig. 3.1. We used the n= 72= 49 binary vectors resulting of linearising L= 40 patterns as stimuli. We use a layer with M= 100 neurons. The parameters used where the ones suggested by the paper which, even though based on the no longer true assumption that the stimuli are randomly sampled form a uniform distribution, turn out to perform well for this case. In particular we set θ=√3 2and setting psl = 0.95 we compute βas follows: β=θ δ, δ =s1−2Φ−1(psl) √5n,(3.1) where Φis the normal cumulative function (for details reference back to the paper13). We train for T= 400 showing each stimulus cyclically for tσ= 0.5. The results achieved are shown in Fig. 3.2. On the top we see a rasterplot that represents which stimuli (rows) make each neuron (columns) fire. The columns are ordered for visualization. We see that most of the neurons are selective (columns with only one row in black) and that most of the stimuli are not lost (rows with some column in black). On the bottom, we see the results numerically: for each neuron we plot how many stimuli make it fire. Notice that in this case the neurons are not ordered for visualization as in the top CHAPTER 3. IMPLEMENTATION OF THE MODEL 13
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 3.1: Sample of the 7×7simple binary patterns used: vertical, horizontal and diagonal lines. Figure 3.2: Results of the selective layer with simple patterns. Top: Rasterplot showing the activation of neurons to a given stimulus (neurons ordered for visualization). Bottom: Graph that shows the number of responses for each of the neurons (not ordered). We see high selectivity and low inactivity. We measure few lost stimuli. CHAPTER 3. IMPLEMENTATION OF THE MODEL 14
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 3.3: Crosses patterns added to the training set to test the ability of the selective layer to work with more complex patterns. graph. In particular, the ones with 0responses are inactive neurons and the ones with 1 response are selective. We observe, as the rasterplot suggested, that we achieve a 88% of selectivity. We also measure only 2(5%) lost stimuli. We later decided to add two more complex patterns (a vertical and diagonal cross) to the training set (see Fig. 3.3). We saw the first problem arise. As the theory determines, we need the stimuli to be orthogonal enough so that when the weight vector wof a neuron aligns to one of the stimuli it stops firing for the rest. This is key for the first layer to become selective to each of the stimuli and to be able to distinguish between them. When stimuli are not sufficiently different (orthogonal) the first layer fails to become selective: no selective neurons arise for this set of similar stimuli. Furthermore, some neurons align such that they become active for all the stimuli in the set. This later leads to problems for the conceptual layer to learn the association and therefore should be avoided. We will call this the problem of similarity. When adding the crosses we encounter this problem as shown in Fig. 3.4. In our particular case we can see the problematic patterns in Fig. 3.5. We see they are a pair in which pattern 15 is contained inside pattern 42. In particular, the cosine of the angle they form is 0.7338. This makes them too similar. In comparison, the highest cosine the pattern 15 forms with any other stimuli is 0.378. We measure how similar two stimuli are by computing the cosine of the angle their vector representations form as follows: cos(θ) = hs1,s2i ks1kks2k.(3.2) 3.1.2 Digits and the problem of difference In this case we used the digits of the MNIST database as stimuli. The MNIST database is a collection of 60.000 examples of 20 ×20 greyscale images of handwritten digits. A sample of these digits can be seen in Fig. 3.6. It is commonly used as a benchmark for testing classification algorithms. We will use it to test if the first layer becomes selective with more CHAPTER 3. IMPLEMENTATION OF THE MODEL 15
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 3.4: Rasterplot showing the neuronal response when the crosses are added. In red the stimuli (pattern 15 and pattern 42) that are similar. We see there are no selective neurons for these two stimuli. In yellow neurons that behave like concept neurons: they fire for both stimuli. Figure 3.5: Similar patterns that generate the problem of similarity. Pattern 15 (left) and pattern 42 (right). CHAPTER 3. IMPLEMENTATION OF THE MODEL 16
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 3.6: Sample of the MNIST database. complex inputs and how similar a new stimulus has to be to the one presented during the learning process to be identified as the same one. We use the same training parameters as before, except in this case we have L= 20 greyscale vectors with n= 202= 400 components. Due to the increase in dimensionality we now use M= 200 neurons in the selective layer. The results achieved are shown in Fig. 3.7. No stimuli are lost and we achieve 113 (56.5%) selective neurons. We see there are many (64 -32%) inactive neurons (which could become selective for future learning). More importantly we discover that the model highly overfits to the training examples. This means that in this high dimensionality space, examples of the same object (e.g. the same digit rotated slightly) are easily too orthogonal to be considered the same stimulus by the network. This means the first layer becomes selective to the training examples but does not generalize well to new examples. We will call this the problem of difference In particular, as an example of this we have two examples of the digit 1 in Fig. 3.8. The first one is an example the network has been trained with while the second one is a new example. After the learning process, during retrieval, when the network receives the second one as an input, none of the neurons that fired for the first example, fire (in particular none of the selective neurons). This is due to the fact that the cosine of the angle they form is 0.3919 and thus they are considered as very different stimuli by the network. 3.1.3 Conclusions We conclude that it is promising that more complex patterns could be used as long as we address the problem of similarity (so patterns are sufficiently different to be distinguishable and do not produce conceptual behaviour in the first layer) and the problem of difference (so the same patterns showed slightly transformed are recognised as the same). CHAPTER 3. IMPLEMENTATION OF THE MODEL 17
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 3.7: Results of the selective layer with digits. Top: Rasterplot showing the activation of neurons to a given stimulus (neurons ordered for visualization) Bottom: Graph that shows the number of responses for each of the neurons (not ordered). We see high selectivity and high inactivity. We measure no lost stimuli. Figure 3.8: Two examples of the digit 1. Even though they represent the same digit, they are considered very different by the network. They are an example of the problem of difference. CHAPTER 3. IMPLEMENTATION OF THE MODEL 18
Mathematical model of episodic memory Guillermo Martín Sánchez 3.2 Images We decided to use images of handwritten symbols (numbers, letters, etc.) as patterns to associate. In order to avoid the the problem of difference, we do some preprocessing of the images and compute some characteristics of the symbols to ensure that the same symbol represented differently in two images (e.g. rotated) correspond to a very similar stimulus used as input to the network (see Section 3.2.2). To avoid the the problem of similarity, we do some study of the symbols we are going to use as well as study the training examples to ensure they are different enough to be distinguished by the first layer (see Section 3.2.3). 3.2.1 Segmentation Before doing this, we need to segmentate the symbol in the image from the background. We use one of the simplest ways: color. We write the symbols in red with a white background. To segmentate, we then compute the value of redness of each of the pixels with coordinates (x, y)of the image as: Redness(x, y) = R(x, y)−max(G(x, y), B(x, y)) (3.3) where R, G, B are the color components of the image. We then assume a pixel (x, y)is part of the symbol if Redness(x, y)> thresh for some specific threshold we choose statically (in particular we see thresh = 50 segmentates correctly the red we use). Furthermore, to smoothen the binary image obtained we use a function to fill up wholes. 3.2.2 Moments As stated before, in order to avoid the problem of difference we have to make sure different images of the same symbol relate to the same stimulus used as input to the network. The transformations a symbol could be affected by are translation, rotation, scaling and perspective. We are going to address the former three by computing 9invariant moments and sample 400 points of the radius signature. With this, we make the model receive a 409Dvector which is very similar for any image of the same symbol with regard to these three transformations. In biological systems this corresponds to a previous step of vision processing before associative learning. Perspective will be discussed in depth in Section 3.6. The computed invariant moments27 to translation, rotation and scaling are: •Eccentricity: The eccentricity of a symbol is the quotient of the length of the major and minor axis. •Compatibility: The compatibility of a symbol is defined as P2/A where Pis the perimeter and Athe area. •Hu moment invariants: Given f(x, y)a function which gives us the intensity at the pixel with coordinates (x, y)of an image, we compute first the moments of order CHAPTER 3. IMPLEMENTATION OF THE MODEL 19
Mathematical model of episodic memory Guillermo Martín Sánchez (p+q)for (p, q) = (0,0),(1,0),(0,1) given by: mpq =X xX y xpypf(x, y).(3.4) With them we compute ¯x=m10 m00 ,¯y=m01 m00 ,(3.5) used to get the central moments of order (p+q)given by: µpq =X xX y (x−¯x)p(y−¯y)qf(x, y).(3.6) We then proceed to calculate the normalized central moments of order (p+q): ηpq =µpq µγ 00 , γ =p+q 2+ 1.(3.7) With all of this we can finally compute the 7 Hu moment invariants: φ1=η20 +η02, φ2=(η20 −η02)2+ 4η2 11, φ3=(η30 −3η12)2+ (3η21 −η03)2, φ4=(η30 +η12)2+ (3η21 +η03)2, φ5=(η30 −3η12)(η30 +η12)b(η30 +η12)2−3(η21 +η03)2c+ (3η21 −η03)(η21 +η03)b3(η30 +η12)2−(η21 +η03)2c, φ6=(η20 −η02)b(η30 +η12)2−(η21 +η03)2c+ 4η11(η30 +η12)(η21 +η03), φ7=(3η21 −η03)(η30 +η12)b(η30 +η12)2−3(η21 +η03)2c+ (3η21 −η03)(η21 +η03)b3(η30 +η12)2−(η21 +η03)2c. (3.8) We then normalize them so every moment contributes equally to the representation as follows: φ0 n=|ln(|φn|)|.(3.9) •Radius signature: We now focus on the border of the symbol. The radius signature consists in a function r(θ)which given an angle θgives the length of the vector from the centroid of the symbol to the border with angle θ. We use a generalisation for when the centroid lies outside of the border. Given a positive parametrisation of the border as a close curve γ(t)t∈[0,1] we compute r(t∗)as the distance between the centroid and the point γ(t∗). Computationally, we have a finite list of points of the boundary (xi, yi)and we compute the distance to the centroid (c1, c2)with the Pythagorean theorem: ri=p(xi−c1)2+ (yi−c2)2(3.10) CHAPTER 3. IMPLEMENTATION OF THE MODEL 20
Mathematical model of episodic memory Guillermo Martín Sánchez and the uncertainty of the model would be related and we could find a threshold such that if the classifications with certainty below that threshold were discarded, we would achieve better precision. However, on the validation set, as shown in Fig. 3.11, we encounter a very binary behaviour: either almost only one type of concept neuron fires (cert ≈1,pred 6=−1), or no concept neurons fire (cert = 0,pred =−1). In particular the cases with certainty a little less than 1 are correctly classified. Therefore it is redundant information with the value of pred. We decide to drop the concept of certainty and substitute it for equivalently splitting the error into misclassification (some concept neurons fired but they where not the correct ones, pred 6=−1but has an incorrect value) and ignorance (no concept neurons fire, the system believes it has never seen the symbol before, pred =−1). In practice misclassified examples cannot be noticed (until already facing the consequences of the misclassification) but we can profit from the ability of our system to show itself ignorant to fix that type of error. In particular, the most simple solution is to force the system to move and try to resample the stimulus in a different manner until it stops being ignorant. This is similar of how some biological systems tend to move their position to see the object differently when they cannot easily recognise it. The particular way in which it has to do it and a justification of why we expect the system to stop being ignorant in this way will be seen in Section 3.6. If we get rid of the ignorance error through resampling and we only take into account misclassified examples we get an increase of the accuracy on the validation set from 0.7up to 0.903226. (Misclasification is ≈44% of the error while ignorance is ≈56%). 3.6 Perspective In this section we will discuss the importance of perspective in error. Specifically, in the ignorance error. As stated in the Section 3.2.2 the main ways in which a symbol can be captured transformed are translation, rotation, scale and perspective. Using invariant moments to the former three makes perspective the main factor in error. To support this claim, we manually label the validation examples as with very different perspective or similar perspective to the training example of the same symbol. Now we find relations of conditional probabilities and implications in our validation set which will relate to high correlation in the population. Mathematically, if Ris ‘the model correctly classified’ and Pis ‘the example is in different perspective’ we observe that, in our sample, P(P|¬R)=1(all of the wrongly classified examples are different in perspective) or in this case equivalently, P(R|¬P) = 1 (all of the examples similar in perspective where correctly classified). We conclude error is directly related to bad perspective (¬R⇒P) and (by contrapositive) good perspective to correct classification (¬P⇒R), respectively. In this sense the two are related. Notice that bad perspective is not directly related to error (P;¬R) and (by contrapositive) correct classification is not to good perspective (R;¬P) since there are examples that where considered both in bad perspective and correctly classified. CHAPTER 3. IMPLEMENTATION OF THE MODEL 27
Mathematical model of episodic memory Guillermo Martín Sánchez Now we can discuss how resampling to solve ignorance errors should be done and why we expect it to work (see Section 3.5). We see that P(¬I|¬P) = 1 (all of the examples similar in perspective do not make the model ignorant) and thus good perspective is directly related to no ignorance (¬P⇒ ¬I). Therefore, if the movement of the system for resampling is done in such a way that we change perspective of the image over and over, we expect at some point the system will sample in a similar perspective to that of the training example, stop being ignorant (finally realise what symbol is) and probably classify correctly the symbol (remind P(R|¬Ignorant)=0.903226). All of this discussion will be solved once we upgrade the preprocessing unit with feature extraction (invariant to perspective) in Section 3.8. 3.7 Results We used an architecture of 409Dstimuli (9moments and 400 sampling points of the radius signature taken from the training set concluded during data preprocessing (see Section 3.2.3)), M= 300 neurons in the first layer and N= 150 neurons in the second. We show each stimuli for tσ= 1 cyclically up to T= 300 with an α= 30. First we analyse the results of the first layer with parameters β= 0.7and θ= 0.8shown in Fig. 3.12. At the top we see the values of the 409Dstimuli with one color for each stimulus. Then we see the activation rasterplots and the number of responses per stimulus before learning and after learning. As we can see, we achieve high selectivity: we increase from 79 (36.3%) to 210 (70%) selective neurons. However we do not change the number of inactive neurons: 70 (23.3%) in both cases. We also see inhibition ensured a more equitable share of the stimuli between selective neurons (in the rasterplot in c)) and thus there are no lost stimuli. The results of the second layer with the optimal parameters, computed in Section 3.4, βcn = 0.25 and θcn = 0.125 are shown in Fig. 3.13. As before, at the top we see the values of the M= 300Dactivation vectors of the previous layer for each stimulus. Now, instead of showing the number of responses per neuron we show in a histogram how many neurons are nonconceptual (class −1) and how many conceptual to numbers (class 1), shapes (class 2) or letters (class 3). We observe that the layer changes from having almost all (149, 99,3%) nonconceptual neurons to becoming highly conceptual for the three concepts. In particular we achieve a ConScore3= 4 (maximum score) and the following shares: 33 (22%) conceptual neurons for numbers, 28 (18.7%) for shapes, 39 (26%) for letters, and 50 (33.3%) nonconceptual neurons for future concept learning. We use a set of test examples not used in the previous sections for testing the precision of the model to correctly predict the class they belong to: number, letter or shape. They include pictures with very different perspectives as well as slightly translation, rotation and scaling. We accomplish an accuracy of 0.7. However, if we consider only the misclassification error (wrong concept neurons fire) and not the ignorance error (no concept neurons fire) we achieve a precision of 0.972. CHAPTER 3. IMPLEMENTATION OF THE MODEL 28
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 3.12: Results of the selective layer. a) In different colours, stimuli used. 9moments and 400 points of the radius signature. b) Results of randomly initialised weights. c) Results after training. Much higher selectivity and no lost stimuli. Figure 3.13: Results of the concept layer. a) In different colours, activation of previous layer for each stimuli b) Results of randomly initialised weights. Almost all neurons are nonconceptual c) Results after training. High number of conceptual neurons for each of the concepts. CHAPTER 3. IMPLEMENTATION OF THE MODEL 29
Mathematical model of episodic memory Guillermo Martín Sánchez 3.8 CNN As we have justified in Section 3.6, the error due to ignorance, that is, no conceptual neurons fire, is due to the fact that the representation computed for a given image via its moments (Section 3.2.2) is not invariant to perspective. Therefore, examples of the same image with different perspectives are not considered as the same symbols by the system. In order to solve this, we have decided to try changing the representation of a given image by its moments for a representation based on some features of the symbol represented. This way we intend to reduce the problem of ignorance significantly since the new representation used would be invariant to perspective. To compute these features we focus towards feature extraction with convolutional neural networks (CNNs). A CNN is a deep neural network based on convolutional and pooling layers. They are widely used for computer vision tasks. In particular we use a residual neural network (ResNet) which is a kind of ANN where there are ‘skip’ connections between layers to avoid a ‘degradation’ problem and therefore facilitate learning28. Since training of CNNs needs a high amount of training data and computation, we have decided to use an already trained CNN for image classification for feature extraction. The goal is to use the activation of one of the layers of the network on the input of the image, as stimulus for the hippocampus model. We use ResNet-5029, a residual CNN with 50 layers trained for the task of image classification for the ImageNet database30. ResNet-50 is available in the Deep Learning Toolbox of MATLAB. Since the input to ResNet-50 required is a 224 ×224 RGB image, we use the color segmentation to localize the symbol and then crop and rescale the original RGB image in a square of 224 ×224 pixels that bounds the symbol. To choose which layer to use we compute for the validation set the approximation of the false negatives and false positives the representation of a given layer of the network would give us in a similar way as in Section 3.2.3. Since we want to solve the problem of ignorance, that is, the fact that examples of the same symbol are not classified as such, we give more weight to the false negatives (80%) than the false positives (20%) and choose the layer that minimises this weighted sum. We conclude that best layer to use for feature extraction as stimuli is one of the last ones, in particular the layer activation_48_relu. In Fig. 3.14 we see color coded the cosine of the angle each of the representations of the examples of the validation set form with each other. In (a) we see the angles from the representations of the image moments. Some examples show high orthogonality. For example: examples 25 to 28, all belonging to the letter G, are easily identified as examples of the same symbol and distinct from the rest, as shown by the red box in a mostly green and blue row/column. However, we also see examples mix. For example, examples 29 to 36 belong both to the letter K and the letter H but are indistinguishable between each other. In (b), the angles of the representation by an intermediate layer of ResNet-50 (activation_38_relu) are shown. We see all the vectors are very similar. In (c) we have the representation of the layer activation_48_relu. In particular, we observe squares that represent that examples of CHAPTER 3. IMPLEMENTATION OF THE MODEL 30
Mathematical model of episodic memory Guillermo Martín Sánchez (a) (b) (c) Figure 3.14: Cosine of the angle between the representation of the different stimuli in the validation set. (a) Image moments representation. Some symbols are very distinct but others are easily mixed. (b) Activation of activation_38_relu representation. All symbols are mixed. (c) Activation of activation_48_relu representation. Examples of the same symbol are similar and those of different symbols are distinct enough. the same symbol form small angles (red) while examples of different symbols form a bigger angle (orange or green). 3.9 Results CNN We use the same parameters as before except that we decrease the value of the threshold θ= 0.6(to help stimuli slightly misaligned with the weights vector also produce activation) and we use as stimuli the vectorized activation of the layer activation_48_relu of the ResNet-50 with 25088 dimensions instead of the image moments. In Fig. 3.15 we see the results of the selective layer. We see very similar results as with the moments preprocessing. A total of 214 (71.3%) of selective neurons with no lost stimuli and 60 (20%) inactive neurons. However, we see different results in the concept layer in Fig. 3.16. We observe that after learning we get a smaller number of neurons conceptual to each of the concepts: 17 (11.3%) conceptual neurons for numbers, 13 (8.7%) for shapes, and 11 (7.3%) for letters. However since all of them are above the 5% minimum required we consider these results as having a ConScore3= 4 (maximum). We also see that in the greater number of nonconceptual neurons (109 or 72.7%) we have more inactive neurons than in the case of the image moments. Neither the fact that we have less conceptual neurons for each concept nor that more nonconceptual neurons are inactive means we should consider these as worse results. In fact, we obtain an accuracy of 1on the test set (taking into account both ignorance and misclassification errors) which is a huge improvement of our previous results with the image moments and an optimum precision overall. CHAPTER 3. IMPLEMENTATION OF THE MODEL 31
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 3.15: Results of the selective layer with CNN. a) In different colours, the 25088D stimuli used. b) Results of randomly initialised weights. c) Results after training. Very similar results to those obtained with image moments. Figure 3.16: Results of the concept layer with CNN. a) In different colours, activation of previous layer for each stimuli b) Results of randomly initialised weights. All neurons are nonconceptual c) Results after training. Fewer conceptual neurons for each concept than with image moments but still above the minimum 5% required. CHAPTER 3. IMPLEMENTATION OF THE MODEL 32
Chapter 4 A case of use. Episodic memory in a mobile robot 4.1 Robot Figure 4.1: a) Pioneer robot with camera installed. b) Diagram of the distribution of front sonars31. The robot owned by the Cognitive Systems and Neurorobotics research group is the Pioneer 3DX, a small mobile robot used for research purposes (Fig. 4.1a)). It consists of a main body with three wheels: two on the side and one in the rear. It is a differential wheeled robot, i.e. the ones on the side have an independent motor each while the third is for support. The two main ways the robot captures information is through a webcam that has been installed on top of the base at ≈70cm height and the sonars. The camera is connected to the PC on board an can capture video and image. There are 8 sonars distributed in the CHAPTER 4. A CASE OF USE. EPISODIC MEMORY IN A MOBILE ROBOT 33
Mathematical model of episodic memory Guillermo Martín Sánchez front as shown in Fig. 4.1b). They can detect when an object is near and the number and distribution allows for nuanced sensing. Finally, and even though the robot does not have it yet, we have considered the possibility of installing and using a gripper that can close and open. We use the specifications of the Pioneer 2 gripper32 (adaptable to the Pioneer 3DX) but in general, any gripper would work. The robot brings ARIA, an interface to send and receive signals from the robot using C++. In particular, the research group uses the PC on board to run MATLAB scripts that execute MEX functions in C++ which connect with ARIA. 4.2 Experiment design The sonars will give us detailed information of the environment. This, joined to the high mobility two independently motored wheels give the robot, will allow it to navigate spaces easily. Since we want it to have a predictable behaviour we decided to use corridors to indicate the path the robot has to follow and use the sonars (besides keeping straight in the corridor) for turning and for solving the tasks. In particular, since we use the sonars for navigation, the camera can focus on taking samples of the symbols to test the associative memory model. Therefore the skeleton of our experiments would consist on the robot exploring a space determined by corridors until some specific circumstances occur. In that moment, the robot would take an image of a symbol situated on a wall and depending on the concept the symbol belongs to, the robot will have to perform one or other action. These actions can involve either moving (using the wheels) or grabbing/releasing something (using the gripper) or a combination of the two. After finishing the action the robot needs to be again in a corridor-like space to continue moving and start the cycle again. The two experiments we have decided to test using this scheme are: oriented navigation and order execution. •In oriented navigation we will test the ability of the robot to go from a starting point to a finishing point in a maze. In order to know in the bifurcations whether it has to turn left, right or stop, we use the concepts previously acquired through offline learning: number, shape and letter. When reaching a bifurcation the robot will find a symbol on the wall in front. If this symbol is a number, it would mean the robot needs to turn right; if it’s a shape it needs to stop (since it has reached the destination point) and if it’s a letter, the robot needs to turn left. •In order execution the robot will move cyclically between three stations. In each one of them it will find a symbol on the wall which will represent one of three different tasks: let go of a box it already has picked up (represented with a number), activate a machine (represented with a shape), or pick up a box (represented with a letter). Once it has performed the task it will move on to the next station. CHAPTER 4. A CASE OF USE. EPISODIC MEMORY IN A MOBILE ROBOT 34
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 4.2: Diagram of the conceptual modules used. In the simulation, the environment, senses and actuators are fully simulated. 4.3 Algorithm design We designed the algorithm in modules that resemble that of the anatomical and functional structures of biological systems. In Fig. 4.2 we see the structure of modules used. When designing the simulation we distinguish two main parts: the environment and the robot. •The enviornment module keeps track of the state of the environment. It modifies the state, generates the visualization and communicates the position of the robot to the simulated senses. This module will not be used in the real life application. •The robot module further subdivides into three submodules: –The senses module corresponds with devices that get information from the external environment. In the case of our experiment we use the sonar sensors of the Pioneer 3DX to help navigate the space without colliding and a camera attached to it to get the images of the symbols later used for association. We had to simulate the behaviour of the real camera and sonars in the simulation. These modules will be changed to the modules of the actual camera and sonars in the real life application. –The brain module corresponds with all the logic of the algorithm. It consists of two modules (sensory cortex) for analysing the data received from the senses module, the hippocampus module for stimuli association, the state module for decision making and another two modules (motor cortex) for transforming the state to actual actions for the actuators modules. This module will be completely unchanged in the real life application. CHAPTER 4. A CASE OF USE. EPISODIC MEMORY IN A MOBILE ROBOT 35
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 4.3: Simulink model for the simulated experiment. The modules are directly related to those in Fig. 4.2. a) General modules. Here there are no virtual actuators because they are integrated in Environment. b) The modules that constitute the brain. –The actuators module corresponds with the devices that output the actions to the external environment. In our case we use the wheels of the robot and a installable gripper. In the simulation we had to simulate the interaction of these modules with the environment. These modules will be changed to the modules of the actual wheels and gripper in the real life application. In Fig. 4.3 we see the correspondence to the actual Simulink model in the case of the simulation. The modules are directly related to those in Fig. 4.2, except that the actuators are integrated inside the environment module. 4.3.1 Environment This module consists mainly of the invariant arena and the mutable robot, machines and boxes. The states of the changing parts consist of: CHAPTER 4. A CASE OF USE. EPISODIC MEMORY IN A MOBILE ROBOT 36
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 4.8: Simulink model for the real experiment. We change the virtual sensors for the real ones and introduce a module for the wheels. The brain module is left unchanged. 4.6 Results of the real experiment As shown in Fig. 4.9 the robot approaches the wall and correctly executes the action demanded in each case by the symbol shown on the wall. These stills have been taken from a video available in the repository. CHAPTER 4. A CASE OF USE. EPISODIC MEMORY IN A MOBILE ROBOT 43
Mathematical model of episodic memory Guillermo Martín Sánchez Figure 4.9: Experiment with the real robot. The robot approaches the wall and stops. With a number (3), the robot turns right; with a letter (G) it turns left and with a shape (Star) it stays still. CHAPTER 4. A CASE OF USE. EPISODIC MEMORY IN A MOBILE ROBOT 44
Chapter 5 Conclusions and future work Is the model able to associate natural stimuli? What are the main constraints to take into account or to solve? We have seen the model correctly associating complex stimuli. However, it would not be correct to say this association is direct since it depends on a big prior preprocessing that transforms these natural stimuli in some representation that the network works with. This seems common in biological systems that process the raw information before associating the stimuli (e.g. in the visual cortex). We have studied in depth the importance of the orthogonality of the stimuli to avoid the problem of difference. In particular, using image moments as preprocessing, due to the fact that they are not invariant to perspective, made the system have some level of error. Assigning this error to the hippocampus model is wrong as in general it is expected to work optimally learning and retrieving, and the error rate should be assigned to the preprocessing module for not being able to properly generate the same representation for two different images of the same symbol. The fact that this could be solved by accounting perspective has been well justified. Perspective is a tricky transformation since in general you need metainformation of the environment to detect that you are taking an image with perspective. This means that if you see the segmented symbol there is no way to know if it has been perceived with perspective or not. As an example, if after segmentation the figure is an ellipse, in general there is no way to figure out if you have captured an ellipse with low perspective or the image of a circle with high perspective. This is why there are no invariant moments to perspective. However, we have solved this problem using a CNN for feature extraction and use the activation of one of the layers as representation. Indeed, we saw this representation was invariant to perspective (without the need of metainformation) and therefore solved very satisfactorily the problem. In regards to the theoretical aspect of the model we see two main flaws. The first one is the necessity of perceiving the stimuli so many times, in a cyclic manner, for the selective layer to become selective to them. In particular we show the 9images cyclically 33 times each. In real situations, biological systems are able to form episodic memories from stimuli that are presented once rather than being repeated over and over again. The second one is the big separation we do between learning and retrieval. Introducing inhibition in the CHAPTER 5. CONCLUSIONS AND FUTURE WORK 45
Mathematical model of episodic memory Guillermo Martín Sánchez form of a supportive layer of inhibitory neurons helped greatly to solve the problem of lost stimuli. However, during retrieval, we tried to compute the activation to see if the system converged to some fixed point and, while it did, it was one with high selectivity but no concept cells. Therefore, we had to make a split between the two processes. This is an issue because biological systems do not separate from both tasks. Also it arises the question of how well the model would work if, after learning a number of associations, we tried to make it learn new ones. Further look into this is needed. Can a mobile robot use the model for a significant application? We have seen the model once it has learned works perfectly in retrieving when presented with stimuli similar to the one learned in the learning phase. We have seen as well the robot solve a number of tasks using this ability. The biggest issues with the experiments where that they were toy experiments (more complex tasks with more complex associations and more symbols need to be explored) and that they where simulated. In regards of the latter, we have made the robot’s algorithm modular and used the specifications of the real robot so the testing in a real life setting could be done as directly as possible. Thanks to this, the adaptation to the real robot was direct and only configuration and tuning of the sensors, camera and wheel velocities were needed. We saw a proof of concept that the system would work in a real life experiment. Another aspect of our present project is that it has studied the ability of the model to learn offline and to retrieve in a real life situation when, in general, learning should also be tested online. We see here that many considerations arise and is a problem that should be tackled in the future on its own. To state a few, we show all the images of the training set cyclically 33 times. Having the robot move or a human agent intervene in order to be changing the images the robot it is capturing would be highly time consuming and unfeasible. A possible solution would be for the robot to take all the pictures and then go through the learning process in an offline manner (going cyclically through the pictures taken internally). Another issue is that the robot should communicate when it is trying to be taught a new stimuli that the preprocessing module considers too similar to a previous one, and therefore, would lead to the problem of similarity. Finally, we have hardcoded what the robot should do when detecting different stimuli (e.g. a number means turn right) but it would be interesting to see whether the robot could assign the stimuli to the actions via some system of reward-punishment through reinforcement learning. This would make the association stimulus-action mimic more closely biological systems. As a final conclusion we think the model despite of (or thanks to) its simplicity, works very well in performing the task it is intended to: associate stimuli. It needs, as it seems natural, the aid of a good preprocessing module to work properly in practical situations for artificial cognition. The study is in its early start but looks promising and more research is needed. CHAPTER 5. CONCLUSIONS AND FUTURE WORK 46
Bibliography [1] Bellman, R. (1966). Dynamic programming. Science 153(3731), 34–37. [2] Wang, Y., H. Yao, and S. Zhao (2016). Auto-encoder based dimensionality reduction. Neurocomputing 184, 232 – 242. [3] Kainen, P. (1997). Utilizing geometric anomalies of high dimension: When complexity makes computation easier. In M. Kárný and K. Warwick (Eds.), Computer Intensive Methods in Control and Signal Processing. Birkhäuser, Boston, MA. [4] Donoho, D. (2000, 01). High-dimensional data analysis: The curses and blessings of dimensionality. AMS Math Challenges Lecture, 1–32. [5] Chen, D., X. Cao, F. Wen, and J. Sun (2013). Blessing of dimensionality: Highdimensional feature and its efficient compression for face verification. 2013 IEEE Conference on Computer Vision and Pattern Recognition, 3025–3032. [6] Murtagh, F. (2009, 12). The remarkable simplicity of very high dimensional data: Application of model-based clustering. Journal of Classification 26(3), 249–277. [7] Gorban, A. N., I. Y. Tyukin, and I. Romanenko (2016). The blessing of dimensionality: Separation theorems in the thermodynamic limit. IFAC-PapersOnLine 49(24), 64 – 69. [8] Gorban, A. N. and I. Y. Tyukin (2018). Blessing of dimensionality: mathematical foundations of the statistical physics of data. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences 376. [9] Tozzi, A. (2019). The multidimensional brain. Physics of Life Reviews 31, 86 – 103. [10] Megías, M., Z. Emri, T. Freund, and A. Gulyás (2001). Total number and distribution of inhibitory and excitatory synapses on hippocampal ca1 pyramidal cells. Neuroscience 102(3), 527 – 540. [11] Goriounova, N. et al. (2018, 12). Large and fast human pyramidal neurons associate with intelligence. eLife 7, 1–21. [12] Tyukin, I. Y., A. N. Gorban, C. Calvo Tapia, J. Makarova, and V. A. Makarov (2019). High-dimensional brain: A tool for encoding and rapid learning of memories by single neurons. Bull Math Biol. 81(11), 4856–4888. [13] Calvo Tapia, C., I. Y. Tyukin, and V. A. Makarov (2020). Universal principles justify the existence of concept cells. Sci Rep. 10(1), 78–89. BIBLIOGRAPHY 47
Mathematical model of episodic memory Guillermo Martín Sánchez [14] Barlow, H. (1972). Single units and sensation: A neuron doctrine for perceptual psychology? Perception 1(4), 371–394. [15] Quian, R., L. Reddy, G. Kreiman, C. Koch, and I. Fried (2005, 07). Invariant visual representation by single neurons in the human brain. Nature 435, 1102–7. [16] Quiroga, R. Q. (2012). Concept cells: the building blocks of declarative memory functions. Nature Reviews Neuroscience 13, 587–597. [17] Types of memory. Queensland Brain Institute. https://qbi.uq.edu.au/ brain-basics/memory/types-memory. [18] Wang, J.-H. and S. Cui (2018). Associative memory cells and their working principle in the brain. F1000Research 7. [19] Schmidhuber, J. (2015). Deep learning in neural networks: An overview. Neural Networks 61, 85 – 117. [20] Sinz, F. H., X. Pitkow, J. Reimer, M. Bethge, and A. S. Tolias (2019). Engineering a less artificial intelligence. Neuron 103(6), 967 – 979. [21] Maass, W. (1997). Networks of spiking neurons: The third generation of neural network models. Neural Networks 10(9), 1659 – 1671. [22] Hodgkin, A. L. and A. F. Huxley (1952). A quantitative description of membrane current and its application to conduction and excitation in nerve. The Journal of Physiology 117(4), 500–544. [23] Grossberg, S. (1987). Competitive learning: From interactive activation to adaptive resonance. Cognitive Science 11(1), 23–63. [24] Mobile Robot Simulation for Collision Avoidance with Simulink. Math- Works. https://es.mathworks.com/matlabcentral/fileexchange/ 47208-mobile-robot-simulation-for-collision-avoidance-with-simulink. [25] Oja, E. (1982). A simplified neuron model as a principal component analyzer. Journal of Mathematical Biology 15(3), 267—273. [26] LeCun, Y., C. Cortes, and C. J. Burges. MNIST database.http://yann.lecun.com/ exdb/mnist/. [27] Martinsanz, G. P., J. M. de la Cruz García, and A. G. Tome (2001). Visión por Computador: Imágenes digitales y aplicaciones. RA-MA S.A. Editorial y Publicaciones. [28] He, K., X. Zhang, S. Ren, and J. Sun (2016). Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778. BIBLIOGRAPHY 48
Mathematical model of episodic memory Guillermo Martín Sánchez [29] ResNet-50. MathWorks. https://es.mathworks.com/help/deeplearning/ref/ resnet50.html#:~:text=ResNet%2D50%20is%20a%20convolutional,%2C%20pencil% 2C%20and%20many%20animals. [30] ImageNet.http://www.image-net.org. [31] Pioneer 3TM Operations Manual. ActivMedia Robotics. http://alvarestech.com/ temp/RoboAseaIRB6S2-Fiat/www.fit.hcmup.edu.vn/~hungnv/teaching/Robotics/ Robo_HW_manual.pdf. [32] Pioneer 2 Gripper Manual. ActivMedia Robotics. https://www.macalester.edu/ research/fox/pioneer/gripmanP2.pdf. BIBLIOGRAPHY 49
Appendix A Stateflows Figure A.1: Stateflow diagram used in the algorithm for the oriented navigation task. APPENDIX A. STATEFLOWS 50
Mathematical model of episodic memory Guillermo Martín Sánchez Figure A.2: Stateflow diagram used in the algorithm for the order execution task. APPENDIX A. STATEFLOWS 51