Next Article in Journal
Pharmacological History of Missing Subjects: Perspective of a Correction Factor to Aid in the Study of Bone Remains
Previous Article in Journal
CRISPRi-Mediated Down-Regulation of the Cinnamate-4-Hydroxylase (C4H) Gene Enhances the Flavonoid Biosynthesis in Nicotiana tabacum
 
 
Correction published on 28 December 2022, see Biology 2023, 12(1), 52.
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Optimization on the Neuronal Networks Based on the ADEX Biological Model in Terms of LUT-State Behaviors: Digital Design and Realization on FPGA Platforms

1
School of Computer Science and Artificial Intelligence, Changzhou University, Changzhou 213164, China
2
Department of Industrial Engineering, Faculty of Engineering, King Abdulaziz University, P.O. Box 80204, Jeddah 21589, Saudi Arabia
3
Shenzhen College of Advanced Technology, University of Chinese Academy of Sciences (UCAS), Shenzhen 518055, China
4
Electrical Engineering Department, Faculty of Engineering and Technology, Future University in Egypt, New Cairo 11845, Egypt
5
Imec-Vision Lab, Department of Physics, University of Antwerp, 2610 Antwerp, Belgium
6
University Medical Services Center, King Abdulaziz University, Jeddah 21589, Saudi Arabia
*
Authors to whom correspondence should be addressed.
Biology 2022, 11(8), 1125; https://doi.org/10.3390/biology11081125
Submission received: 20 April 2022 / Revised: 31 May 2022 / Accepted: 9 June 2022 / Published: 27 July 2022 / Corrected: 28 December 2022
(This article belongs to the Section Neuroscience)

Abstract

:

Simple Summary

The brain is an incredibly complex system possessing outstanding abilities to perform difficult tasks through a vast number of densely interconnected neurons. Aimed at discovering the underlying mechanisms of the brain, a number of spiking neural networks have been proposed to mimic biological neural dynamics. Subsequently, to perceive how the neural networks in the brain work, simulation and hardware realization of large-scale systems, similar to the brain, is an essential requirement. Behavior of a single neuron can be described by the mathematical equations in different levels of computing and biological accuracy. In this approach, a new modified ADEX model is presented based on sampling frequency by the nonlinear functions of the original model. This new model is capable for reproducing all aspects of the original model in low-error and high-degree of similarity conditions. Finally, the proposed model can be implemented on digital hardware platforms to have a real digital system. Digital results show the increase in system speed (frequency) and overall saving in hardware resources (compared by the original model and other similar works). This low-cost digital hardware is applied in large-scale neuronal networks.

Abstract

Design and implementation of biological neural networks is a vital research field in the neuromorphic engineering. This paper presents LUT-based modeling of the Adaptive Exponential integrate-and-fire (ADEX) model using Nyquist frequency method. In this approach, a continuous term is converted to a discrete term by sampling factor. This new modeling is called N-LUT-ADEX (Nyquist-Look Up Table-ADEX) and is based on accurate sampling of the original ADEX model. Since in this modeling, the high-accuracy matching is achieved, it can exactly reproduce the spiking patterns, which have the same behaviors of the original neuron model. To confirm the N-LUT-ADEX neuron, the proposed model is realized on Virtex-II Field-Programmable Gate Array (FPGA) board for validating the final hardware. Hardware implementation results show the high degree of similarity between the proposed and original models. Furthermore, low-cost and high-speed attributes of our proposed neuron model will be validated. Indeed, the proposed model is capable of reproducing the spiking patterns in terms of low overhead costs and higher frequencies in comparison with the original one. The properties of the proposed model cause can make it a suitable choice for neuromorphic network implementations with reduced-cost attributes.

1. Introduction

