The plasticity property of biological neural networks (BNNs) enables the networks to change their configuration (i.e. topology and/or connection weights) and learn to perform certain tasks during their lifetime. The learning process involves searching through the possible configuration space of the networks until a configuration that achieves a satisfactory performance is reached. Modelling plasticity, or rather evolving it, has been a long-standing goal in Neuro-evolution (NE), a research field that aims to design artificial neural networks (ANNs) using evolutionary computing approaches (Stanley et al., 2019; Floreano et al., 2008; Kowaliw et al., 2014).
Neuro-evolutionary methods can be divided roughly in direct and indirect encoding approaches (Floreano et al., 2008). In direct encoding, the topology and/or connection weights of the ANNs are directly represented within the genotype of the individuals. However, the number of possible network configurations (i.e. connectivity) increases exponentially depending on the number of neurons in a network. Therefore, it may be challenging to scale direct encoding approaches to large networks (Yaman et al., 2018; Mocanu et al., 2018). In indirect encoding on the other hand, this drawback is overcome by encoding in the genotype rather than the network parameters per se, the rules to construct and/or optimize the ANNs, usually during their lifetime (Kowaliw et al., 2014; Soltoggio et al., 2018). Indirect encoding has also the additional advantage of being biologically plausible, as evidence has showed that BNNs undergo changes throughout their lifetime without the need to change the genes involved in the expression of the neural networks.
Among the indirect encoding approaches, evolving plastic artificial neural networks (EPANNs) (Coleman and Blair, 2012; Soltoggio et al., 2018) implement plasticity by modifying the networks’ configuration based on some plasticity rules which are activated throughout the networks’ lifetime. These are encoded within the genotype of a population of individuals, in order to optimize the learning procedure by means of evolutionary computing approaches. One possible way of modelling plasticity rules in EPANNs is by means of Hebbian learning, a biologically plausible mechanism hypothesized by Hebb (Hebb, 1949) to model synaptic plasticity (Kuriscak et al., 2015). According to this model, synaptic updates are performed based on local neuron activations. Previous works on EPANNs have implemented this concept by using evolutionary computing to optimize the coefficients of first-principle equations that describe the synaptic updates between pre- and post-synaptic neurons (Coleman and Blair, 2012; Floreano and Urzelai, 2000; Niv et al., 2002)
. Others have used machine learning models (i.e. ANNs) that can take the activations of pre- and post-synaptic neurons as inputs to compute the synaptic update as output(Risi and Stanley, 2010; Orchard and Wang, 2016).
Reinforcement signals (and/or the output of other neurons, as in neuromodulation schemes (Soltoggio et al., 2008; Dürr et al., 2008)) can be used as modulatory signals to guide the learning process by signaling how and when the plasticity rules are used. To allow learning, these signals are usually required right after each output of the network, to help associating the activation patterns of neurons with the output. If the reinforcement signals are available only after a certain period of time, but not immediately after each action step, it may not be possible to directly associate the behavior of the network to the activation patterns of the neurons. Thus, the distal reward problem (Soltoggio and Steil, 2013; Izhikevich, 2007) arises, which cannot be addressed using Hebbian learning in its basic form, but requires a modified learning model to take into account the neuron activations over a certain period of time.
In this work, we propose a modified Hebbian learning mechanism, which we refer to as delayed synaptic plasticity (DSP), for enabling plasticity in ANNs in tasks with distal rewards. We introduce the use of neuron activation traces (NATs), i.e. additional data storage in each synapse that keep track of the average pre- and post-synaptic neuron activations. We use discrete DSP rules to perform synaptic updates based on the NATs and a reinforcement signal provided after a certain number of activation steps, that we refer to as an episode. The reinforcement signals are based on the performance of the agent relative to the previous episode (i.e. if the agent performs better/worse relative to the previous episode, a positive/negative reinforcement signal is provided). We further introduce competition in incoming synapses of neurons to stabilize delayed synaptic updates and encourage self-organization in the connectivity. As such, the proposed DSP scheme is a distributed and self-organized form of learning which does not require global information of the problem.
We employ genetic algorithms (GA) to evolve DSP rules to perform synaptic changes on recurrent neural networks (RNNs) that have to learn to navigate in a triple T-maze to reach a goal location. To test the robustness of the evolved DSP rules, we evaluate them for multiple trials with various goal positions. We then note how the process of training RNNs for a task using DSP can be seen as analogous to optimizing them using a single-solution metaheuristic, except for the fact that in contrast to general-purpose metaheuristics, the DSP rules take into account the (domain-specific) knowledge of the local neuron interactions for updating the synaptic weights. Therefore, to assess the effect of the domain knowledge introduced with DSP, we compare our results with a classic hill climbing (HC) algorithm. Our results show that DSP is highly effective in speeding up the optimization of RNNs relative to HC in terms of number of function evaluations needed to converge. On the other hand, the NATs data structure introduces additional computational complexity.
The rest of the paper is organized as follows: in Section 2, we discuss Hebbian learning and the distal reward problem; in Section 3, we introduce our proposed approach for DSP and provide a detailed description of the evolutionary approach we used to optimize DSP; in Section 4, we present our experimental setup; in Section 5, we provide a comparison analysis of our proposed approach and the baseline HC algorithm; finally, in Section 6, we discuss our conclusions.
ANNs are computational models inspired by biological neural networks (De Castro, 2006). They consists of a number of artificial neurons arranged in a certain connectivity pattern. Adopting the terminology from biology, a directional connection between two neurons is referred to as a synapse, and the antecedent and subsequent neurons relative to a synapse are called pre-synaptic and post-synaptic neurons. The activation of a post-synaptic neuron can be computed by using the following formula:
where is the activation of the -th pre-synaptic neuron, is the synaptic efficiency between -th and -th neurons, and2006)). The pre-synaptic neuron is usually set a constant value of 1.0 and referred to as the bias. Let us introduce also the equivalent matrix notation, that will be used in the following sections: considering that all the activations of pre- and post-synaptic neurons in layers and
can be represented, respectively, as a column vectorsand , then the activation of post-synaptic neurons can be calculated as:
where is a matrix that encodes all the synaptic weights.
2.1. Hebbian Learning
Hebbian learning is a biologically plausible learning model that performs synaptic updates based on local neuron activations (Kuriscak et al., 2015). In its general form, a synaptic weight at time is updated using the plain Hebbian rule, i.e.:
where is the learning rate and is the modulatory signal.
Using the plain Hebbian rule, the synaptic efficiency between neurons and , is strengthened/weakened when the sign of their activations are positively/negatively correlated, and does not change when there is no correlation. The modulatory signal can alter the sign of Hebbian learning implementing anti-Hebbian learning if the modulatory signal is negative (Brown et al., 1990; Soltoggio and Stanley, 2012).
The plain Hebbian rule may cause indefinite increase/decrease in the synaptic weights because strengthened/weakened synaptic weights increase/decrease neuron correlations, which in turn cause synaptic weights to be further strengthened/weakened. Several versions of the rule were suggested to improve its stability (Vasilkoski et al., 2011).
2.2. Evolving Plastic Artificial Neural Networks
Plasticity in EPANNs makes them capable of learning during their lifetime by changing their configuration (Soltoggio et al., 2018; Coleman and Blair, 2012; Mouret and Tonelli, 2014). Hebbian learning rules are often employed to model plasticity in EPANNs. On the other hand, the evolutionary aspect of EPANNs typically involve the use of evolutionary computing approaches to find a near-optimum Hebbian learning rules to perform synaptic updates.
In the literature, several authors suggested evolving the type and parameters of Hebbian learning rules using evolutionary computing. For instance, Floreano and Urzelai evolved four Hebbian learning rules and their parameters in an unsupervised setting where synaptic changes are performed periodically during the networks’ lifetime (Floreano and Urzelai, 2000). Niv et al., (Niv et al., 2002)
evolved the parameters of a Hebbian rule that defines a complex relation between the pre- and post-synaptic neuron activations on a reinforcement learning settings. Others suggested evolving complex machine learning models (i.e. ANNs) to replace Hebbian rules to perform synaptic changes(Runarsson and Jonsson, 2000; Izquierdo-Torres and Harvey, 2007). Orchard and Wang (Orchard and Wang, 2016) compared evolved plasticity based on a parameterized Hebbian learning rule with evolved synaptic updates based on ANNs. However, they also included the initial weights of the synapses into the genotype of the individuals. Risi and Stanley (Risi and Stanley, 2010) used compositional pattern producing networks (CPPN) (Stanley, 2007) to perform synaptic updates based on the location of the connections. Tonelli and Mouret (Tonelli and Mouret, 2013) investigated the learning capabilities of plastic ANNs evolved using different encoding schemes.
2.3. Distal Reward Problem
When reinforcement signals are available after a certain period of time, it may not be possible to associate the neuron activations that contributed to receiving the reinforcement signals. This is referred to as the distal reward problem, and has been studied in the context of time dependent plasticity (Gerstner et al., 2018; Izhikevich, 2007; Soltoggio and Steil, 2013).
From a biological viewpoint, synaptic eligibility traces (SETs) have been suggested as a plausible mechanism to trace the activations of neurons over a certain period of time (Gerstner et al., 2018) by means of chemicals present in the synapses. According to this mechanism, co-activations of neurons may trigger an increase in the SETs, which then decay over time. Therefore, their level can indicate a recent co-activation of neurons when a reinforcement signal is received, and as such be used for distal rewards.
Our RNN model consist of input, hidden and output layers and four sets of connections between these three layers. All the neuron activations are set to zero at the initial time step . Then the activation of the neurons in the hidden and output layers at each discrete time step , respectively and , are updated as:
1) and are feed-forward connections between input-hidden and hidden-output layers, is the recurrent connection of the hidden layer, and is the feedback connection from the output layer to hidden layer. The recurrent and feedback connections provide inputs of the activations of the hidden and output neurons from the previous time step. We do not allow self-recurrent connections in (the diagonal elements of are equals to zero).
2) and are coefficient used to scale the recurrent and feedback inputs from the hidden and output layers respectively.
3) is a binary activation function defined as:
The learning process of an RNN is a search process that aims to find an optimal configuration of the network (i.e., its synaptic weights) that can map the sensory inputs to proper actions in order to achieve a given task. In this work, we use independently the proposed DSP rules, and the HC algorithm (De Castro, 2006)
, to perform the learning the RNNs for the specific tripe T-maze navigation task, and compare their results. Both of these approaches perform synaptic updates based on the progress of the performance of an individual agent in consecutive episodes; however, the DSP rules incorporate the knowledge of the local neuron interactions, while HC uses a certain random perturbation heuristic that does not incorporate any knowledge. Here, we assume that the progress of the performance of an agent can be measured relative to its performance in a previous episode. We refer to the measure of the performance of an agent in a single episode as “episodic performance” (EP). We should note that we formalize our task as a minimization problem. Therefore, in our experiment an agent with a lower EP is better.
The illustration of the optimization processes of the RNNs using the DSP rules and the HC algorithm are given in Figures (a)a and (b)b respectively. Both algorithms run for a pre-defined number of episodes (), starting from an RNN with randomly initialized synaptic weights, and record the best encountered RNN throughout the optimization process.
In the DSP-based algorithm illustrated in Figure (a)a, the synaptic updates are performed after each episode —thus, the synaptic weights of the RNN during an episode are fixed— using DSP rules which take the RNN, NATs, and a modulatory signal as inputs. The NATs provide the average interactions of post- and pre-synaptic neurons during an episode. The structure of the NATs alongside with the DSP rules are explained in Section 3.2 in detail. The modulatory signal is used as a reinforcement which depends on the performance of the agent in the current episode relative to its performance during the previous episode. If the current episodic performance is lower than the previous episodic performance , then the modulatory signal is set to (reward), otherwise is set to (punishment).
The HC algorithm that is illustrated in Figure (b)b
performs instead synaptic updates after each episode using a perturbation heuristic that does not assume any knowledge of the neuron activations. We use a Gaussian perturbation with a zero mean and unitary standard deviation and scale it with a parameterto perturb all the synaptic weights of the RNN of the best agent. The synaptic update procedure generates a new candidate that is tested in the environment for the next episode and replaced with the best RNN if it performs better. Conventionally, in standard HC the measure of the performance of an agent in an episode would be called “fitness”. However, in this work we refer to it as EP, to make it analogous to the algorithm that uses DSP rules.
3.2. Evolving Delayed Synaptic Plasticity
We propose delayed synaptic plasticity to allow synaptic changes based on the progress of the performance of an agent relative to its performance during the previous episode, i.e.:
where the synaptic change between neurons and after an episode is computed based on their NATs, the modulatory signal (which can either be or , see Section 3.1), and a threshold that is used to convert NATs into binary vectors. The resulting DSP synaptic changes can be of three types (decreased, stable, or increased), i.e. at each time step . In Equation (9), the synaptic change is scaled with a learning rate .
Subsequent to the synaptic updates of all synapses, the synaptic weights for the next episode are computed as:
where is a row vector encoding all incoming synaptic weights of a post-synaptic neuron and is the Euclidean norm. Here, the synaptic weights are scaled to have a unitary length, thus preventing an indefinite increase/decrease, and allowing self-organized competition between synapses (El-Boustani et al., 2018). Alternatively, a decay mechanism and/or saturation limits for weights can be introduced to prevent an indefinite increase/decrease of the weights (Soltoggio and Stanley, 2012).
The NAT data structure is illustrated in Figure 2. It keeps track of the frequencies of the pre- and post-synaptic neuron activation states throughout an episode. We use four-dimensional vectors for each synapse —since there are four possible states for the activations of pre- and post-synaptic neurons— to store the number of times the pre- and post-synaptic neurons were in one of the following states: , , , and , where the first and second bits represent the pre- and post-synaptic neuron activations, and and represent non-active and active states of neurons respectively. At the beginning of an episode, all NATs are initialized as zeros; and the end of an episode, they are divided by the number of total activations to convert them into frequencies.
The NATs are used in their binary forms to discretize the search space. Each frequency in a NAT is converted to either or based on a threshold ( for the frequencies more than , and for the ones that are below ). Thus, a DSP rule, as illustrated in Table 1, is a combined form of 32 synaptic change decisions provided for all possible states of the binary forms of the NATs and the signal .
We use genetic algorithms (GAs) to evolve three possible synaptic changes (decrease, stable, increase) for each possible states of the NATs and . In total, there are 32 possible states that can take three possible values. Thus, there is a total of number of possible DSP rules. In addition to the discrete part, we optimize four continuous parameters () by including them into the genotype of the individuals. We used suitable evolutionary operators separately for discrete and continuous variables. The details of the GA are provided in Section 4.3.
4. Experimental Setup
In the following sections, we provide the details of our experimental setup including the test environment, the architecture of the agent, and the details of the GA.
4.1. Triple T-Maze Environment
A visual illustration of the triple T-maze environment is given in Figure 3. The triple T-maze environment consists of cells. Each cell can be occupied by one of five possibilities: empty, wall, goal, pit, agent, color-coded in white, black, blue, green, red respectively. The starting position of the agent is illustrated in red. There are eight final positions, illustrated in blue or green. Among eight final positions, one of them is assigned as the goal position (in blue), and the rest as pits (in green). Starting from the starting position at the beginning of an episode, an agent navigates the environment for a total of 100 action steps.
4.2. Agent Architecture
An illustration of the architecture of the agents used for the triple T-maze environment is provided in Figure 4. An agent has a certain orientation in the environment, facing one of the four possible directions along the and axes of the environment (i.e. north, south, west, east), and can only move one cell at a time horizontally or vertically. It can take sensory inputs from the nearest cells from its left, front and right, depending on its orientation. We let the agent sense only an empty cell, or a wall (i.e., the agent is not aware of the presence of the goal or pits), so the sensory inputs are encoded using one bit, representing an empty cell with and a wall with . Thus, there are three bits as input, that the agent uses to decide one of four possible actions: stop, left, right, and straight. In case of stop, the agent stays in the same cell with the same orientation for an action step; in cases of left and right, the agent changes its orientation accordingly and proceeds one cell straight; in case of straight, the agent keeps its original orientation and proceeds one cell straight. If the cell the agent wants to move in is occupied with wall, then the agent stays in its original position.
We use RNNs to control the agents since our task requires memory capabilities, and may not be solved by a static architecture such as a feed-forward ANN. The recurrent and feedback connections between the hidden-hidden and output-hidden layers help agents to keep track of the sequences of actions they perform throughout an episode. The RNN networks used in all experiments consist of 20 hidden neurons unless otherwise is specified. Therefore, the networks consist of input to hidden connections, hidden to hidden connections, hidden to output connections, and output to hidden connections, in total of connections between all layers ( refers to the bias connections).
4.3. Genetic Algorithm
We use a standard GA to evolve DSP rules with the exception of a custom-designed mutation operator. The genotype of the DSP rules consists of 32 discrete ( for all possible states of the NATs and , see Section 3.2) and four continuous values (). Therefore, we encode a population of individual genotypes represented by 36-dimensional discrete/real-valued vectors.
The pseudo-code for the evaluation function is provided in Algorithm 1. To find the DSP rules that can robustly learn the triple T-maze navigation task independently of the goal position and starting from a random RNN state, each evaluation called during the evolutionary process consists of testing each rule for five trials for each of the eight possible goal positions (for total of 40 independent trials). The final positions (one goal in blue, seven pits in green) of the triple T-maze environment are shown in Figure 3. We switch the position of the goal with one of the pits to have eight distinct goal positions in total. For all distinct goal positions, the rest of the final positions are assigned as pits. Due to the computational complexity, the maximum number of episodes per trial is set to 100.
The of an agent in an episode is computed as follows:
For each episode, the agent is given 100 action steps () to reach the goal. We aim to minimize the number of action steps that the agents take to reach the goal (in case they do reach it); otherwise, we aim to minimize their distance to the goal. Thus, if the agent reaches the goal, the EP is the number of action steps the agent took to reach to the goal. Otherwise, the is , that is the maximum number of total action steps, plus the distance between the final agent’s position and the goal’s position. The distance between the agent and the goal is found by the A* algorithm (Zeng and Church, 2009), which finds the closest path (distance) taking into account the obstacles. Additionally, the EP of an agent is increased by 5 every time the agent steps into a pit (recalling that the is minimized).
Finally, the fitness value (the lower the better) of a DSP rule is obtained by averaging found in each trial (i.e. for 5 trials and 8 distinct goal positions, in total of 40 trials). We should note that the proposed design of the and fitness is chosen to introduce a gradient into the evaluation process of agents. For instance, the selection process is likely to prefer agents that on average reach the goal with a smaller number of action steps, and with the least number of interactions with pits.
To limit the runtime of the algorithm, we use a small population size, 14 individuals in total. We employ a roulette wheel selection
operator with an elite number of four, which copies the four individuals with the highest fitness values to the next generation without any change. The rest of the individuals are selected with a probability proportional to their fitness values (i.e., individuals with better fitness values are more likely to be selected for taking part in constructing the next generation). We use1-point crossover operator with a probability of 0.5. We designed a custom mutation operator which re-samples each discrete dimension of the genotype with a probability of 0.15, and performs a Gaussian perturbation with zero mean and 0.1 standard deviation for the continuous parameters. We run the evolutionary process for 300 generations and finally select at the end of the evolutionary process the DSP rule that achieved the best fitness value.
4.4. Hill Climbing
We use the HC algorithm as a baseline to compare the results of the DSP. The HC algorithm, visualized in Figure (b)b, is a single-solution local search algorithm (De Castro, 2006). It is analogous to the DSP, except the fact that it is used as a direct encoding optimization approach where domain knowledge (i.e. knowledge of the neuron activations) is not introduced into the optimization process. Therefore, it provides a suitable baseline to assess the effectiveness of the domain-based heuristic used in the DSP.
A trial of the HC algorithm aims to find an optimum set of RNN weights that allows the agent to reach a given goal position, starting from the starting position. All the connection weights of the RNN (644 in total) are directly encoded into a single real-valued vector that represents an (candidate solution). At the beginning of the algorithm, each variable of the is randomly initialized in the range with uniform probability. The is then evaluated and assigned as , with fitness equal to . After the evaluation, is perturbed using a perturbation heuristic to generate a new . We use a perturbation heuristic as follows:
where is a random vector whose length is the same as that of
, and each dimension is independently sampled from a Gaussian distribution with zero mean and unitary standard deviation, scaled by the parameter.
The is evaluated and if its is smaller than , is replaced by the new . The perturbation and evaluation processes are performed iteratively for 100 episodes (evaluations). The overall performance of the HC algorithm is then obtained by averaging the from 40 trials (consisting of 5 trials for 8 distinct goal positions), that is the same evaluation procedure used to evaluate DSP rules.
The performance of the HC algorithm may depend on the parameter of the perturbation heuristic. Thus, to provide a fair comparison with DSP, we optimize the parameter with respect to the hyper-parameters of the RNN model and by using a GA with the same settings used to optimize the continuous part of the DSP rules (see Section 4.3). We refer these three parameters as HC parameters.
Figures (a)a and (b)b show the change of the best fitness value during 15 independent evolutionary optimization processes of the DSP rules and the HC parameters respectively. We run all the experiments on a single-core Intel Xeon E5 3.5GHz computer; therefore, we fix the number of generations to 300, to keep the runtime of the algorithm reasonably limited. In each generation, the best fitness value obtained by the DSP rules and the HC algorithm with evolved parameters are shown.
The initial DSP rules obtain an average fitness value of 113.79, with a standard deviation of 4.30; at the end of the evolutionary processes, they achieve an average fitness of 81.39, with a standard deviation of 4.02. On the other hand, the initial HC parameters obtain an average fitness value of 98.71, with a standard deviation of 1.64; and at the end of the evolutionary process, they achieve an average fitness of 93.50, with a standard deviation of 0.87. We used the Wilcoxon rank-sum test to statistically assess the significance of the results produced by the evolutionary processes (Wilcoxon, 1945)
. The null-hypothesis that the mean of the results produced by two processes are the same is rejected if the-value is smaller than . In our case, the results of the evolutionary processes of DSP rules are statistically different (better than the HC results) with a -value of .
The distribution of the episodic performance of the best evolved DSP rule and HC parameters are given in Figure 6. Of the 40 trials, 75% (with values ) reached the goal when the agents are trained with the DSP rules. On the other hand, only 35% of the trials (with values ) reached the goal when the agents are trained using the HC. A Wilcoxon rank-sum test (calculated on the EPs) shows that the DSP rule is better with a -value of . The results show that the training process with 100 episodes does not seem to be sufficient for the HC algorithm to provide results as good as the results provided by the DSP rules. Moreover, it may be possible to improve the success percentage of achieving the goal using the DSP rule by increasing the number of episodes. To test this, we separately tested the DSP rules and the HC with evolved parameters provided by the multiple runs of the GA on the same task settings with 10000 episodes. The results are given in Figure 7 where we show the change of the fitness values (average of 40 trials) w.r.t. the episode number during the training of the DSP rules and the HC. The results between the episodes 1–1000 are magnified views in Figures (c)c and (d)d.
The best DSP rule achieved fitness values of 54.27 and 44.10, and the HC with the best parameters achieved fitness values of 69.35 and 42.5 in 1000 and 10000 episodes respectively. The results indicate that the DSP rules converge at a better fitness value faster than the HC. However, when the number of episodes is increased (for 10000), the HC achieves slightly (a fitness value difference of ) better performance than the best DSP rule. The -values for the Wilcoxon tests for the results at episodes 1000 and 10000 are and ; thus, at 1000 episodes DSP rule is significantly better than HC, whereas at 10000 there is no significant difference between their results.
We observe that some of the DSP rules (at least 6) seem to get stuck at a local optimum after around 100 episodes, which may be due to the fact that they were optimized for 100 episodes. Thus, to reduce this effect we used an iterative re-sampling approach to randomly reset all the weights of the networks (from the initial domain) at every 100 episodes. The training process generated by the iterative re-sampling based DSP rules is provided in Figure 8. A magnified view of the results between 1–1000 episodes are shown in Figure (b)b. The best DSP rule achieves fitness values of 48.72 and 39.32 at 1000 and 10000 episodes. A perfect agent (an average of the distances of starting and 8 goal positions found by the A* algorithm) achieves a fitness value of 38.5. For completeness, we also performed additional experiments for the HC using the iterative re-sampling approach. However, we observed in this case that their results were not better than the standard HC with the tested settings.
The distributions of the episodic performance of the best performing DSP rule, HC with best parameters and DSP with iterative approach at 1000 and 10000 episodes are given in Figure 9. We fixed the minimum and maximum values of the -axes of all figures to 35–125 for a better visual comparison. At 1000 episodes, all of the agents in 40 trials reach the goal with the smallest number of steps when the DSP rule with iterative re-sampling is used. On the other hand, 39 and 30 of the agents in 40 trials reach the goal when we use the DSP rule and HC respectively. At 10000 episodes, all of the agents in 40 trials reach the goal when the best heuristic from each approach is used. However, in the case of the DSP rule with iterative re-sampling, the agents reach the goal with the smallest number of steps on average.
Figure 10 shows the comparison of the best evolved DSP111 We have recorded the performance of the agents on the triple T-maze task after training with the best evolved DSP rule for 100, 1000 and 10000 episodes. A video of the experiment is available online at: https://bit.ly/2t6BZfB., iterative DSP, HC and iterative HC heuristics with best evolved parameters. Iterative HC performs worse than the HC. On the other hand, the HC was able to outperform the DSP at around 5000 generations, while it could not perform better than the iterative DSP.
When the reinforcement signals are available after a certain period of time, it may not be possible to associate the activations of the neurons during this period with the reinforcement signals, and perform synaptic updates using Hebbian learning. In this work, we proposed the use of neuron activation traces (NATs), i.e. additional data structures in each synapse to keep track of neuron activations. We used delayed synaptic plasticity (DSP) rules that take into account the NATs and delayed reinforcement signals to perform synaptic updates. We used relative reinforcement signals that were provided after an episode based on the relative performance of the agent in a previous episode. Since the NATs introduce knowledge of neuron activations into the DSP rules, we compared their results to an analogous HC algorithm that performs random synaptic updates without any knowledge of the network activations.
We observed that the DSP rules were highly efficient at training networks with a smaller number of episodes compared to the HC, as they converge quickly at a better fitness value than the HC. When they were tested on a larger number of episodes on the other hand, they seemed to be outperformed slightly by HC. We hypothesized that this could be due to the fact that the DSP rules were optimized for a relatively small number of episodes (100). When we tried a iterative re-sampling approach, the DSP rules provided the best results.
We aim to test the DSP on networks with various size and apply it to tasks with various complexity. It would also be interesting to investigate the adaptation capabilities of the networks with DSP when the environmental conditions change.
|This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No: 665347.|
- Brown et al. (1990) Thomas H Brown, Edward W Kairiss, and Claude L Keenan. 1990. Hebbian synapses: biophysical mechanisms and algorithms. Annual review of neuroscience 13, 1 (1990), 475–511.
Coleman and Blair (2012)
Oliver J. Coleman and
Alan D. Blair. 2012.
Evolving Plastic Neural Networks for Online
Learning: Review and Future Directions. In
AI 2012: Advances in Artificial Intelligence, Michael Thielscher and Dongmo Zhang (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 326–337.
- De Castro (2006) Leandro Nunes De Castro. 2006. Fundamentals of natural computing: basic concepts, algorithms, and applications. CRC Press, Boca Raton, Florida.
- Dürr et al. (2008) Peter Dürr, Claudio Mattiussi, Andrea Soltoggio, and Dario Floreano. 2008. Evolvability of neuromodulated learning for robots. In Learning and Adaptive Behaviors for Robotic Systems, 2008. LAB-RS’08. ECSIS Symposium on. IEEE, New York, 41–46.
- El-Boustani et al. (2018) Sami El-Boustani, Jacque PK Ip, Vincent Breton-Provencher, Graham W Knott, Hiroyuki Okuno, Haruhiko Bito, and Mriganka Sur. 2018. Locally coordinated synaptic plasticity of visual cortex neurons in vivo. Science 360, 6395 (2018), 1349–1354.
- Floreano et al. (2008) Dario Floreano, Peter Dürr, and Claudio Mattiussi. 2008. Neuroevolution: from architectures to learning. Evolutionary Intelligence 1, 1 (2008), 47–62.
- Floreano and Urzelai (2000) Dario Floreano and Joseba Urzelai. 2000. Evolutionary robots with on-line self-organization and behavioral fitness. Neural Networks 13, 4-5 (2000), 431–443.
- Gerstner et al. (2018) Wulfram Gerstner, Marco Lehmann, Vasiliki Liakoni, Dane Corneil, and Johanni Brea. 2018. Eligibility Traces and Plasticity on Behavioral Time Scales: Experimental Support of NeoHebbian Three-Factor Learning Rules. Frontiers in Neural Circuits 12 (2018), 53.
- Hebb (1949) Donald Olding Hebb. 1949. The organization of behavior: A neuropsychological theory. Wiley & Sons, New York.
- Izhikevich (2007) Eugene M. Izhikevich. 2007. Solving the Distal Reward Problem through Linkage of STDP and Dopamine Signaling. Cerebral Cortex 17, 10 (2007), 2443–2452.
- Izquierdo-Torres and Harvey (2007) Eduardo Izquierdo-Torres and Inman Harvey. 2007. Hebbian Learning using Fixed Weight Evolved Dynamical ‘Neural’ Networks. In Artificial Life, 2007. ALIFE’07. IEEE Symposium on. IEEE, New York, 394–401.
- Kowaliw et al. (2014) Taras Kowaliw, Nicolas Bredeche, Sylvain Chevallier, and René Doursat. 2014. Artificial neurogenesis: An introduction and selective review. In Growing Adaptive Machines. Springer, Berlin, Heidelberg, 1–60.
- Kuriscak et al. (2015) Eduard Kuriscak, Petr Marsalek, Julius Stroffek, and Peter G Toth. 2015. Biological context of Hebb learning in artificial neural networks, a review. Neurocomputing 152 (2015), 27–35.
- Mocanu et al. (2018) Decebal Constantin Mocanu, Elena Mocanu, Peter Stone, Phuong H Nguyen, Madeleine Gibescu, and Antonio Liotta. 2018. Scalable training of artificial neural networks with adaptive sparse connectivity inspired by network science. Nature Communications 9, 1 (2018), 2383.
- Mouret and Tonelli (2014) Jean-Baptiste Mouret and Paul Tonelli. 2014. Artificial evolution of plastic neural networks: a few key concepts. In Growing Adaptive Machines. Springer, Berlin, Heidelberg, 251–261.
- Niv et al. (2002) Yael Niv, Daphna Joel, Isaac Meilijson, and Eytan Ruppin. 2002. Evolution of Reinforcement Learning in Uncertain Environments: A Simple Explanation for Complex Foraging Behaviors. Adaptive Behavior 10, 1 (2002), 5–24.
- Orchard and Wang (2016) J. Orchard and L. Wang. 2016. The evolution of a generalized neural learning rule. In 2016 International Joint Conference on Neural Networks (IJCNN). IEEE, New York, 4688–4694.
- Risi and Stanley (2010) Sebastian Risi and Kenneth O. Stanley. 2010. Indirectly encoding neural plasticity as a pattern of local rules. In International Conference on Simulation of Adaptive Behavior. Springer, Berlin, Heidelberg, 533–543.
- Runarsson and Jonsson (2000) Thomas Philip Runarsson and Magnus Thor Jonsson. 2000. Evolution and design of distributed learning rules. In Combinations of Evolutionary Computation and Neural Networks, 2000 IEEE Symposium on. IEEE, New York, 59–63.
- Soltoggio et al. (2008) Andrea Soltoggio, John A Bullinaria, Claudio Mattiussi, Peter Dürr, and Dario Floreano. 2008. Evolutionary advantages of neuromodulated plasticity in dynamic, reward-based scenarios. In International conference on Artificial Life (Alife XI). MIT Press, Cambridge, MA, 569–576.
- Soltoggio and Stanley (2012) Andrea Soltoggio and Kenneth O. Stanley. 2012. From modulated Hebbian plasticity to simple behavior learning through noise and weight saturation. Neural Networks 34 (2012), 28–41.
- Soltoggio et al. (2018) Andrea Soltoggio, Kenneth O. Stanley, and Sebastian Risi. 2018. Born to learn: The inspiration, progress, and future of evolved plastic artificial neural networks. Neural Networks 108 (2018), 48–67.
- Soltoggio and Steil (2013) Andrea Soltoggio and Jochen J. Steil. 2013. Solving the distal reward problem with rare correlations. Neural computation 25, 4 (2013), 940–978.
- Stanley (2007) Kenneth O. Stanley. 2007. Compositional pattern producing networks: A novel abstraction of development. Genetic programming and evolvable machines 8, 2 (2007), 131–162.
- Stanley et al. (2019) Kenneth O Stanley, Jeff Clune, Joel Lehman, and Risto Miikkulainen. 2019. Designing neural networks through neuroevolution. Nature Machine Intelligence 1, 1 (2019), 24–35.
- Tonelli and Mouret (2013) Paul Tonelli and Jean-Baptiste Mouret. 2013. On the relationships between generative encodings, regularity, and learning abilities when evolving plastic artificial neural networks. PloS one 8, 11 (2013), e79138.
- Vasilkoski et al. (2011) Zlatko Vasilkoski, Heather Ames, Ben Chandler, Anatoli Gorchetchnikov, Jasmin Léveillé, Gennady Livitz, Ennio Mingolla, and Massimiliano Versace. 2011. Review of stability properties of neural plasticity rules for implementation on memristive neuromorphic hardware. In International Joint Conference on Neural Networks (IJCNN). IEEE, New York, 2563–2569.
- Wilcoxon (1945) Frank Wilcoxon. 1945. Individual comparisons by ranking methods. Biometrics bulletin 1, 6 (1945), 80–83.
- Yaman et al. (2018) Anil Yaman, Decebal Constantin Mocanu, Giovanni Iacca, George Fletcher, and Mykola Pechenizkiy. 2018. Limited evaluation cooperative co-evolutionary differential evolution for large-scale neuroevolution. In Genetic and Evolutionary Computation Conference, 15-19 July 2018, Kyoto, Japan. ACM, New York, NY, USA, 569–576.
- Zeng and Church (2009) Wei Zeng and Richard L Church. 2009. Finding shortest paths on real road networks: the case for A. International journal of geographical information science 23, 4 (2009), 531–543.