Skip to Main Content

Whole Brain Dynamics_ Part II_ Fast simulator of the Dynamic Mean Field model of brain dynamics_default_8f0043d7

July 28, 2026
ID
14365

Transcript

  • 00:00So the second part
  • 00:02of our workshop today, it
  • 00:04is a practical
  • 00:06tutorial.
  • 00:07First practical tutorial
  • 00:10will be
  • 00:11in fast DMF
  • 00:13toolbox.
  • 00:14Our speaker is Leonardo Sarajevo,
  • 00:17Leo. He's one of our
  • 00:19own. Before moving to Yale,
  • 00:21Leo completed his PhD in
  • 00:23neuroscience at the University of
  • 00:25Sao Paulo in Brazil.
  • 00:27His focus is on
  • 00:29large scale brain dynamics,
  • 00:31whole brain modeling approaches,
  • 00:34and
  • 00:35I just want to give
  • 00:36it to you now, Leo.
  • 00:37So for the for the
  • 00:38purpose to make it as
  • 00:40efficient as possible,
  • 00:42I think and given that
  • 00:43we have a, a good
  • 00:45number
  • 00:46of,
  • 00:48good number. I mean, it's
  • 00:49really a small
  • 00:51group,
  • 00:52meaning that I'm going to
  • 00:54allow talk to all of
  • 00:56you guys.
  • 01:01And when you have questions,
  • 01:04I think it would be
  • 01:05okay
  • 01:06if, we just interrupt
  • 01:08Leo and us
  • 01:10so we can make
  • 01:12this as useful as possible
  • 01:15and make it really, you
  • 01:16know, applicable
  • 01:18to our work.
  • 01:21So everybody has an ability
  • 01:22to ask questions now.
  • 01:24Okay, Leo. Please.
  • 01:26Thank you very much, Helen.
  • 01:29Should I start now or
  • 01:30should I wait a couple
  • 01:31more minutes?
  • 01:36I think you can stop
  • 01:37now.
  • 01:38And Great. I just want
  • 01:40to make sure that,
  • 01:41you have enough time. And,
  • 01:43again, everything is going to
  • 01:44be posted online,
  • 01:46and we hope that it
  • 01:47will be a practical tutorial
  • 01:48for people
  • 01:50to use with their own
  • 01:51time.
  • 01:52Great. Great. Thank you so
  • 01:53much, Helen. And so thank
  • 01:55you very much, you know,
  • 01:55Helen, for the the invitation.
  • 01:57Very glad to be here,
  • 01:58and thank you all who
  • 01:59are attending as well. So
  • 02:01please, as Helen mentioned, feel
  • 02:03free to interrupt me at
  • 02:05any time and make questions.
  • 02:08So the idea is to
  • 02:09follow-up, you know, like,
  • 02:11Gustavo's great talk with a
  • 02:13more practical tutorial.
  • 02:15So here, I'm just going
  • 02:17to try to walk you
  • 02:19through
  • 02:20how to
  • 02:21use two toolboxes that Gustavo,
  • 02:24directly developed, and I feel
  • 02:25like they are very useful
  • 02:27for, the whole brain modeling
  • 02:28field.
  • 02:29And I'm trying to like
  • 02:30to do this talk as
  • 02:32practical as possible so I
  • 02:33don't have, like, slides. I
  • 02:34just have a lot of,
  • 02:34like, tabs organized if I
  • 02:36was going to do,
  • 02:38the the analysis myself.
  • 02:40So just like to start
  • 02:41off,
  • 02:43as I mentioned,
  • 02:44we are going to talk
  • 02:45about, like, these computational approaches,
  • 02:46and I just wanted to
  • 02:48to tell you in which
  • 02:49environment I'm going to run,
  • 02:51the analysis.
  • 02:52So here I'm using, like,
  • 02:53the bullshit Yale cluster. I
  • 02:55think, like, all Yale PIs,
  • 02:56you know, have access, like,
  • 02:58to this cluster. I'm not
  • 02:59a PI, but my my
  • 03:00PI can grant access, like,
  • 03:01to me,
  • 03:03like Helen.
  • 03:05And,
  • 03:06with, like, this cluster, I
  • 03:07can start, like, virtual machines.
  • 03:09And just, like, virtual machines
  • 03:11pretty much work as, like,
  • 03:12like, a personal computer. So
  • 03:14everything that I'm doing here,
  • 03:15of course, can be done
  • 03:16here by you, but can
  • 03:18also, like, be done,
  • 03:20in your personal computer. So
  • 03:21for instance, like, if I
  • 03:22I launch, you know, one
  • 03:24of, like, these virtual machines
  • 03:25that I created here, I
  • 03:26just have
  • 03:28a virtual desktop
  • 03:29session. You know?
  • 03:30So if you look here,
  • 03:32it just looks like a
  • 03:33regular,
  • 03:34like, personal computer that I
  • 03:35can just, like, run stuff
  • 03:37on.
  • 03:39And before I actually start
  • 03:41running, I just want to
  • 03:42briefly
  • 03:43introduce, you know, like, this
  • 03:44this toolbox.
  • 03:46And so just, like, really
  • 03:47quickly, you know, like, to
  • 03:48to provide, like, a a
  • 03:49little bit of, like, background
  • 03:50to this. So Gustavo, I
  • 03:52think, like, in two thousand
  • 03:53thirteen, published, like, this paper,
  • 03:55introducing, like, this, dynamic mean
  • 03:58field model. So the dynamic
  • 03:59mean field model is basically
  • 04:00like a build physical build
  • 04:02physically grounded like model that
  • 04:04can be used, like, to
  • 04:05simulate,
  • 04:06neural activity. And this neural
  • 04:08activity can be plugged into
  • 04:10another model, the a multynamic
  • 04:13balloon
  • 04:14Wilkerson Stein model.
  • 04:15And with with this,
  • 04:18we can simulate
  • 04:19bold activity.
  • 04:20So in in in and
  • 04:22this model basically consists is
  • 04:24a is a neural mass
  • 04:25model. So, basically,
  • 04:26it considers, like, each brain
  • 04:28region defined by a a
  • 04:29brain percolation
  • 04:31as a set of, like,
  • 04:32neurons. But the activity of,
  • 04:34like, the set of neurons
  • 04:35can be summarized as the
  • 04:36activity of, like, a single
  • 04:38neuron.
  • 04:39And the activity of, like,
  • 04:40the single neuron is determined
  • 04:42by stochastic dynamical
  • 04:44equations. So this was, like,
  • 04:45the first interaction of, like,
  • 04:47the model. And then this
  • 04:48paper was followed by another
  • 04:49Gustavo paper in in the
  • 04:51next year, in which for
  • 04:53each brain region, he actually,
  • 04:54like, broke down this,
  • 04:57the simplification. So instead of,
  • 04:59like, using, like, a single
  • 05:00neural node unity, he broke
  • 05:01this unity into, like, two
  • 05:03units
  • 05:04within each region. One of,
  • 05:06like, an excitatory
  • 05:07neural unit and another, like,
  • 05:09inhibitory, like, neuronal unit. And
  • 05:11by doing this, he found
  • 05:12that,
  • 05:14by using both excitatory and
  • 05:16inhibitory
  • 05:17neural units, the model better
  • 05:18better predict this functional
  • 05:21functional connectivity.
  • 05:23And this model, you know,
  • 05:24like, after this paper has
  • 05:25was published, I think it
  • 05:27was very successful in in
  • 05:28the field. Like, this model
  • 05:29has been shown, as I
  • 05:30mentioned, like, to to predict
  • 05:32really well from the functional
  • 05:33dynamics. It has also, like,
  • 05:35found a clinical,
  • 05:37applications in order to try
  • 05:38to understand, like, the neural
  • 05:40bay basis of, like, schizophrenia,
  • 05:41of, like, psychiatric treatments, and
  • 05:44so on and so forth.
  • 05:45However, this model has, like,
  • 05:47an important limitation, and and
  • 05:48this limitation is not in
  • 05:50terms of, how can I
  • 05:52put it, like, the,
  • 05:53the theoretical base of, like,
  • 05:55the model? The theoretical base
  • 05:56is great. But the problem
  • 05:58is that, like, this model
  • 05:59computationally is very expensive.
  • 06:02And and and, is expensive,
  • 06:04like, to the point of,
  • 06:04like, being prohibitive
  • 06:06when running, for instance, like,
  • 06:08in personal computers. Or even
  • 06:10if you use, like, clusters
  • 06:12and, like, computer clusters, sometimes,
  • 06:13like, the computations could take,
  • 06:14like, weeks or even, like,
  • 06:16months.
  • 06:16Because it's an empirical model,
  • 06:18it it is based, like,
  • 06:19on simulation, so it takes
  • 06:21a long time to run.
  • 06:22And that's when,
  • 06:24it was developed,
  • 06:25the
  • 06:27this,
  • 06:27FASTDMF,
  • 06:28like, toolbox. Because the idea
  • 06:30of, like, this toolbox is
  • 06:31to make this model, like,
  • 06:32more accessible.
  • 06:33That is, like,
  • 06:35to try to base it
  • 06:36on some assumptions
  • 06:38to make the execution of,
  • 06:40like, the model a little
  • 06:41bit, like, faster in a
  • 06:42way that people
  • 06:44in personal computers
  • 06:45can also, like, run and
  • 06:47benefit, you know, like, from
  • 06:48this model. And this is,
  • 06:51what I wanted to show
  • 06:52you
  • 06:53you guys, like, today.
  • 06:56So this is, like, the
  • 06:57paper, you know, like, of,
  • 06:58like, the the fast the
  • 06:59this toolbox paper. If
  • 07:01if you
  • 07:03scroll down,
  • 07:05you will find
  • 07:06the Git,
  • 07:08the GitLab page, you know,
  • 07:09like, for this model. If
  • 07:10you click on this link,
  • 07:11then this other page is
  • 07:13going to open. And this
  • 07:14is basically where,
  • 07:16the code for the model
  • 07:17lives. You can download this
  • 07:19repository. You can look into
  • 07:20the code,
  • 07:22behind, like, the this model.
  • 07:24And and this this code
  • 07:26was meant to be,
  • 07:29broadly accessible. So, basically, the
  • 07:31author,
  • 07:32constructed both MATLAB and Python
  • 07:35implementations
  • 07:36of, like, this code,
  • 07:38so you can use, like,
  • 07:38in both,
  • 07:40softwares.
  • 07:42And now how we are
  • 07:43going to actually, like, use
  • 07:45how we are going to
  • 07:45actually, like, deploy
  • 07:47this this,
  • 07:50this code base. So here,
  • 07:51you will find, like, instructions
  • 07:53and to to define, like,
  • 07:55the environment. And I basically
  • 07:57put all those instructions
  • 07:59for my particular environment in
  • 08:01a script that I'm going
  • 08:03to show you guys.
  • 08:06Yeah. So this script is
  • 08:08to
  • 08:09create a conda environment
  • 08:11for the toolbox and then,
  • 08:13like, to download the toolbox
  • 08:14itself. So at the beginning
  • 08:16of, like, the script, this,
  • 08:18those lines
  • 08:19Yes. I actually will you
  • 08:21will you make this specific,
  • 08:23code available on the
  • 08:25website?
  • 08:27Yes. Every everything that I'm
  • 08:29showing here can can we
  • 08:30can put later.
  • 08:32No problem at all. No
  • 08:33problem.
  • 08:36Yeah. So, basically, the first
  • 08:38lines
  • 08:38of, like, this code
  • 08:40are just,
  • 08:42to set up,
  • 08:43Conda in the cluster. So,
  • 08:45for instance, like, for those
  • 08:46of you who are used
  • 08:47to working on cluster, we
  • 08:49always have, like, to show
  • 08:50to show to load models.
  • 08:52And, like, in this case,
  • 08:53like, we are loading, like,
  • 08:54the mini conda model.
  • 08:56Here is the the command
  • 08:58to actually create the conda
  • 09:00environment that I'm going to
  • 09:01use. So here, I'm
  • 09:03defining, like, the name of,
  • 09:04like, the environment, the pie
  • 09:06Python version, and some packages
  • 09:07here.
  • 09:09This pack I include I
  • 09:10included among these packages
  • 09:12some packages that are not
  • 09:14strictly necessary to running,
  • 09:17the toolbox,
  • 09:18such as, like, spider and
  • 09:20and some, like, plotting,
  • 09:21models, but just this is
  • 09:23just, like, for running,
  • 09:24some functions of, like, my
  • 09:26script.
  • 09:27And there's also some,
  • 09:30some models here that are
  • 09:31necessary for the optimization
  • 09:33scripts of the
  • 09:35of the toolbox.
  • 09:36Then here is just, like,
  • 09:37to activate the kernel environment.
  • 09:40Here is just, like, a
  • 09:41a kind of complicated,
  • 09:44if,
  • 09:45if loop just to download
  • 09:48the repo itself. And, like,
  • 09:49the most important line is
  • 09:50this. The other lines are
  • 09:52just, like, to address, you
  • 09:54know, like, the cases where
  • 09:55the
  • 09:56GitHub repository has already been
  • 09:57downloaded.
  • 09:59But, basically, this this command
  • 10:01is going to download the
  • 10:02the GitLab repository that I
  • 10:03just, like, show in this
  • 10:05repo dir path that is
  • 10:07defined in this line.
  • 10:10Finally, we go into, like,
  • 10:12the this repository,
  • 10:14that was just just downloaded.
  • 10:15And then this is part
  • 10:16of, like, the installation of,
  • 10:18like, the package. So, we
  • 10:19run, like, this Python command,
  • 10:21like, to to install,
  • 10:23the
  • 10:24the the package itself.
  • 10:26Here, there are just, like,
  • 10:28some edits, you know, like,
  • 10:29for the the the Python
  • 10:31script
  • 10:32because,
  • 10:33as I'm using, like, a
  • 10:34kernel environment that I'm not
  • 10:35sure, like, if the outro
  • 10:36also uses, like, an environment,
  • 10:38there can be some, like,
  • 10:39naming mismatches.
  • 10:40So this line just, like,
  • 10:42takes care of this.
  • 10:44So after after I run
  • 10:45this script, I have, like,
  • 10:46a coding environment where I
  • 10:48can run with all the
  • 10:49dependencies necessary to run,
  • 10:52the code base.
  • 10:53And,
  • 10:54to start,
  • 10:55what I what I have
  • 10:56done, for instance, like because
  • 10:57I I like using Spider.
  • 10:59That's why I've been, like,
  • 11:00installed Spider, like, in this
  • 11:02environment, but you can now
  • 11:03use it, like, order platforms
  • 11:05such as, like,
  • 11:07Jupyter Notebooks,
  • 11:09and so on and so
  • 11:10forth. But in this case,
  • 11:11then I would
  • 11:13load
  • 11:16MiniConda.
  • 11:18I would activate
  • 11:20my AMV, and then I
  • 11:22would launch Spider. And then
  • 11:23if I run this command,
  • 11:25then the Spider window would
  • 11:27pop up.
  • 11:29And here, I have,
  • 11:31done, you know, like, some
  • 11:32I have written, like, some
  • 11:34scripts just to show how
  • 11:36this,
  • 11:37this database works.
  • 11:39So our these are just,
  • 11:40like, regular,
  • 11:41Python scripts. Here are the
  • 11:43imports of, like, the the
  • 11:46the script.
  • 11:47These are, like, from import
  • 11:49from the packages that I
  • 11:50I just, like, installed in
  • 11:52my current environment.
  • 11:53And here are imports from
  • 11:55this,
  • 11:57script that I'm going to
  • 11:58all keep through as well,
  • 12:00with, like, functions just to
  • 12:01run,
  • 12:03the tutorial.
  • 12:05So what I wanted you
  • 12:06to start with is, is
  • 12:08just like running a very
  • 12:10simple interaction of, like, the
  • 12:12the pipeline. And and this
  • 12:13simple interaction is even based
  • 12:15on the
  • 12:16they have an example script
  • 12:18here. Let me find it
  • 12:19to you.
  • 12:21Yeah. So, like, this this
  • 12:23script that I'm about to
  • 12:24show is based, like, on
  • 12:25this very,
  • 12:28very initial, you know, like,
  • 12:29simple interaction of, like, this
  • 12:31pipeline.
  • 12:33So the first part I
  • 12:34wanted to show is the
  • 12:35loading of the,
  • 12:37the structural connectivity matrices
  • 12:39because,
  • 12:41Deco Deco's model, the the
  • 12:42dynamic mean field model, is
  • 12:44a neural mass model as
  • 12:45I mentioned like before,
  • 12:47and,
  • 12:48it treats,
  • 12:50the brain regions as connected
  • 12:52by a structural connectivity matrices.
  • 12:55The structural connectivity
  • 12:56matrices is going to determine
  • 12:58how each region interacts with
  • 13:01one another. So for instance,
  • 13:02like, if the connections between,
  • 13:04like, two regions the structural
  • 13:06connections between two regions are
  • 13:08higher, let's say,
  • 13:10there's going to be, like,
  • 13:11a structural embedding in which,
  • 13:13like, the functional activity
  • 13:15of one region can interact
  • 13:16with another and vice versa.
  • 13:19So that's why, you know,
  • 13:19like, the structural connectivity
  • 13:21is important.
  • 13:22And the package itself, it
  • 13:24already provides
  • 13:26this,
  • 13:27structural connectivity matrices
  • 13:29that was, estimated using the
  • 13:32HCP human connectomic project, like,
  • 13:34dataset.
  • 13:35And here is just like
  • 13:36a scriptural load.
  • 13:38This this structural connectivity like
  • 13:40matrices.
  • 13:42So let me show this
  • 13:43object to you.
  • 13:45Just one second.
  • 13:47Yeah.
  • 13:48So here we have
  • 13:51this the structural connectivity matrices,
  • 13:54which shows, like, the connection
  • 13:55between each pair of,
  • 13:57of brain brain regions.
  • 14:00And here you're going to
  • 14:01see that there are a
  • 14:02lot of a lot of,
  • 14:03like, connections
  • 14:04that are,
  • 14:06zero, and that's because, like,
  • 14:08that probably has been thresholded
  • 14:10to only keep the, the
  • 14:12less noisier, the more,
  • 14:14let's say, the more significant,
  • 14:16you know, connections, like, between
  • 14:18brain regions.
  • 14:21What ATLAS did you use
  • 14:22in the specific metrics?
  • 14:24Yes. I think I think,
  • 14:26Helen, for this this,
  • 14:29the the toolbox, they use,
  • 14:30like, the SCAFR
  • 14:31SCAFR ATLAS with, like, one
  • 14:33hundred regions.
  • 14:35But that's not the Atlas
  • 14:36that I'm going to use
  • 14:37for the the except I'm
  • 14:38I'm going to get into
  • 14:39that in one second.
  • 14:41And and just to show
  • 14:43you guys the this matrix,
  • 14:45let me open here.
  • 14:52Yeah. So here here is
  • 14:54just like that,
  • 14:55data frame that I just,
  • 14:56like, showed here, but, like,
  • 14:58in the heat map, like,
  • 14:59format.
  • 15:00So here, as I mentioned,
  • 15:01like, before,
  • 15:02each
  • 15:03row and each column is
  • 15:04just like a region. And
  • 15:05then, like, each cell, each
  • 15:07entry in this matrix is
  • 15:09just like the structural connectivity,
  • 15:11like, between,
  • 15:13between two between two regions.
  • 15:16The brighter
  • 15:17the color, the greater, like,
  • 15:18the strokedraw connectivity.
  • 15:20And as you can see
  • 15:21here, there are a lot
  • 15:22of, like, zeros here because,
  • 15:24as I mentioned, like, before,
  • 15:26probably this has been, like,
  • 15:27thresholded to only include the
  • 15:28the higher,
  • 15:30the the the the higher
  • 15:31connections, like, among, like, pairs
  • 15:33of, like, regions.
  • 15:35And I'm showing like this
  • 15:36because this is an essential
  • 15:38step if you want to
  • 15:39conduct, like, the sort of,
  • 15:40like, analysis. Because, like, for
  • 15:41this analysis,
  • 15:43you want to have
  • 15:45both a structural connectivity, like,
  • 15:47in matrices
  • 15:48and a functional connectivity matrices.
  • 15:50And and and so, basically,
  • 15:52you you need to add
  • 15:53a dataset with both
  • 15:55diffusing and functional,
  • 15:57MRI.
  • 15:58Sometimes, like, people try
  • 16:01to kinda work around this.
  • 16:02But for instance,
  • 16:04I, suppose that I I
  • 16:06only have, like, a functional
  • 16:07MRI,
  • 16:08then I can take,
  • 16:10let's say, like, a consensus,
  • 16:12structural connectivity matrices
  • 16:15from a very
  • 16:16large or well regarded, like,
  • 16:18datasets such as, like, G
  • 16:19HCP. And then, like, people
  • 16:21can use this as if,
  • 16:22like, oh, this was, like,
  • 16:24the true,
  • 16:25like, true connect on. But,
  • 16:27ideally, it would be good
  • 16:29to have, like, both functional
  • 16:30and diffusing
  • 16:33MRI to conduct, like, this
  • 16:34analysis.
  • 16:37And then what I wanted
  • 16:39to quickly show to you
  • 16:40guys as well is because
  • 16:42this this model, as I
  • 16:44mentioned, like, before is based
  • 16:46on a set of, like,
  • 16:47dynamical equations.
  • 16:49And, like, these dynamical equations,
  • 16:51they are going to influence
  • 16:53the behavior of, like, the
  • 16:54neurons of in the dynamic
  • 16:56meaningful model,
  • 16:57and they are also, like,
  • 16:58going to influence the behavior
  • 17:00of, like, the a more
  • 17:01dynamic model.
  • 17:02And then there are, like,
  • 17:03let's put this way, two
  • 17:06bigger classes of, like, parameters
  • 17:08here.
  • 17:08There are some parameters and
  • 17:10some variables that are going
  • 17:11to be, like, predefined because,
  • 17:13like, they have been defined,
  • 17:14like,
  • 17:16empirically
  • 17:16using, like, neurophysiological
  • 17:18data. So you're just going
  • 17:20to need to use the
  • 17:22already, like, provided values.
  • 17:24And the other types of,
  • 17:25like, variables or parameters are
  • 17:27going to be, like, parameters
  • 17:28that are going to be
  • 17:29either estimated
  • 17:31by the optimization procedure or
  • 17:33are going to be, like,
  • 17:34data dependent parameters. These are
  • 17:35the parameters that you are
  • 17:36going to need to actually,
  • 17:38like, input in the model.
  • 17:39One of, like, this is
  • 17:40the structural connectivity matrix that
  • 17:42I just, like, showed you
  • 17:43guys.
  • 17:44But let me just, like,
  • 17:46quickly out walk you through,
  • 17:47like, those, like, parameters.
  • 17:49So these first parameters here
  • 17:51up until
  • 17:54up on up on to
  • 17:57here,
  • 17:58these are going to be,
  • 17:59like, parameters that most of,
  • 18:00like, the time you guys
  • 18:02are not going to change,
  • 18:04because, like, they have been
  • 18:05estimated
  • 18:06by neurophysiological,
  • 18:08like, experiments, like, beforehand. So
  • 18:10you you don't need to
  • 18:11change this. But so for
  • 18:12instance, like, there is the
  • 18:14DT, which is, like, the
  • 18:16the integration
  • 18:17step for the neural
  • 18:19dynamical equations. You also have,
  • 18:21like, the snap gating variables
  • 18:23for the NMDA,
  • 18:24excitatory synopsis, GABA, inhibitory synopsis.
  • 18:27You have, like, the kinetic
  • 18:28parameter,
  • 18:30controlling, like, excitatory activity. You
  • 18:32have, like, a noise parameter.
  • 18:34You have parameters for the
  • 18:35excitatory synaptic,
  • 18:37a coupling,
  • 18:39the external input current for,
  • 18:42for the neurons in each
  • 18:43brain region,
  • 18:44the coupling
  • 18:46from external inputs to the
  • 18:47excitatory population to the inhibitory
  • 18:49population,
  • 18:50local recurrent excitation.
  • 18:53Then here, you have, like,
  • 18:55parameters that are going to
  • 18:56to control how the in
  • 18:59excitatory input transform into the
  • 19:01excitatory, like, freight, such as,
  • 19:03like, the d e that
  • 19:04controls, like, the coverage of,
  • 19:06like, the transfer function, the
  • 19:08IE, which determines the input
  • 19:10current value,
  • 19:13threshold,
  • 19:14after which, you know, like,
  • 19:15the the excitatory is big
  • 19:16we need to increase, like,
  • 19:17more substantially,
  • 19:19and you also have, like,
  • 19:20the the GA scaling parameter.
  • 19:23Then all these, like, transfer
  • 19:24parameters for excitatory,
  • 19:26neurons also have their inhibitory
  • 19:29counterparts.
  • 19:31Then there is these parameters,
  • 19:33and and these parameters are
  • 19:35I'm going to
  • 19:37to talk a little bit,
  • 19:37like, more about them in,
  • 19:39like, in in a moment.
  • 19:40But, basically, they
  • 19:42they allow us
  • 19:44to introduce
  • 19:45regional heterogeneity
  • 19:47in the
  • 19:48excitatory inhibitory activity
  • 19:51across, like, brain regions.
  • 19:53So I think, like, you
  • 19:54guys, like, rep should, like,
  • 19:55remember from Gustavo talk that
  • 19:57he was talking, for instance,
  • 19:58about
  • 20:00the pet atlases,
  • 20:02of, like, neurotransmitters
  • 20:03in which you have, like,
  • 20:05densities of each neurotransmitter,
  • 20:07like, for each region. So
  • 20:09we can use this particular
  • 20:10information
  • 20:12to fine tune for each
  • 20:14region how are going to
  • 20:16be, like, the gain
  • 20:17the gain,
  • 20:18the the
  • 20:20the
  • 20:21the the shape of of
  • 20:23the the the of the
  • 20:25the the the input and
  • 20:26output
  • 20:27functions for excitatory inhibitor like
  • 20:29populations. But this is not
  • 20:31this is not is not
  • 20:32going to be something that
  • 20:33we're going to do today
  • 20:34because this is a little
  • 20:35bit, like, more complex.
  • 20:36And this,
  • 20:38not unlike theoretically, it's more
  • 20:40like complex, but it adds
  • 20:42some
  • 20:43extra, like, optimization parameters that
  • 20:45make, the optimization
  • 20:47procedure a little bit, like,
  • 20:48longer. And we would need
  • 20:50more than one hour here
  • 20:52to much more than one
  • 20:53hour here to finish our
  • 20:54example. But I just want
  • 20:55to reflect that this exists,
  • 20:57and that's a really cool
  • 20:59area,
  • 21:00of,
  • 21:01of research. I'm I'm in
  • 21:02in a moment, I'm going
  • 21:03to show you talk a
  • 21:05little bit, like, more about
  • 21:06this.
  • 21:07And these auto, like, variables
  • 21:09is just like the numerical
  • 21:10integration step for the mod
  • 21:11dynamic model, the balloon width
  • 21:13surveying model.
  • 21:15And in here, right here,
  • 21:17as I mentioned, like, before,
  • 21:18those are, like, the parameters
  • 21:20that you guys are going
  • 21:21to have, like, to worry
  • 21:22about
  • 21:23during either,
  • 21:25the running of, like, the
  • 21:26model or the optimization
  • 21:27of the model. The first
  • 21:29one is the structural connectivity
  • 21:30matrix that I just, like,
  • 21:32showed you guys. The other
  • 21:34one, this is very important.
  • 21:35So, like, this is the
  • 21:36go global coupling parameter.
  • 21:38So this is, like, the
  • 21:39parameter that's going to determine
  • 21:41how much the structural connectivity
  • 21:42is going to influence,
  • 21:44the behavior,
  • 21:46of, like, the neuro populations
  • 21:47of, like, the model. It's
  • 21:49basically like
  • 21:49a a scaling scaling parameter.
  • 21:52And this is a parameter
  • 21:53that we are going to
  • 21:54optimize later on. So here,
  • 21:57we will fine tune this
  • 21:59parameter such that our model
  • 22:01best matches
  • 22:03the the empirical functional connectivity.
  • 22:06Helen, do you have a
  • 22:06question for me? Is the
  • 22:07yeah. What is the u
  • 22:09I also have a question.
  • 22:10What's the initial range? Are
  • 22:11they talking being somewhere around
  • 22:13one? I like
  • 22:15That's great. Want to understand.
  • 22:17If you pick two, is
  • 22:18it very low? Is it
  • 22:19close to maximum? What is
  • 22:21the typical range of this
  • 22:22parameter?
  • 22:23Yes. That's a very good
  • 22:24question, Helen. Usually, it's optimized
  • 22:26between, like, zero to three.
  • 22:28Sometimes, like, people go a
  • 22:30little bit, like, a little
  • 22:31bit, like, over.
  • 22:32In our optimization today,
  • 22:35I'm going to use, like,
  • 22:36the range between, like, two
  • 22:37and three. But but the
  • 22:38only reason I'm going to
  • 22:40use, like, this range is
  • 22:41because I know that the
  • 22:42optimal value is two something
  • 22:44because I'm just, like, using
  • 22:46data from a previous, like,
  • 22:47paper. But if we are
  • 22:49doing this,
  • 22:51let's say, like, for the
  • 22:52first time, we don't have,
  • 22:53like, any idea on where
  • 22:54the optimal value lies. We
  • 22:56should optimize,
  • 22:58between, like, the zero and
  • 22:59three, zero and four,
  • 23:01because that's going to influence
  • 23:03a lot, you know, the
  • 23:04model
  • 23:05performance.
  • 23:06The other one
  • 23:08is, like, this g g
  • 23:09variable, which is also like
  • 23:11Do do you do you
  • 23:11think this parameter could vary
  • 23:13across populations of
  • 23:15people? That's a good question.
  • 23:16I think I think
  • 23:18and I I also think
  • 23:19that
  • 23:21I I am just, like,
  • 23:23blank on the exact paper,
  • 23:24but I think,
  • 23:26there was,
  • 23:27a paper that I sound
  • 23:28like a long time ago,
  • 23:29I think, an Alzheimer paper
  • 23:31in which they were comparing
  • 23:32like this
  • 23:34after because they have, like,
  • 23:35two groups. Like, one of,
  • 23:36like, I was like patients,
  • 23:37like, with Alzheimer's disease and
  • 23:38then one of, like, the
  • 23:39controls. And then they optimize
  • 23:40it like this
  • 23:42this model for both, like,
  • 23:43pictures and e. Yes. And
  • 23:45then they compare, like, these
  • 23:46parameters, like, between, like, the
  • 23:47the the two groups.
  • 23:49So I think that's definitely
  • 23:50something that's only table in,
  • 23:52like, four for analysis.
  • 23:56Yeah. And then just like
  • 23:57this j parameter.
  • 23:58So the thing is,
  • 24:00when because I mentioned, like,
  • 24:02right at the beginning that
  • 24:03in the first interaction of
  • 24:04of this model,
  • 24:06the model only considers consisted
  • 24:08of a single neuronout unit
  • 24:10for each brain region.
  • 24:12But afterwards, like, in the
  • 24:14in the later interaction, that
  • 24:15is the interaction that we
  • 24:16are using right now, each
  • 24:18ring region is now modeled
  • 24:20as a excitatory
  • 24:21neuron out unit in an
  • 24:22inhibitor like neuron out unit.
  • 24:24And the thing is, with
  • 24:26these distinctions,
  • 24:27if we let, let's select
  • 24:28the model run free, sometimes,
  • 24:30like, the the the the
  • 24:32excitatory
  • 24:33rate,
  • 24:34after we fine tune the
  • 24:36model can become a little
  • 24:37bit, like, high and,
  • 24:39not by high to the
  • 24:41point of, like, not being
  • 24:42plausible,
  • 24:43biologically speaking.
  • 24:44So this parameter, it adds
  • 24:47some inhibitory input to the
  • 24:49excitatory
  • 24:50population
  • 24:50such that it
  • 24:52its range of, like, activity
  • 24:54is within, like, a plausible
  • 24:56biological range. And the thing
  • 24:58is, in the original paper,
  • 25:00like, in in this paper,
  • 25:02Gustavo proposed
  • 25:04an
  • 25:05an an algorithm to interactively
  • 25:07fine tune this parameter that
  • 25:09needs to be optimized for
  • 25:10each brain region.
  • 25:12But the thing is the
  • 25:13this algorithm is very precise.
  • 25:15However, it takes a long
  • 25:16time to run. So what
  • 25:18was done, like, in this
  • 25:19toolbox, in the FastDMF, like,
  • 25:21toolbox
  • 25:22was to
  • 25:24basically find an approximation
  • 25:27to this this parameter. So
  • 25:29here, there is, like, this
  • 25:31constant that they derive, like,
  • 25:32in the paper that they
  • 25:33collect alpha, and the value
  • 25:35that they found to be
  • 25:35optimal is zero point seventy
  • 25:38five. Then this two is
  • 25:39just like the g value.
  • 25:42So you take one plus
  • 25:44alpha times the g value.
  • 25:46Then here is the node
  • 25:48connect the strength of, like,
  • 25:50the the structural connectivity matrix
  • 25:52for each brain region. So
  • 25:53this is just like a
  • 25:54a vector. You take
  • 25:56all, the connections between, like,
  • 25:58a single brain region in
  • 25:59our other regions and just
  • 26:00like just like sum. So
  • 26:02that's basically the connection strength.
  • 26:04And then you just, like,
  • 26:05multiply this vector by these,
  • 26:07these scalars, and then you
  • 26:09have, like, a vector of,
  • 26:10like, this g parameter.
  • 26:12And and the advantage of,
  • 26:13like, doing in this in
  • 26:15this way is because, like,
  • 26:16it's much faster,
  • 26:18and, it it has,
  • 26:21a good validity. So it's
  • 26:23it's close
  • 26:24to what
  • 26:25the
  • 26:27the the algorithm
  • 26:28the the precise algorithm would
  • 26:30have, like, estimated.
  • 26:32And the the the final
  • 26:33parameter that you you also
  • 26:34need to to be,
  • 26:36aware of is the repetition
  • 26:38time,
  • 26:39from the functional,
  • 26:42if because this is particular
  • 26:43to each functional
  • 26:45connected, and this is like
  • 26:46the timing interval in which
  • 26:47each fMRI,
  • 26:49volume is acquired.
  • 26:52And the the last parameter
  • 26:54is just,
  • 26:56a memory,
  • 26:57optimization like parameter from the
  • 26:59pipeline itself. I don't think
  • 27:01we we need to
  • 27:05except, like, for very special
  • 27:06situations, I think we can
  • 27:07leave, like, in the default
  • 27:08value of, like, five thousand.
  • 27:10But I I just like
  • 27:12to show, like, it is
  • 27:13huge Python dictionary, but all
  • 27:15of this can be done
  • 27:16just by running this command
  • 27:18from the toolbox.
  • 27:19So if we look
  • 27:21at the parameters,
  • 27:23let's just find it here,
  • 27:25all the parameters that I
  • 27:26defined above are here.
  • 27:29So just by running this,
  • 27:32the single command, we can
  • 27:33get, like, the this, default
  • 27:35parameters, and then we can
  • 27:36fine tune those parameters to
  • 27:37our dataset.
  • 27:39So now let's
  • 27:41let's do,
  • 27:42a simulation using, like, this
  • 27:44this model.
  • 27:47So here,
  • 27:51this is, like, the the
  • 27:52the example I provided in
  • 27:53the GitHub, like, repository.
  • 27:55So here we need to
  • 27:56provide,
  • 27:57the model with, like, the,
  • 27:59the number of, like, integration
  • 28:01steps. That is, like, the
  • 28:02the
  • 28:03the the steps in in
  • 28:04time
  • 28:05in which, like, the the
  • 28:06dynamic equations are going to
  • 28:08be updated, like, in the
  • 28:09model. And the way that
  • 28:10we can do this calculation
  • 28:12is just we we take
  • 28:13the number of, like, both
  • 28:14volumes that is, like, if
  • 28:16you have, let's say, like,
  • 28:17an fMRI dataset, you need
  • 28:18to see,
  • 28:19the time points that,
  • 28:21in which, like, data was
  • 28:22collected, you know, like, the
  • 28:23the number of, like, volumes
  • 28:24collected.
  • 28:25Then you take, like, the
  • 28:26the t r that is,
  • 28:27like, the the interval between
  • 28:29those,
  • 28:33between the each volume is
  • 28:35collected.
  • 28:35And then you just, like,
  • 28:37divide by the the the
  • 28:41the integration step of, like,
  • 28:43the the
  • 28:44the model
  • 28:46because this is, like, in
  • 28:47in seconds.
  • 28:49And
  • 28:50then after running this, you
  • 28:52have, like, the number of,
  • 28:53like, the steps in which
  • 28:55the model is going to
  • 28:56be,
  • 28:58updated.
  • 28:59And this is, like, the
  • 29:01the main command
  • 29:02to simulate the model. So,
  • 29:04basically, what you need to
  • 29:05provide is model parameters
  • 29:07that is, like, that huge,
  • 29:08like, diction dictionary, like, with
  • 29:10all the parameters defined.
  • 29:12And the other is the
  • 29:13number of steps,
  • 29:16for the the
  • 29:18the integration of the the
  • 29:20dynamic log equations.
  • 29:21And we can just, like,
  • 29:23run.
  • 29:24And and that's not going
  • 29:25to take
  • 29:26too long. If we were
  • 29:28not using, like, the optimizations
  • 29:30from this package,
  • 29:32that could take
  • 29:33much,
  • 29:34much longer,
  • 29:37Shuron. And and that's what
  • 29:38was a little bit, like,
  • 29:40prohibitive.
  • 29:40Prohibitive
  • 29:42when you're
  • 29:43using, for instance,
  • 29:44personal computers
  • 29:46or,
  • 29:47yeah, when you have when
  • 29:48you don't have, like, a
  • 29:49huge computational
  • 29:52capacity.
  • 29:54And,
  • 29:57let's just hit finish.
  • 30:01And the idea here is
  • 30:03that, like, the model is
  • 30:04just going to provide,
  • 30:06a simulated bolt time series.
  • 30:08So for instance,
  • 30:09like, if you
  • 30:11have it just, like, finish
  • 30:12it. So if you have,
  • 30:16empirical,
  • 30:17functional MRI data, you also
  • 30:19have, like, this bolt time
  • 30:21series that is, like, for
  • 30:22each voxel or each vertex
  • 30:24in the in the brain.
  • 30:25You have, like, a time
  • 30:26series,
  • 30:28corresponding to the, let's say,
  • 30:29like, to the activity activation
  • 30:31of of of this work,
  • 30:33this
  • 30:34Voxel over vertex across, like,
  • 30:36time. And this is the
  • 30:37exact thing that this is
  • 30:38going to
  • 30:40here, they suggest this,
  • 30:42post processing
  • 30:44in which they are going
  • 30:45to, like, then pass filter.
  • 30:46And the reason is just,
  • 30:47like, to cap,
  • 30:49the frequencies of, like, the
  • 30:50simulated both time series with,
  • 30:52like, a frequency range because,
  • 30:54like, this frequency range,
  • 30:56it's like to put an
  • 30:57envelope
  • 30:57on the signal.
  • 30:59Because, like, this frequency range
  • 31:00would be like the range
  • 31:01of, like, more in which,
  • 31:03like, the both signal is
  • 31:03more interpretable, is not very
  • 31:05influenced by
  • 31:07noise or a scanner drift,
  • 31:10and then we can apply,
  • 31:12it here.
  • 31:13And the last thing is
  • 31:15after we do, like, this
  • 31:17this
  • 31:17bold filtering, sometimes, like, the
  • 31:19beginning and end of, like,
  • 31:21the signal can have some
  • 31:23artifacts.
  • 31:23So that's why we remove,
  • 31:26this,
  • 31:27under the beginning and and,
  • 31:28like, the end.
  • 31:30And with, like, this bold
  • 31:31time series, we can compute
  • 31:33what, I feel like everyone
  • 31:35is is usually to seeing,
  • 31:37which is, like, the functional
  • 31:38connectivity. But here is the
  • 31:40functional connectivity that is simulated.
  • 31:42That is, like, it's not
  • 31:43empirical. We derive this completely,
  • 31:47using,
  • 31:49the model
  • 31:50heuristics. The only,
  • 31:52data piece that we use
  • 31:53it was, like, the structural
  • 31:54connectivity matrices.
  • 31:56And here, let me show
  • 31:58each of you.
  • 31:59So here is
  • 32:01the simulated functional connectivity. And
  • 32:03one thing that I wanted,
  • 32:04like, to for for you
  • 32:05to note is this, that
  • 32:07this this matrix is this
  • 32:09matrix has a lot of,
  • 32:11like, connections
  • 32:12that are,
  • 32:13that have,
  • 32:15a a lot of, like,
  • 32:16high functional
  • 32:17connectivity
  • 32:18between, like, pairs of, like,
  • 32:19regions. And that's because we
  • 32:21ended up using, like,
  • 32:25a number of, like, integration
  • 32:27steps that are a little
  • 32:28bit, like, reduced
  • 32:29just for us to run
  • 32:31this,
  • 32:32faster and within
  • 32:34to be able, like, to
  • 32:34run all the examples with,
  • 32:36like, a one hour,
  • 32:38one hour, like, period.
  • 32:40But if we use it,
  • 32:41like, more more time steps,
  • 32:43you know, like, close to
  • 32:45what an actual functional MRI
  • 32:47would have used it, then
  • 32:48this would probably,
  • 32:50not look at so,
  • 32:53with with so many high
  • 32:54functional connectivity, like, relations.
  • 32:57But the thing is, so
  • 32:59far, we have done,
  • 33:01we have,
  • 33:02only,
  • 33:04use, like, the model.
  • 33:07We just, like, run the
  • 33:08model, but, like, with no
  • 33:09data
  • 33:10and then,
  • 33:11basically, nothing. Right? But on
  • 33:14many on many occasions, we
  • 33:15actually
  • 33:16have data, and we actually,
  • 33:19as Helen, like, mentioned, like
  • 33:20before, oh,
  • 33:22what we can use, like,
  • 33:23this parameter for. Because the
  • 33:24the thing is if we
  • 33:26have let's say, like, suppose
  • 33:27that we have functional MRI
  • 33:29data collected,
  • 33:30we can, as many people
  • 33:32do, and that's very useful,
  • 33:34to compare groups, let's say,
  • 33:35like, in functional connectivity
  • 33:37to see, like, connections that
  • 33:39are either, like, increased or
  • 33:40decreased in in one group
  • 33:42compared, like, to the other
  • 33:43or maybe, like, to correlate
  • 33:45these, connectivities,
  • 33:47to order, let's say, like,
  • 33:48behavior dataset.
  • 33:49But the cool thing about,
  • 33:50like, those approaches is that
  • 33:52you can do some sort
  • 33:53of, like, reverse engineering, like,
  • 33:55questions. So for instance, like,
  • 33:56you have this functional connectivity
  • 33:58and even less like you
  • 33:59have these differences, like, in
  • 34:01functional connectivity between group. But
  • 34:03what are, like, the neural
  • 34:05underpinnings of, like, those differences
  • 34:07that that is, like,
  • 34:08what, like, neurophysiological
  • 34:11parameters
  • 34:12could be altered
  • 34:13to cause this particular,
  • 34:16functional connectivity or this particular
  • 34:18functional connectivity alteration. So that's
  • 34:20that's
  • 34:21a a whole,
  • 34:23field where this,
  • 34:25this kind of, like, model
  • 34:26can be used. So here,
  • 34:27I'm going to actually use
  • 34:29data, and this this data
  • 34:31comes from this other paper
  • 34:33that they're also
  • 34:35publishing. And this paper is
  • 34:37is really cool. It's a
  • 34:38little bit, like, more complex
  • 34:39than what we are going
  • 34:40to do because this paper,
  • 34:41as I as I mentioned
  • 34:42before, it uses,
  • 34:45it defines those
  • 34:48defines those receptor
  • 34:52values for each region. But
  • 34:53here, instead of, like, using
  • 34:55the using, like, PET data,
  • 34:56they use, like, gene expression
  • 34:57data from the Allen human
  • 34:58brain atlas.
  • 34:59And then they found that
  • 35:01by modulating
  • 35:02these, like, receptor like densities,
  • 35:05the the model better predicts,
  • 35:07like, fMRI,
  • 35:09dynamics.
  • 35:10And all all the the
  • 35:12most of, like, the data
  • 35:14and the the code used,
  • 35:15like, for this paper is
  • 35:16publicly available in the GitHub
  • 35:18repository.
  • 35:19So if you go and
  • 35:21click on this link, what's
  • 35:22going to open is this
  • 35:23GitHub here. And this GitHub
  • 35:26has taught me a lot
  • 35:27of things. It has a
  • 35:29lot of, like, interesting,
  • 35:31interesting code, with, like, the
  • 35:33model optimization. So I I
  • 35:35really
  • 35:35recommend, for anyone, like, interested,
  • 35:37like, to look into into
  • 35:39this.
  • 35:41And
  • 35:42what I what I have
  • 35:43done, I basically downloaded
  • 35:44this input dataset
  • 35:47for our,
  • 35:48example today. And this input
  • 35:50dataset, what I wanted to
  • 35:51highlight is is that it
  • 35:52includes, like, two things.
  • 35:54More than two things, but
  • 35:55two things that I wanted
  • 35:56to flag. One is the
  • 35:58time series, the group average
  • 35:59like time not not the
  • 36:01group average. Sorry. The time
  • 36:02series for each person in
  • 36:04the desiccant Kilian like perseletion.
  • 36:07And another thing, it also
  • 36:08has the structural connectivity
  • 36:10in the desiccant Kiliani percolation,
  • 36:12which is like the percolation
  • 36:13that is used,
  • 36:15mostly, like, in in in
  • 36:17for software. It has also,
  • 36:18like, other, like, datasets that
  • 36:20were used, like, in the
  • 36:21paper.
  • 36:22But with this dataset, so
  • 36:24we I we can
  • 36:26load, for instance, like, the
  • 36:27structural
  • 36:28connectivity matrix here.
  • 36:32Here, I'm just like the
  • 36:33the selection here is just
  • 36:34like because this structural connectivity
  • 36:36matrix includes, like, both core
  • 36:37points and core regions. And
  • 36:39here, I'm just, like,
  • 36:40striping away the the sub
  • 36:42core regions.
  • 36:43And,
  • 36:45the here, this is a
  • 36:46a scaling that usually is
  • 36:47usually usually done, and that's
  • 36:50very important because then the
  • 36:52the the the the connection
  • 36:53values
  • 36:55within the the structural connectivity
  • 36:57matrix will be, like, model
  • 36:58compatible.
  • 37:00So we are had we
  • 37:02already have, like, one ingredient
  • 37:03for our recipe, right, which
  • 37:05is, like, the structural connectivity
  • 37:06matrix.
  • 37:07Now I'm going to also,
  • 37:08like, load,
  • 37:10the time series.
  • 37:12And here,
  • 37:14just, like, some parameters. So
  • 37:15this is the number of,
  • 37:16like, regions of, like, the
  • 37:17desiccant gynae perseulation.
  • 37:19This is how many subjects
  • 37:20were included, like, in this
  • 37:22in this study, in in
  • 37:23in our content, like, in
  • 37:24this,
  • 37:26in this, like, time series
  • 37:27object.
  • 37:28And the t max is
  • 37:29just, like, the number of,
  • 37:30like, volumes of, like, the
  • 37:32the,
  • 37:33the functional MRI dataset.
  • 37:36So
  • 37:37if we
  • 37:39run
  • 37:40everything,
  • 37:42the idea here
  • 37:44is just to compute
  • 37:46the group average,
  • 37:47functional connectivity
  • 37:49like matrices
  • 37:50because this is going to
  • 37:52be, let's say, or go.
  • 37:54We want our model to
  • 37:56capture the most at
  • 37:58the most possible,
  • 38:00this functional
  • 38:01this empirical, like, functional connectivity
  • 38:03matrix. Because the idea is
  • 38:05we're going to make a
  • 38:06model that is able, like,
  • 38:07to reproduce
  • 38:08this functional
  • 38:09connectivity matrix this empirical functional
  • 38:11connectivity matrix.
  • 38:13And then we are going
  • 38:14to look
  • 38:15into the model parameters
  • 38:17to see,
  • 38:19to try to to gauge
  • 38:20I mean, gauge some understanding
  • 38:22in the underlying neurophysiology
  • 38:24behind,
  • 38:26that is is giving rise
  • 38:28to the to the
  • 38:29simulated functional connectivity.
  • 38:32So So as I mentioned,
  • 38:33like, before here, we we
  • 38:35can use most of, like,
  • 38:37the parameters,
  • 38:38the default parameters of, like,
  • 38:39that dictionary,
  • 38:40but we will need to
  • 38:42change the parameters that are
  • 38:43particular to our dataset. So,
  • 38:45for instance, like, here, since
  • 38:46we're going to use the
  • 38:48designated postulation and the the
  • 38:51default parameter use another postulation,
  • 38:53we need to change the
  • 38:54sucral connectivity matrices. And, also,
  • 38:56we want to use the
  • 38:58sucral connectivity matrices
  • 38:59of our subject. So this
  • 39:01is what we have, like,
  • 39:02just done here.
  • 39:03The other thing is that,
  • 39:04like, each dataset, each functional
  • 39:06dataset has its own repetition
  • 39:08time. So, like, the repetition
  • 39:09time is not the same
  • 39:11as,
  • 39:12provide, like, in the in
  • 39:13the default parameters. So we
  • 39:14also, like, need to change
  • 39:15that.
  • 39:17And another thing
  • 39:18is that we need to
  • 39:20define the number of, like,
  • 39:22steps integration steps, like, for
  • 39:23the model. And the correct
  • 39:25way to do this would
  • 39:26be, like, in the example
  • 39:27above, which will be something
  • 39:28like this. But that's going
  • 39:30to give a
  • 39:32a a a huge number
  • 39:33of, like, steps. I can
  • 39:34even, like, show
  • 39:39it's going to give, yeah,
  • 39:40this this number of, like,
  • 39:41steps is going to make,
  • 39:43like, the the simulation take
  • 39:44a little bit, like, longer.
  • 39:45So that's why I simplified
  • 39:46a little bit, like and,
  • 39:48kinda like twenty five percent
  • 39:50of, like, these these steps.
  • 39:52Now,
  • 39:53if you guys read the
  • 39:54paper, the paper is going
  • 39:55to mention that,
  • 39:59oh, even before that. So
  • 40:00what what is the next
  • 40:02step here?
  • 40:04Now we need to optimize
  • 40:06the g, the go global
  • 40:07scaling like parameter.
  • 40:09So
  • 40:09here
  • 40:11and this is what Helen
  • 40:12asked like before. So here,
  • 40:14g comes fixed.
  • 40:15Here, we use it,
  • 40:17a fixed g that g
  • 40:18with, like, value of, like,
  • 40:19two to run this example.
  • 40:21But the thing is,
  • 40:22this is a parameter that
  • 40:24we can vary,
  • 40:25as long as it is
  • 40:26within a particular range that
  • 40:28has, like like, like, between
  • 40:30zero three, zero four, up
  • 40:31up into, like, maybe, like,
  • 40:32five.
  • 40:34And then we can we
  • 40:35can,
  • 40:37we can fine tune this
  • 40:38parameter
  • 40:39to see the optimal value.
  • 40:41That is, like, the value
  • 40:43for each or simulated functional
  • 40:45connectivity will most approximate the
  • 40:47empirical functional connectivity.
  • 40:49And the thing is, a
  • 40:51lot of, like, earlier papers
  • 40:52would do this using, like,
  • 40:54a grid search approach. So,
  • 40:55for instance, like, suppose that
  • 40:56we want to optimize
  • 40:58using, like, a range between,
  • 40:59like, zero and three. So
  • 41:00what I could do is
  • 41:01I take, like, v value
  • 41:03less, like, zero point one,
  • 41:05and then I run the
  • 41:06model and see,
  • 41:08and I see the performance,
  • 41:09then zero point two, then
  • 41:10zero point three, then zero
  • 41:12point four. The problem is
  • 41:13that that's going to take
  • 41:14a long time.
  • 41:15And and the other thing
  • 41:16is that, for instance, like,
  • 41:17if you want to optimize
  • 41:19more parameters, so, for instance,
  • 41:20like, if you if you
  • 41:21want to use,
  • 41:23these regional gain parameters,
  • 41:25for let's say, like, for
  • 41:26each receptor, that will take
  • 41:28up, you know, a lot
  • 41:29of, like, parameters. And then
  • 41:30if you use, like, bridge
  • 41:31search, that's going to take
  • 41:32forever.
  • 41:33So what most recent papers
  • 41:34have done, and this was
  • 41:35even, like, done in the
  • 41:36fast DMF, is instead of,
  • 41:38like, using, like, grid search,
  • 41:39we are going to use,
  • 41:40like, an optimization algorithm.
  • 41:42The optimization algorithm
  • 41:44used by the paper, I
  • 41:45think it was, like, a
  • 41:46base one Bayesian one.
  • 41:48Here, I'm going to use
  • 41:49another one. This this this
  • 41:51optimization algorithm is provided by
  • 41:53this package called Optuna, which
  • 41:55I think is really good
  • 41:57for optimization problems. So they
  • 41:59offer they have a lot
  • 42:01of, like, different, optimization
  • 42:03algorithms.
  • 42:04The ones the one that
  • 42:05I'm using right now, I
  • 42:06think it's the,
  • 42:07the full one for them,
  • 42:08which is the three person
  • 42:10estimator,
  • 42:11but they have, like, other
  • 42:12ones. And and the idea
  • 42:14here is that they are
  • 42:15going to you are going
  • 42:16to provide a range for
  • 42:18for the parameter space, which,
  • 42:19in this case, would be
  • 42:20like the g parameter. So,
  • 42:21like, the parameter space would
  • 42:22be between, like, two and
  • 42:24three. And then it is
  • 42:25going to sample this parameter
  • 42:27space, but the sample is
  • 42:28not going to be, let's
  • 42:29say, like, random
  • 42:31or just going to, like,
  • 42:32fix the points. It's it's
  • 42:33going to to find the
  • 42:35regions of, like, the space
  • 42:37in which the per model
  • 42:38performance is,
  • 42:40higher, and then it's going
  • 42:42to oversample
  • 42:43these regions in which, like,
  • 42:44performance is higher, and it's
  • 42:46going to under sample the
  • 42:47regions,
  • 42:48in which, like, perform performance
  • 42:50is not that good.
  • 42:52So, basically, it's really trying
  • 42:54to find
  • 42:55you're really,
  • 42:56trying to explore,
  • 42:58the the the the parameter
  • 43:00space where performance is optimal.
  • 43:03And here, the this function,
  • 43:05I is I just, like,
  • 43:07define
  • 43:07it here
  • 43:09in the.
  • 43:11Yeah. So this is, like,
  • 43:12the the objective function that
  • 43:14the model is going to
  • 43:15try to,
  • 43:17to optimize. So the first
  • 43:18part of, like, this function
  • 43:19is just like, this is
  • 43:21an an an Optuna
  • 43:23function. So, basically, it's going
  • 43:25to to suggest,
  • 43:28a value for that parameter,
  • 43:29and then you are going
  • 43:30just like to give, like,
  • 43:31the parameter range.
  • 43:34Then you were going to
  • 43:35update, like, the parameters using,
  • 43:37like, this this this,
  • 43:39the g that was suggested
  • 43:41by Optune.
  • 43:42Then as I mentioned, like,
  • 43:44before,
  • 43:44the g parameter,
  • 43:46the feedback inhibition, like, for
  • 43:48parameter, it it depends on
  • 43:49g. So it needs to
  • 43:50be updated depending on, like,
  • 43:52the g that is being
  • 43:53tested in in a particular
  • 43:54trial.
  • 43:55Then it's going to run
  • 43:56a simulation,
  • 43:58and this running of, like,
  • 43:59simulation is pretty much like,
  • 44:02the simulation that I showed
  • 44:03you guys, like, before in
  • 44:04the example. It's going to
  • 44:06use the DMF package, like,
  • 44:07to simulate
  • 44:09both signal, and then it's
  • 44:10going
  • 44:11to
  • 44:13to correlate,
  • 44:15the the the
  • 44:18the the both signal to
  • 44:19estimate the functional connectivity.
  • 44:20The only thing is that
  • 44:21that's going to be run
  • 44:23across
  • 44:25across several subjects. So that
  • 44:26that that this that would
  • 44:27like several interactions.
  • 44:29And, ideally,
  • 44:31the number of, like, subjects
  • 44:32that is, like, the number
  • 44:33of interactions should match the
  • 44:35number of subjects, like, in
  • 44:36your dataset. So so suppose
  • 44:38that you have, let's say,
  • 44:40as in this paper, three
  • 44:41hundred eighty nine subjects, then,
  • 44:43ideally, your any subjects should
  • 44:45also be,
  • 44:47three hundred eighty nine because
  • 44:48you want to replicate your
  • 44:49empirical data. Now I'm not
  • 44:51doing this. I'm just, like,
  • 44:52using subs like ten just
  • 44:54to make it run faster.
  • 44:56But here, there is, like,
  • 44:57a a parallelization
  • 44:59script so that it run
  • 45:00runs faster. But if I
  • 45:01use, like, almost, like, four
  • 45:03hundred, like, subjects, it would
  • 45:04still take a little bit,
  • 45:05like, longer.
  • 45:06And finally, it's just going
  • 45:08to compute,
  • 45:11the mean functional connectivity across,
  • 45:13like, all simulations, and then
  • 45:15it's going to compute
  • 45:16the feet between the empirical
  • 45:19and the simulated functional connectivity
  • 45:21using, like, this,
  • 45:23this function here, which is
  • 45:25basically the correlation,
  • 45:28between, like, the two functional
  • 45:29connectivities.
  • 45:31And then each interaction of,
  • 45:33like, is going to run
  • 45:35this objective function, and then
  • 45:37it's going to keep running
  • 45:38until,
  • 45:40a particular,
  • 45:42let's say, like, a point
  • 45:43is achieved.
  • 45:44And
  • 45:45for my optimization
  • 45:47framework here, the the the
  • 45:49the limit is just like
  • 45:50the number of trials, which
  • 45:52I set to five.
  • 45:54And I just want to
  • 45:55also, like, mention that five,
  • 45:58of course, is not,
  • 46:00enough, like, number of, like,
  • 46:02interactions.
  • 46:03Ideally,
  • 46:04we would need,
  • 46:06maybe, like, five hundred, like,
  • 46:08one thousand, but this is
  • 46:09just, like, for this this
  • 46:10example.
  • 46:12So let me run and
  • 46:14see if I can show
  • 46:15you guys because it's really
  • 46:16I really like Optune because
  • 46:18it's very,
  • 46:20how can I put that,
  • 46:21very intuitive?
  • 46:23And,
  • 46:24they also have a lot
  • 46:25of, like, diagnostic plots,
  • 46:28and the log messages are
  • 46:29also really,
  • 46:31really good.
  • 46:34Let's see if it shows
  • 46:36up here.
  • 46:38And while this this is
  • 46:40running,
  • 46:41just some, like, side comments
  • 46:42here.
  • 46:44This is just like a
  • 46:44definition of, like, seed,
  • 46:46that we provide, like, to
  • 46:48the sampler, which is going
  • 46:49to to define, like, which
  • 46:51which values
  • 46:52are going to be,
  • 46:53taken, you know, like, for
  • 46:54the variable that is being,
  • 46:55like, optimized,
  • 46:57which in this case, like,
  • 46:58would be, like, g.
  • 46:59And and we provide, like,
  • 47:01the seed just, like, for
  • 47:02it to be deterministic.
  • 47:03One thing that is important
  • 47:05to mention is that
  • 47:06Optima is able to run,
  • 47:09the optimization, like, in parallel.
  • 47:10So for instance, like, instead
  • 47:12of, like, running sequentially,
  • 47:13each one of, like, the
  • 47:14trials, Optima can run all
  • 47:16the trials, like, in parallel.
  • 47:18The problem oh oh, wait.
  • 47:19Yeah. Let me just, like,
  • 47:21stop to show you guys
  • 47:22this. So you see so
  • 47:24this was the first trial
  • 47:26that Optune tried. So here,
  • 47:28Optune selected this value of,
  • 47:29like, g. You see two
  • 47:31point six nine, which is
  • 47:32within the range that I
  • 47:34set up here.
  • 47:35And then it found that
  • 47:37the performance
  • 47:38of, like, the model with,
  • 47:39like, this particular value of
  • 47:41g was this. That is,
  • 47:42like, the correlation between the
  • 47:44simulated functional connectivity and the
  • 47:46empirical functional connectivity was this
  • 47:48one. And then it prints
  • 47:50this message,
  • 47:51best is trial zero with
  • 47:52value. Now suppose that the
  • 47:54next trial gets, like, a
  • 47:55better performance, then the next
  • 47:57trial is going to be,
  • 47:58like, the best best trial.
  • 47:59And then it's it will
  • 48:01keep doing this. So what
  • 48:03I was saying before is
  • 48:04that, for instance, like, what
  • 48:05we can do is
  • 48:06we can,
  • 48:08run this in parallel. So
  • 48:10here, the trials are running
  • 48:11sequentially, but we could have,
  • 48:13like, run this, like, in
  • 48:14parallel. The problem is that
  • 48:16if we run-in parallel,
  • 48:18they are they become, like,
  • 48:19nondeterministic.
  • 48:21That is,
  • 48:24if even if we define
  • 48:25a a seed, if we
  • 48:27if we do, like, two
  • 48:28parallel runs, like, with the
  • 48:30same arguments, they can yield,
  • 48:31like, different values.
  • 48:35Yeah. You see? So and
  • 48:36then then this is, like,
  • 48:36the second trial.
  • 48:39But the the trial,
  • 48:41Oktuna tried another g, and
  • 48:43it got, like, a pretty
  • 48:44close
  • 48:45estimate,
  • 48:47but it's kinda
  • 48:49still very close, like, to
  • 48:50the first one.
  • 48:52And and it's going to
  • 48:54keep doing this until five
  • 48:56are five trials are achieved.
  • 49:00Yeah. And and the other
  • 49:01things that I wanna like
  • 49:02to mention is is that,
  • 49:04for instance,
  • 49:06even in in this this
  • 49:07study,
  • 49:08that I mentioned, like, before,
  • 49:10that could not only optimize
  • 49:12it, like, the functional connectivity,
  • 49:14but also, like, the functional
  • 49:15connectivity,
  • 49:16dynamics.
  • 49:17And,
  • 49:19this can also, like, be
  • 49:20done here. So, for instance,
  • 49:21like, you can
  • 49:22you can define objective function
  • 49:25that that has, like, two,
  • 49:28two parameters,
  • 49:29two,
  • 49:31performance indexes
  • 49:32being optimized.
  • 49:33And then,
  • 49:35you you can use, like,
  • 49:36both, and and then you
  • 49:37can just, like, set the
  • 49:38direction, like, like, to maximize
  • 49:40one or maximize
  • 49:42and minimize the other or
  • 49:43maximize both or minimize both.
  • 49:45So it's very,
  • 49:48very,
  • 49:52flexible.
  • 49:55And just, like, because of
  • 49:56time, I think I run
  • 49:58run this, so I should
  • 50:00have
  • 50:02the
  • 50:03best g.
  • 50:04Yeah. So for instance, like,
  • 50:05after, like, running, like, this
  • 50:07this
  • 50:08the the
  • 50:09the Optune,
  • 50:11it's going to find the
  • 50:12best g that is, like,
  • 50:13the best parameter that I
  • 50:14was trying, like, to optimize
  • 50:15and also, like, the best,
  • 50:18the best performance value, which
  • 50:20in this case would be,
  • 50:20like, the correlation between the
  • 50:22functional the the the simulated
  • 50:23and we call functional connectivity,
  • 50:25which is zero point,
  • 50:28sixty seven.
  • 50:29And then after I I
  • 50:31do this, this is, like,
  • 50:32the
  • 50:33the I select the
  • 50:35nicest part because so after
  • 50:37I run this, I have,
  • 50:38like, the optimal parameter. That
  • 50:40is, like, I have, like,
  • 50:40the perimeter
  • 50:41that if I used to
  • 50:43run the DMF model,
  • 50:45that model is going to
  • 50:46yield the functional connectivity that's
  • 50:48most closer related to my,
  • 50:52to my data. So
  • 50:54I can just
  • 50:55take then,
  • 50:56this
  • 50:57best g that is, like,
  • 50:58the the the best,
  • 51:01the best parameter. And then
  • 51:03I can just, like, use
  • 51:04it to run the model
  • 51:06just as I run during
  • 51:07the optimization procedure
  • 51:10and
  • 51:12run this.
  • 51:25Because this is running exactly
  • 51:27like it was run
  • 51:29for the the optimization, like,
  • 51:31step.
  • 51:33It's just taking a little
  • 51:34bit
  • 51:35of time.
  • 52:04Let's finish it.
  • 52:07Yeah. So now I I
  • 52:08have two things. I have,
  • 52:10like, my
  • 52:11empirical functional connectivity,
  • 52:13and I I have
  • 52:15the optimal,
  • 52:16as estimated by the model,
  • 52:18the optimal,
  • 52:19functional simulated functional connectivity. And
  • 52:21then I can even
  • 52:23see them
  • 52:24side by side.
  • 52:26Oh, let me just
  • 52:27oh, yeah. Here.
  • 52:29So as you can see,
  • 52:30here we have, like, the
  • 52:31empirical functional connectivity on the
  • 52:33left. And then on the
  • 52:34right, we have, like, the
  • 52:35functional connectivity estimated by the
  • 52:37model. So this is really
  • 52:38nice. Right? Because like the
  • 52:39patterns are very similar just
  • 52:41in terms it is different.
  • 52:42Right? Yes. Yes. But but
  • 52:44that's very good that you
  • 52:45might Because because you did
  • 52:46not have enough steps.
  • 52:48Yeah. No. Yes. This is
  • 52:50totally because because for instance,
  • 52:51like, even
  • 52:52I think the paper.
  • 52:55Just one second.
  • 52:57Oh my god. How can
  • 52:58I
  • 53:08I think they have a
  • 53:09picture here?
  • 53:17You see? So for instance,
  • 53:18like, in this picture on
  • 53:19the left
  • 53:20here
  • 53:21is the empirical one.
  • 53:23And the right one the
  • 53:24strong. And so it then
  • 53:25intensity
  • 53:26is stronger.
  • 53:27Yes. Yes. But but but
  • 53:29even even so, I feel
  • 53:30like there they were, you
  • 53:32know, very similar. You know?
  • 53:34And and but the thing
  • 53:35is here is just not
  • 53:37that similar because I made
  • 53:38a lot of, like, simplification.
  • 53:40So I use, like, ten
  • 53:41subjects instead of, like,
  • 53:43three hundred eighty nine. I
  • 53:44use it the a a
  • 53:46a a fewer number of,
  • 53:47like, integration stamps. So all
  • 53:49of this contributes
  • 53:51to,
  • 53:53to to this, let's say,
  • 53:54like, intensity mismatch. But if
  • 53:56we look, for instance I
  • 53:57almost I almost wonder I
  • 53:59almost wonder if,
  • 54:00there is a reason, you
  • 54:02know, to to to change
  • 54:03and adjust this noise parameter
  • 54:05that you find in the
  • 54:06very beginning because that could
  • 54:07reduce your sentence itself?
  • 54:10Yes. Yes. Yes. Right? Yes.
  • 54:12Yes. I I completely agree.
  • 54:14So for instance, like, in
  • 54:15this paper,
  • 54:16they don't use
  • 54:17the the
  • 54:19this,
  • 54:20feedback inhibition parameter simplification.
  • 54:23They actually compute this,
  • 54:25and but that increase time
  • 54:27a lot. But even even
  • 54:29like in the simplification,
  • 54:31look, the correlation between the
  • 54:33two
  • 54:34is is not not bad.
  • 54:37I mean, like,
  • 54:39and and and that's the
  • 54:40cool stuff because, like, for
  • 54:41instance, if you only have
  • 54:42the empirical functional connectivity, that's
  • 54:44it. That's what you have.
  • 54:46But if you have, like,
  • 54:47the simulated functional connectivity, you
  • 54:49have, like, a model
  • 54:50full of, like, parameters such
  • 54:52as, like, the fine rates
  • 54:53that you can use to
  • 54:54compute excitation inhibition ratio.
  • 54:57You can have, like, the
  • 54:58g parameter, the go global
  • 55:00coupling parameter that you can
  • 55:01use, you know, like, to
  • 55:02probe
  • 55:03what is, like, the
  • 55:05neuron
  • 55:06mechanisms, you know, like, underlying
  • 55:08that particular functional connectivity. So
  • 55:10that's why it's very
  • 55:12rich.
  • 55:13And you can see the
  • 55:14same pattern here. Right? So
  • 55:15it it feels like,
  • 55:18stronger connections
  • 55:19are over
  • 55:20It's too much.
  • 55:22Yes. Yes. Yes. That yes.
  • 55:24Yes. If if you kind
  • 55:25of cut off the stronger
  • 55:26connection,
  • 55:28things are really really close
  • 55:29to what you're trying to
  • 55:30do. Right? Yeah. Yeah. Yeah.
  • 55:31Most most This is uneven
  • 55:33bias.
  • 55:34Yeah. Because do you hear
  • 55:35there is another paper that
  • 55:37happened exactly this animation, Helen.
  • 55:39There was the number of,
  • 55:41like,
  • 55:42high connections was a little
  • 55:44bit, like, overestimated,
  • 55:45like, in the
  • 55:47in the model. But this
  • 55:48is the thing. Like, it's
  • 55:49very
  • 55:50I feel like the the
  • 55:51overall pattern is captured,
  • 55:53by by by the model.
  • 55:55The the if if if
  • 55:56you know that this is
  • 55:57the bias that there is
  • 55:58overestimation
  • 56:00of stronger connections,
  • 56:02You can just,
  • 56:03you
  • 56:04know, use it when interpreting
  • 56:06results.
  • 56:08Yes. Yes. Yeah. So I
  • 56:09think The weaker weaker connections,
  • 56:11it seems to be less
  • 56:12biased.
  • 56:14Yeah. Yeah. And,
  • 56:15I think it's it's nice
  • 56:17because there are other
  • 56:19of course, there are other
  • 56:20neural mass models, but one
  • 56:22thing that I particularly like
  • 56:23about DECO's model, Gustavo's model,
  • 56:25is because, like, all the
  • 56:27parameters here,
  • 56:28they are biologically
  • 56:30grounded.
  • 56:31So they have, let's say,
  • 56:32like, a biological meaning that
  • 56:34we can use, that we
  • 56:35can probe, and that's I
  • 56:37think that's very
  • 56:39a very good,
  • 56:41how can I put that?
  • 56:42A very good
  • 56:44characteristic,
  • 56:45you know, like, of this
  • 56:46this model.
  • 56:53Okay. Is is is that
  • 56:55all you wanted to cover?
  • 56:57Yes. Yes. And in this
  • 56:59first part, yes.
  • 57:00Okay. So,
  • 57:02guys, do you have any
  • 57:03questions,
  • 57:04for those who are
  • 57:06I have a I also
  • 57:07have questions, but,
  • 57:09I, I wonder if anybody
  • 57:11else has any questions.
  • 57:19Okay. So my question is
  • 57:20just to finish it so
  • 57:21you don't go much over
  • 57:23time, in terms of applications.
  • 57:27Our key audience
  • 57:29is not very typical neuroscientists.
  • 57:31Right? Our key audience is
  • 57:33clinical researchers
  • 57:35who have very specific, very
  • 57:38practical clinical questions.
  • 57:42What kind of questions
  • 57:45you think
  • 57:47this specific method can help
  • 57:49to answer better
  • 57:51than
  • 57:54just something more traditional, for
  • 57:56instance, global functional connectivity. Right?
  • 57:58Like, what do you think
  • 57:59where do you think it
  • 58:00will be useful? Why?
  • 58:02Yes. Yes. I think, like,
  • 58:03that's a very good question,
  • 58:04Helen, because, yeah, there's a
  • 58:06lot of, like, extra work
  • 58:07that we put into, like,
  • 58:09fitting this model. So what
  • 58:10is the gain?
  • 58:11And I think this is
  • 58:12the thing. If we have,
  • 58:14let's say, like, a functional
  • 58:15connectivity matrix, maybe, like,
  • 58:18this is the most
  • 58:20studied
  • 58:21functional phenotype
  • 58:22across,
  • 58:23I don't know, psychiatry,
  • 58:25you know, like, behavioral, like,
  • 58:26neuroscience.
  • 58:28There are many things that
  • 58:29could, like, like, yield that
  • 58:31particular phenotype that we are
  • 58:33observing, that functional connectivity.
  • 58:35So if, for instance, like,
  • 58:36we detect,
  • 58:38oh, there are hyperconnections
  • 58:40or EPO connections associated, let's
  • 58:42like, with a diagnosis
  • 58:43or if with a particular
  • 58:45behavioral trait. I think that's
  • 58:46useful. That's very useful. I
  • 58:47think we should research that.
  • 58:49But the thing is, what
  • 58:51is, like, the the the
  • 58:52neuronal
  • 58:53mechanism
  • 58:54underlying that
  • 58:56observable
  • 58:57characteristic?
  • 58:58I think that's the yield
  • 59:00that these, like, models allow
  • 59:02us, like, to gain But
  • 59:03this this but this is
  • 59:04would be, again,
  • 59:06somewhat more theoretical.
  • 59:07But if I'm a clinician
  • 59:09right? So I have a
  • 59:10patient. I want to deal
  • 59:11with clinical data.
  • 59:13What is the average value
  • 59:15for me? Yes. I I
  • 59:16I I think I think,
  • 59:18Helen,
  • 59:19these models,
  • 59:21right now for let's say,
  • 59:22like, for the diagnosis
  • 59:24itself,
  • 59:25honestly,
  • 59:26I'm not sure if, like,
  • 59:28this would be
  • 59:29the greatest added value. I
  • 59:31feel like the greatest added
  • 59:32value, I think, is more,
  • 59:33like, in terms of, like,
  • 59:35physio pathological understanding. And if
  • 59:37we have, like, physio pathological
  • 59:38understanding, we can define, like,
  • 59:39better diagnosis.
  • 59:40We can search in, like,
  • 59:41better treatments. And I feel
  • 59:43like that's, like, the added
  • 59:44value. Because if, for instance,
  • 59:46like, if we know
  • 59:47if we know,
  • 59:49that let's say, like, if
  • 59:51suppose that we have, like,
  • 59:52a particular condition and we
  • 59:53found that in this particular
  • 59:54condition, like, a pair of
  • 59:56regions is hyperconnected.
  • 59:58Right? We we we know
  • 59:59this. Maybe we will be
  • 01:00:01able to use this, I
  • 01:00:02don't know, like, for the
  • 01:00:03diagnose, you know, even though,
  • 01:00:04like, we know that those
  • 01:00:05findings
  • 01:00:06have a huge, like, problems
  • 01:00:07in terms of replicability.
  • 01:00:09But that's it. Right? But
  • 01:00:10suppose that we use, let's
  • 01:00:11say, like, this model and
  • 01:00:12then we we take this
  • 01:00:13model and we we even
  • 01:00:14take a step for, like,
  • 01:00:16with Savo Matrix. So suppose
  • 01:00:17that we include neurotransmitter
  • 01:00:19information here, and then we
  • 01:00:21found that, oh, by modulating
  • 01:00:23the gain using the dopaminitransporter,
  • 01:00:27we or fit,
  • 01:00:29between, like, the model, the
  • 01:00:30simulated functional connectivity, and the
  • 01:00:32empirical functional connectivity increase a
  • 01:00:34lot. So may and this
  • 01:00:35happens only, let's say, like,
  • 01:00:37in a group in a
  • 01:00:38group of, like, patients. Then
  • 01:00:39we can think,
  • 01:00:40oh, maybe
  • 01:00:41this document transporter is involved
  • 01:00:43in the pathophysiology
  • 01:00:44of, like, this disease. Maybe
  • 01:00:45we should do a particular
  • 01:00:47treatment,
  • 01:00:48targeting this particular receptor. And
  • 01:00:50and this, I think, this
  • 01:00:51type of, like, knowledge, this
  • 01:00:52type of, like, insight, I
  • 01:00:53think, would never be able
  • 01:00:55to get with only functional
  • 01:00:57if if only, like, traditional,
  • 01:00:59like, functional, like, MRI analysis.
  • 01:01:02But that that that's, I
  • 01:01:03think, like, it's it's the
  • 01:01:05added added value. Like, this
  • 01:01:07mechanistic
  • 01:01:08inside that we can use
  • 01:01:10for treatment development, diagnostic refinement,
  • 01:01:13and,
  • 01:01:14yeah, if it makes sense.
  • 01:01:16Okay.
  • 01:01:17No. It does.
  • 01:01:19Thank you so much.
  • 01:01:20We are over time,
  • 01:01:24and
  • 01:01:25we will take a break.
  • 01:01:26And we will be here
  • 01:01:28back in about half an
  • 01:01:29hour once you see it
  • 01:01:31to go over the second
  • 01:01:33exciting toolbox to pull this.
  • 01:01:35Thank you. Alright.
  • 01:01:37Thank you so much, Alan.
  • 01:01:38Thanks so much, everyone.