The Central Nervous System (CNS) is a basic biological system which includes three vital organs: neurons, synapses, and glias [1,2]. In this network, neurons are responsible for information processing and transformation of data in different parts of the human brain. By neurons switching, the essential informations are transferred to the brain parts [3,4,5]. Neurons are high-speed organs that have high number of different connections for transferring data [6]. On the other hand, synapses are the connections between two neurons. These connections causes the coupling of two connected neurons. These coupled neurons are basic submodules of the CNS that can be realized in real states [7,8,9,10]. Furthermore, glias are the protection-based cells for neurons and regulate the coupling behaviors between different neuron connections. One of the basic forms of the glias in the brain are astrocytes, which are responsible for protecting and regulating neurons behavior [3,4,9]. From this standpoint, investigating neurons dynamic can be a vital requirements in case of neuromorphic engineering. Thus, modeling of neural dynamics and spiking neural network mechanisms have been a strong tool in analyzing and processing behavior of biological neural networks.
Interaction between these basic organs in the brain corresponds to transferring data, memory and learning [11,12,13,14]. In this approach, the important and basic block is neurons with a large number of connections. A large number of connected neurons with thousands of connection in the brain makes them vital organ in case of transferring data and informations. In this way, this important part must be investigated and analyzed to achieve an efficient system for designing real organs. These neurons have several functional roles, such as receiving, transmitting and analyzing data for producing voltage signals in all parts of the human brain [3,4,5,6]. These behaviors can be formulated by some mathematical Equations [15,16,17,18]. The basic signal behaviors of the biological neurons are modeled by these mathematical equations. In neuron modeling, two approaches are selected: first, the models which are based on the biological neurons behavior, such as Hodgkin-Huxley (HH) [2] or the ADEX neuron model [5,6,7,8], and the second is based on spike state modeling, such as Izhikevich [3,4,11,12].
Among the above list, the Izhikevich model is a computationally reasonable neuronal model that is capable of reproducing all spiking patterns. This model generates all patterns of brain spikes, which is a very significant issue in the neural networks [1,3,4]. On the other hand, the HH model is a full-biological neuron model with a high number of equations and terms and is a high-cost neuronal model [2]. It may be not acceptable for implementing in hardware form because of its high overhead costs. On the other hand, the ADEX model is a cost-effective and biological neuron model that has the both behaviors of the Izhikevich and HH models at the same time, and it is an appropriate choice in case of digital design and realization [5,6].
To realize the neuronal models in hardware state, there are different choices. To achieve a hardware implementation of the neuronal models, we have two cases: analog implementation and digital realization. For realizing in the analog case, CMOS Components are used for designing an analog approach in case of following the mechanisms of neuronal models. This process is high performance in case of speed, but long development time is its disadvantage. Moreover, two factors in digital implementation, high-silicon area and power are required, but this procedure is efficient compared by other approaches [1,2,3,4,5,6]. The advantage of digital approach is its flexible attributes, time-down in processing and power supply. Using reconfigurable digital boards, such as FPGAs cause the speed-up and flexibility in this case [8,9,10,11,12]. In the field of neural networks implementation, digital approach may be a suitable procedure [1,3,4,5,6,7,8]. Indeed, because of high-speed switching in the neuronal networks, it is required to have a accelerate hardware, which is capable of regenerating the same behavior and performance of the human neuronal cells. Different approaches are considered for implementing the neural networks in hardware state in the literature [10,11,12,13,14]. In the field of neuronal realization, since we have high-frequency networks, the digital way is a better solution. On the other hand, it is best suited for computing and digital electronics, and is less affected since noise response are analog in nature, digital hardware is flexible in implementation and digital instruments are free from observational errors such as parallax and approximation errors (compared to the analog approach). The implementation of the neuronal cells using configurable platforms such as FPGA is an attractive area in terms of low overhead costs and high-frequency digital systems [1,2,3,4,5,6,7,8,9,10]. FPGA is an integrated circuit designed to be configured by a customer or a designer after manufacturing, hence the term field-programmable. The FPGA configuration is generally specified using a Hardware Description Language (HDL), similar to that used for an Application-Specific Integrated Circuit (ASIC). Circuit diagrams were previously used to specify the configuration, but this is increasingly rare due to the advent of electronic design automation tools. FPGAs are flexible and high-speed platforms which are suitable approaches for the digital realization of neuronal networks.
Different neuronal models have been realized on FPGA hardware boards. In this approach, Yaghini Bonabi et al. [2] proposed the FPGA implementation of the HH neuronal model using different methods. Moreover, Haghiri et al. [3,4], Nazari et al. [14] and Soleimani et al. [9] presented digital FPGA realization of coupled neurons with astrocyte cells. Furthermore, Soleimani et al. [12] proposed a digital effective realization of Izhikevich neuron model in low-cost and high-frequency state. In other words, the ADEX neuron model is implemented in the literature [5,6,7,8]. In detail, Gomar et al. [5] proposed power-2-based implementation of the ADEX model without any multiplications. Furthermore, Haghiri et al. [6] presented a novel realization of the ADEX neuronal model using full-matching approximation and low-error calculations. Gomar et al. [7] also proposed another approach for implementing this model using a CPG-based method and Heidarpour et al. [8] presented a CORDIC approach for ADEX realization. In all of these papers, the authors use an approximation method to realize the final hardware. This may causes different levels of errors of two original and proposed approaches and affect the final digital hardware.
As a comparison between ADEX implementation, Gomar in [5] proposes a power-2-based function for approximating the exponential term. This conversion may cause error levels between the original and proposed models, and also based on Table 7, speed-up and overall saving are reduced. Furthermore, in this approximation, the accuracy of fraction part of modification is low and this affects on the FPGA realization. On the other hand, Gomar in [7] also implemented the ADEX model in a multiplierless state. As can be seen, in this approach, she also used the power-2-based method, which is low-accurate in case of fraction part calculation. In [6], Haghiri proposed a high-accurate approximation of the ADEX model using a power-2-based function with a high degree of similarity. In their approach, the accuracy of matching is increased, but the FPGA cost is also increased; additionally, some levels of errors between the original and proposed spiking patterns can be observed. Finally, Heidarpour in [8] presented the CORDIC algorithm for approximating the ADEX neuron model. In their way, although the accuracy will be increased, the overall saving in FPGA will be significantly decreased. This issue may affects on large number of implemented neurons on an FPGA core.
The general technique for realizing the neuron models are clarified. Capable realization of biological neuronal networks are important. In biology approach, the experimental view of neuroscience are considered to have a basic inspiration of the brain architecture. Thus, studying hardware realization of these biological-like systems can be a necessary goal. At first, the neuronal modeling can be suited. Large number of neuron models are existed for SNNs based on different dynamical mechanisms. For example, the ADEX modeling is acceptable one and capable for duplicating different patterns of spikes in the brain. In the next step, the selected model can be validated in case of timing analysis and dynamics. Since the basic (original) models have high-cost functions, it is required that modification is done to achieve a low-area and cost modeling in hardware implementation. After that, the proposed model must be validated in terms of following the all aspects of original behaviors in MATLAB software. At the second step, to evaluate the proposed approach (in hardware consideration), the FPGA boards are applied in hardware case. Indeed, the Hardware Description Language (HDL) is considered for the proposed neuronal model in ModelSim and ISE Xilinx software’s. In this case, resource utilization and costs of the original and proposed models are compared in case of digital implementation. Two basic factors in this consideration (overall saving in FPGA resources and speed-up or frequency) are compared and the validated that the proposed model is in the better state of digital realization.
This paper presents the N-LUT-ADEX (Nyquist-Look Up Table-ADEX) model, which is based on accurate sampling of the original model. Since in this model, high-accuracy matching is achieved, it can recreate a large number of spike patterns in terms of the high similarity state with the original model and also reducing the final overhead costs compared to other papers. Indeed, by accurate sampling of the nonlinear terms of the original ADEX model, the final computational error will be significantly reduced. In this approach, the Nyquist frequency converts a continuous term to a discrete one. When the bandwidth of a signal is lower than the Nyquist frequency of the sampling, the equivalent sample rate is overhead the Nyquist ratio for that certain signal. Using this procedure, the nonlinear term of the original ADEX neuron model (which is an exponential term with high-cost state for digital hardware realization) can be replaced by LUT-based memories. This model can be implemented in hardware state without using any multipliers and other nonlinear terms. In other words, these nonlinear functions are high-cost and low-frequency blocks and by replacing them with some LUT-based terms, the frequency (speed) of digital system will be increased. Then, the overhead costs are significantly reduced. Two basic factors in neural networks implementations are: large-scale approach and high-speed switching. Indeed, to achieve a real and nature-inspired neural system, these two factors must be taken into account. Consequently, using this new model, we have an efficient and modified model that can be considered for implementation in biological neural networks.

