A collection of fragments of understanding in the pursuit of deeper questions.
Lecturer: Giacomo Indiveri
Content of the Lecture
VLSI
The computer hardware had a radical paradigm shift when we looked to real brains. For instance, a bee brain is much smaller and consumes much less power (using neurons in a slow way), and offer real time interaction with the environment and complex behavior.
The Term "Neuromorphic" The term neuromorphic was coined by Carver Mead in the late '80s to describe VLSI systems containing electronic analog/digital circuits that exploit the physics of silicon to reproduce the bio-physics of neural circuits present in the nervous system. It is a discipline characterized by two main goals.
New hardware different from conventional computers: radically different from Von Neumann architectures. Now, there are parallel elements with memory and computation co-localized, with continuous streaming data driven computation, no clock. The co-localization of memory and computation allows to have no I/O bottleneck and no memory bottleneck.
The INI Neuromorphic Engineering Mission Learn to build artificial neural processing systems that can interact intelligently with the physical world.
Neuromorphic Computing vs Engineering Neuromorphic computing uses a dedicated VLSI hardware, high performance computing, it is application driven and uses conservative approaches. Neuromorphic engineering is a fundamental research, deeply rooted in biology. It emulates neural function in subthreshold analog and asynchronous digital.
Neuromorphic Electronic Circuits
Circuits Digital transistors operating only in the minimum and the maximum. Analog transistors use also intermediate amounts, thus transistors can emulate physical proteic channels. In biology, at high voltages, the fraction of the channels that are open approaches unity, causing a saturation. The same can be seen in a subthreshold regime. In subthreshold, the current is smaller than 1V, it increases exponentially, and after threshold currents change quadratically. It changes from pico to nano amps.
![]() |
![]() |
|---|
In Complementary Metal-Oxide Semiconductor (CMOS) technology, there are two types of MOS-FETs: n-FETs and p-FETs. There is no current going to transistors. In traditional CMOS circuits, all n-FETs have the common bulk potential connected to ground (GND) and all p-FETs have a common bulk potential connected to the power supply rail .
![]() |
![]() |
|---|
![]() |
![]() |
|---|
The current is defined to be positive if it flows from the drain to the source.
Diffusion and Saturation
![]() |
![]() |
|---|
Output Current versus and and Current Source
![]() |
![]() |
|---|
The Current Mirror
The output current is a mirrored copy of the input current. If both MOSFETs are of the same size and have the same source voltage, they source the same current, which is why the device is called current mirror. The input current through the diode-connected transistor sets the common gate voltage and hence the output current of the second transistor .
The output current can be scaled by choosing different transistor sizes, or by choosing different source potentials and for the two MOSFETs. If is in saturation:
The Differential - Pair
![]() |
![]() |
|---|
Note that in equation at the numerator is a mistake, should instead be .
To implement the difference of currents ( - ) we can use the current-mirror circuit.
The Transconductance Amplifier For small differential voltages (e.g., ), the tanh() relationship is approximately linear and the equation can be reduced to: where .
![]() |
![]() |
|---|
Spike Generating Mechanism If the membrane voltage increases above a certain threshold, a spike-generating mechanism is activated and an action potential is initiated.
![]() |
![]() |
![]() |
|---|
A Conductance-Based Silicon Neuron In 1991 Misha Mahowald and Rodney Douglas proposed a conductance-based silicon neuron and showed that it had properties remarkably similar to those of real cortical neurons.
Neuron Models Traditionally there have been two main classes of neuron models:
![]() |
![]() |
![]() |
|---|
Current-mode CMOS circuits operated in the subthreshold, or weak-inversion regime can be used to implement log-domain filters. An example of classical log-domain integrator is presented in the picture below. This circuit's linear transfer function can be easily derived by applying the translinear principle on the loop highlighted by the arrows: given the exponential relationship between the subthreshold currents of the p-FETs and their voltages, we can write: . In subthreshold, the output n-FET produces a current that changes exponentially with its gate voltage . Differentiating with respect to and combining the result with the capacitor equation we obtain: .
The DPI is a CMOS current-mode circuit that operates in the subthreshold regime integrating voltage pulses. However, rather than using a single p-FET to generate the appropriate current, via the triangular principle (Gilbert, 1975), it uses a differential pair in negative feedback configuration. This allows the circuit to achieve LPF functionality with tunable dynamic conductances: Input voltage pulses are integrated to produce an output current that has maximum amplitude set by , and . (Silicon neuron circuits) It has additional advantages of providing a compact layout, better matching properties and lower power consumption. The differential - pair integrator is used to model synaptic dynamics. It comprises only 3 n-FETs, 2 p-FETs and 1 capacitor. The two current sources are implemented using two subthreshold MOSFETs: one n-FET for the current and on p-FET for the current. Following a similar derivation to the one used in the classical log-domain integrator, the characteristic equation is obtained as observed in the picture below.
Additional circuits can be attached to the DPI synapse to extend the model with extra features typical of biological synapses and implement various types of plasticity. For example, by adding two extra transistors, we can implement voltage-gated channels that model NMDA synapse behavior. Similarly, by using two more transistors, we can extend the synaptic model to be conductance based. Furthermore, the DPI circuit is compatible with previously proposed circuits for implementing synaptic plasticity, on both short timescales with models of short-term depression (STD) and on larger timescales with spike-based learning mechanisms, such as spike timing-dependent plasticity (STDP). The DPI neuron circuit is a variant of the generalized IF neuron and is depicted in the following picture. The input DPI low-pass filter (yellow, ML1 - ML3) models the neuron's leak conductance. A spike event generation amplifier (red, MA1 - MA6) implements current-based positive feedback (modeling both sodium activation and inactivation conductances) and produces address-events at extremely low-power. The reset block (blue, MR1 - MR6) resets the neuron and keeps it in a reset state for a refractory period, set by the bias voltage. An additional DPI filter integrates the spikes and produces a slow after hyper-polarizing current responsible for spike-frequency adaptation (green, MG1 - MG6). By applying a current-mode analysis to both the input and the spike-frequency adaptation DPI circuits, it is possible to derive a simplified analytical solution:
The state of the art version of this neuron circuit consumes one order of magnitude less power than the circuit described in the following figure and two orders of magnitude less power than the digital implementation of the I&F neuron. Given the exponential nature of the generalized IF neuro's non-linear term , the DPI-neuron implements an adaptive exponential IF model. This IF model has been shown to be able to reproduce a wide range of spiking behaviors, and explain a wide set of experimental measurements from pyramidal neurons.
Neuromorphic Processors Typical spiking neural network chips have the elements described in the figure below. Multiple instances of these elements can be integrated onto single chips and connected among each other either with on-chip hard-wired connections or via off-chip reconfigurable connectivity infrastructures. The most relevant characteristics of processors build based on analog circuits working in subthreshold are:
Neuromorphic vs Conventional Processors
Winner - Take - All Networks in Neuromorphic Hardware "Winner take all" (WTA) refers to a type of neural network architecture that is commonly used in neuromorphic hardware. In a WTA network, each neuron competes with other neurons to be the "winner" and output the highest value. This can be useful in situations where you want to identify the most active or strongest signal among a group of neurons. This architecture is inspired by the way the brain works where many neurons compete to fire.
Learning and Winner - Take - All Networks Memories can be formed in neuromorphic hardware using attractor networks, which are a type of recurrent neural network. An attractor network is composed of a group of neurons that are connected to each other through synapses. These synapses can be either excitatory, which increases the likelihood that a neuron will fire, or inhibitory, which decreases the likelihood that a neuron will fire. The network's dynamics are determined by the strengths of these connections, which can be modified through a process called synaptic plasticity. When the network is exposed to a specific input pattern, the neurons that are active will strengthen their connections to other active neurons, and inhibitory connections will form between active neurons and inactive neurons.This process creates a stable state, or an attractor, in the network. The attractor corresponds to the input pattern that was presented to the network, and the network will continue to settle to this attractor state even after the input pattern is removed. This behavior allows the network to "remember" the input pattern, and this process is called memory formation. The network can then be used to recall the stored information by providing a partial or noisy version of the input pattern.
Mechanisms operating at the network level can allow neural processing systems to form short-term memories, consolidate long-term ones, and carry out nonlinear processing functions such as selective amplification (e.g., to implement attention and decision making). An example of such a network-level mechanism is provided by "attractor networks". These are networks of neurons that are recurrently connected via excitatory synapses, and that can settle into stable patterns of firing even after the external stimulus is removed. Different stimuli can elicit different stable patterns, which consist of specific subsets of neurons firing at high rates. Each of the high-firing rate attractor states can represent a different memory. To make an analogy with conventional logic structures, a small attractor network with two stable states would be equivalent to a flip-flop gate in CMOS.
A particularly interesting class of attractor networks is the one of soft winner-take-all (sWTA) neural networks. In these networks, groups of neurons both cooperate and compete with each other. Cooperation takes place between groups of neurons spatially close to each other, while competition is typically achieved through global recurrent patterns of inhibitory connections. When stimulated by external inputs, the neurons excite their neighbors and the ones with the highest response suppress all other neurons to win the competition. Thanks to these competition and cooperation mechanisms, the outputs of individual neurons depend on the activity of the whole network and not just on their individual inputs.
Conclusion