# Galves–Löcherbach model

The Galves–Löcherbach model (or GL model) is a mathematical model for a network of neurons with intrinsic stochasticity.
In the most general definition, a GL network consists of a countable number of elements (idealized neurons) that interact by sporadic nearly-instantaneous discrete events (spikes or firings). At each moment, each neuron N fires independently, with a probability that depends on the history of the firings of all neurons since the last time N last fired. Thus each neuron "forgets" all previous spikes, including its own, whenever it fires. This property is a defining feature of the GL model.
In specific versions of the GL model, the past network spike history since the last firing of a neuron N may be summarized by an internal variable, the potential of that neuron, that is a weighted sum of those spikes. The potential may include the spikes of only a finite subset of other neurons, thus modeling arbitrary synapse topologies. In particular, the GL model includes as a special case the general leaky integrate-and-fire neuron model.

## Formal definition

The GL model has been formalized in several different ways. The notations below are borrowed from several of those sources.
The GL network model consists of a countable set of neurons with some set $I$ of indices. The state is defined only at discrete sampling times, represented by integers, with some fixed time step $\Delta$. For simplicity, let's assume that these times extend to infinity in both directions, implying that the network has existed since forever.
In the GL model, all neurons are assumed evolve synchronously and atomically between successive sampling times. In particular, within each time step, each neuron may fire at most once. A Boolean variable $X_{i}[t]$ denotes whether the neuron $i\in I$ fired ($X_{i}[t]=1$) or not ($X_{i}[t]=0$) between sampling times $t\in \mathbb {Z}$ and $t+1$.
Let $X[t'\,{\mathrel {:}}\,t]$ denote the matrix whose rows are the histories of all neuron firings from time $t'$ to time $t$ inclusive, that is
    $X[t'\,{\mathrel {:}}\,t]=((X_{i}[s])_{t'\leq s\leq t})_{i\in I}$
and let $X[-\infty \,{\mathrel {:}}\,t]$ be defined similarly, but extending infinitely in the past. Let $\tau _{i}[t]$ be the time before the last firing of neuron $i$ before time $t$, that is
    $\tau _{i}[t]=\mathop {\mathrm {max} } \{s<t\;{\mathrel {\big |}}\;X_{i}[s]=1\}.$
Then the general GL model says that
    $\mathop {\mathrm {Prob} } {\biggl\,X_{i}[t]=1\;{\mathrel {\bigg |}}\;X[-\infty \,{\mathrel {:}}\,t-1]\,{\biggr )}\;\;=\;\;\Phi _{i}{\bigglX{\bigl\tau _{i}[t]\,{\mathrel {:}}\,t-1{\bigr ]}{\biggr )}$
Moreover, the firings in the same time step are conditionally independent, given the past network history, with the above probabilities. That is, for each finite subset $K\subset I$ and any configuration $a_{i}\in \{0,1\},i\in K,$ we have
    $\mathop {\mathrm {Prob} } {\biggl\,\bigcap _{k\in K}{\bigl \X_{k}[t]=a_{k}{\bigr \}}\;{\mathrel {\bigg |}}\;X[-\infty \,{\mathrel {:}}\,t-1]{\biggr )}\;\;=\;\;\prod _{k\in K}\mathop {\mathrm {Prob} } {\biggl\,X_{k}[t]=a_{k}\;{\mathrel {\bigg |}}\;X{\bigl\tau _{k}[t]\,{\mathrel {:}}\,t-1{\bigl ]}\,{\biggr )}$

## Potential-based variants