2. ADEX Neuron

Adaptive Exponential integrate-and-fire (ADEX) neuron is based on coupling mathematical formulation for the voltage variable and the recovery one [5,6,7,8]. This biological neuron model is described by two coupled differential equations as follows:
C d V d t = g L ( V E L ) + g L Δ T e x p ( f ( V ) ) + I W
τ ω d W d t = a ( V E L ) W
By the following reset equations:
i f V > 0 t h e n V V r W W r = W + b
where
f ( V ) = V V T Δ T
The first equation denotes the dynamics of membrane potential and includes an activation term with an exponential voltage dependence. Voltage is coupled to a second equation, which describes adaptation. Both variables are reset if an action potential has been triggered. The combination of adaptation and exponential voltage dependence gives rise to the name adaptive exponential integrate-and-fire model. The adaptive exponential integrate-and-fire model is capable of describing known neuronal firing patterns, e.g., adapting, bursting, delayed spike initiation, initial bursting, fast spiking and regular spiking. Different ADEX parameters are described as:
  • C: Capacitance of the membrane voltage (pF);
  • g L : Leakage conductance (ns);
  • E L : Potential of rest in effective state (mV);
  • Δ T : Threshold factor (mV);
  • V T : Potential of threshold (mV);
  • V r : Potential of rest (mV);
  • τ ω : Time of adaptation (ms);
  • a: Adaptation of subthreshold (ns);
  • b: Adaptation of splike-trigger (pA);
  • I: Stimulus current (pA).
Furthermore, as depicted in Table 1, based on the variation of different ADEX parameters, we have eight spiking patterns. Based on Table 1, some spiking behaviors of the original ADEX neuron model are illustrated in Figure 1.
On the other hand, the first equation determines the membrane voltage and the injected DC current represents the input to the neuron. The variable represents the membrane potential of neuron and denotes an adaptation current variable. When the membrane voltage crosses its apex ( 0 ) , the voltage and adaptation variables will be reset according to an auxiliary. Furthermore, by scaling the parameters, the model can reproduce different types of spiking patterns, such as adapting, bursting, delayed spike initiation, initial bursting, fast spiking and regular spiking. The data presented in this study are available in Supplementary Material.

3. N-LUT-ADEX Modeling

To have a reduced-cost and high-speed biological neural network, the original nonlinear terms of the neuronal models must be approximated or replaced by simple and efficient terms. In this methodology, if the original high-cost model is modified to modified modeling (such the original model behaviors in all consideration), the large-scale implementation can be realized. In this paper, we have presented the N-LUT-ADEX (Nyquist-Look Up Table-ADEX) model, which is an accurate and cost-reduced approach compared to the original ADEX model. In the new approach, ADEX neuronal modeling is reformulated as below:
C d V d t = A D X ( V ) + I W
τ ω d W d t = a ( V E L ) W
where
A D X ( V ) = g L ( V E L ) + g L Δ T e x p ( f ( V ) )
After a continuous signal, G ( t ) is sampled at a constant ratio, f s samples. There is a continual limitless numeral of additional continuous terms that fits a similar set of samples. In terms of the terms bandwidth ( B ) , the Nyquist standard is regularly specified as f s > 2 B . In this method, 2 B is named the Nyquist rate for functions with bandwidth B [19].
In our method, as can be seen in Equation (7), the ADX ( V ) function is considered the objective function. At first, the Fast Fourier Transform (FFT) of this function is evaluated in case of sampling frequency. Based on the Nyquist rate, if we have the peak frequency of the function, it can be discretized to some points in the range of the voltage variable, and then, this digitized points will eventually reconstruct the objective function. The objective function ( ADX ( V ) ) and its FFT have been illustrated in Figure 2a. As can be seen in this figure, the base frequency of the objective function is about 10   Hz . Thus, this function is sampled by the Nyquist rate method for at least twice as much of this rate (at least 20 points of sampling). In this modification, the basic criteria for design and development of the final system are achieving a low-resources-cost, high-frequency (speed) and low-error digital design in comparison to the original basic modeling. As a result, by modifying the original ADEX neuron model, we have new high-speed, low-error and low-area hardware that can be implemented on FPGA boards as a compact digital design. In large-scale realization, this system can be considered for achieving real neural networks. These networks have the same biological behaviors as real neural networks.
The final sampling result is shown in Figure 2b. As can be depicted in this figure, 20 points are selected based on the Nyquist rate. Thus, this continuous function is replaced by 20 values, and then, the nonlinearity of the ADEX neuron model can be solved. By this modification, the final overhead costs will be significantly reduced. Furthermore, the spiking shapes of two modeling (original and proposed) are compared in Figure 3a. It is showed that differences between the ADEX neuron and the proposed method is in the low-state, considerably so. For further consideration, the phase portrait of the original and proposed models are illustrated in Figure 3b. In this figure, the original and proposed models are similar at four spike patterns.

