Abstract
The spiking activity of neuronal networks follows laws that are not time-reversal symmetric; the notion of pre-synaptic and post-synaptic neurons, stimulus correlations and noise correlations have a clear time order. Therefore, a biologically realistic statistical model for the spiking activity should be able to capture some degree of time irreversibility. We use the thermodynamic formalism to build a framework in the context maximum entropy models to quantify the degree of time irreversibility, providing an explicit formula for the information entropy production of the inferred maximum entropy Markov chain. We provide examples to illustrate our results and discuss the importance of time irreversibility for modeling the spike train statistics.
Keywords: information entropy production, discrete Markov chains, spike train statistics, Gibbs measures, maximum entropy principle
1. Introduction
In recent years, multi-electrode arrays and neuroimaging recording techniques have allowed researchers to record simultaneously from large populations of neurons [1]. Analysis carried on the recorded data has shown that the neuronal activity is highly variable (even when presented repeatedly the same stimulus). The observed variability is due to the fact that noise is ubiquitous in the nervous system at all scales, from ion channels through synapses up to the system level [2,3,4]. The nature of noise in the nervous system thus determines how information is encoded [5,6,7]. In spite of the different sources of noise, the spiking response is highly structured in statistical terms [8,9,10], for that reason many researchers have hypothesized that the population neural code is largely driven by correlations [10,11,12,13,14,15].
There are numerous sources of spike correlations that involve time delays, such as the activity of an upstream neuron projecting to a set of the observed neurons [16], top-down delayed firing rate modulation [17], among others. As discussed in [18], spike interactions in different times could have a non-negligible role in the spike train statistics. Indeed, there is strong evidence that interneuron temporal correlations play a major role in spike train statistics [19,20,21,22].
Since spikes are stereotyped events, the information about spikes is conveyed only by its times of occurrence. Considering small windows of time for each neuron, either a spike occurs in a given interval or not, producing in this way binary sequences of data easier to analyze statistically. However, traditional methods of statistical inference are useless to capture the collective activity under this scenario since the number of possible spike patterns that a neural network can take grows exponentially with the size of the population. Even long experimental recordings usually contain a very small subset of the entire state space, which makes the empirical frequencies poor estimators for the underlying probability distribution.
Since the spiking data are binary, it is natural to attempt to establish a link between neural activity and models of spins over lattices from statistical mechanics. Since the seminal work of Jaynes [23] a succession of research efforts have helped to develop a framework to characterize the statistics of spike trains using tools the maximum entropy principle (MEP). This approach is promising since the MEP provides a unique statistical model for the whole spiking neuronal network that is consistent with the average values of certain features of the data but makes no additional assumptions. In Schneidman et al. [10] and Pillow et al. [24], the authors used the maximum entropy principle focusing on firing rates and instantaneous pairwise interactions (Ising model) to describe the spike train statistics of the vertebrate retina responding to natural stimuli. Since then, the MEP approach has become a standard tool to build probability measures in this field [10,21,24,25]. Recently, several extensions of the Ising model have been proposed, for example, the triplet model, considering as an extra constraint, the correlation of three neurons firing at the same time [15], and the so-called K-pairwise model which consider K neurons firing at the same time bin [25]. These studies have raised interesting questions about important aspects of the neuronal code such as criticality, redundancy and metastability [25,26].
Although relatively successful in this field, this attempt of linking neural populations and statistical mechanics is based on assumptions that go against fundamental biological knowledge. In particular, most of these works have focused only on synchronous constraints and thus, modeling time-independent processes which are reversible in time. From a fundamental perspective, since a population of neurons is a living system it is natural to expect them not to be characterized by i.i.d. random variables. As such, the statistical description of spike trains of living neuronal networks should reflect irreversibility in time [27], and hence require a description based on out-of-equilibrium statistical mechanics. Thus, quantifying the degree of time irreversibility of spike trains becomes an important challenge, which, as we show here, can be approached using tools from the fruitful intersection between information theory and statistical mechanics. Given a stochastic system, the quantity that measures how far it is from its equilibrium state (in statistical terms) is called information entropy production (IEP) [28] (We distinguish the information entropy production with others forms of entropy production used in chemistry and physics).
The maximum entropy approach can be extended to include non-synchronous constraints within the framework of the thermodynamic formalism and Gibbs measures in the sense of Bowen [29] (the notion of the Gibbs measure extends also to processes with infinite memory [30], and have been used in the context of spike train statistics [31,32]). This opens the possibility to capture the irreversible character of the underlying biological process, and, thus, build more realistic statistical models. In this paper, we quantify the IEP of maximum entropy measures of populations of spiking neurons under arbitrary constraints and show that non-equilibrium steady states (NESS) emerge naturally in spike train statistics obtained from the MEP.
There is a vast body of theoretical work about the irreversibility of stochastic processes, for mathematical details we refer the reader to [28]. In particular, for discrete time Markov chains, Gaspard [33] deduced an explicit expression for the change in entropy as the sum of a quantity called entropy flow plus the entropy production rate. In this paper, we follow this expression adapted to Markov chains obtained from the MEP and we provide an explicit expression for the IEP of maximum entropy Markov chains (MEMC).
This paper is organized as follows: In Section 2, we introduce the setup of discrete homogeneous Markov chains and review the properties that we use further. In Section 3, we introduce the MEP within the framework of the thermodynamic formalism and Gibbs measures, discussing the role of the arbitrary constraints. We also provide the explicit formula to compute the IEP solely based on the spectral properties of the transfer matrix. In Section 4, we provide examples of relevance in the context of spike train statistics. We finish this paper with discussions pointing out directions for further research.
2. Generalities
To set a common ground for the analysis of the IEP of spike trains, which are time-series of action potentials (nerve impulses) emitted by neurons, these spikes are used to communicate with other neurons. Here, we introduce the notations and provide the basic definitions used throughout the paper.
2.1. Notation
We consider a finite network of neurons. Let us assume that there is a natural time discretization such that at every time step, each neuron emits at most one spike (There is a minimal amount of time called “refractory period” in which no two spikes can occur. When binning, one could go beyond the refractory period and two spikes may occur in the same time bin. In those cases, the convention is to consider only one spike). We denote the spiking-state of each neuron whenever the k-th neuron emits a spike at time n, and otherwise. The spike-state of the entire network at time n is denoted by , which we call a spiking pattern. For , we denote by to an ordered concatenation of spike patterns
that we call spike block. We call the sample of T spiking patterns a spike train, which is a spike block . We consider also infinite sequences of spike patterns that we denote . We denote the set of infinite binary sequences of N neurons .
Let be an integer, we write for the set of spike blocks of N neurons and length L. This is the set of blocks whose entries are 0’s and 1’s. We introduce a symbolic representation to describe the spike blocks. Consider a fixed N, then to each spike block we associate a unique number , called block index:
(1) |
We adopt the following convention: neurons are arranged from bottom to top and time runs from left to right in the spike train. For fixed N and L, is the unique spike block corresponding to the index ℓ.
2.2. Discrete-Time Markov Chains and Spike Train Statistics
Let be the state space of a discrete time Markov chain, and let us for the moment use the following notation , for the random blocks and analogously for the states. Consider the process . If , we say that the process is in the state at time n. The transition probabilities are given as follows,
(2) |
We assume that this Markov chain is homogeneous, that is, (2) is independent of n. Consider two spike blocks of length . Then, the transition is allowed if they have the common sub-block .
We consider Markov transition matrices , whose entries are given by:
(3) |
Note that P has entries, but it is a sparse matrix since each row has, at most, non-zero entries. Observe that by construction, for any pair of states there is a path of maximum length L in the graph of transition probabilities going from one state to the other, therefore the Markov chain is irreducible.
2.3. Detailed Balance Equations
Consider a fix N and L. From the Markov property and the definition of the homogeneous transition matrix, one has for an initial measure , the following Markov measure
(4) |
for all . Here, again, we used the short-hand notation and .
An invariant probability measure of a Markov transition matrix P is a row vector such that
(5) |
We recall that, for ergodic Markov chains (irreducible, aperiodic and positive recurrent), the invariant measure is unique.
Let us now consider a more general setting including non-stationary Markov chains. Let be the distribution of blocks at time n, then one has that the probability evolves in time as follows,
For every , one may write the following relation
(6) |
This last equation is related to the conditions of reversibility of a Markov chain. When stationarity and ergodicity are assumed, the unique stationary measure of the Markov chain is said to satisfy detailed balance if:
(7) |
If the detailed balance equations are satisfied, then the quantity inside the parenthesis in the right-hand side of Equation (6) is zero.
2.4. Information Entropy Rate and Information Entropy Production
A well established measure of the amount of uncertainty of a probability measure is the information entropy rate, which we denote by . In the case of independent sequences of spike patterns (), the entropy rate is given by:
(8) |
In the setting of ergodic stationary Markov chains taking values in the state space with transition matrix P and unique invariant measure , the information entropy rate associated to the Markov measure is given by:
(9) |
which corresponds to the Kolmogorov–Sinai entropy (KSE) [34].
Here, we introduce the information entropy production as in [33]. For expository reasons, let us consider again the non-stationary situation. The information entropy of a probability measure in the state space at time n be given by
The change of entropy rate over one time-step is defined as follows:
Rearranging the terms, one has that the previous equation can be written as:
(10) |
where the first part on the r.h.s of this equation is called information entropy flow and the second information entropy production [33].
Observe that, in the stationary state, one has that , thus the change of entropy rate is zero, meaning that information entropy flow equal information entropy production, therefore is possible to attain a steady state of fixed maximum entropy, but having positive IEP. In this case, we refer to NESS [35].
Here, since we are interested in the Markov chains that arise from the maximum entropy principle, we focus on the stationary case. In this case, the IEP of a Markov measure is explicitly given by:
(11) |
nevertheless, we stress the fact that one can obtain the information entropy production rate also in the non-stationary case.
3. Maximum Entropy Markov Chains
Usually, one only have access to a limited amount of experimental spiking data, which is a sampling of a very small subset of the entire state space. This makes that often the empirical frequencies are bad estimations of the elements of the Markov transition matrix. Here, we present how to use a variational principle from the thermodynamic formalism [36] to obtain the unique irreversible ergodic Markov transition matrix and its invariant measure having maximum entropy among those consistent with the constraints provided by data. This approach solves the problem of the bad estimations mentioned above and enables us to compute the IEP of the inferred Markov process, which is our main goal.
3.1. Inference of the Maximum Entropy Markov Process
The problem of estimating the Markov chain of maximum entropy constrained by the data is of general interest in information theory. It consists in solving a constrained maximization problem, from which one builds a Markov chain. The first step is choosing (arbitrarily) a set of indicator functions (also called monomials) and determine from the data the empirical average of these functions. This fixes the constraints of the maximization problem. After that, one maximizes the information entropy rate, which is a concave functional in the space of Lagrange multipliers associated to the constraints, obtaining the unique Markov measure that better approximates the statistics among all probability measures that match exactly the constraints [23]. To to our knowledge, previous approaches ignore how to deal with the inference of irreversible Markov processes in the maximum entropy context [37,38].
3.2. Observables and Potentials
Let us consider the space of infinite binary sequences . An observable is a function . We say that an observable f has range R if it depends only on R consecutive spike patterns, e.g., . We consider here that observables do not depend explicitly on time (time-translation invariant observables), i.e., for any time-step n, whenever . Examples of observables are products of the form:
(12) |
where (neuron index) and (time index). These observables are called monomials and take values in . Typical choices of monomials are which is 1 if neuron fires at time and 0 otherwise; which is 1 if neuron fires at time and neuron fires at time and 0 otherwise. For N neurons and time range R there are possible monomials. To alleviate notations, instead of labeling monomials by a list of pairs, as in (12), we label them by an integer index, l (the index is defined in the same way as the block index (1)), i.e., a monomial reads .
A potential is an observable that can be written as a linear combination of monomials (the range of the potential is the maximum over the ranges of the monomials considered). A potential of range R is written as follows:
(13) |
where the coefficients real numbers. Some coefficients in this series may be zero. We assume throughout this paper that (here, we do not consider hard core potentials with forbidden configurations). One example of potential is the one considering as monomials the firing rates and the synchronous pairwise correlations .
Additive Observables of Spike Trains
Let be the shift map , defined by . Let f be an arbitrary observable. We may consider the sequence as a random variable whose statistical properties depend on those of the process producing the samples of and the regularity of the observable f.
Given a spike train, one would like to empirically quantify properties of empirical averages and their fluctuation properties as a function of the sampling size. Consider a spike train , and let n be the sample length. The average of the observable f of range in is given by,
in particular, for observables of range 1, one has
(14) |
3.3. Variational Principle
Let be the average value of K observables for . As the empirical average of monomials is not enough to uniquely determine the spike train statistics (there are infinitely many probability measures sharing the same averages of monomials), we use the maximum entropy method to obtain the Markov measure that maximizes the KSE among all measures that match the expected values of all observables, i.e., , for all . This is equivalent to solve the following variational problem under constraints:
(15) |
Since the function is strictly concave, there is a unique maximizing Markov measure given the set of values . To solve this problem, we introduce the set of Lagrange multipliers in the potential , which is a linear combination of the chosen observables. Next, we study the following unconstrained problem, which is a particular case of the so-called variational principle of the thermodynamic formalism [36]:
(16) |
where is called the free energy or topological pressure, is the set of invariant measures with respect to the shift and is the average value of with respect to .
In this paper, we only consider potentials of finite range, for which there is a unique measure attaining the supremum [39] and is a Gibbs measure in the sense of Bowen.
Gibbs measures in the sense of Bowen: Suppose is a finite range potential , a shift invariant probability measure is called a Gibbs measure (in the sense of Bowen) if there are constants and s.t.
(17) |
It is easy to see that the classical form of Boltzmann–Gibbs distributions is a particular case of (17), when is a potential of range and .
Statistical Inference
The functional has the following property:
(18) |
where is the average of with respect to , which is equal to the average value of with respect to the empirical measure from the data , by constraint of the maximization problem. For finite range potentials, is a convex function of ’s. This ensures the uniqueness of the solution of (16). Efficient algorithms exist to estimate the Lagrange multipliers for the maximum entropy problem with non-synchronous constraints [18].
3.4. Ruelle–Perron–Frobenius Transfer Operator
Consider to be an arbitrary potential, and w a continuous function on . We introduce the Ruelle–Perron–Frobenius (R–P–F) transfer operator denoted by , and it is given by,
In an analogous way, as it is done for Markov approximations of Gibbs measures [40,41], for a finite range potential , we introduce the transfer matrix ,
(19) |
From the assumption , each allowed transition corresponds to a positive entry in the matrix .
3.5. Maximum Entropy Markov Chain for Finite Range Potentials
The matrix (19) is primitive (the matrix A is primitive if there is an , s.t. has only positive components) by construction, thus it satisfies the Perron–Frobenius theorem [42]. Let be its spectral radius. Because of the irreducibility of the transfer matrix, is an eigenvalue of multiplicity 1 strictly larger in modulus than the other eigenvalues. For every , let us denote by and the left and right eigenvectors of corresponding to the eigenvalue . Notice that and for all . Using spectral properties of the transfer matrix, we get the maximum entropy Markov transition probability matrix [39]:
(20) |
The unique stationary probability measure associated to P is also obtained by the spectral properties of :
(21) |
For a finite range potential , the unique measure associated to , satisfies the variational principle and, furthermore, the topological pressure can be explicitly computed .
3.6. IEP of the Inferred Markov Maximum Entropy Process
Consider a potential of finite range and the state space . As we have seen before, using the maximum entropy framework one can build from the transfer matrix , the Markov transition matrix P and its invariant measure . Furthermore, one can apply straightforwardly (20) and (21) to obtain a formula for the IEP based only on the spectral properties of . After simplifying we get:
(22) |
This is a quantity of major interest in spike train statistics, as it measures the degree of time irreversibility of the inferred maximum entropy Markov chain. Although it is a straightforward result, it is quite general and of practical use, as we will see in the examples below.
We can apply (20) and (21) to Equation (7), we obtain the detailed balance condition in terms of the transfer matrix and its spectral properties:
Simplifying, we obtain:
(23) |
3.7. Large Deviations for Observables of Maximum Entropy Markov Chains
The goal of large deviations is to compute the asymptotic probability distribution for a given finite range observable f and for . More precisely, we say that satisfies a large deviation principle with rate if the following limit exists,
where the dominant behavior of is decaying exponentially fast with the sample size n, as
(24) |
We define the scaled cummulant generating function (SCGF) associated to the random variable (observable) f denoted by as follows,
(25) |
The n-th cumulant of the random variable f can be obtained by differentiating with respect to k, n times and evaluating the result at . The next theorem by Gärtner–Ellis theorem relates the SCGF and the large deviations rate function. The Gärtner–Ellis theorem relies on the differentiability of , which is guaranteed for finite state Markov chains [43]. This theorem has several formulations, which usually require some technical definitions beforehand. Here, we stated it in a simplified form, which is what we need for our purposes.
Gärtner–Ellis theorem: If is differentiable, then there exist a large deviation principle for the average process whose rate function is the Legendre transform of :
(26) |
The Gärtner–Ellis Theorem is very useful in our context, because it bypasses the direct calculation of in (24), i.e., having a simple calculation leads to the rate function of f. As we will see in the next section naturally appears in the context of Maximum entropy Markov chains.
3.8. Large Deviations for the IEP
Consider an irreducible Markov chain with transition matrix . We define the tilted transition matrix by f denoted by , whose elements for a one time step observable are:
(27) |
or for a two time step observable:
(28) |
For a Markov transition matrix P inferred from the maximum entropy, the tilted transition matrix can be built directly from the transfer matrix and its spectral properties.
(29) |
The Markov chain structure underlying can be used here to obtain more explicit expressions for . In the case of the additive observables, if a Markov chain is homogeneous and ergodic can compute explicitly the SCGF as the logarithm of the maximum eigenvalue of :
(30) |
This result is valid if the state-space of the Markov chain is finite, where it can be furthermore proven that is differentiable and .
Remark 1.
The observable f does not need to belong in the set of chosen observables to fit the Markov maximum entropy process. We denote the dominant eigenvalue (i.e., with largest magnitude) of the matrix , which is unique by the Perron–Frobenius theorem.
We are interested in the fluctuations of the IEP. For that purpose, we define the following observable:
where is the temporal inversion of the trajectory . It can be shown that for -almost every trajectory of a stationary ergodic Markov chain :
It can be shown [28] that the SCGF associated to the observable can be found as the logarithm of the maximum eigenvalue of the matrix:
where,
which is a matrix of positive elements.
Using the Gärtner–Ellis theorem, we obtain the rate function for the IEP observable:
The rate function of the IEP observable has the following property:
Since the symmetry implies
Gallavotti–Cohen Fluctuation Theorem
The Gallavotti–Cohen fluctuation theorem refers to a symmetry in the fluctuations of the IEP. It is a statement about the large deviations of , which is the time-averaged entropy production rate of the sample trajectory of the Markov chain .
This means that the positive fluctuations of are exponentially more probable than negative fluctuations of equal magnitude. This is a universal ratio, i.e., no free parameters are involved and is experimentally observable.
4. Examples
In this section, we provide several examples of applications of our results in the context of spike train statistics. We first provide an example of a discrete time Integrate-and-fire (IF) neuronal network model. This example does not use the MEP as the transition matrix can be explicitly obtained from the dynamics of the model. We then come back to the MEP approach to characterize the spike train statistics and compute the IEP for each example. We finally provide a summary of the results and discuss our findings.
4.1. Example: Discrete Time Spiking Neuronal Network Model
The IF model is one of the most ubiquitous models to simulate and analyze the dynamics of spiking neuronal circuits. This model is the simplest dynamical model that captures the basic properties of neurons, including the temporal integration of noisy sub-threshold inputs and all-or-nothing spiking. At the level of networks postulates a set of equations describing the behavior of the interconnected neurons motivated by the microscopic picture of how the biological neuronal network is supposed to work.
There exist several different versions of this model. Here, we present the discrete time IF model. The model definition follows the presentation given in [44]. Neurons are considered as points, without spatial extension nor biophysical structure (axon, soma, and dendrites). The dynamical system is only ruled by discrete time dynamical variables.
Denote by the membrane potential vector with entries , whose dynamics is defined as follows. Fix a real variable called firing threshold. For a fixed discrete time t, we have two possibilities:
, for all . This corresponds to sub-threshold dynamics.
There exists a k such that, . Corresponding to firing dynamics.
The under-threshold dynamics is given by the following equation:
(31) |
where
(32) |
The function is called the firing state of neuron x, where is the indicator function. When one says that neuron i spike, otherwise is silent. We extend the definition of Z to vectors: is the vector with components . The leak rate is denoted by , and is called the synaptic weight from the neuron j to the neuron i. The synaptic weight is said to be excitatory if or inhibitory if . The components of the vector are independent normalized Gaussian random variables and is the noise amplitude parameter. The parameters and are introduced in order to control the intensity of the synaptic weights and the stimulus, respectively.
From this model, one can obtain a set of conditional probabilities of spike patterns given the network’s spike history, allowing a mechanistic and causal interpretation of the origin of correlations (see [44] for details). Here, we consider only one time-step dependence on the past, although in the general approach it is possible to consider infinite memory. The conditional probabilities (transition matrix elements) are given as follows:
(33) |
where,
(34) |
and
(35) |
The function C takes into account the past and the external stimuli (see [44] for details). These transition probabilities define an ergodic Markov chain specified by the biophysical dynamics of the spiking network. From the transition probabilities (33) and the unique steady state, we compute the IEP of this model using (11) for different values of the parameters and (see Figure 1).
Figure 1 shows that for this model the IEP depends mostly on the intensity of the synaptic weights, while the stimulus intensity is playing a minor role. This suggests that IEP (in the stationary case) is essentially a property of the spiking neuronal network structure. The IEP of this neuronal network model is zero only under very restricted and unrealistic biophysical circumstances: when all synaptic weights are identical in amplitude and with the same sign or when they are all zero, i.e., when neurons do not communicate among them. In the first case, spikes play a symmetrical role with respect to time, which cancels out when computing the IEP. In the second case, the associated stochastic process is time-independent (thus time reversible). Therefore, generically this biophysically plausible model of spiking neuronal networks, has positive IEP. This means that the spike dynamics of this model leads to an irreversible Markov process.
4.2. MEMC Example: One Observable
In the previous example, we assume known the transition probabilities i.e., the structure of synaptic connectivity, stimulus and all other parameters defining the spiking neuronal network. Unfortunately, this is not always the case. Alternative approaches based on the MEP are considered when only spiking data are available. Consider a range-2 potential with neurons:
The transfer matrix (19) associated to is in this case a matrix:
As this matrix is primitive by construction, it satisfies the hypothesis of the Perron–Frobenius theorem. The unique maximum eigenvalue is . The left and right eigenvectors associated to this largest eigenvalue are respectively:
From the spectral properties of , we obtain the Markov transition matrix (20), which reads:
The unique invariant measure of this irreducible Markov transition matrix is given by Equation (21), and its entries are given by:
It is easy to check that is invariant w.r.t. the transition matrix P, that is .
From this example, we can verify that generically the detailed balance condition is not satisfied; for example:
As we can see in Figure 2, the maximum entropy measure for the unconstrained problem is attained at the uniform distribution (, eigenvalue assigning probability to each spike pattern).
Let us now consider a constrained version of this problem. Suppose we have a dataset of length T and we measure the average value of the observable considered in this example ,
Given this restriction and using the Equation (18), we obtain the following equation:
Solving we find . Among all the Markov chains that match exactly the restriction, the one that maximizes the information entropy is the one obtained by fixing at the found value. Is easy to check that the variational principle (16) is satisfied.
From the transition probability matrix P and the invariant measure , we compute the KSE (Equation (9)) and the IEP (Equation (22)) as a function of the parameter (see Figure 2). Additionally, we fix the value at which we compute the IEP. We also compute the fluctuations around the mean and the large deviations. The Gallavotti–Cohen theorem applied to this example is illustrated in Figure 3.
4.3. MEMC Example: Two Observables
Consider now a similar neural system of two interacting neurons, but now take into account two observables representing how one neuron influences the other in the next time step.
From these two features, one can build the corresponding energy function
(36) |
where are the parameters.
Given a dataset, let us denote the corresponding empirical averages of both features as and . From the energy function (36), we build the transfer matrix and apply the same procedure presented in the previous example to obtain the unique maximum entropy Markov transition matrix and the invariant measure to compute the IEP as a function of and , as illustrated in Figure 4.
4.4. Example: Memoryless Potentials
Consider a finite and fix number of neurons N and a potential of range 1. This case includes the Ising model [10], Triplets [15], K-pairwise [25] and all other memoryless potentials that has been used in the context of maximum entropy models of spike train statistics. It represent a limit case in the definition of the transfer matrix. In this case, the potential does not “see” the past, i.e., . The matrix has a unique maximum eigenvalue:
and the rest of eigenvalues are equal to 0. The left and right eigenvectors corresponding to are:
Note that . We have therefore:
(37) |
In this case, the invariant measure has the classical Boltzmann–Gibbs form. The associated Markov chain has no memory: successive events are independent.
Taking the formula of IEP (22) we obtain:
In the case where only range 1 observables are chosen, the average value of these observables in a given data set is the same as the one taken from another data set where the time indexes have been randomly shuffled or even time reversed. As this is the only information about the process that the maximum entropy principle consider, it is not surprising that the stochastic process associated with the maximum entropy measure is time reversible. Consider a data set consisting in binary patterns . Let be a function that randomly shuffles the time indexes, we call the data set obtained after this transformation. Finally consider , the data set with inverted time indexes,
Observe that, in these three cases (that may correspond to very different biological experiments), the average value of every observable of range one is exactly the same, therefore these data sets are characterized by the same maximum entropy distribution as illustrated in Figure 5.
4.5. Example: 1-Time Step Markov with Random Coefficients
Here, we consider the 1-time step extension of the Ising model, that reads:
(38) |
This is the potential considered to fit a maximum entropy distribution to spiking data from a mammalian parietal cortex in-vivo in [20]. It is important to notice that in [20], the authors compute the solution of the maximum entropy problem imposing detailed balance condition, so in their case, there is zero IEP by construction. Here, we do not consider a particular data set, instead we investigate the capability of this potential to generate IEP by considering the following scenarios: We consider a network of neurons, where we draw at random the coefficients and in a range plausible to be the maximum entropy coefficients (or Lagrange multipliers) of an experiment of retinal ganglion cells exposed to natural stimuli (values of from and as in [26]). We generate the matrix by drawing each component at random from Gaussian distributions with different means and standard deviations. We summarize our results in Figure 6. We observe the following: Independent of and and the parameters of mean and variance from which the matrix of coefficients is generated, if is symmetric, the Markov process generated by the potential (38) is reversible in time so the IEP is zero. This includes the limit case when , where we recover the Ising model. Next, we fix the values of and (random values), and we generate 100 matrices by drawing their components from Gaussian distributions , another 100 from . We also generate 100 anti-symmetric matrices from , that we denote in Figure 6 . For each realization of , we generate the transfer matrix and proceed as explained in Section 3 to obtain the IEP in each case.
Figure 6 shows that for fitted data with a maximum entropy 1-time step Markov model, the IEP is zero only when all the measured 1-step correlations between neurons are symmetric, which is very unlikely for an experimental spike train. The degree of symmetry in the matrix of ’s play an important role in the IEP.
4.6. Example: Kinetic Ising Model with Random Asymmetric Interactions
This model of spike generation is an example of a non-equilibrium system, which has been used in [45] to approach the question of recovering the interactions of an asymmetrically-coupled Kinetic Ising model, with a time-independent external field to ensure stationarity. This is a discrete-time, synchronously updated Markov model in with transition matrix is given by:
(39) |
(40) |
The fields and the couplings are independent Gaussian variables and . These set of stationary transition probabilities characterize an ergodic Markov chain with a unique invariant measure. With these two quantities at hand, the scene is set to compute information entropy production under different scenarios.
In Figure 7, we recover the same structure found in Figure 1 for the IF model. This fact suggests that in this model the synaptic couplings are playing a major role in IEP, while the intensity of the stimulus is less relevant.
4.7. Summary
We have shown several examples of applications of our results in the context of spike train statistics. We first provide an example of a discrete time Integrate-and-fire (IF) neuronal network model to illustrate that, in multiple scenarios of synaptic connectivity, even with constant stimulus, we find positive IEP (see Figure 2). This example does not use the MEP as the transition matrix can be explicitly obtained from the dynamics of the model. We use this example to illustrate that time irreversible statistical models arise naturally from biologically realistic spiking neuronal network models and to emphasize that IEP can be obtained from this approach as a benchmark for the MEP approach. We then consider the MEP approach to characterize the spike train statistics. In the second example, we detail the transfer matrix technique to compute the maximum entropy Markov transition matrix and the invariant measure, from these two quantities the IEP is easily computed using (11). We illustrate the Gallavotti–Cohen fluctuation theorem of the IEP for this example (see Figure 3). The third example is used to illustrate how unlikely is to find a reversible MEMC from data as a strong condition need to be satisfied as shown in Figure 4. The fourth example is presented to show that our framework is general enough to consider the memoryless scenario as a limit case producing zero IEP. We illustrate in Figure 5 that memoryless maximum entropy models are not capable to distinguish among very different datasets. In the fifth example, we consider a MEMC, which has been considered in the literature of this field imposing detailed balance. We simulate different scenarios for the inter-neuron temporal parameters to illustrate the capability of this approach to capture the time-irreversible character of the underlying spiking network (see Figure 6). In the last example, we consider a popular model in the literature of this field to compute the IEP. Surprisingly, we recover the same structure of IEP (see Figure 7) as in the IF example (see Figure 1).
5. Discussion
The aim of population spike train statistical analysis is to deduce the principles of operation of neuronal populations. When trying to characterize the spike train statistics of networks of spiking neurons using the MEP, one hopes that the fitted parameters shed light on the understanding of some aspects of the population spiking phenomena in all its complexity. Therefore, to include and quantify time order in neuronal populations becomes a compulsory step towards a deeper understanding of the correlations observed in experimental data and consequently to better understand some aspects of the population neural code. The main message of this work is that limiting the complexity of the maximum entropy model using arguments of parsimony may not be appropriate to model a complex underlying stochastic process.
One of the consequences of including non-synchronous constraints in the MEP framework is that opens the possibility to broke the time-reversal symmetry imposed by time-independent models, and consequently to capture the irreversible character of the underlying biological process, allowing in this way to fit statistical models biologically more realistic. We have emphasized that the IEP is zero for time-independent processes (time-reversible) derived from commonly used statistical models in this field, for example, Ising, K-pairwise, triplets, among others [10,26]. However, only time-dependent maximum entropy models induce time irreversible processes, feature highly expected from biological systems.
While many spiking neuronal network models as the IF or the Generalized Linear Model (GLM) consider the influence of spike events occurred in the past, the most popular maximum entropy models in this field ignore them, causing a clear phenomenological disagreement between these two approaches, which can be corrected including non-synchronous constraints [22]. Leaving aside the fact that biophysical quantities used to fit realistic spiking neuronal network models may be difficult to obtain experimentally, the IEP obtained from both approaches to characterize the same neuronal tissue should be the same, thus the IEP may provide an alternative biologically based measure (going beyond goodness of fit type) of the adequacy of the chosen maximum entropy model.
Unfortunately, we do not yet know how to quantify the spiking activity in ways that yield the most meaningful insights into the relationship between the activity patterns and nervous system function and we are still looking for better conceptual-mathematical frameworks to better describe and understand spiking dynamics. We believe IEP may play an important conceptual role in future studies as help thinking about this dynamics.
However, there are two main drawbacks of our approach, both inherited from the MEP. The first is that the MEP assumes stationarity in the data, which is not a common situation from recordings in neuronal systems, so requires careful experimental control to approach this condition. The second is methodological and related to the fact that the Markov transition matrix as presented here is obtained from the transfer matrix technique, so it may require an important computational effort for large-scale and long memory spiking neuronal networks. Indeed as discussed in [18] this approach can reliably recover Markov transition matrices for systems of N neurons and memory that satisfies . However, new methods based on Monte Carlo methods can overcome this limitation [46].
There is a lot of room for progress going beyond the scope of this work, one possibility is to quantify the IEP for different choices of non-synchronous constraints and binning sizes on biological spike train recordings. A more ambitious goal would be to link the IEP as a signature of an underlying physiological process depending on time such as adaptation or learning. IEP is a much broader concept which can also be measured along non-stationary trajectories, thus IEP can be measured for time-dependent models where transition probabilities are explicitly given or can be computed (for example the GLM [8]). Previous studies in the context of spike train statistics have measured the dynamical entropy production in spiking neuron networks using a deterministic approach based on the Pesin identity (sum of positive Lyapunov exponents) [47]. There are relationships between the deterministic and stochastic dynamics [48], and some interpretations of deterministic dynamical entropy production with information loss which should be investigated in more detail, in particular, if these relationships bring new knowledge in the field of computational neuroscience.
We have focused on spike train statistics, but our results are not restricted to this field and can be applied wherever Markov maximum entropy measures under constraints have to be inferred from data, especially for irreversible Markov chains arising from stochastic network theory [49], information theory [37], and finance [38], among other disciplines.
Acknowledgments
We thank Jean-Pierre Eckmann and Fernando Rosas for discussions and careful reading of the manuscript. Rodrigo Cofre was supported by an ERC advanced grant “Bridges”, CONICYT-PAI Insercion # 79160120 and Proyectos REDES ETAPA INICIAL, Convocatoria 2017 REDI170457. Cesar Maldonado was supported by the CONICYT-FONDECYT Postdoctoral Grant No. 3140572.
Abbreviations
The following abbreviations are used in this manuscript:
MEP | Maximum entropy principle |
MEMC | Maximum entropy Markov chain |
IEP | Information entropy production |
KSE | Kolmogorov–Sinai entropy |
IF | Integrate-and-Fire |
GLM | Generalized Linear model |
NESS | Non-equilibrium steady states |
Symbol List
Spiking state of neuron k at time n. | |
Spike pattern at time n | |
Spike block from time to . | |
Empirical Average value of the observable f considering T spike patterns. | |
Set of spike blocks of N neurons and length L. | |
Entropy of the probability measure . | |
Potential function. | |
Free energy or topological pressure. |
Author Contributions
Both authors conceived the algorithm and wrote the and revised manuscript. Both authors have read and approved the final manuscript.
Conflicts of Interest
The authors declare no conflict of interest.
References
- 1.Lefebvre B., Yger P., Marre O. Recent progress in multi-electrode spike sorting methods. J. Physiol. Paris. 2016;4:327–335. doi: 10.1016/j.jphysparis.2017.02.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Schneidman E., Freedman B., Segev I. Ion channel stochasticity may be critical in determining the reliability and precision of spike timing. Neural Comput. 1998;10:1679–1703. doi: 10.1162/089976698300017089. [DOI] [PubMed] [Google Scholar]
- 3.Rieke F., Warland D., de Ruyter van Steveninck R., Bialek W. Spikes, Exploring the Neural Code. MIT Press; Cambridge, MA, USA: 1996. [Google Scholar]
- 4.Faisal A., Selen L., Wolpert D. Noise in the nervous system. Nat. Rev. Neurosci. 2008;9:292–303. doi: 10.1038/nrn2258. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Borst A., Theunissen F. Information theory and neural coding. Nat. Neurosci. 1999;2:947–957. doi: 10.1038/14731. [DOI] [PubMed] [Google Scholar]
- 6.Rolls E., Treves A. The neuronal encoding of information in the brain. Prog. Neurobiol. 2011;95:448–490. doi: 10.1016/j.pneurobio.2011.08.002. [DOI] [PubMed] [Google Scholar]
- 7.Cafaro J., Rieke F. Noise correlations improve response fidelity and stimulus encoding. Nature. 2010;468:964–967. doi: 10.1038/nature09570. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Pillow J., Paninski L., Uzzell V., Simoncelli E., Chichilnisky E. Prediction and decoding of retinal ganglion cell responses with a probabilistic spiking model. J. Neurosci. 2005;25:11003–11013. doi: 10.1523/JNEUROSCI.3305-05.2005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Shadlen M., Newsome W. The variable discharge of cortical neurons: Implications for connectivity, computation, and information coding. J. Neurosci. 1998;18:3870–3896. doi: 10.1523/JNEUROSCI.18-10-03870.1998. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Schneidman E., Berry M.J., Segev R., Bialek W. Weak pairwise correlations imply string correlated network states in a neural population. Nature. 2006;440:1007–1012. doi: 10.1038/nature04701. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Nirenberg S., Latham P. Decoding neuronal spike trains: How important are correlations. Proc. Natl. Acad. Sci. USA. 2003;100:7348–7353. doi: 10.1073/pnas.1131895100. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Nirenberg S., Latham P. Population coding in the retina. Curr. Opin. Neurobiol. 1998;8:488–493. doi: 10.1016/S0959-4388(98)80036-6. [DOI] [PubMed] [Google Scholar]
- 13.Ohiorhenuan I.E., Mechler F., Purpura K.P., Schmid A.M., Hu Q., Victor J.D. Sparse coding and high-order correlations in fine-scale cortical networks. Nature. 2010;466:617–621. doi: 10.1038/nature09178. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Panzeri S., Schultz S. A unified approach to the study of temporal, correlational, and rate coding. Neural Comput. 2001;13:1311–1349. doi: 10.1162/08997660152002870. [DOI] [PubMed] [Google Scholar]
- 15.Ganmor E., Segev R., Schneidman E. The architecture of functional interaction networks in the retina. J. Neurosci. 2011;31:3044–3054. doi: 10.1523/JNEUROSCI.3682-10.2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Moore G., Segundo J., Perkel D., Levitan H. Statistical signs of synaptic interaction in neurons. Biophys. J. 1970;10:876–900. doi: 10.1016/S0006-3495(70)86341-X. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Moran J., Desimone R. Selective attention gates visual processing in the extrastriate cortex. Science. 1985;229:782–784. doi: 10.1126/science.4023713. [DOI] [PubMed] [Google Scholar]
- 18.Nasser H., Cessac B. Parameter estimation for spatio-temporal maximum entropy distributions: Application to neural spike trains. Entropy. 2014;16:2244–2277. doi: 10.3390/e16042244. [DOI] [Google Scholar]
- 19.Tang A., Jackson D., Hobbs J., Chen W., Smith J., Patel H., Prieto A., Petrusca D., Grivich M., Sher A., et al. A maximum entropy model applied to spatial and temporal correlations from cortical networks in vitro. J. Neurosci. 2008;28:505–518. doi: 10.1523/JNEUROSCI.3359-07.2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Marre O., El Boustani S., Frégnac Y., Destexhe A. Prediction of spatiotemporal patterns of neural activity from pairwise correlations. Phys. Rev. Lett. 2009;102:138101. doi: 10.1103/PhysRevLett.102.138101. [DOI] [PubMed] [Google Scholar]
- 21.Vasquez J., Palacios A., Marre O., Berry M.J., Cessac B. Gibbs distribution analysis of temporal correlation structure on multicell spike trains from retina ganglion cells. J. Physiol. Paris. 2012;106:120–127. doi: 10.1016/j.jphysparis.2011.11.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Cofré R., Cessac B. Exact computation of the maximum entropy potential of spiking neural networks models. Phys. Rev. E. 2014;89:052117. doi: 10.1103/PhysRevE.89.052117. [DOI] [PubMed] [Google Scholar]
- 23.Jaynes E. Information theory and statistical mechanics. Phys. Rev. 1957;106:620. doi: 10.1103/PhysRev.106.620. [DOI] [Google Scholar]
- 24.Pillow J.W., Shlens J., Paninski L., Sher A., Litke A.M., Chichilnisky E.J., Simoncelli E.P. Spatio-temporal correlations and visual signaling in a complete neuronal population. Nature. 2008;454:995–999. doi: 10.1038/nature07140. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Tkačik G., Marre O., Amodei D., Schneidman E., Bialek W., Berry M.J. Searching for collective behavior in a large network of sensory neurons. PLoS Comput. Biol. 2013;10:e1003408. doi: 10.1371/journal.pcbi.1003408. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Tkačik G., Mora T., Marre O., Amodei D., Palmer S.E., Berry M.J., Bialek W. Thermodynamics and signatures of criticality in a network of neurons. Proc. Natl. Acad. Sci. USA. 2015;112:11508–11513. doi: 10.1073/pnas.1514188112. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Shi P., Qian H. Frontiers in Computational and Systems Biology. Springer; London, UK: 2010. Irreversible stochastic processes, coupled diffusions and systems biochemistry; pp. 175–201. [Google Scholar]
- 28.Jiang D.Q., Qian M., Qian M.P. Mathematical Theory of Nonequilibrium Steady States. Springer; Berlin/Heidelberg, Germany: 2004. [Google Scholar]
- 29.Bowen R. Equilibrium States and the Ergodic Theory of Anosov Diffeomorphisms. revised edition. Volume 470 Springer; Berlin, Germany: 2008. [Google Scholar]
- 30.Fernandez R., Maillard G. Chains with complete connections: General theory, uniqueness, loss of memory and mixing properties. J. Stat. Phys. 2005;118:555–588. doi: 10.1007/s10955-004-8821-5. [DOI] [Google Scholar]
- 31.Cessac B., Cofré R. Spike train statistics and Gibbs distributions. J. Physiol. Paris. 2013;107:360–368. doi: 10.1016/j.jphysparis.2013.03.001. [DOI] [PubMed] [Google Scholar]
- 32.Galves A., Löcherbach E. Infinite systems of interacting chains with memory of variable length—A stochastic model for biological neural nets. J. Stat. Phys. 2013;151:896–921. [Google Scholar]
- 33.Gaspard P. Time-reversed dynamical entropy and irreversibility in Markovian random processes. J. Stat. Phys. 2004;117:599–615. [Google Scholar]
- 34.Kitchens B.P. Symbolic Dynamics: One-Sided, Two-Sided and Countable State Markov Shifts. Springer; Berlin/Heidelberg, Germany: 1998. [Google Scholar]
- 35.Pollard B.S. Open Markov processes: A compositional perspective on non-equilibrium steady states in biology. Entropy. 2016;18:140. doi: 10.3390/e18040140. [DOI] [Google Scholar]
- 36.Ruelle D. Thermodynamic Formalism. Addison-Wesley; Reading, MA, USA: 1978. [Google Scholar]
- 37.Van der Straeten E. Maximum entropy estimation of transition probabilities of reversible Markov chains. Entropy. 2009;11:867–887. doi: 10.3390/e11040867. [DOI] [Google Scholar]
- 38.Chliamovitch G., Dupuis A., Chopard B. Maximum entropy rate reconstruction of Markov dynamics. Entropy. 2015;17:3738–3751. doi: 10.3390/e17063738. [DOI] [Google Scholar]
- 39.Baladi V. Positive Transfer Operators and Decay of Correlations. World Scientific; Singapore: 2000. [Google Scholar]
- 40.Chazottes J.R., Ramirez L., Ugalde E. Finite type approximations of Gibbs measures on sofic subshifts. Nonlinearity. 2005;18:445–463. doi: 10.1088/0951-7715/18/1/023. [DOI] [Google Scholar]
- 41.Maldonado C., Salgado-García R. Markov approximations of Gibbs measures for long-range interactions on 1D lattices. J. Stat. Mech. Theory Exp. 2013;8:P08012. doi: 10.1088/1742-5468/2013/08/P08012. [DOI] [Google Scholar]
- 42.Gantmacher F.R. The Theory of Matrices. AMS Chelsea Publishing; Providence, RI, USA: 1998. [Google Scholar]
- 43.Lancaster P. Theory of Matrices. Academic Press; Cambridge, MA, USA: 1969. [Google Scholar]
- 44.Cessac B. A discrete time neural network model with spiking neurons. Rigorous results on the spontaneous dynamics. J. Math. Biol. 2008;56:311–345. doi: 10.1007/s00285-007-0117-3. [DOI] [PubMed] [Google Scholar]
- 45.Roudi Y., Hertz J. Mean field theory for non-equilibrium network reconstruction. Phys. Rev. Lett. 2011;106:048702. doi: 10.1103/PhysRevLett.106.048702. [DOI] [PubMed] [Google Scholar]
- 46.Nasser H., Marre O., Cessac B. Spatio-temporal spike trains analysis for large scale networks using maximum entropy principle and Monte-Carlo method. J. Stat. Mech. 2013;2013:P03006. doi: 10.1088/1742-5468/2013/03/P03006. [DOI] [Google Scholar]
- 47.Monteforte M., Wolf F. Dynamical entropy production in spiking neuron networks in the balanced state. Phys. Rev. Lett. 2010;105:268104. doi: 10.1103/PhysRevLett.105.268104. [DOI] [PubMed] [Google Scholar]
- 48.Gaspard P. Time asymmetry in nonequilibrium statistical mechanics. Adv. Chem. Phys. 2007;135:83–133. [Google Scholar]
- 49.Delvenne J., Libert A. Centrality measures and thermodynamic formalism for complex networks. Phys. Rev. E. 2011;83:046117. doi: 10.1103/PhysRevE.83.046117. [DOI] [PubMed] [Google Scholar]