[Problem Set 4 Networks] Problem 2: Circuit with mutual inhibition

Link of the iPython notebook for the code

AT2 – Neuromodeling: Problem set #4 NETWORKS

PROBLEM 2: Circuit with mutual inhibition

Now, let us consider a two-neurons circuit in which the neurons mutually inhibit one another. We will denote by

  • x1 and x2 the firing rates of the two neurons
  • w=0.1 the inhibitory synaptic weight
  • I=5 an excitatory external input
  • f(s)50(1+tanh(s)) the neurons’ activation function as before

1. Separate treatement of each neuron

We assume that we have the following differential equations:

{x˙1(t)=x1(t)+f(wx2(t)+I)x˙2(t)=x2(t)+f(wx1(t)+I)

which results in the following two-dimensional system dynamics flow:

Figure
Figure 1.a.1 - 2D flow of the system dynamics

The nullclines of this system are the curves given by:

{x˙1(t)=0x˙2(t)=0
Figure
Figure 1.a.2 - Phase portrait of the system dynamics and nullclines

Their crossing points are the points at which both the x1 derivative and the x2 one vanish, i.e. the fixed points of the 2D-system dynamics. As before (cf. the previous problem), there are:

  • stable fixed points: here, the points (0,100) and (100,0)
  • unstable fixed points: here, the point (50,50)

We can easily check these are indeed fixed points of the dynamics:

  • For (0,100):

    0+f(100w+I)=f(5)=50(1+tanh(5))0100+f(0w+I)=f(5)100=50(1+tanh(5)2)1000

    and it is symmetric for (100,0)

  • For (50,50):

    50+f(50w+I)=f(0)50=50(1+tanh(0)=0)50=0

System simulation

We set (arbitrary units):

  • the time-increment to integrate the differential equation with the Euler method: dt=Δt0.1
  • The total duration T=10=100Δt

so that the Euler method yields, for ij{1,2}:

xi(t+Δt)xi(t)Δt=xi(t)+f(wxj(t)+I)xi(t+Δt)xi(t)=xi(t)Δt+f(wxj(t)+I)Δtxi(t+Δt)=(1Δt)xi(t)+f(wxj(t)+I)Δt
Figure
Figure 1.b.1 - Simulation of the system with (x1(0),x2(0))(1,1)
Figure
Figure 1.b.2 - Simulation of the system with (x1(0),x2(0))(1,2)
Figure
Figure 1.b.3 - Simulation of the system with (x1(0),x2(0))(1,0)

It appears that:

  • if (x1(0),x2(0)) is on the identity line – i.e. if x1(0)=x2(0)) – : (x1(t),x2(t)) converges toward the (50,50) unstable fixed point, as exemplified by figure 1.b.1.

  • if (x1(0),x2(0)) is strictly above the identity line – i.e. if x1(0)<x2(0)) – : (x1(t),x2(t)) converges toward the (0,100) stable fixed point, as exemplified by figure 1.b.2.

  • if (x1(0),x2(0)) is strictly below the identity line – i.e. if x1(0)>x2(0)) – : (x1(t),x2(t)) converges toward the (100,0) stable fixed point, as exemplified by figure 1.b.3.

2. Vectorized system dynamics

We have hitherto treated each neuron separately, but there is a way to reduce the two differential equations to a single vectorized one:

x˙(t)=x(t)+f(Wx(t)+I)

by setting:

  • x(t)(x1(t)x2(t))𝔐2,1()
  • W(0ww0)𝔐2()
  • I(II)𝔐2,1()

as a result of which the Euler method gives:

1Δt(x(t+Δt)x(t))=x(t)+f(Wx(t)+I)x(t+Δt)=(1Δt)x(t)+Δtf(Wx(t)+I)

And we get the same simulations as before, for example with the initial condition (x1(0),x2(0))(1,2):

Figure
Figure 2.c. - Matrix-based simulation of the system with (x1(0),x2(0))(1,2)

Leave a comment