4. Error Methods, Dynamical Evaluation and Efficient Coefficients

Three basic issues must be evaluated for more efficient digital implementation. In this approach, first, the error level must be calculated, and second, the proposed model is evaluated in case of dynamical behaviors, and consequently, the digital coefficients have been extracted.

4.1. Error Methods

To validate the proposed model, the error criteria must be considered. In this way, it is important that errors level of two original and presented models are low for more efficient digital implementation. In our paper, the basic errors have been evaluated: ERR p , Correlation and MAE [3,4,5,12].
  • MAE : The Mean Absolute Error (MAE) measures how far away predicted values are from observed values, and it is one of a number of ways of comparing forecasts with their eventual outcomes.
  • Correlation : Correlation is statistical relationship involving dependency between two set of spikes.
  • ERR p : This error is defined as the difference between the main curve (original model) and proposed model at the lowest point of the curves.
Consequently, the formulation of the error methods are given by:
MAE = 1 n i = 1 n | V P r o p o s e d V A D E X |
Corr ( V Proposed , V ADEX ) = c o v ( V A D E X , V P r o p o s e d ) σ A D E X σ P r o p o s e d
ERR p = | V ( A D E X l o w e s t s t a t e ) V ( p r o p o s e d l o w e s t s t a t e ) |
Error criteria are reported in Table 2. The error level calculation is in the low state in different spiking patterns. Thus, the proposed neuron model can follow the original ADEX neuron in high similarity case and reduced-error calculations. When these basic factors are in a good state, the proposed model can be realized in a digital case with a high degree of similarity and performance. In fact, to test and evaluate the presented neuron in terms of high-similarity case between spiking patterns of basic and presented modelings, these error criteria have been applied.

4.2. Dynamical Evaluation

To validate the proposed neuron mode, it is required that the dynamical evaluations are considered. In addition to the spiking patterns similarities, the equilibrium points and Jacobean matrix for the original and proposed models must be examined in case of points matching [3,4,5,6,7,8,9,10]. Therefore, the nullcline of the two models (original and proposed) are considered for evaluating the dynamical behaviors [19,20].
The nullcline of the original ADEX model is given by:
d V d t = 0 d W d t = 0
W = g L ( V E L ) + g L Δ T e x p ( f ( V ) ) + I W = a ( V E L )
and for the proposed model, this formulation can be given by:
W = ADX ( V ) + I W = a ( V E L )
In this way, the Jacobean matrix is defined and can be obtained as:
J ( V , W ) = A 1 B 1 C 1 D 1
where
A 1 = p ( V , W ) V B 1 = p ( V , W ) W C 1 = q ( V , W ) V D 1 = q ( V , W ) W
In this equation, P is the derivative of the basic variables (V and W). Thus, the Jacobean matrix for the original and proposed models are presented as in Table 3. As a result test, the dynamics of two models are compared based on Figure 3b. The dynamic behavior is in a similar state.

4.3. Efficient Coefficients

In the case of digital realization of the biological neural networks, it is optimal that all of parameters in the proposed model are fixed to binary values. Indeed, if this condition is considered, the final digital hardware is implemented in a low-cost state. In this approach, all parameters (from Table 1) must be converted to binary values. It is mentioned that error level must be evaluated in case of low-error computations. Consequently, as can be seen in Table 4, these digital values have been presented.
All parameters have been digitized. In other words, since the goal of this paper is the digital implementation of ADEX neuron model, this helps us to convert all multiplications of the modified model to digital SHIFTs and ADDs (or SUBs), and as a result, it has a high-frequency and reduced-cost realization.

5. Digital Approach

This section presents a multiplierless, low-cost and high-frequency design of the proposed ADEX neuron model. In this approach, since the proposed method is based on the LUT state, the final overhead costs will be reduced, significantly. The overall architectures of the proposed ADEX model are shown in Figure 4. The final hardware is composed of ADDs, SUBs and digital SHIFTs without any multipliers and other nonlinear functions. This can be an efficient and low-cost issue in comparison with the original ADEX model. The following subsections present more details.

5.1. Variables Discretizing

Each design consists of two blocks to calculate V and W. As the first step for implementation, it is necessary to discretize equations. In this paper, we have utilized the Euler method as:
V [ i + 1 ] = V [ i ] + ( d t C ) [ A D X ( V [ i ] ) + I W [ i ] ]
W [ i + 1 ] = W [ i ] + ( d t τ ω ) [ a ( V [ i ] E L ) W [ i ] ]
By the following reset equations:
i f V [ i ] > 0 t h e n V [ i ] V r W [ i ] W r = W [ i ] + b
In the above formulation, the time step of the Euler method is dt . To have a digital implementation, this value is set to d t = 1 / 128 .

5.2. Bit Width Consideration

The other step is THE bit width determination of the hardware functional units to achieve minimum hardware cost. To find the bit width, we need to calculate the values’ range in each point of the hardware structures. Moreover, the maximum shifts (right and left) must be evaluated to evade any extra in bits. In the proposed ADEX model, the voltage variable variates between 60 mV to + 10 mV. Thus, a bit width of 6 is required. Based on the Discretized equations, these values are shifted to right as about 20 bits. Consequently, a bit width of 27 must be calculated. Indeed, one bit is evaluated for the sign bit, and finally, a bit width of 28 is achievable.