In a common special case of the GL model, the part of the past firing history $X{\bigl\tau _{i}[t]\,{\mathrel {:}}\,t-1{\bigr ]}$ that is relevant to each neuron $i\in I$ at each sampling time $t$ is summarized by a real-valued internal state variable or potential $V_{i}[t]$ (that corresponds to the membrane potential of a biological neuron), and is basically a weighted sum of the past spike indicators, since the last firing of neuron $i$. That is,
    $V_{i}[t]\;\;=\;\;\sum _{t'=\tau _{i}[t]}^{t-1}{\bigglE_{i}[t']+\sum _{j\in I}w_{j\rightarrow i}\,X_{j}[t']{\biggr )}\alpha _{i}{\biglt'-\tau _{i}[t],t-1-t'{\bigr ]}$
In this formula, $w_{j\rightarrow i}$ is a numeric weight, that corresponds to the total weight or strength of the synapses from the axon of neuron $j$ to the dendrites of neuron $i$. The term $E_{i}[t']$, the external input, represents some additional contribution to the potential that may arrive between times $t'$ and $t'+1$ from other sources besides the firings of other neurons. The factor $\alpha _{i}[r,s]$ is a history weight function that modulates the contributions of firings that happened $r$ whole steps after the last firing of neuron $i$ and $s$ whole steps before the current time.
Then one defines
    $\mathop {\mathrm {Prob} } {\biggl\,X_{i}[t]=1\;{\mathrel {\bigg |}}\;X[-\infty :t-1]\,{\biggr )}\;\;=\;\;\phi _{i}(V_{i}[t])$
where $\phi _{i}$ is a monotonically non-decreasing function from $\mathbb {R}$ into the interval $[0,1]$.
If the synaptic weight $w_{j\to i}$ is negative, each firing of neuron $j$ causes the potential $V_{i}$ to decrease. This is the way inhibitory synapses are approximated in the GL model. The absence of a synapse between those two neurons is modeled by setting $w_{j\to i}=0$.

### Leaky integrate and fire variants

In an even more specific case of the GL model, the potential $V_{i}$ is defined to be a decaying weighted sum of the firings of other neurons. Namely, when a neuron $i$ fires, its potential is reset to zero. Until its next firing, a spike from any neuron $j$ increments $V_{i}$ by the constant amount $w_{j\rightarrow i}$. Apart from those contributions, during each time step, the potential decays by a fixed recharge factor $\mu _{i}$ towards zero.
In this variant, the evolution of the potential $V_{i}$ can be expressed by a recurrence formula
    $V_{i}[t+1]\;\;=\;\;\left\{{\begin{array}{ll}0&\mathrm {if} \;X_{i}[t]=1\\\mu _{i}\,V_{i}[t]&\mathrm {if} \;X_{i}[t]=0\end{array}}\right\}\;+\;E_{i}[t]\;+\;\sum _{j\in I}w_{j\to i}\,X_{j}[t]$
Or, more compactly,
    $V_{i}[t+1]\;\;=\;\;(1-X_{i}[t])\,\mu _{i}\,V_{i}[t]\;+\;E_{i}[t]\;+\;\sum _{j\in I}w_{j\to i}\,X_{j}[t]$
This special case results from taking the history weight factor $\alpha [r,s]$ of the general potential-based variant to be $\mu _{i}^{s}$. It is very similar to the leaky integrate and fire model.

#### Reset potential

If, between times $t$ and $t+1$, neuron $i$ fires (that is, $X_{i}[t]=1$), no other neuron fires ($X_{j}[t]=0$ for all $j\neq i$),and there is no external input ($E_{i}[t]=0$), then $V_{i}[t+1]$ will be $w_{i\to i}$. This self-weight therefore represents the reset potential that the neuron assumes just after firing, apart from other contributions. The potential evolution formula therefore can be written also as
    $V_{i}[t+1]\;\;=\;\;\left\{{\begin{array}{ll}V_{i}^{\mathsf {R}}&\mathrm {if} \;X_{i}[t]=1\\\mu _{i}\,V_{i}[t]&\mathrm {if} \;X_{i}[t]=0\end{array}}\right\}\;+\;E_{i}[t]\;+\;\sum _{j\in I\setminus \{i\}}w_{j\to i}\,X_{j}[t]$
where $V_{i}^{\mathsf {R}}=w_{i\to i}$ is the reset potential. Or, more compactly,
    $V_{i}[t+1]\;\;=\;\;X_{i}[t]\,V_{i}^{\mathsf {R}}\;\;+\;\;(1-X_{i}[t])\,\mu _{i}\,V_{i}[t]\;+\;E_{i}[t]\;+\;\sum _{j\in I\setminus \{i\}}w_{j\to i}\,X_{j}[t]$

#### Resting potential

These formulas imply that the potential decays towards zero with time, when there are no external or synaptic inputs and the neuron itself does not fire. Under these conditions, the membrane potential of a biological neuron will tend towards some negative value, the resting or baseline potential $V_{i}^{\mathsf {B}}$, on the order of −40 to −80 millivolts.
However, this apparent discrepancy exists only because it is customary in neurobiology to measure electric potentials relative to that of the extracellular medium. That discrepancy disappears if one chooses the baseline potential $V_{i}^{\mathsf {B}}$ of the neuron as the reference for potential measurements. Since the potential $V_{i}$ has no influence outside of the neuron, its zero level can be chosen independently for each neuron.

#### Variant with refractory period

Some authors use a slightly different refractory variant of the integrate-and-fire GL neuron, which ignores all external and synaptic inputs (except possibly the self-synapse $w_{i\to i}$) during the time step immediately after its own firing. The equation for this variant is
    $V_{i}[t+1]\;\;=\;\;\left\{{\begin{array}{ll}V_{i}^{\mathsf {R}}&\quad \mathrm {if} \;X_{i}[t]=1\\[2mm]\displaystyle \mu _{i}\,V_{i}[t]\;+\;E_{i}[t]\;+\;\sum _{j\in I\setminus \{i\}}w_{j\to i}\,X_{j}[t]&\quad \mathrm {if} \;X_{i}[t]=0\end{array}}\right.$
or, more compactly,
    $V_{i}[t+1]\;\;=\;\;X_{i}[t]\,V_{i}^{\mathsf {R}}\;\;+\;\;(1-X_{i}[t])\,{\biggl\mu _{i}\,V_{i}[t]\;+\;E_{i}[t]\;+\;\sum _{j\in I\setminus \{i\}}w_{j\to i}\,X_{j}[t]{\biggr )}$

#### Forgetful variants

Even more specific sub-variants of the integrate-and-fire GL neuron are obtained by setting the recharge factor $\mu _{i}$ to zero. In the resulting neuron model, the potential $V_{i}$ (and hence the firing probability) depends only on the inputs in the previous time step; all earlier firings of the network, including of the same neuron, are ignored. That is, the neuron does not have any internal state, and is essentially a (stochastic) function block.
The evolution equations then simplify to
    $V_{i}[t+1]\;\;=\;\;\left\{{\begin{array}{ll}V_{i}^{\mathsf {R}}&\mathrm {if} \;X_{i}[t]=1\\0&\mathrm {if} \;X_{i}[t]=0\end{array}}\right\}\;+\;E_{i}[t]\;+\;\sum _{j\in I\setminus \{i\}}w_{j\to i}\,X_{j}[t]$
    $V_{i}[t+1]\;\;=\;\;X_{i}[t]\,V_{i}^{\mathsf {R}}\;\;+\;\;E_{i}[t]\;+\;\sum _{j\in I\setminus \{i\}}w_{j\to i}\,X_{j}[t]$
for the variant without refractory step, and
    $V_{i}[t+1]\;\;=\;\;\left\{{\begin{array}{ll}V_{i}^{\mathsf {R}}&\quad \mathrm {if} \;X_{i}[t]=1\\[2mm]\displaystyle E_{i}[t]\;+\;\sum _{j\in I\setminus \{i\}}w_{j\to i}\,X_{j}[t]&\quad \mathrm {if} \;X_{i}[t]=0\end{array}}\right.$
    $V_{i}[t+1]\;\;=\;\;X_{i}[t]\,V_{i}^{\mathsf {R}}\;\;+\;\;(1-X_{i}[t])\,{\bigglE_{i}[t]\;+\;\sum _{j\in I\setminus \{i\}}w_{j\to i}\,X_{j}[t]{\biggr )}$
for the variant with refractory step.
In these sub-variants, while the individual neurons do not store any information from one step to the next, the network as a whole still can have persistent memory because of the implicit one-step delay between the synaptic inputs and the resulting firing of the neuron. In other words, the state of a network with $n$ neurons is a list of $n$ bits, namely the value of $X_{i}[t]$ for each neuron, which can be assumed to be stored in its axon in the form of a traveling depolarization zone.

## History

The GL model was defined in 2013 by mathematicians Antonio Galves and Eva Löcherbach. Its inspirations included Frank Spitzer's interacting particle system and Jorma Rissanen's notion of stochastic chain with memory of variable length. Another work that influenced this model was Bruno Cessac's study on the leaky integrate-and-fire model, who himself was influenced by Hédi Soula. Galves and Löcherbach referred to the process that Cessac described as "a version in a finite dimension" of their own probabilistic model.
Prior integrate-and-fire models with stochastic characteristics relied on including a noise to simulate stochasticity. The Galves–Löcherbach model distinguishes itself because it is inherently stochastic, incorporating probabilistic measures directly in the calculation of spikes. It is also a model that may be applied relatively easily, from a computational standpoint, with a good ratio between cost and efficiency. It remains a non-Markovian model, since the probability of a given neuronal spike depends on the accumulated activity of the system since the last spike.
Contributions to the model were made, considering the hydrodynamic limit of the interacting neuronal system, the long-range behavior and aspects pertaining to the process in the sense of predicting and classifying behaviors according to a fonction of parameters, and the generalization of the model to the continuous time.
The Galves–Löcherbach model was a cornerstone to the NeuroMat project.