This is the accepted version of the article: Martin Martinez, Javier; Rodriguez, Rosana; Nafria, Montserrat; [et al.]. «An un- supervised and probabilistic approach to Pavlov’s dog experiment with OxRAM devices». Microelectronic Engineering, Vol. 215 (July 2019), art. 111024. DOI 10.1016/j.mee.2019.111024 This version is available at https://ddd.uab.cat/record/249285 under the terms of the license An unsupervised and probabilistic approach to Pavlov’s dog experiment with OxRAM devices M. Pedro1*, J. Martin-Martinez1, R. Rodriguez1, M.B. Gonzalez2, F. Campabadal2 and M. Nafria1 1Departament d’Enginyeria Electrònica, Universitat Autònoma de Barcelona (UAB) Campus UAB. 08193 Bellaterra. Spain. 2 Institut de Microelectrònica de Barcelona, IMB-CNM, CSIC. Campus UAB. 08193 Bellaterra. Spain. E-mail address of corresponding author: marta.pedro@uab.es Abstract In this work, a potential basis for implementing unsupervised associative learning in two or more memristors within neuromorphic architectures is proposed. The experimental demonstration is carried out by means of emulating the Pavlov’s dog classical conditioning experiment with two OxRAM devices, in which the dependence of the probability of association on test parameters, such as the pulse amplitude, is studied. Keywords: Associative learning, Memristors, Neuromorphic, OxRAM, Unsupervised Learning 1. Introduction Memristors are being widely investigated for their application as synaptic devices in neuromorphic architectures. Their characteristics allow merging computation and memory, which is of great interest when a bio-inspired approach is considered. With this purpose, learning models coming from psychobiology are being demonstrated concerning the programmable conductance that these devices present, which is identified as the synaptic weight. The ability of fine-tuning their conductivity state according to the features of the past electrical activity demonstrates their plasticity property. Unsupervised learning rules, which rely on the dependences of plasticity on time or frequency correlations between the pre and post-synaptic activities, have been already proven in single electronic devices in a large variety of memristive technologies [1-4]. However, there is still a lack of understanding on how bio-inspired local learning rules should be designed when the interaction between two or more memristors is considered. In the biological brain, complex cognitive processes arise from associative learning mechanisms, involving the causal interaction between multiple neuronal layers, and thus, of a large amount of synapses. The study of associative learning between electronic synapses would suppose a step towards the implementation of neuromorphic associative memories and hierarchical computing networks, able to store and recall symbolic knowledge, as occurs in the mammalian neural system. A simple case of associative learning can be found in the classical conditioning experiments initially conducted by I. Pavlov [5]. In classical conditioning, two stimuli are considered: one is the so-called unconditioned stimulus (US), and the second is the neutral stimulus (NS). The US triggers a response of the system, labelled as the unconditioned response (UR). On the other hand, the NS does not provoke the UR. It is through a stage of conditioning in which the NS is associated to US, so that the NS becomes a conditioned stimulus (CS), generating a system response similar to the UR. The experiment that Pavlov carried out was actually with dogs: the US was the sight of food, which made the dogs salivate (UR). The NS he employed was the ringing of a bell, which was neutral to the dogs in the sense that, only with its presence no salivation was induced. Pavlov discovered that, by consecutively ringing the bell when feeding the dogs, they would start responding similarly to both US (food) and NS (ringing of the bell), the latter becoming a CS. That is, they would salivate when hearing the bell without the presence of food, because the dogs associated it with their feeding time. This finding had great implications, being today the basis of the associative learning theory. Electronic emulations of classical conditioning and Pavlov’s dog test have actually been carried out with memristive devices, either using a single partially-volatile device [6], a single non-volatile device [7, 8], or a pair of volatile organic transistors with discrete CMOS neurons, being the latter focused on the implementation of a short-term associative memory [9]. In our work, we introduce an unsupervised electronic setup for studying a basic process of associative learning, involving the use of a pair of non-volatile OxRAM devices and being the test scheme analogous to the original Pavlov’s dog experiment. Moreover, we propose to analyze the conditioning efficiency by establishing a probabilistic association criterion. This is motivated by, on the one hand, taking into account the device-level variability found in memristive technologies such as OxRAM, which is often considered as an issue. On the other hand, significant variability is also found in biological neural and synaptic populations, as well as in their plasticity property, yet this variability is thought to be a typical (and maybe necessary) feature for a healthy nervous system [10-12]. This is the main reason for which statistical methods and models have been successfully incorporated to the computational neuroscience research during the last decades [13]. Therefore, it is plausible to design probabilistic learning rules for their application in neuromorphic architectures considering the variability observed in the devices to be employed. 2. Materials and methods 2.1. Tested samples and setup description The tested RRAM devices consist of 5x5μm2 TiN-Ti-HfO2-W Metal-Insulator-Metal (MIM) structures. Details of their fabrication can be found in [14]. An example of their I-V characteristics is shown in Figure 1, in which bipolar resistive switching phenomena can be observed. Figure 1. Examples of I-V characteristics of the tested samples, S1 (blue) and S2 (red). Resistive switching is described by two main processes: the SET process, which is the transition from a high resistance state to a lower one, and Figure 2. Scheme of the experimental setup for the electronic the RESET, which is the reverse behavior. Both samples Pavlov’s dog experiment. V1 and V2 are the input signals of the present similar SET and RESET voltages. system, connected to the post-synaptic neuron via two OxRAM devices, S1 and S2. Initial conditions for the two samples are also displayed, being S1 at a high conductivity state, whereas S2 has a low conductivity state. The scheme of the employed characterization setup for implementing associative learning is shown in Figure 2, involving a four-point manual probe station and a semiconductor parameter analyzer controlled via GPIB. In Figure 2, two RRAM devices represent the synaptic connection (S1, S2) between two pre-synaptic sensors and a post-synaptic neuron (POST), which S1 and S2 have in common. The signals coming from the sensors are identified as V1 and V2, which are the inputs of the system, and share the same amplitude value, Vd. On the other hand, V3 represents the feedback signal triggered by the POST, and provides also a way to measure the response of the system. All of the employed signals are applied with a semiconductor parameter analyzer (SPA) Agilent 4156C. The smart control of the SPA is employed for emulating the POST as an integrate-and-fire neuron. The current flowing through S1 and S2 is collected by the SPA, and the amount of charge that the neuron is receiving is computed and accumulated over time. When the accumulated charge reaches a defined threshold Qthr, the virtually stored charge is cleared, and the POST neuron fires a voltage pulse towards S1 and S2, with amplitude V3=−Vd and a determined pulse-width PW. Since this post-synaptic pulse represents a response to the pre- synaptic activity, two different situations can occur for each of the synapses: a voltage drop of 2Vd if there is some pre-synaptic activity coming from the sensor, or a voltage drop of −Vd if there is no pre-synaptic signal. 2.2. Test scheme The electrical classical conditioning scheme that we propose consists in emulating the Pavlov’s dog test. The goal is to associate the V1 and V2 inputs through experience, so that the activation of the POST (salivation) is achieved not only with the presence of V1 (food), but also with the single application of V2 (bell ringing). This is because during the trials V2 appears paired with V1, so an associative process between the inputs takes place. Initially, S1 has a high conductivity level, since the dog salivation is related to the sight of food, whereas S2 has a low conductivity, because the ringing of the bell is assumed to not cause salivation. The whole learning sequence is represented in Figure 3. The voltage drops at S1 (VS1 in Figure 3.a) and S2 (VS2 in Figure 3.b), which are defined as VS1 = V1 – V3 and VS2 = V2 – V3, are plotted over time. Next, the V1 (US) and V2 (NS → CS) waveforms (Figure 3.c and Figure 3.e, respectively) are plotted over time. The neuron response |V3| is also depicted in Figure 3.g, symbolizing the dogs’ salivation. The currents through S1 (I1 in Figure 3.d) and S2 (I2 in Figure 3.f) which were measured during one of the tests are also shown as an example, which were recorded only when the POST was firing a pulse, in order to speed the performance of the tests. First of all, a current-controlled forming process is performed on the S1 and S2 devices, which are located within the same dice. Next, five compliance-free RESET and SET processes are induced to each of the samples (not shown in Figure 3), in order to set their conductivity states within a certain range, following the procedure of the previous works [A-B]. The maximum voltage applied to the sample with the S1 role was of Vset=2Vd, whereas in the case of S2, it was of Vset=Vd. In this way, the conductivity state of S1 was set to a high value (G>30Go), whereas S2 was set to a low value (G≤5Go). The learning sequence starts with the single application of V1=Vd Figure 3. Particular case of voltage and intensity evolutions over a learning sequence where the association process took place. The bottom part of the figure shows an analogy between the POST activity and the Pavlov dog’s behavior. (a) Voltage drop at S1, defined as Vs1 = V1-V3. (b) Voltage drop at S2, defined as Vs2 = V2-V3. (c) Voltage waveform V1 corresponding to the US, given by sensor 1. Its high level is of Vd. (d) Intensity flowing through S1, measured only when the POST triggered a spike. The conductivity state of S1 is also indicated in Go units, being of 35.36Go, corresponding to a high conductivity state. (e) Voltage waveform V2 with a high level of Vd. V2 corresponds to the NS, given by sensor 2, which after the conditioning stage becomes CS if the association process has occurred. (f) Intensity flowing through S2, measured only when the POST triggered a spike. The conductivity state of S2 is also indicated in Go units, being of 0.063Go before the conditioning stage, and of 31.67Go after the association process, corresponding to low and high conductivity states, respectively. (g) Voltage waveform |V3| corresponding to the POST activity, given as spikes with amplitude -Vd. In this case, the POST responds first only to the presence of V1, whereas after the association process, it also responds to V2. (−20s=CCRth) The probabilities of association as a function of the tested Vd values are depicted in Figure 6. It can be observed that the probability of association increases with increasing Vd, up to the maxima Vd=0.325V. Above this value, any association process can take place: the voltage drop of Vd, originated when V2 is active before the training stage (−10s