5.3. Architecture View

As mentioned, the proposed ADEX model is a multiplierless system without any nonlinear terms. In this approach, all terms and functions are realized by ADDs, SUBs and SHIFTs. The overall system architecture based on the proposed ADEX neuron is showed in Figure 5. It is illustrated that the final architecture is composed of four basic units: ADX unit, Pipelining unit, Control unit and Output unit. The ADX unit is a Static Random-Access Memory (SRAM) with 20 address points, where each address is responsible for protecting one value based on the proposed LUT. If the Clock pulse is increased, the pointer is increased and the final value of the proposed function is extracted from this unit and transferred to the pipelining unit. On the other hand, the pipelining unit is responsible for creating the final signals (V and W), which are based on the scheduling diagrams. In this unit, for producing the basic variables, two buffers have been considered which store the signals. Moreover, the control unit controls the basic signals for regulating the final system. In this way, an 5-bit counter is increased to trigger the pointer of the ADX unit. Furthermore, the comparator controls this counter for any overflow. The basic parameters of the proposed model have been stored in this unit. Finally, after storing the basic variables in the pipelining unit, these signals are transferred to output unit. In this unit, two buffers (SRAM) are available for protecting the final signals. Consequently, the basic variables are given to an DAC (8-bit Digital to Analog Converter) for generating the analog data that can be observed with an oscilloscope.

5.4. Minimum Resources

This part presents the minimum required resources of two basic and presented models based on the differential equations. In the presented neuron model, since all nonlinear terms, such as multiplications and exponential unit, have been removed, the final overhead costs are reduced; additionally, the maximum frequency of the system will be significantly increased. In large-scale digital implementation, these resources are very important in case of a maximum number of implemented neurons on an FPGA board. Indeed, the factor of overall saving in FPGA is responsible for increasing the number of realized neurons, and if this factor is high, a large number of ADEX neurons can be implemented on an FPGA hardware. The basic nonlinear terms in the original model are: exponential term, multipliers and dividers. These operations have high-cost realization and cause a reduction in the final frequency of the system. On the other hand, in the proposed ADEX model, these nonlinear terms have been removed, and then, the overall saving in FPGA will be significantly increased. Table 5 shows the minimum required resources of the original and proposed models.
From this table, our proposed model is of low cost with regards to the overhead costs. The proposed model only uses the digital SHIFTs and ADDs. Indeed, the proposed model is implemented on FPGA hardware without the use of multiplications, exponential units, dividers and any nonlinear functions.

5.5. Population View

To test and validate the proposed neuron model, a network composed of 2000 randomly connected neurons has been evaluated. This simulation is done for comparing the original and proposed ADEX models in case of population state. In this approach, a ratio of 4 to 1 is considered (excitatory to inhibitory). It is emphasized that in this population form, the connections of neurons are random. The raster plots of the original and proposed simulations are depicted in Figure 6. As can be seen, the activity of these two models is similar (same rhythm of about 6 Hz). In order to better consider the differences between the original and proposed models in network behavior, an error criterion is defined based on the Mean Relative Error (MRE). This error was applied to the proposed model, and each spike that fires at a mean value of over 1000 ms was calculated. This error can be formulated as:
MRE ( Proposed ) % = i = 1 N | Δ t ( Proposed i ) | | t si | N 100
where Δ t is time difference between the i t h spike in the proposed ADEX model and original model as depicted in Figure 7, while N is the number of samples. This procedure is applied for the all types of Izhikevich neuron models. Table 6 shows the MRE of 2000 randomly connected neurons for the proposed ADEX model.

6. Hardware Results

In this section, the proposed ADEX neuron model has been implemented on an FPGA board. The XC2VP30 FPGA board (which consists of required elements) is used for realizing the final hardware. The final hardware is synthesized and the overhead costs are presents in Table 7. As can be seen, our proposed neuron model in comparison to the original model is in a better state (frequency and costs). Moreover, the proposed model is more efficient compared to other, similar papers.
As illustrated in this table, our proposed model provides the best results in comparison with similar papers. Two basic factors in this approach are: speed (frequency) and large-scale implementation. The proposed neuron model has high-speed behaviors, and also in the case of large-scale neuron realization, based on the overall saving factor ( 100 [ FPGA Costs ] ), the saving of our proposed model is the best in comparison with other works. By this modification, using one FPGA board, more implemented neurons can be realized in hardware form. Figure 8 displays oscilloscope photographs of the proposed ADEX neuron type implementations. As can be seen, hardware signals have the same behaviors of the original simulation voltage signals in all spiking patterns. The device utilization for the implementation of about 60 neurons based on the proposed ADEX model can be realized (on an FPGA core). Consequently, our proposed neuron model is more efficient compared to the original model and other similar works in case of high-speed digital system and large-scale biological neural networks implementation.
As mentioned, the original ADEX neuron model is a nonlinear high-cost model. In this paper, the proposed model has been presented, which is capable for reproducing all patterns of the original model with a high degree of similarity. In this paper, a new ADEX modeling is applied to follow the main nervous system, that is capable to reinventing different mechanisms of the brain. The proposed approach can regenerate all mechanisms of the original ADEX neuron in high levels of performance and similarity. The new proposed case is used the Look-Up Table (LUT) modules to model the mathematical-based neurological structures, that can be implemented in high-level of equality with the original neuronal modeling. In other words, if the high-cost functions and terms are ignored, the final proposed model the will be realized and well implemented with such attributes as high-performances, low-overhead costs, and low-level computational errors. To evaluate the final digital circuit in case of validation with the original one, we have used the FPGA reconfigurable boards (Xilinx Virtex-II). After digital synthesize of digital HDL codes, it is showed that our proposed modeling is low-cost in case of FPGA resource utilization consumption and significantly follows the basic ADEX model. Finally, digital hardware results demonstrate the increasing overall saving of the presented work to 97.61% in FPGA and a higher frequency (speed-up) of the proposed model of about 212 MHz, that is higher than the basic model designing, 34 MHz. Indeed, based on these two basic factors (FPGA saving and speed-up), the proposed model is better than the original model in all aspects. Moreover, in large-scale state, the presented modeling is in the best form in comparison with the original model (in case of the maximum number of realized neurons on an FPGA board).

