- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
Computational Intelligence and Neuroscience
Volume 2011 (2011), Article ID 869348, 12 pages
A Reinforcement Learning Framework for Spiking Networks with Dynamic Synapses
Department of Computer Engineering, Faculty of Mathematics and Computer Science, Johannisgasse 26, 04103 Leipzig, Germany
Received 30 May 2011; Revised 12 August 2011; Accepted 30 August 2011
Academic Editor: Francois Benoit Vialatte
Copyright © 2011 Karim El-Laithy and Martin Bogdan. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
An integration of both the Hebbian-based and reinforcement learning (RL) rules is presented for dynamic synapses. The proposed framework permits the Hebbian rule to update the hidden synaptic model parameters regulating the synaptic response rather than the synaptic weights. This is performed using both the value and the sign of the temporal difference in the reward signal after each trial. Applying this framework, a spiking network with spike-timing-dependent synapses is tested to learn the exclusive-OR computation on a temporally coded basis. Reward values are calculated with the distance between the output spike train of the network and a reference target one. Results show that the network is able to capture the required dynamics and that the proposed framework can reveal indeed an integrated version of Hebbian and RL. The proposed framework is tractable and less computationally expensive. The framework is applicable to a wide class of synaptic models and is not restricted to the used neural representation. This generality, along with the reported results, supports adopting the introduced approach to benefit from the biologically plausible synaptic models in a wide range of intuitive signal processing.
Learning in neural networks can be achieved by two main strategies, namely, supervised and unsupervised learning. Unsupervised learning is guided by correlations in the input information to the network. Donald Hebb postulated in 1949  that the modifications in the synaptic transmission efficacy are driven by the correlations in the firing activity of the pre- and postsynaptic neurons. Spike-timing-dependent plasticity (STDP) is the potentiation of a synapse when the postsynaptic spike follows the presynaptic spike within a time window of a few tens of milliseconds and the depression of the synapse when the order of the spikes is reversed. Since this is consistent with the postulates of D. Hebb, sometimes this type of STDP is referred to as Hebbian STDP. When the sign of the change in the synaptic strength is changed, the process might be known as anti-Hebbian STDP . The Hebbian learning rules implement this dependence of synaptic changes on the relative timing of pre- and postsynaptic action potentials, and the Hebbian modulation of STDP is the synaptic changes following a learning algorithm either via the Hebbian or the anti-Hebbian rule . One of the attractive models in this regard is the Bienenstock-Cooper-Munro (BCM) model for the development of orientation selective cells in the visual system . The Hebbian learning rule of this model has received considerable support from experiments on long-term potentiation (LTP) and long-term depression (LTD) .
Many studies have investigated how the Hebbian-based learning algorithms can be applied to empower the performance of artificial neural networks (ANNs) and especially of those use either spiking neuronal models and/or synaptic models that implement STDP; see, for example, [15, 37] for recent reviews. A correlation-based Hebbian learning rule for spiking neurons was presented reporting that correlations between input and output discharges tend to stabilize . A biologically plausible learning algorithm for multilayer neural networks was introduced in . It was shown that the learning algorithm has allowed the network to solve partially the exclusive-Or (XOR) problem without back propagation. Applying both Hebbian and anti-Hebbian rules in a recurrent network that implements STDP was investigated . It has been shown that leads to approximate convergence of the synaptic weights. These studies were focused on the computational properties of STDP, thus they have illustrated its function in neural homeostasis and supervised and unsupervised learning.
Notably, a number of theoretical analyses have reported that Hebbian and anti-Hebbian modulation of STDP can either minimize or maximize the postsynaptic (neuronal) firing variability to a given specific presynaptic input [7, 17, 39]. These studies have suggested that combining Hebbian rules and reinforcement learning (RL)  facilitates the simulation of the learning abilities featuring biological neural systems. A number of studies have investigated the tenability of integration between both concepts. For example, the ability to reduce the required learning steps for certain tasks in comparison to applying RL alone was investigated . The tasks were poorly defined to be used for general machine learning regimes. Applying the RL rules to the spike-response model (SRM) was performed . This has been done by adding a Hebbian term to the RL rule. The latter study was directed as well to investigate the influence on the number of learning steps. It has been showed that RL can occur via correlating the fluctuations in irregular spiking with a reward signal in networks composed of neurons firing Poisson spike trains [33, 40]. Another study has tried to teach a network of spiking neurons to output specific firing patterns on different time scales and in response to varying input combinations .
Commonly through all these studies, the modulation targets solely the synaptic weights in the synaptic parametrization, that is, only the spike-timing independent part of the synaptic parametrization is tuned. Little attention has been paid to the direct modulation of the synaptic hidden parameters, for example, response and recovery time constants.
In order to get an impression about the relevance of applying a learning rule to tune directly the synaptic hidden parameters, some topics are reviewed in the following. Adopting the spike-timing dependency in the synaptic action presumes that pre- and postsynaptic spiking activities influence the internal mechanisms result in the synaptic action itself. Shortly stated, there is a sort of closed-loop feedback mechanism regulating the synaptic action observed through changes in the synaptic plasticity [28, 41]. In chemical synapses, the calcium ions buffering plays, in general, a facilitatory role and is triggered by arriving spikes at the presynaptic terminal. This buffering enhances the transmission of the presynaptic spike by urging the release of neurotransmitter from the vesicles into the synaptic cleft. The extent of this facilitatory role is, however, bound to the contribution of other mechanisms such as the pool size of the ready to release vesicles and postrelease recovery timing constants of neurotransmitter. There is a dependence between the utilization of the synaptic resources (ions and neurotransmitter), and the overall synaptic action is modulated by the spike timing at the presynaptic site. The synaptic action consequently affects the postsynaptic activity. Latencies between postsynaptic spikes allow for the uptake of neurotransmitter from the cleft and for the reformation of vesicles within the presynaptic terminal. These latencies are basically modulated by the release process that is originally presynaptically regulated . Thus, there is an interdependence between STDP (as the correlation between presynaptic and postsynaptic spiking) and the synaptic resources, for example, the concentration of neurotransmitter and ions. As briefed, the interdependence originates from the relation between the synaptic action and the relative timing of pre- and postsynaptic action potentials. This interdependence suggests that learning frameworks, in general, may specifically tune the internal synaptic dynamic mechanisms according to predefined inputs/outputs combinations.
For the class of synaptic models that implement STDP, the overall synaptic response originates from two contributions: the synaptic weight and the dynamic spike-timing dependent mechanisms. The latter arises from the synergy among the hidden synaptic parameters for example, via response time constants and scaling factors. Maass and Zador have reported that applying gradient descent tuning to hidden parameters of their stochastic synaptic model can lead in principle to learning within a neural circuit [27, 30]. This approach is based on the previous work by [1, 2, 29]; it has been shown that synaptic dynamics modelled, in general, as finite-impulse response filters can be learned through modulating their hidden parameters. Biologically plausible synaptic models that implement temporal coding via STDP can be characterized in general as integrated (multilayered) finite-impulse response filters .
It is tempting, therefore, to investigate whether the Hebbian/anti-Hebbian modulation of STDP within an RL framework, that is, with a reward signal, can lead to RL when the learning is directed to tune the hidden parameters of a synaptic model. In the study at hand, we propose a follow-up study to the introductory framework introduced in . (The results reported here are separately produced and not adopted from .) The framework integrates the concepts of both Hebbian/anti-Hebbian learning and RL while explicitly using plausible biological neuronal and synaptic representations. The introduced training algorithm affect the values governing the synaptic dynamics (for example, time constants) instead of changing the synaptic weight. To illustrate this, the learning of the exclusive-OR (XOR) computation has been chosen. The simulated spiking neural network uses (a) Markram-Tsodyks synaptic model , and (b) Leaky integrate-and-fire neurons. The proposed approach is inspired from the learning algorithm for stochastic synapses that was introduced in . Up to the knowledge of the authors, this is the first trial to develop such a framework to train the hidden synaptic parameters in a dynamic synaptic model.
It is not intended to introduce a novel network-based solution for the XOR problem; rather, the XOR task is chosen as a classic benchmark problem for learning algorithms. The core objective is to propose an appropriate, but yet simple, learning algorithm that implements both Hebbian and RL rules for spiking networks with spike-timing-dependent synapses via tuning the synaptic model parameters rather than the synaptic weights. The availability of such a framework opens new avenues in adopting the class of biophysical synaptic models in processing of neural signals and computations. Some of these synaptic models do not feature any scalar weight factors as synaptic weights (see, for example, [13, 24]), which is why they are not utilized widely in signal processing tasks that require the tuning of model parameters to achieve certain regime of dynamics characterized by predefined mapping between input and output spike patterns.
Neurons are modelled as leaky integrate-and-fire (LIaF) neurons . Each neuron is described by its voltage membrane potential where is the membrane time constant set at 20 msec and EPSP is the total observed excitatory postsynaptic potential from all presynaptic terminals. When , a spike is generated and , where is the time instant after and mV and mV. An absolute refractory period msec is implemented.
Synaptic Model (STDP)
It is the well-established phenomenological model from Markram et al. [28, 36] for short-term synaptic plasticity. In the following, we refer to this model as the Markram-Tsodyks model. This model describes the effects of action potentials on the collective utilization of synaptic efficacy and the subsequent process of recovery . It is an integrative model that describes both synaptic actions of depression and facilitation. It reads  where is the pool recovery time constant. is the Dirac delta function and represents an incoming spike at .
Assuming a presynaptic action potential at time , the depression process can be expressed by (2), in which is the fraction of neurotransmitter pool available for transmission, is the fraction of to be utilized due to each spike, and it models the neurotransmitter release probability. The facilitation mechanism, on the other hand, is caused by an increase in the synaptic utilization at each presynaptic spike and can be formulated by (3). is a constant value determining the step increase in and is the relaxation time constant, where should be bounded to . Right after an incoming spike, is increased from its current value, , to and drifts towards its baseline value with a time constant between action potentials. The rule keeps . Figure 1 illustrates the response of the state parameters and to a regular input spike train as in Figure 1(a). The excitatory postsynaptic response (EPSP) from an action potential is obtained by , where is the baseline level of synaptic output. In case of an inhibitory synapse, .
In this synaptic model, may be viewed as the synaptic weight. It represents the spike-timing independent contribution in the synaptic response. The dynamic synaptic contribution at any time instant is evaluated as . The value of this dynamic contribution depends on the values of the involved parameters: , , and . In the next section, we explain how the learning rule tunes only the dynamic part via modulating these parameters regulating the spike-timing-dependent response.
3. Reinforcement Learning Framework
RL is a proven tool for developing an intelligent agent without an explicit supervisor and without a teaching set, in which a reward signal is generated from the interaction with the environment, and it represents the source of supervision . In order to explain the proposed learning framework, let us first consider the simulation setup. A network similar in structure to the one used in [17, 40] is considered; see Figure 2(a). The network has two input neurons and feeding their outputs via one hidden layer () to one output neuron . The network output is a spike train . Inputs are spike trains with Poisson-distributed interspike intervals and are fed to input neurons. In parallel, the input spike trains are fed to an XOR gate. Details of simulation are given in Section 4. The XOR gate provides the correct output (target output) as a reference spike train . A basic question is how this setup (Figure 2(a)) can be mapped to the RL configuration.
3.1. Reward Signal
It has been described that a reward signal (or a feedback parameter), , can be derived to represent the progress in capturing certain temporal dynamics . This reward is based on the difference between the target spike trains and the network's actual output. As for the distance, van Rossum introduced an algorithm, which is used here to calculate the distance between two spike trains . It is a dimensionless distance that calculates the dissimilarity between two spike trains. It is calculated by filtering both trains with an exponential filter and calculating the integrated squared difference of the two trains. Each spike at time instant in is convolved with an exponential function with , leading to the time series . Likewise, each spike in is convolved with this exponential function, resulting in the time series . From the resulting time series and , the van Rossum distance measure reads where is the time constant of the exponential filter. It controls the extent of the effect from each spike on the following spikes; that is, it determines the time scale of this distance measure. Here, is set arbitrarily to 15 msec.
In order to reduce the effect of the input variability on the observed performance , the reference spike train and network's output are temporally coded (or binned) with a nonoverlapping temporal window with width taken first to be five msec. During each time window, having one or more spikes is interpreted as having a digital one (high) otherwise as zero (low). Thus, for any spike train of length that is binned with msec window, the spike trains are mapped to shorter versions with length . In other words, output spike train with a 200 msec epoch is mapped to a binned version that is 40 steps long. Similarly, is mapped to ; see Figure 2(c). Hence, the reward signal is defined as where . This definition of maps the distance to the range , with a maximum reward value of unity when the distance vanishes, that is, at identical outputs. is dimensionless; this is a key property in the introduced framework because of the required consistency of physical units (which will be clear in (6)). The value of the reward signal is used to modulate synaptic parameters that represent certain biophysical quantities with physical units rather.
3.2. Mapping the Simulation Setup to an RL Scheme
In a standard RL problem, an agent represents the learner and the decision maker. Everything outside the agent is its environment. The environment tells its agent about its current state (activity), and it also gives rise to rewards. The agent tries to maximize these rewards over time . As for the used temporal difference (TD) RL scheme here, the environment state is the input patterns represented during each episode (trial). The policy is formulated by both the synaptic model and the update rules, it sets the dynamic synaptic strength that is used in each trial dynamically. The action is the output spike train from the ANN (resp., from its output neuron). The XOR gate and the calculation of are viewed as an advisor for the learning agent. Differently stated, the network itself is the agent. This agent has two policies; they are the synaptic parametrization and the update rule. Attached to this agent, there is an advisor. The latter calculates the distance from the reference spike train, apply binning and feed the reward value to the update rule (the agent's second policy). (Two rules support this description of the RL setup . First, a policy represents a sensory-output rule. It is the agent's way of behaving to the input information. Second, anything that cannot be changed arbitrarily by the agent is considered to be outside of it and thus part of its environment.) The enhancement in the synaptic model (the agent's first policy) aiming to improve the quality of the action is better derived by a temporal difference error rather than the reward values . In other words, instead of modulating the changes in the parameters subject to training with the reward values, the temporal error between the desired reward and current reward values is used. This approach was basically introduced without neurobiological evidences, as it was not developed for neural networks at first place . Researches in neuroscience have discovered that the firing activity of dopamine neurons in many cortical regions appear to resemble this error function in the TD algorithm [8, 32].
3.3. Hebbian Update Rule
The dynamics of synaptic action are governed through the contribution of electrochemical mechanisms represented via the model parameters: , , and . Each of these parameters is denoted by . The value of is either increased, or decreased following the Hebbian rule , where is the learning rate [15, 29], according to the pairing between pre- and postsynaptic activity. The realization of this basic Hebbian rule reads as follows: the values of parameters contributing to the facilitatory mechanisms are increased and the contribution of the depressive mechanisms are decreased when a spike at the presynaptic neuron induce a desired spike at the postsynaptic neuron. The term “desired” refers here to a correct hit. If the presynaptic spike does not induce a postsynaptic spike and no spike is expected the process is flipped. Whether the spike is desired or not is judged by comparing to the reference spike train. So far, it is supervised learning in full sense. For the TD learning framework, we use a reward-based error signal applied to the eligible synapses to update their parameters where is set to 0.01. is the temporal difference error that is usually calculated as a prediction error. It is normally calculated as the difference between the ideal (or expected) reward and a scaled value of the current one . Scaling the current reward is made via trace decay parameter . In this study, is the temporal difference error between the unscaled values () of the current reward and the previous one from the previous trial. It reads where is a scaling factor to match the order value of to the order of the parameters under training. It is set to seven throughout the simulation.
On episodic basis (after each trial), the sign of the error value is used to alter the direction of the change in the parameter value, either to increase or to decrease the value of the tuned parameter. Having a signed value, this learning rule allows anti-Hebbian synaptic plasticity [15, 29]. Recalling that the direct modulation of the synaptic model parameters implement a gradient descent [1, 2], the proposed rule here optimizes the error function in a heuristic way. The implicit objective of achieving a stable maximum reward is preserved via minimizing the error value . Calculating the reward values from the distance between the spike trains without binning reinforces the input variability. This deteriorates the results significantly, as the fluctuations in the temporal error will be too high. Thus, the binning is used to suppress this variability and to isolate, to a certain extent, the performance of the learning from its effect.
In this study, the hidden model parameters subject to training are , , and ; their initial values are arbitrarily set to 0.5, 100, and 50 msec, respectively. is fixed to . Note that in this synaptic model represents the synaptic weight. Therefore, it has been chosen in this study to be fixed and to be excluded from the training process for the sake of emphasizing the role of direct tuning of synaptic model parameters. Recalling the note mentioned above after (5) about being dimensionless, if the reward values have units of, for example, bits and denotes or , (6) will not be longer correct.
The Reference Spike Train
In the proposed framework, the availability and need for the reference spike train represent a major issue. It may be argued that contrary to supervised learning, the actual desired output (reference) should not be used in RL to correct the behaviour of the environment. Instead, an agent extracts the required information about the next action from the history of both the environment behaviour and rewards. This is done implicitly in the proposed framework. The distance between the output and reference spike train is applied only on episodic basis. Thus, the history of the networks behaviour is used, as it is compared to the reference one and the distance gives rise to the reward signal. Therefore, the proposed framework models correctly an RL problem with a plausible realization to synaptic STDP. As mentioned, the value function here is the distance between the reference and output spike trains. From a macroscopic (cognitive) point of view, the need for the reference spike train calls for the need of memory to accomplish learning in general. This, in turn, raises a fundamental question of whether memory is a prerequisite for learning or not. Here, we entertain that memory is needed for learning, at least for the condition when the input information has never been presented to the network. In the simulations presented here, this condition is fulfilled.
3.4. Eligibility Traces
Eligibility denotes synapses that have contributed to either a correct or false output spike. These eligible synapses can be determined either analytically as in [15, 17, 40] or phenomenologically as in [16, 22, 25]. In order to keep complexity at a minimum, the latter approach is the one adopted in the presented study. In general, this approach depends on the understanding of the flow of spiking activities within the network. In other words, for a series of neuronal activities, synapses of the neural network do not influence the timing of the output spike with identical contributions. In the study at hands, it is chosen to allow training for only the forward synaptic connections between the input neurons and the hidden neurons (shown as dashed lines in Figure 2(a)). That is, only the model parameters of those forward synapses are updated according to the proposed learning framework.
4. Simulation and Results
The input data is a set of 600 spike trains with total epoch of 200 msec at 1 msec discretization each. Each input spike train has a Poisson distributed interspike intervals with an overall frequency of 50 Hz. This set is arranged in two subsets, each of which is the input set for one input neuron. Figure 2(b) shows a sample of the two input spike trains, note that the epoch here is the simulation epoch of 200 msec (). Samples of the output spike train and the reference one are given in Figure 2(c) as well as their corresponding binned versions.
Beside the values of the reward, the performance is demonstrated with the distance between the two short representations of reference and network output spike trains as well. And it is calculated per episode. Taking into account the role of the temporal features embedded in the input (and output) spike trains, other indicator of performance is considered. This indicator is the maximum cross-correlation coefficient between the Gaussian-filtered versions of and ; and are the binned (short) versions of the output and the reference spike trains and , respectively. This indicator is never used in the training or in updating the values of the model parameters.
A network with a hidden layer of five neurons is implemented, and simulation is repeated with seven neurons in the hidden layer. The network has one output neuron; that is, the network size is seven and 10 neurons respectively. The minimum number of neurons, required to solve the XOR problem is five. In both networks, two synapses between input neurons and the hidden layer are randomly selected to be inhibitory synapses. Between the hidden layer and the output neuron, only one synapse is selected inhibitory. The selection of inhibitory synapses is not changed during the simulation. For the smaller network (), mean values of and over the last 50 episodes are 10.9 ± 1.5 and 0.83 ± 0.068, respectively. For this network, the reward signal is given in Figure 3(a), and performance measures are illustrated in Figures 3(b) and 3(c). With the larger network ( 10), similar to the previous setup the values of start between 25 and 35, experience an overall decay over time and reach asymptotic stability after 100 episodes of training; the mean value over the last 50 episodes in the observed distance is 3.21 ± 2.33. has a mean value over the last 50 episodes of 0.93 ± 0.03. A further detailed overview of the network performance is given with a snapshot from the simulation over the input/output firing patterns and internal EPSP of the output neuron in Figure S1 (Supplementary Materials are avaiable online at doi: 10.1155/2011/869348).
The time evolutions of the trained parameters are illustrated in Figure 4. Convergence can be clearly seen from the three illustration reporting the evolution of the tuned parameters. These illustrations report the time course of the tuned parameters for both excitatory and inhibitory synapses. As for the effect of the initial values on the learning performance, different starting values are used for the parameters subject to training. Self-organized behaviour is observed. That is, the final values of trained parameters converge to self-consistent values over the training trials when either of the initial values changes. Figure 5 illustrates an example of this for , and starting the training from 0.1 instead of 0.5 leads to a similar final value at convergence.
As mentioned above, the dynamic synaptic strength of a synapse at any time instant is . Let be the time average of the synaptic strength of this synapse over all the time steps in one trial (episode). The time course of for not trained excitatory and inhibitory synapses (found between the hidden layer and the output neuron) are given in Figure 6(a); values are normalized between zero and unity and smoothed. Similarly, the time course of for trained excitatory and inhibitory synapses (found between the input neurons and the hidden layer) are given in Figure 6(b); values are normalized between zero and unity and -axis is a logarithmic scale. By investigating the not trained time courses of dynamic synaptic strength, they almost overlap, and there are clearly two different ranges of behaviour. During the first 150 episodes, that is, before convergence, both synapses (excitatory and inhibitory) have a mean synaptic strength of . For the second half, during the last 150 episodes the mean synaptic strength is . In case of the trained synapses, the behaviour of the synaptic strength is completely different. Both types of synapses try to optimize their ranges of influence. In other words, the excitatory synapse undergoes a progressive shift to maximize its synaptic strength and to stabilize it. Mean value increases from during the first 150 episodes up to 0.0388 ± 0.052 during the second 150 ones. The strength of the inhibitory one is lowered from 0.0126 ± 0.0833 down to and kept stable at the lowest possible range. Because of the wide span of values in the trained case, the values are shown on a semilog plot of the y-axis to clarify the differences between the two lines, see Figure 6(b).
Relative larger networks with 13, 17 and 20 neurons in hidden layer ( 16, 20 and 23, resp.,) are investigated. The enhancement in the performance is observed in terms of to be with an overall improvement of 0.01, 0.013, and 0.017, respectively. The effect of changing the time window is also investigated. The mean of performance measures at different binning window settings (4, 5, and 7 msec) are summarized in Table 1. In case of 4 and 7 msec window, the epoch of the input spike trains are changed in order to get a final binned version of 40 steps long; that is, the length of the input spike train is changed to be 160 and 280 msec, respectively.
The normal evaluation of results, by counting the correct hits of ones and zeros as in [17, 40] reveals relatively poor performance in the case presented here. The mean correct hit rate between and is , while it increases to between and at = 5. It should be pointed out that, on one hand, this classical evaluation method of the results seems from our point of view not applicable here. The timing of occurrence of input spikes is solely the input feature to the network, because both neuronal and synaptic representation here implement temporal dynamics. Comparing only the counts (hit rates) of the occurrences of ones and zeros in the output and reference spike trains suppresses all the temporal information and eliminates the involvement of the STDP realized by the synaptic dynamics. Which is why we use the distance between the two-binned spike trains and the maximum coefficient of cross-correlation between them as indicators for performance. Both measures are sensitive to temporal information within spike trains. On the other hand, the proposed framework here outperforms previous approaches from [15, 40] in terms of the needed network size, learning speed and time-to-convergence. The proposed framework with a network size of 30 neurons results in a correct hit rate of ~91% between and at = 5 which is still comparable to those results from [17, 40] with a doubled network size. The learning model proposed in [33, 40] is not applicable to recently developed synaptic models such as the modified stochastic synaptic model  or the kinetic synaptic model . In the analytical derivation of these models, it was assumed that the spike generation and the utilization of synaptic resources are conditionally independent of each other. Although this is not wrong in principle, it limits the applicability of these approaches to other synaptic models that do not satisfy this condition. The proposed RL framework avoids this setback and therefore it may applied to a wide class of synaptic models.
Values of depend on the time scale parameter . It can be shown that the change in distance due to spike insertion and displacement is inversely proportional to . In simple words, greater values of give rise to smaller values of distance between the spike trains. Since the distance measure plays a critical role in the introduced framework, the effect of on the performance is investigated. The simulations are repeated with values of : 5, 10, 15, 20 and 25 msec with five neurons in the hidden layer and at at five msec. As long as and , no significant influence on the performance is observed. Otherwise, that is, either at msec or msec in the proposed setup, the reward values are too large (or too small) to correct the direction and the update rate properly. Therefore, the performance turns to be critically stable. This can be compensated by changing the scaling factor correspondingly. Similar limitation was reported in  as the Gaussian filtered version were used instead of the exponential ones as smoothing filters for the spike trains. The restrictions made on here do not limit the usage of the learning framework.
The values of and are relatively related. adjusts the range of the reward signal. Specifically, it adjust the minimum and the maximum values of the reward values between the zero and one depending on the span of the distance values. Corresponding to this range, either amplifies or reduces the effect of the on the learning rate . Thus, the overall performance can be slightly sensitive to certain combinations of and . This sensitivity is, however, changes depending on the input data set because the key player is the range of the distance values. For example, when the distances between the network responses and their corresponding reference spike trains vary between 5 and 30, the values of and are chosen as reported in the script. When these distances vary between 10 and 150, and should be differently selected. In general is selected to make the range of closer to unity. Other values are to be adjusted accordingly.
Developing this framework is basically motivated by the need of a proper and simple learning algorithm for the spiking networks that utilize dynamic synapses. In these networks, the synapses are not represented as weighting constants. Hence, altering the synaptic response via the classical backpropagation or the -rule is not appropriate . Moreover, the analytical derivation, for example in  and other similar studies are based, to a certain extent, on the assumption that the neurotransmitter release is independent of the spike generation process at any particular time. Although this is not wrong as an assumption, it limits the application of their techniques from being extended for other synaptic models, in which the probabilistic nature of the neurotransmitter release is only responsible for the spike generation [13, 24].
In the study at hands, a framework is proposed to direct the tuning process to the hidden synaptic parameters instead of the scaling synaptic weight. Investigating the behaviour of the synaptic dynamic strength from Figure 6 gives more insight into the influence of the learning framework proposed here. As seen from the time evolution of the synaptic strength in case of the untrained synapses, only the range of fluctuation is affected by convergence. For the trained synapses, the synaptic strength shifts to a completely new dynamic regime at convergence. This is valid for both the excitatory and inhibitory synapses. Apart from the exact numerical values, this behaviour indicates that the learning framework proposed here is able to regulate the dynamic part of the synaptic response and to capture the required input-output relation.
As for the XOR computations, comparing our results to the count of correct hits reported for example in  may be performed in a further study. Accounting for the temporal features in the output is a key issue that distinguishes the framework presented in this study from former ones. The output of the network here is highly characterized by its temporal contents. A distance measure that accounts for the statistical features of the compared signals, for example, stochastic event synchrony measure , may represent an added value to the represented framework. Determining which distance measure to use is a research point to be tackled in a future study.
The detected self-organizing behaviour for the tuned parameters suggests that the synaptic dynamics encode the statistical features of the interspike intervals implicitly. In other words, the temporal information embedded within input spike trains are encoded in the dynamics of the synaptic connections. This demonstrates the central role of the implemented learning framework not only in realizing the required computation, but also to capture the input temporal information and to store it within the synaptic dynamics.
The availability of the reference spike train along with holding the reward value from previous trial require a memory in the simulated neural system. This does not represent a problem in simulation environments, since computers are equipped with enough computational resources to accomplish this. However, this raises an important issue when the biological counterparts are under investigation. Are biological neural systems able to provide such reference outputs and keep some kind of traces to indicate the previous success (or failure) in generating their recent outputs? There is no means to check whether there is an ability to generate a reference output; however, there are evidences that neural systems keep traces about the correctness of the recent neural actions; the detection of the so called P300 signal in brain-computer interface experiments is a direct example of such indication; see, for example,  for a recent review. This signal is a specific form of electroencephalogram (EEG) waves and is used as a measure of cognitive function in decision-making processes. The mechanism underlying the generation of such signal is not clear, and their existence suggests, however, that neural systems compare their planned response to the required, that is, correct, response. This sheds some light on the plausibility of the proposed framework.
Intuitively, the introduced framework is not confined to the Markram-Tsodyks synaptic model. It is applicable to a wide range of dynamic synaptic models that satisfy the main assumption of underlying finite-impulse response dynamics; see, for example, . Besides, the estimation of the reward signal does not presume certain characteristics of the synaptic model. Based on this sense of generality, the approach presented here is useful in cases where stochastic, biologically plausible or complex representations are required in the simulation [13, 14]. Being able to capture the XOR computation supports using this approach for tasks that require intuitively signal processing and computational capabilities. Considering the simple mathematical implementation of the update rule and calculation of the reward values, this framework can be used as an online adaptive scheme for controlling and tuning networks performance.
This study is an introductory case to be followed in order to extend the presented approach and to investigate it with larger networks that may comprise multihidden layers. Besides, it is to be tested in achieving more complex tasks than the XOR problem. Also, the use of other neuronal and synaptic representations still represents a coming task to be considered. Besides, the algorithm has not been proven to be optimal in the sense of learning speed or convergence to minimal error, it may be amenable to improvements. The stability analysis represents an open question as well; this analysis should be directly related to the adopted synaptic model as well as to the value function for the reward signal.
In this study, a learning framework is presented. It is based on the Hebbian/anti-Hebbian concepts of updating the values of the parameters affecting the synaptic dynamics. It is controlled via an episodic reward signal derived from the comparison between the outputs of the network and reference spike trains. The network with its synaptic dynamics are able, through the introduced learning algorithm, to implement the required nonlinear function of the XOR computations. By entertaining the hypothesis that certain mechanisms within biological neural systems may be viewed as learning via rewarding [8, 9] the biological plausibility of the approach is a main aspect in this study considering machine learning as a main target. In other words, and within the class of error-driven learning models that have some probability of being neurobiologically relevant, the proposed approach presents an alternative to classical approach of applying reinforcement learning to modulate synaptic weights. As such, it brings models for reinforcement learning closer to plausible models of unsupervised learning while realizing the Hebbian perspectives. Follow-up studies are planned to investigate the learning performance of the introduced framework with other synaptic models. Moreover, it remains to be seen if the introduced framework might be used to extend the storage capacity of a network in terms of the number of input patterns that can be stored and retrieved.
- A. Back, E. A. Wan, S. Lawrence, and A. C. Tsoi, “A unifying view of some training algorithms for multilayer perceptrons with fir filter synapses,” in Neural Networks for Signal Processing 4, pp. 146–154, IEEE Press, 1995.
- A. D. Back and A. C. Tsoi, “Fir and iir synapses, a new neural network architecture for time series modeling,” Neural Computation, vol. 3, pp. 375–385, 1991.
- O. Barak and M. Tsodyks, “Persistent activity in neural networks with dynamic synapses,” PLoS Computational Biology, vol. 3, no. 2, article e35, 2007.
- D. Baras and R. Meir, “Reinforcement learning, spike-time-dependent plasticity, and the BCM rule,” Neural Computation, vol. 19, no. 8, pp. 2245–2279, 2007.
- R. J. C. Bosman, W. A. van Leeuwen, and B. Wemmenhove, “Combining Hebbian and reinforcement learning in a minibrain model,” Neural Networks, vol. 17, no. 1, pp. 29–36, 2004.
- N. Brunel and M. C. W. van Rossum, “Quantitative investigations of electrical nerve excitation treated as polarization,” Biological Cybernetics, vol. 97, no. 5-6, pp. 341–349, 2007.
- A. Carnell, “An analysis of the use of Hebbian and anti-Hebbian spike time dependent plasticity learning functions within the context of recurrent spiking neural networks,” Neurocomputing, vol. 72, no. 4-6, pp. 685–692, 2009.
- P. Chorley and A. K. Seth, “Dopamine-signalled reward predictions generated by competitive excitation and inhibition in a spiking neural network model,” Frontiers in Computational Neuroscience, vol. 5, p. 21, 2011.
- C. Clopath, L. Ziegler, E. Vasilaki, L. Büsing, and W. Gerstner, “Tag-trigger-consolidation: a model of early and late long-term-potentiation and depression,” PLoS Computational Biology, vol. 4, no. 12, Article ID e1000248, 2008.
- J. Dauwels, F. Vialatte, T. Weber, and A. Cichocki, “On similarity measures for spike trains,” in Advances in Neuro-Information Processing, vol. 5506 of Lecture Notes in Computer Science, pp. 177–185, Springer, Berlin, Germany, 2009.
- M. S. de Queiroz, R. C. de Berrêdo, and A. de Pádua Braga, “Reinforcement learning of a simple control task using the spike response model,” Neurocomputing, vol. 70, no. 1-3, pp. 14–20, 2006.
- K. El-Laithy and M. Bogdan, “A hebbian-based reinforcement learning framework for spike-timing-dependent synapses,” in Proceedings of the 20th International Conference on Artificial Neural Networks: Part II (ICANN ’10), vol. 6353 of Lecture Notes in Computer Science, pp. 160–169, Springer, 2010.
- K. El-Laithy and M. Bogdan, “Predicting spike-timing of a thalamic neuron using a stochastic synaptic model,” in Proceedings of the European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning (ESANN '10), pp. 357–362, Bruges, Belgium, 2010.
- K. El-Laithy and M. Bogdan, “Synchrony state generation: an approach using stochastic synapses,” Journal of Artificial Intelligence and Soft Computing Research, vol. 1, no. 1, pp. 17–26, 2011.
- M. A. Farries and A. L. Fairhall, “Reinforcement learning with modulated spike timing-dependent synaptic plasticity,” Journal of Neurophysiology, vol. 98, no. 6, pp. 3648–3665, 2007.
- I. R. Fiete and H. S. Seung, “Gradient learning in spiking neural networks by dynamic perturbation of conductances,” Physical Review Letters, vol. 97, no. 4, Article ID 048104, 2006.
- R. V. Florian, “Reinforcement learning through modulation of spike-timing-dependent synaptic plasticity,” Neural Computation, vol. 19, no. 6, pp. 1468–1502, 2007.
- R. M. Garimella, “Finite impulse response (FIR) filter model of synapses: associated neural networks,” in Proceedings of the 4th International Conference on Natural Computation (ICNC '08), vol. 2, pp. 370–374, IEEE Computer Society, Los Alamitos, Calif, USA, 2008.
- W. Gerstner and W. M. Kistler, “Mathematical formulations of Hebbian learning,” Biological Cybernetics, vol. 87, no. 5-6, pp. 404–415, 2002.
- D. O. Hebb, The Organization of Behavior, John Wiley & Sons, New York, NY, USA, 1949.
- R. Kempter, W. Gerstner, and J. L. van Hemmen, “Hebbian learning and spiking neurons,” Physical Review E, vol. 59, no. 4, pp. 4498–4514, 1999.
- D. Kimura and Y. Hayakawa, “Reinforcement learning of recurrent neural network for temporal coding,” Neurocomputing, vol. 71, no. 16-18, pp. 3379–3386, 2008.
- K. Klemm, S. Bornholdt, and H. G. Schuster, “Beyond hebb: exclusive-OR and biological learning,” Physical Review Letters, vol. 84, no. 13, pp. 3013–3016, 2000.
- C. C. J. Lee, M. Anton, C. S. Poon, and G. J. McRae, “A kinetic model unifying presynaptic short-term facilitation and depression,” Journal of Computational Neuroscience, vol. 26, no. 3, pp. 459–473, 2009.
- K. Lee and S. S. Kwon, “Synaptic plasticity model of a spiking neural network for reinforcement learning,” Neurocomputing, vol. 71, no. 13-15, pp. 3037–3043, 2008.
- A. Levina, J. M. Herrmann, and T. Geisel, “Dynamical synapses causing self-organized criticality in neural networks,” Nature Physics, vol. 3, no. 12, pp. 857–860, 2007.
- W. Maass and A. M. Zador, “Dynamic stochastic synapses as computational units,” Neural Computation, vol. 11, no. 4, pp. 903–917, 1999.
- H. Markram, Y. Wang, and M. Tsodyks, “Differential signaling via the same axon of neocortical pyramidal neurons,” Proceedings of the National Academy of Sciences of the United States of America, vol. 95, no. 9, pp. 5323–5328, 1998.
- H. H. Namarvar, J. S. Liaw, and T. W. Berger, “A new dynamic synapse neural network for speech recognition,” in Proceedings of the International Joint Conference on Neural Networks (IJCNN '01), pp. 2985–2990, July 2001.
- T. Natschläger, W. Maass, and A. Zador, “Efficient temporal processing with biologically realistic dynamic synapses,” Network: Computation in Neural Systems, vol. 12, no. 1, pp. 75–87, 2001.
- C. M. A. Pennartz, “Reinforcement learning by Hebbian synapses with adaptive thresholds,” Neuroscience, vol. 81, no. 2, pp. 303–319, 1997.
- W. Schultz, P. Dayan, and P. R. Montague, “A neural substrate of prediction and reward,” Science, vol. 275, no. 5306, pp. 1593–1599, 1997.
- H. S. Seung, “Learning in spiking neural networks by reinforcement of stochastic synaptic transmission,” Neuron, vol. 40, no. 6, pp. 1063–1073, 2003.
- R. S. Sutton and A. G. Barto, Reinforcement Learning, TheMIT Press, 1998.
- M. Teixeira, M. Castelo-Branco, S. Nascimento, and V. Almeida, “The p300 signal is monotonically modulated by target saliency level irrespective of the visual feature domain,” Acta Ophthalmologica, vol. 88, no. s246, 2010.
- M. V. Tsodyks and H. Markram, “The neural code between neocortical pyramidal neurons depends on neurotransmitter release probability,” Proceedings of the National Academy of Sciences of the United States of America, vol. 94, no. 2, pp. 719–723, 1997.
- R. Urbanczik and W. Senn, “Reinforcement learning in populations of spiking neurons,” Nature Neuroscience, vol. 12, no. 3, pp. 250–252, 2009.
- M. C. W. van Rossum, “A novel spike distance,” Neural Computation, vol. 13, no. 4, pp. 751–763, 2001.
- M. C. W. van Rossum, G. Q. Bi, and G. G. Turrigiano, “Stable Hebbian learning from spike timing-dependent plasticity,” The Journal of Neuroscience, vol. 20, no. 23, pp. 8812–8821, 2000.
- X. Xie and H. S. Seung, “Learning in neural networks by reinforcement of irregular spiking,” Physical Review E, vol. 69, no. 4, Article ID 041909, 10 pages, 2004.
- R. S. Zucker and W. G. Regehr, “Short-term synaptic plasticity,” Annual Review of Neuroscience, vol. 64, pp. 355–405, 2002.