Open Source and free to use
TVB is a free open-source software, available for usage in an online installation, but also available for download and installation by any interested person or institution.
TVB can be run on laptops with decent computing power or on servers, being made accessible over the web for an unlimited number of users. Even installation on a cluster with parallelization is fully supported.
Schematic of the local source node network architecture underlying mean field modelling. Excitatory (red circles) and inhibitory (black squares) neurons occupy a volume (left).
Couplings are indicated by black connecting lines. Conceptually both neuron types can be clustered in two subpopulations (middle). Each subpopulation can be then characterized by a mean behaviour under certain conditions (right) and a mean connectivity. (Figure courtesy (Stefanescu Jirsa 2008)).
Login screen
A project's data structure as graph view
Management of ongoing and past operations with project data, e.g. analyzers, visualizers, data uploads and views
Full-screen 3D view of cerebral activity within a simulation
Time series within a simulation, showing animated 3D nodes and EEG lines
Simulation cockpit with parameters and several visualizers being prepared
Large-scale connectivity view with weights matrix
Spatio-temporal 3D view (with animation) of pre-defined stimuli across several focal points
Complex 3D animation of cerebral activity within a simulation
4 portlet visualizers within a simulation, featuring functions from the Brain Connecitvity Toolbox
What is The Virtual Brain and why is it needed now?
TheVirtualBrain (TVB) is a computational framework for the virtualization of brain structure and function. This is accomplished by simulating network dynamics using biologically realistic large-scale connectivity.
TVB merges structural information on individual brains including 3D geometry of neocortex, white matter connectivity, etc. and then simulates the emergent brain dynamics. The logic of TVB is the following:
Structural information provides certain constraints on the type of network dynamics that may emerge. While these constraints limit arbitrary brain dynamics, structural connectivity provides the foundation on top of which a dynamic repertoire of functional configurations can emerge. When brain structure is changed, as maturation, aging, or from damage or disease, then the brain’s dynamic repertoire changes.
TVB allows the systematic investigation of the dynamic repertoire as a function of structure. It moves away from the investigation of isolated regional responses and considers the function of each region in terms of the interplay among brain regions.
This allows us to
- (1) re-classify lesions in terms of the network of nodes (regions) and connections (axons, white matter tracts) that have been damaged and to
- (2) investigate the mechanisms that preserve function by understanding how regional damage affects the function of other parts of the network.
In this context, brain repair (recovery of function) depends on the restoration and rebalancing of activity in the remaining nodes in the network.
Predicting and treating the consequences of brain damage has been notoriously difficult. This is because the relationship between the nature of the lesion and the functional deficit is highly variable across patients who have been grouped according to some classification metric (e.g. type of brain damage); and within individual patients who recover or deteriorate over time.
A formalized explanation of such variability calls for
- (1) a re-evaluation of our classification metrics,
- (2) a better understanding of the mechanisms that preserve and/or restore function and
- (3) the ability to make use of an individual’s brain to better characterize the deficit and prognosis.
TVB offers a neuroinformatic framework to address these challenges.
What are the core elements in The Virtual Brain?
TVB uses either existing cortical connectivity information (e.g., CoCoMac database) or tractographic data (DTI/DSI) or a fusion of both (individual tractography with generic directionality from CoCoMac) to generate connectivity matrices and build cortical and subcortical brain networks.
The connectivity matrix defines the connection strengths and time delays via signal transmission between all network nodes. Various neural mass models are available in TVB and define the dynamics of a network node. Together, the neural mass models at each network node, the connectivity matrix and the 3D layered brain surface define The Virtual Brain.
TVB simulates and generates the time courses of various forms of neural activity including Local Field Potentials (LFP) and firing rate, as well as brain imaging data such as EEG (electroencephalography), MEG (magnetoencephalography) and BOLD (blood oxygen level dependent contrast) activations as observed in fMRI.
Background leading to TVB
The Virtual Brain provides a neuroinformatics platform for the simulation of large-scale brain network dynamics.
Any network is defined by its network nodes and its connectivity. TVB distinguishes two types of brain connectivity, that is region-based and surface-based connectivity.
- In the former case, the networks comprise discrete nodes and connectivity, in which each node models the neural population activity of a brain regions and the connectivity is composed of interregional fibers.
- In the latter case, cortical and subcortical areas are modeled on a finer scale, in which each point represents a neural population model.
This approach allows a detailed spatial sampling in particular of the cortical surface resulting in a spatially continuous approximation of the neural activity known as neural field modeling (Wilson Cowan 1972; Nunez 1974, Amari 1978; Jirsa Haken 1996; Robinson 1997).
Here the connectivity is composed of local intracortical and global intercortical fibers. When simulating brain activity in the simulator core of TVB, the neural source activity from both region or surface-based approaches are projected into EEG, MEG and BOLD space using a forward model (Breakspear Jirsa 2007).
The first neuroinformatic integration of these elements has been performed by (Jirsa et al 2002) demonstrating neural field modeling in an EEG/MEG paradigm. In this work, homogeneous connectivity was implemented along the lines of (Jirsa Haken 1996).
At that time no other large-scale connectivity was available, hence this type of approximation needed to be performed. Then neural field activity was simulated on a spherical surface for computational efficiency and mapped upon the convoluted cortical surface with its gyri and sulci. The forward solutions of EEG and MEG signals have been computed and showed that a surprisingly rich complexity is observable in the simulated EEG and MEG space, despite simplicity in the neural field dynamics.
In particular, neural field models (Wilson Cowan 1972; Nunez 1974, Amari 1978; Jirsa Haken 1996; Robinson 1997) account for the spatial symmetry in brain connectivity, which is always reflected in the symmetry of the resulting neural source activations, even though it may be significantly less apparent (if at all) in the EEG and MEG space.
But obviously the imposed symmetry stems from the approximation made in the connectivity. This led the authors to conclude that the integration of tractographic data is imperative for future large-scale brain modeling attempts, since the symmetry of the connectivity will constrain the solutions of the neural sources, but not trivially show itself in the other imaging spaces of EEG, MEG and BOLD.
In a certain sense, this was the first call pointing to the need of the development of The Virtual Brain.
Network nodes in TVB: neural populations with local mesoscopic dynamics
Mesoscopic dynamics describe the mean field activity of populations of neurons organized as cortical columns or subcortical nuclei. Common assumptions in mean-field modeling are that explicit structural features or temporal details of neuronal networks (e.g. spiking dynamics of single neurons) are irrelevant for the analysis of complex mesoscopic dynamics and the emergent collective behavior is only weakly sensitive to the details of individual neuron behaviour (Breakspear Jirsa 2007).
Basic mean field models capture changes of the mean firing rate (Brunel Wang 2003), where as more sophisticated mean field models account for parameter dispersion in the neurons and the subsequent richer behaviour of the mean field dynamics (Assisi et al 2005; Stefanescu Jirsa 2008, 2011; Jirsa Stefanescu 2010).
These approaches demonstrate the relatively new concept from statistical physics that macroscopic physical systems obey laws that are independent of the details of the microscopic constituents they are built of (Haken 1983).
These and related ideas have been exploited in neurosciences (Kelso 1995; Buzsaki 2006).In TVB, our main interest lies in deriving the mesoscopic laws that drive the observed dynamical processes at the macroscopic large brain scale in a systematic manner.
Various mean-field models are available in TVB reproducing typical features of mesoscopic population dynamics.
For each node of the large-scale network, a neural population model describes the local dynamics. The neural population models in TVB are well-established models derived from the ensemble dynamics of single neurons (Wilson Cowan 1972; Jansen Rit 1995; Larter 1999; Brunel Wang 2003; Stefanescu Jirsa 2008).
TVB offers also a generic two-dimensional oscillator model for the use at a network node capable of generating a wide range of phenomena as observed in neuronal population dynamics such as multistability, coexistence of oscillatory and non-oscillatory behaviors, various behaviors displaying multiple time scales, etc. just to name a few.
The generic large-scale brain network equation in TVB
When traversing the scale to the large-scale network, then each network node is governed by its own intrinsic dynamics in interaction with the dynamics of all other network nodes.
This interaction happens through the connectivity matrix via specific connection weights and time delays due to signal transmission delays. The following (generic) evolution equation (Jirsa 2009) captures all the above features and underlies the emergence of the spatiotemporal network dynamics in TVB:
:math:`{\dot\Psi(x,t)} = N(\Psi(x,t)) +`
:math:`\int_{\Gamma}g_{local}(x,x\prime)S(\Psi(x\prime,t))dx\prime +`
:math:`\int_{\Gamma}g_{global}S(\Psi(x\prime,t - \frac{|x-x\prime|}{\nu}))dx\prime + I(x,t) + \xi (x,t)`
The equation describes the stochastic differential equation of a network of connected neural populations.
:math:`\Psi(x,t)` is the neural population activity vector at the location x in 3D physical space and time point t. It has as many state variables as are defined by the neural population model, which is specified by :math:`N(\Psi(x,t))`.
The connectivity distinguishes local and global connections, which are captured separately in two expressions.
The local network connectivity :math:`g_{local}(x,x\prime)` is described by connection weights between x and x’, whereas global connectivity is defined by :math:`g_{global}(x,x\prime)`.
The critical difference between the two types of connectivity is threefold:
- 1. Local connectivity is short range (order of cm) and global connectivity is long range (order of 10cm).
- 2. Signal transmission via local connections is instantaneous, but via global connections undergoes a time delay dependent on the distance :math:`|x-x\prime|` and the transmission speed v.
- 3. Local connectivity is typically spatially invariant (of course with variations from area to area, but generally it falls off with distance), global connectivity is highly heterogeneous.
Stimuli of any form, such as perceptual, cognitive or behavioral perturbations, are introduced into the Virtual Brain via the expression I(x,t) and are defined over a location x with a particular time course.
Noise plays a crucial role for the brain dynamics and hence for brain function (see McIntosh et al 2010). In TVB it is introduced via the expression :math:`\xi (x,t)` where the type of noise and its spatial and temporal correlations can be specified independently.
The TVB Simulator
Various numerical algorithms are available in TVB and can be coarsely categorized into deterministic (no noise) and stochastic (with noise). They include the Heun algorithm, Runge Kutta of various orders, Euler Maruyama, and others.
EEG-MEG forward solution in TVB
Noninvasive neuroimaging signals constitute the superimposed representations of the activity of many sources leading to high ambiguity in the mapping between internal states and observable signals, i.e., the inverse problem.
As a consequence, the EEG and MEG backward solution is underdetermined (Helmholtz 1853). Therefore, a crucial step towards the outlined goals is the correct synchronization of model and data, that is, the alignment of model states with internal - but often unobservable – states of the system.
The forward problem of the EEG and MEG is the calculation of the electric potential V(x,t) on the skull and the magnetic field B(x,t) outside the head from a given primary current distribution D(x,t). The sources of the electric and magnetic fields are both, primary and return currents.
The situation is complicated by the fact that the present conductivities such as the brain tissue and the skull differ by the order of 100.
In TVB, three compartment volume conductor models are constructed from structural MRI data using the MNI brain; surfaces for the interfaces between grey matter, cerebrospinal fluid and white matter are approximated with triangular meshes.
For EEG predictions, volume conduction models for skull and scalp surfaces are incorporated. Here it is assumed that electric source activity can be well approximated by the fluctuation of equivalent current dipoles generated by excitatory neurons that have dendritic trees oriented roughly perpendicular to the cortical surface and that constitute the majority of neuronal cells (~85 % of all neurons).
So far subcortical regions are not considered in the forward solution. We also neglect dipole contributions from inhibitory neurons since they are only present in a low number (~15 %) and their dendrites fan out spherically.
Therefore, dipole strength can be assumed to be roughly proportional to the average membrane potential of the excitatory population. Then the primary current distribution D(x,t) is obtained as the set of all normal vectors perpendicular to the vertices at locations x of the cortical surface multiplied by the relevant state variable in the population vector :math:`\Psi(x,t)`.
fMRI-Bold contrast in TVB
The BOLD signal time course is approximated from the mean-field time-course of excitatory populations accounting for the assumption that BOLD contrast is primarily modulated by glutamate release (Petzold, Albeanu et al. 2008; Giaume, Koulakoff et al. 2010).
Apart from these assumptions, there is relatively little consensus about how exactly the neurovascular coupling is realized and whether there is a general answer to this problem.
In order to estimate the BOLD signal, the mean-field amplitude time course of a neural source may be convolved with a canonical hemodynamic response function as included in the SPM software package or the “Balloon-Windkessel” model of (Friston, Harrison et al. 2003) may be employed; cf. (Bojak, Oostendorp et al. 2010) for some more technical details.
Bibliography
Amari S. (1977). Dynamics of pattern formation in lateral-inhibition type neural fields. Biological Cybernetics, 27:77-87.
Assisi, C. G., Jirsa, V. K., and Kelso, J. A. S. (2005). Synchrony and clustering in heterogeneous networks with global coupling and parameter dispersion, Physical Review Letters, 94(1):018106.
Bojak, I., Oostendorp, T. F., Reid, A. T. and Kötter R. (2010). Connecting mean field models of neural activity to EEG and fMRI data, Brain Topography, 23(2):139-149.
Breakspear, M. and Jirsa, V.(2007). Neuronal Dynamics and Brain Connectivity - Handbook of Brain Connectivity (Understanding Complex Systems), Springer Berlin / Heidelberg, 3-64.
Brunel, N. and Wang, X-J. (2003). What determines the frequency of fast network oscillations with irregular neural discharges? I. Synaptic dynamics and excitation-inhibition balance, Journal of Neurophysiology, 90:415-430.
Buzsaky, G (2006). Rhythms of the Brain. Oxford: Oxford University Press.
Friston, K., J., Harrison, L., and Penny, W., (2003). Dynamic causal modelling, Neuroimage, 19:1273-1302.
Giaume C., Koulakoff A., Roux L., Holcman D., Rouach N. (2010). Astroglial networks: a step further in neuroglial and gliovascular interactions, Nature Reviews in Neuroscience, 11:87-99.
Haken, H. (1983). Synergetics, an Introduction: Nonequilibrium Phase Transitions and Self-Organization in Physics, Chemistry, and Biology, 3rd rev. enl. ed. New York: Springer-Verlag, 1983.
Jansen, B., H. and Rit V., G. (1995). Electroencephalogram and visual evoked potential generation in a mathematical model of coupled cortical columns, Biological Cybernetics, 73:357-366.
Jirsa, V., K., (2009). Neural field dynamics with local and global connectivity and time delay, Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 367(1891): 1131-1143.
Jirsa V., Haken H. (1996). Field theory of electromagnetic brain activity, Physical Review Letters 77(5): 960-963.
Jirsa, V., K., and Stefanescu, R., A., (2010). Neural population modes capture biologically realistic large scale network dynamics, Bulletin of Mathematical Biology, 73(2): 325-343.
Kelso Scott J., A. (1995). Dynamic patterns: the self-organization of brain and behavior (Complex Adaptive Systems). MIT Press
Larter, R., Speelman, B. and Worth, R., M., (1999). A coupled ordinary differential equation lattice model for the simulation of epileptic seizures, Chaos, 9(3):795.
McIntosh, A. R., Kovacevic, N., Lippe, S., Garrett, D., Grady, C and Jirsa V., (2010). The Development of a Noisy Brain*, Archives Italiennes de Biologie, 148(3).
Nunez P., L. (1974) .The brain wave equation: A model for the EEG*, Mathematical Biosciences. 21:279-297.
Petzold G., C., Albeanu, D.,F., Sato T., F., and Murthy V., N., (2008). Coupling of neural activity to blood flow in olfactory glomeruli is mediated by astrocytic pathways, Neuron, 58:897-910.
Robinson, P.A., Rennie, C.J., Wright, J.J. (1997). Propagation and stability of waves of electrical activity in the cerebral cortex, Physical Reviews Letters E, 56:826-840.
Stefanescu, R. and Jirsa, V. K. (2008). A Low Dimensional Description of Globally Coupled Heterogeneous Neural Networks of Excitatory and Inhibitory, PLoS Computational Biology, 4(11):26-36.
Stefanescu, R., Jirsa, V.K. (2011). Reduced representations of heterogeneous mixed neural networks with synaptic coupling, Physical Review Letters E, 83:
Wilson, H.R. and Cowan, J.D (1972). Excitatory and inhibitory interactions in localized populations of model neurons, Biophysical journal, 12:1-24.