7. Conclusions

In this paper, an LUT-based modeling method of the ADEX model using Nyquist frequency method sampling is presented. This approach is a characteristic of a sampler, which converts a continuous function or signal into a discrete sequence. This new modeling is called N-LUT-ADEX (Nyquist-Look Up Table-ADEX) and is based on accurate sampling of the original ADEX model. The proposed approach exactly can follow the original ADEX model in a low error state and high degree of spiking pattern similarity. The time-domain and dynamical behaviors show that this new model is capable of reproducing all aspects of the original model. The main nonlinear terms of the original model are converted to LUT-based terms without any multipliers, dividers and exponential parts, which makes the proposed model an efficient approach. The implementation of this proposed model on an FPGA Virtex-II board shows that the new model is of low cost with high-speed attributes, which results in a real biological neural network. Two basic factors of the neuronal realization (speed-up and large-scale implementation) provide good results compared to the ADEX original neuronal model and other similar works. In this way, there is an overall saving of 97.61% ; additionally, a speed-up to 212 MHz has been achieved. To test the population network, a system composed of 2000 randomly connected neurons is simulated. The proposed model in this simulation test is is highly similar to the original ADEX neuron. Our proposed model performs better than other works; Gomar et al. [5,7], Haghiri et al. [6] and Heidarpour et al. [8] obtained overall saving of 95 % , 94 % , 96.7% and 70.76% , respectively. Moreover, the frequencies in these works are 187, 187.5 , 196 and 134 MHz, respectively. Among all similar works, our proposed model obtains better results. Other similar papers present ADEX neuron implementation with different approaches. In these mentioned papers, in some cases, the accuracy of realization is reduced. In some implementation, this accuracy will be increased, but the overall saving in FPGA resources is decreased. In our proposed model (N-LUT-ADEX), since the original functions are sampled (without any approximation), a high degree of accuracy is achieved. On the other hand, the overall saving in FPGA will be increased when all nonlinear terms of the original model are removed. Moreover, because all multiplications are removed, the final frequency will be significantly increased.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/biology11081125/s1.

Author Contributions

Methodology, A.S.A., O.T.; software, Y.W., M.B., I.A.; data curation, O.T., M.B., E.T.-E.; writing-original draft preparation, A.S.A., M.B.; writing-review and editing, Y.W., H.S.A.; visualization, E.T.-E., I.A.; supervision, I.A., E.N.; Funding Acquisition, O.T., E.T.-E., Visualization, H.S.A. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the Deanship of Scientific Research (DSR), King Abdulaziz University, Jeddah, under grant No. (G: 405-135-1443). The authors, therefore, gratefully acknowledge the technical and financial support from the DSR.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available in Supplementary Material.

Acknowledgments

Additionally, the authors were supported by the Engineering Mathematics and Physics Department, Faculty of Engineering and Technology, Future University in Egypt, New Cairo 11845, Egypt.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Taylan, O.; Abusurrah, M.; Eftekhari-Zadeh, E.; Nazemi, E.; Bano, F.; Roshani, A. Controlling Effects of Astrocyte on Neuron Behavior in Tripartite Synapse Using VHDL–AMS. Mathematics 2021, 9, 2700. [Google Scholar] [CrossRef]
  2. Bonabi, S.Y.; Asgharian, H.; Safari, S.; Ahmadabadi, M.N. FPGA implementation of a biological neural network based on the Hodgkin-Huxley neuron model. Front. Neurosci. 2014, 8, 379. [Google Scholar]
  3. Haghiri, S.; Ahmadi, A.; Saif, M. VLSI implementable neuron-astrocyte control mechanism. Neurocomputing 2016, 214, 280–296. [Google Scholar] [CrossRef]
  4. Haghiri, S.; Ahmadi, A.; Saif, M. Complete Neuron-Astrocyte Interaction Model: Digital Multiplierless Design and Networking Mechanism. IEEE Trans. Biomed. Circuits Syst. 2017, 11, 117–127. [Google Scholar] [CrossRef] [PubMed]
  5. Gomar, S.; Ahmadi, A. Digital Multiplierless Implementation of Biological Adaptive-Exponential Neuron Model. IEEE Trans. Circuits Syst. 2014, 61, 1206–1219. [Google Scholar] [CrossRef]
  6. Haghiri, S.; Ahmadi, A. A novel digital realization of AdEx neuron model. IEEE Trans. Circuits Syst. 2020, 67, 1444–1448. [Google Scholar] [CrossRef]
  7. Gomar, S.; Ahmadi, A.; Alirezaee, S.; Ahmadi, M.; Mirhasani, M. A low cost biomimetic implementation of a CPG based on AdEx neuron model. In Proceedings of the 2014 21st IEEE International Conference on Electronics, Circuits and Systems (ICECS), Marseille, France, 7–10 December 2014. [Google Scholar]
  8. Heidarpour, M.; Ahmadi, A.; Rashidzadeh, R. A CORDIC Based Digital Hardware For Adaptive Exponential Integrate and Fire Neuron. IEEE Trans. Circuits Syst. 2016, 63, 1986–1996. [Google Scholar] [CrossRef]
  9. Soleimani, H.; Bavandpour, M.; Ahmadi, A.; Abbott, D. Digital Implementation of a Biological Astrocyte Model and Its Application. IEEE Trans. Neural Netw. 2014, 26, 127–139. [Google Scholar] [CrossRef] [PubMed]
  10. Balubaid, M.; Taylan, O.; Yilmaz, M.T.; Eftekhari-Zadeh, E.; Nazemi, E.; Alamoudi, M. Central Nervous System: Overall Considerations Based on Hardware Realization of Digital Spiking Silicon Neurons (DSSNs) and Synaptic Coupling. Mathematics 2022, 10, 882. [Google Scholar] [CrossRef]
  11. Alkabaa, A.S.; Taylan, O.; Yilmaz, M.T.; Nazemi, E.; Kalmoun, E.M. An Investigation on Spiking Neural Networks Based on the Izhikevich Neuronal Model: Spiking Processing and Hardware Approach. Mathematics 2022, 10, 612. [Google Scholar] [CrossRef]
  12. Soleimani, H.; Ahmadi, A.; Bavandpour, M. Biologically inspired spiking neurons: Piecewise linear models and digital implementation. IEEE Trans. Circuits Syst. I Reg. Pap. 2012, 59, 2991–3004. [Google Scholar] [CrossRef]
  13. Curti, S.; Davoine, F.; Dapino, A. Function and Plasticity of Electrical Synapses in the Mammalian Brain: Role of Non-Junctional Mechanisms. Biology 2022, 1, 81. [Google Scholar] [CrossRef]
  14. Nazari, S.; Faez, K.; Amiri, M.; Karami, E. A Novel Digital Implementation of Neuron–Astrocyte Interactions. J. Comput. Electron. 2015, 14, 227–239. [Google Scholar] [CrossRef]
  15. Hodgkin, A.L.; Huxley, A.F. A Quantitative Description of Membrane Current and Its Application to Conduction and Excitation in Nerve. J. Physiol. 1952, 117, 500–544. [Google Scholar] [CrossRef] [PubMed]
  16. Izhikevich, E.M. Which model to use for cortical spiking neurons? IEEE Trans. Neural Netw. 2004, 15, 1063–1070. [Google Scholar] [CrossRef] [PubMed]
  17. Izhikevich, E.M. Dynamical Systems in Neuroscience: The Geometry of Excitability and Bursting. In Computational Neuroscience; MIT Press: Cambridge, MA, USA, 2006. [Google Scholar]
  18. Gerstner, W.; Kistler, W.M. Spiking Neuron Models Single Neurons, Populations, Plasticity; Cambridge University Press: Cambridge, UK, 2002. [Google Scholar]
  19. Kipnis, A.; Goldsmith, A.J.; Eldar, Y.C.; Weissman, T. Distortion Rate Function of Sub-Nyquist Sampled Gaussian Sources; Prentice Hall: Upper Saddle River, NJ, USA, 2016; Volume 62. [Google Scholar]
  20. Khalil, H.K. Nonlinear Systems; Prentice Hall: Upper Saddle River, NJ, USA, 2002; Volume 3. [Google Scholar]
Figure 1. Some spiking patterns extracted by the original ADEX neuron model.
Figure 1. Some spiking patterns extracted by the original ADEX neuron model.
Biology 11 01125 g001
Figure 2. (a) FFT of the objective function based on the variation of voltage variable. (b) Sampled function based on the Nyquist rate (20 points).
Figure 2. (a) FFT of the objective function based on the variation of voltage variable. (b) Sampled function based on the Nyquist rate (20 points).
Biology 11 01125 g002
Figure 3. Comparison between the original and proposed ADEX in terms of spiking patterns and phase portrait. The proposed model is similar to the original ADEX model in two basic factors of the spiking patterns and phase portrait.
Figure 3. Comparison between the original and proposed ADEX in terms of spiking patterns and phase portrait. The proposed model is similar to the original ADEX model in two basic factors of the spiking patterns and phase portrait.
Biology 11 01125 g003
Figure 4. General architecture of the proposed model. (a) Proposed structure of the voltage variable. (b) Proposed structure of the recovery variable.
Figure 4. General architecture of the proposed model. (a) Proposed structure of the voltage variable. (b) Proposed structure of the recovery variable.
Biology 11 01125 g004
Figure 5. Architecture view of the proposed neuron design. This system composed of ADX unit, pipelining unit, control unit and output unit.
Figure 5. Architecture view of the proposed neuron design. This system composed of ADX unit, pipelining unit, control unit and output unit.
Biology 11 01125 g005
Figure 6. Raster plot shows the 2000 connected ADEX neurons. (a) Original model. (b) Proposed model.
Figure 6. Raster plot shows the 2000 connected ADEX neurons. (a) Original model. (b) Proposed model.
Biology 11 01125 g006
Figure 7. Time differences between spiking patterns of the original and proposed ADEX models.
Figure 7. Time differences between spiking patterns of the original and proposed ADEX models.
Biology 11 01125 g007
Figure 8. Output voltage of the proposed ADEX neuron implemented on the FPGA board. (a) can. (b) cAD. (c) Initial bursting. (d) RS.
Figure 8. Output voltage of the proposed ADEX neuron implemented on the FPGA board. (a) can. (b) cAD. (c) Initial bursting. (d) RS.
Biology 11 01125 g008
Table 1. ADEX parameters for generating different spiking patterns.
Table 1. ADEX parameters for generating different spiking patterns.
Spiking TypeC g L E L V T Δ T a τ ω b V r I
Tonic spiking20010−70−5022300−58500
Adaptation20012−70−502230060−58500
Initial bursting13018−58−5024150120−50400
Delayed accelerating20012−70−502−103000−58300
Irregular spiking10012−60−502−1113030−48160
can592.9−62−4231.81661−54184
cAD831.7−59−565.524155−54116
RS1044.3−65−520.8−0.88865−5398
Table 2. ERR p , MAE and correlation computations for different spiking patterns.
Table 2. ERR p , MAE and correlation computations for different spiking patterns.
Neuron Mode ERR p MAECorrelation%
Tonic spiking 0.02 0.13 98
Adaptation 0.03 0.17 95
Initial bursting 0.26 0.14 97.5
Delayed accelerating 0.21 0.21 99
Irregular spiking 0.21 0.74 91
can 0.48 0.52 96
cAD 0.41 0.21 96
RS 0.13 0.43 99
Table 3. The Jacobean matrix equations for two ADEX models (original and proposed).
Table 3. The Jacobean matrix equations for two ADEX models (original and proposed).
Neuron A 1 B1C1D1
Original ADEX g L C [ e x p ( f ( V ) ) 1 ] 1 C a τ ω 1 τ ω
Proposed ADEX0 1 a τ ω 1 τ ω
Table 4. ADEX digital parameters using in hardware implementation (based on the spiking patterns of Table 1).
Table 4. ADEX digital parameters using in hardware implementation (based on the spiking patterns of Table 1).
C g L E L V T Δ T a τ ω b V r I
128 + 64 + 88 + 2−64 4 − 2−32 − 16 − 22216 + 8 + 40−32 − 16 − 8512 − 8 − 4
128 + 64 + 88 + 4−64 − 4 − 2−32 − 16 − 222256 + 32 + 864 − 4−32 − 16 − 8512 − 8 − 4
128 + 216 + 2−32 − 16 − 8 − 2−32 − 16 − 224128 + 16 + 4128 − 8−32 − 16 − 2256 + 128 + 16
128 + 64 + 88 + 4−64 − 4 − 2−32 − 16 − 22−8 − 2256 + 64 − 160−32 − 16 − 8 − 2256 + 64 − 16
64 + 32 + 48 + 4−64 + 4−32 − 16 − 22−8 − 2 − 1128 + 216 + 8 + 4−32 − 16128 + 32
−32 − 16 − 82 + 1−64 + 2−32 − 8 − 22 + 1 2 ( 1 / 4 ) 1664 − 2 − 1−32 − 16 − 4128 + 64 − 8
64 + 16 + 41 + (1/2)−64 + 4 + 1−64 + 84 + 1 + (1/2)232 + 8 + 164 − 8 − 1−64 + 8 + 2128 − 8 − 4
64 + 32 + 84 + (1/2)−64 − 1−64 + 8 + 41 − 164 + 16 + 864 + 1−64 + 8 + 2 + 164 + 32 + 2
Table 5. Minimum required resources of the original and proposed ADEX models.
Table 5. Minimum required resources of the original and proposed ADEX models.
Model Exponential MultiplierDividerAdderSubtractor
Original ADEX16556
Proposed ADEX00033
Table 6. Mean relative error for all spiking patterns in the proposed model.
Table 6. Mean relative error for all spiking patterns in the proposed model.
Neuron TypeMRE %
Tonic spiking1.21
Adaptation0.96
Initial bursting1.14
Delayed accelerating2.3
Irregular spiking2.03
can1.17
cAD1.16
RS1.07
Table 7. Resource costs of FPGA hardware for neuron model implementation.
Table 7. Resource costs of FPGA hardware for neuron model implementation.
ReferenceSlice Flip Flop4-In-LUTSpeedOverall Saving
Original ADEX (Virtex II)956
(3.50%)
1753
(6.4%)
34 MHz90.1%
Proposed ADEX (Virtex II)185
(0.67%)
472
(1.72%)
212 MHz97.61%
Gomar et al. [5] (Virtex II)388
(1%)
1279
(4%)
187 MHz95%
Gomar et al. [7] (Virtex II)530
(1%)
1420
(5%)
187.5 MHz94%
Haghiri et al. [6] (Virtex II)270
(1%)
643
(2.3%)
196 MHz96.7%
Heidarpour et al. [8] (Spartan 6)829
(7.24%)
1221
(22%)
134 MHz70.76%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wang, Y.; Taylan, O.; Alkabaa, A.S.; Ahmad, I.; Tag-Eldin, E.; Nazemi, E.; Balubaid, M.; Alqabbaa, H.S. An Optimization on the Neuronal Networks Based on the ADEX Biological Model in Terms of LUT-State Behaviors: Digital Design and Realization on FPGA Platforms. Biology 2022, 11, 1125. https://doi.org/10.3390/biology11081125

AMA Style

Wang Y, Taylan O, Alkabaa AS, Ahmad I, Tag-Eldin E, Nazemi E, Balubaid M, Alqabbaa HS. An Optimization on the Neuronal Networks Based on the ADEX Biological Model in Terms of LUT-State Behaviors: Digital Design and Realization on FPGA Platforms. Biology. 2022; 11(8):1125. https://doi.org/10.3390/biology11081125

Chicago/Turabian Style

Wang, Yule, Osman Taylan, Abdulaziz S. Alkabaa, Ijaz Ahmad, Elsayed Tag-Eldin, Ehsan Nazemi, Mohammed Balubaid, and Hanan Saud Alqabbaa. 2022. "An Optimization on the Neuronal Networks Based on the ADEX Biological Model in Terms of LUT-State Behaviors: Digital Design and Realization on FPGA Platforms" Biology 11, no. 8: 1125. https://doi.org/10.3390/biology11081125

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop