Full text
50,696 characters
· extracted from
preprint-html
· click to expand
Modeling Organoid Population Electrophysiology Dynamics | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results Modeling Organoid Population Electrophysiology Dynamics View ORCID Profile Matthew J. Roos , Diego Luna , View ORCID Profile Dowlette-Mary Alam El Din , View ORCID Profile Thomas Hartung , View ORCID Profile Lena Smirnova , Alex Proescher , View ORCID Profile Erik C. Johnson doi: https://doi.org/10.1101/2025.03.02.641081 Matthew J. Roos 1 Research and Exploratory Development Department, Johns Hopkins University Applied Physics Laboratory , Laurel, MD, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Matthew J. Roos For correspondence: matt.roos{at}jhuapl.edu erik.c.johnson{at}jhuapl.edu Diego Luna 1 Research and Exploratory Development Department, Johns Hopkins University Applied Physics Laboratory , Laurel, MD, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Dowlette-Mary Alam El Din 2 Center for Alternatives to Animal Testing, Bloomberg School of Public Health, Johns Hopkins University , Baltimore, MD, USA 3 Department of Environmental Health and Engineering, Johns Hopkins University , Baltimore MD, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Dowlette-Mary Alam El Din Thomas Hartung 2 Center for Alternatives to Animal Testing, Bloomberg School of Public Health, Johns Hopkins University , Baltimore, MD, USA 3 Department of Environmental Health and Engineering, Johns Hopkins University , Baltimore MD, USA 4 Center for Alterantives to Animal Testing-Europe, University of Konstanz , Konstanz, Germany Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Thomas Hartung Lena Smirnova 2 Center for Alternatives to Animal Testing, Bloomberg School of Public Health, Johns Hopkins University , Baltimore, MD, USA 3 Department of Environmental Health and Engineering, Johns Hopkins University , Baltimore MD, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Lena Smirnova Alex Proescher 1 Research and Exploratory Development Department, Johns Hopkins University Applied Physics Laboratory , Laurel, MD, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Erik C. Johnson 1 Research and Exploratory Development Department, Johns Hopkins University Applied Physics Laboratory , Laurel, MD, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Erik C. Johnson For correspondence: matt.roos{at}jhuapl.edu erik.c.johnson{at}jhuapl.edu Abstract Full Text Info/History Metrics Preview PDF ABSTRACT Improving models to investigate neurodegenerative disease, neurodevelopmental disease, neuro-toxicology and neuropharmacology is critical to improve our basic understanding of the human nervous system, as well as to accelerate discovery of interventions and drugs. Improved models of the human central nervous system could enable critical discoveries related to functional changes induced by sensory stimulation or toxic exposures. Neural organoids, complex three-dimensional cell cultures derived from adult human stem cells, have been grown with complex connectivity and neuroanatomy. Moreover, these cultures have been interfaced with bi-directional electrical stimulation and recording, as well as chemical stimulation. This effort sought to develop new computational techniques which could be applied to comparative studies using neural organoids. In particular, we adapted CEBRA, a state of the art model from the in vivo modeling literature, to generate 2D and 3D embeddings (projections into structured low-dimensional spaces) of high dimensional neural organoid electrophysiology data. This can be done in an unsupervised or semi-supervised manner. Results indicate these embeddings can be quickly and reliably generated and serve as a low-dimensional, interpretable embeddings for characterizing changes in neural organoid activity over time, as well as clustering results around known bursting phenomena. Moreover, we demonstrate that mixtures of von Mises-Fisher distributions can be used as a parametric model for these embedding spaces to enable statistics hypothesis testing. This technique may enable new types of comparative studies using neural organoids, and may be critical for creating a representation for quantitative comparison and validation of neural organoid models against human and animal data. Looking ahead, this work could allow the formulation of a new class of experiments investigating the functional impact of toxins, genetic manipulations, or pharmacological interventions on human neurons. 1 Introduction The ability to artificially replicate the function of the human brain in the laboratory, or in vitro , is a grand challenge for modern biology. Towards this goal, emerging research has made progress towards creating model systems that substantively aid our understanding of neurodevelopmental and neurodegenerative disorders and the interaction of chemical and biological threats with the nervous system. These systems, often dubbed microphysiological systems or neural organoids ( 1 ), are cultured from adult human induced Pluripotent Stem Cells (iPSCs). Bioengineering and stem cell technologies have led to the creation of a wide range of neural organoid systems capable of replicating the cell types of cortex, hippocampus, and more ( 2 ; 3 ; 4 ; 5 ), are primarily used in pharmacology and toxicology for high-throughput testing. Repeatable protocols have enabled development of large numbers of neural organoids for testing ( 6 ). As neural organoids grow in size and neuroanatomical fidelity, a key question remains: how similar is the activity of neural organoids to in vivo systems? This is a key prerequisite for using neural organoids as a model to explore aspects of functional processing. It is well known that while even individual neurons have a range of complex and dynamic functions ( 7 ), at a larger scale, novel population dynamics emerge, such as brain rhythms ( 8 ). There are many mechanisms which may give rise to stable brain rhythms and complex population dynamics, such as specialized connectivity structures, and the role of microglia, astrocytes and oligodendrocytes in homeostasis ( 9 ). Progress in creating larger neural organoids (towards the size of a mouse brain) has resulted in increased complexity in terms of composition and activity. With that complexity comes the need to be able to detect and monitor nuanced changes in the activity that arises from chemical and electrical stimulation. In the context of neurotoxicity or neuropharmocology, changes from normal to abnormal physiological behavior may be subtle, and require sophisticated methods to model and predict such behavior. Moreover, a critical capability required is the ability to qualitatively and quantitatively compare the responses of neural organoids to in vivo systems, which may be recorded with very different sensors and tested with different experimental paradigms. Electrophysiology, recording the electric biopotentials of neurons, remains one of the key methods for interrogating brains with the highest temporal and spatial resolution. While many studies utilize genomics and microscopy to study neural organoids, electrophysiology is a preferred method for studying neural population activity at the millisecond time scale. Many systems exist for in vivo and in vitro electrophysiology with various morphologies, channel counts, and impedances. Neural organoid cultures are often recorded with planar 2D microelectrode arrays (MEAs) ( 10 ) suitable for in vitro cultures only. In comparison, many in vivo studies are conducted with probe electrodes inserted into the brain, such as high-density Neuropixels ( 11 ). Novel electrode morphologies, such as 3D flexible electrodes ( 12 ), are rapidly emerging as tailored approaches for neural organoids. Comparing across these systems has enabled preliminary insight, for instance the relation of organoid burst frequencies to frequencies of neural rhythms during early development ( 13 ). However, in general, these electrophysiological recordings have different physical parameters, electrical properties, channel counts, and are applied to very different physiological systems. Arbitrary raw recordings cannot necessarily be used together for meaningful comparative analysis. Given the rapid growth in high channel-count and high throughput methods for acquiring in vivo electrophsyiology, there has been considerable progress in approaches to model and extract insight from these highly stochastic, high dimensional recordings. These approaches aim to study different brain regions and the encoding of key behavioral variables (position, sensory information) in neural populations. For example, an experiment may record from hippocampus during a navigation task, aiming to study how hippocampal populations represent spatial positions. While traditional unsupervised dimensionality reductions approaches such as principle component analysis, independent component analysis, or non-negative matrix factorization ( 14 ) could be applied, they fail to capture the complex spatial and temporal dynamics in real data. New approaches are emerging which utilize deep learning models to create feature vectors corresponding to windows of time. These approaches are typically trained in a self-supervised fashion using a contrastive learning loss, which penalizes nearby embeddings of distinct time windows (e.g., windows separated by a great deal of time) ( 15 ; 16 ). These approaches are being used for neural latent modeling: estimating the latent variables (position, state, intent) encoded in neural populations. A new machine learning community has emerged to study these in vivo recordings, including the creation of the Neural Latents Benchmark ( 17 ). Of particular note is the CEBRA approach ( 16 ), a contrastive learning tool for training neural networks to create low-dimensional embedding spaces, which can be used in a fully unsupervised manner (utilizing only time) or with behavioral labels relevant to experiments. This approach is showing considerable success in creating interpretable representations of large, high-dimensional in vivo recordings. There has been considerable interest, but less progress, in developing similar computational approaches to understand the behavior of neural organoids. It is envisioned that computational approaches could be used to develop predictive models of neural organoid activity, analysis tools for experimental results, and ultimately computational surrogates for in silico experimentation. These approaches may result in the creation of New Approach Methodologies (NAMs) ( 18 ; 19 ; 20 ) for neurotoxicity and neurodevelopmental studies utilizing neural organoids. Such approaches may also form the basis for “digital twins” of neural organoids, as have been developed for other types of in vitro systems ( 21 ). There is considerable interest in developing computational approaches to understand and predict the dynamics of complex neural organoid physiology. In this effort, we aimed to address the lack of computational approaches to study neural organoids which incorporate the latest insights from deep learning methods. Latent space embedding approaches, such as CEBRA, have not been widely explored for neural organoids. Driven by the need to characterize and compare in vivo and in vitro systems, we curated a dataset and extended the CEBRA approach to neural organoids, creating MOPED (Modeling Organoid Population Electrophysiology Dynamics). In this work, for the first time, we utilized a contrastive latent space model (CEBRA) to train neural organoid embedding models. We used these to characterize trajectories within a recording session, across different ages of neural organoids, and across days of recording. Additionally, we applied parametric statistical models to create parameterized fits suitable for hypothesis testing. We believe this technique will be critical to explore experimental paradigms for neural organoids to enable new studies into neurodevelopmental disorders, neurodegenerative disease, neural toxicology, and neural pharmacology. 2 Methods and Models To develop and test the MOPED framework, we built closely on the CEBRA methodology and incorporated several neural organoid and animal electrophysiology datasets into a common framework ( Fig. 1 ). Download figure Open in new tab Figure 1: Overview of the MOPED system, incorporating the CEBRA framework, for neural organoid data. Panel A) shows examples of electrophysiology recordings utilizing a 2D MEA system. This shows a 2D representation of the active electrodes on the array, and an example spike-time raster plot. Panel B) gives an overview of the MOPED framework, where the MOPED dataloader produces batches for the CEBRA network, which is optimized to minimize a contrastive loss function. Panel C) shows example curves for training the CEBRA network, showing loss for different numbers of dimensions, as well as the adjustment of training temperature. Of note is the smooth convergence of the CEBRA model for neural organoid data when using only time labels. Panel D) shows example 3D embeddings generated from three wells pre- and post-stimulus. The distribution shifts indicate possible changes in functional activity due to stimulation, which can also be investigated using this method. 2.1 Neural Organoid Electrophysiology In this effort, we curated a set of neural organoid electrophysiological recordings which were collected at the JHU Bloomberg School of Public Health to investigate mechanisms of learning and memory ( 22 ). Briefly, female fibroblast-derived N8 iPSCs were obtained from the National Institute for Biological Standards and Control. These cells were cultured in mTESR-Plus medium (StemCell Technologies). Cells were then differentiated in a monolayer to neuroprogenitor cells using a serum-free, neural induction medium (Gibco, Thermo Fisher Scientific). Nestin/Sox2-positive cells were then expanded and seeded in uncoated 6-well plates. These cultures were incubated and subject to constant gyratory shaking to form spheres. Data in this study were taken from two or three independent cultures with different ages, and included a “time-course experiment” of recording spontaneous activity over a three week period and a “stimulation” dataset consisting of theta burst stimulation of neural organoids ( 23 ). Organoids were plated on six-well plates for an integrated MEA amplifier (Maxwell Biosystems, Zurich, Switzerland). Two groups of organoids were plated-one group at age 40-44 days, and one group at age 68-70 days. The age group plated at age 40-44 days has two independent groups (differentiations of organoids). One group had 5 wells and one group had 6 wells (for a total of 11 wells for this age group). The age group plated at 68-70 days has three independent groups (differentiations of organoids). One with 6 wells, another with 6 wells, and the last with 12 wells (for a total of 24 wells for this age group). For the time-course experiment, organoids were recorded in 10 minute sessions per day, for three weeks. For the stimulation experiment, organoids were recorded for a baseline 10 minute period, stimulated, then recorded for four hours post-stimulation. Up to 1024 channels were recorded at 10kHz, which were saved as hdf5 files for further secondary analysis. 2.2 In Vivo Electrophysiology In addition to the neural organoid electrophysiolgy dataset, this effort curated a range of open-source animal electro-physiology datasets which can be used for pretraining and comparative studies. These included datasets from rat and macaque studies. These datasets are publicly available on the DANDI archive, formatted using the Neurodata Without Borders (NWB) format ( 24 ). For this study, a set of recordings from rat hippocampus during the sleep/wake cycle ( 25 ) were used as an in vivo comparison dataset. For future work, several datasets utilized in the Neural Latents Benchmark ( 17 ) could be valuable for comparison between organoid and mammalian models using the CEBRA technique. These datasets include recordings from rat hippocampus during navigation ( 26 ), recordings during non-human primate reaching tasks ( 27 ; 28 ), and recordings during Macaque interval reproduction task ( 29 ). These datasets provide validation references for methodological improvements, pre-training datasets for neural organoid modeling, and comparative datasets to explore the link between in vitro and in vivo models. 2.3 MOPED Dataset Organization and Data Loaders Given these curated datasets, the MOPED effort created a Python framework for flexibly accessing these data for model training and computational experiments. Data were provided in NWB and hdf5 formats with different metadata. The MOPED effort created a JSON-based dataset specification which can be used to capture the structure of dataset files as well as corresponding metadata related to samples, recording, and experimental conditions. This framework can be flexibly extended to create new standards which incorporate in additional fields to support new experiments. From this, an experiment-specific YAML file can be specified, which indicates how files should be sampled for a given experiment, including train and test splits and other limits on valid time lengths and channel counts. These configuration files, along with the raw data files, are read by the MOPED Pytorch data loader, which creates batches for machine learning training. These batches are then input into the CEBRA framework for training and inference. For both in vivo and in vitro networks, the inputs are temporal windows of spike-time data, derived from the spike sorting and spike detection methods applied to various datasets. 2.4 CEBRA for Neural Organoids The MOPED framework builds upon the CEBRA approach for learning embedding spaces ( 16 ), which has been widely employed for modelling neural data. Briefly, two data samples x and y are mapped into an embedding space of fixed dimensionality D (typically 2D or 3D) through neural networks f and f ′ . The neural networks are trained to minimize the expected loss given a similarity measure ϕ and temperature parameter τ (which is reduced over epochs during training). The loss function, minimized in expectation over a sequence of length n of samples of x, y is This can be minimized using standard approaches for gradient descent. Embedding functions are normalized to create a distribution on the unit hypersphere of dimension D , and temporal sequences can be plotted for sequences of inference samples x t . The key issue in adapting CEBRA to neural organoid data is deciding on approaches for sampling pairs x, y . In this work, we utilize the simplest and most general approach, sampling only using temporal information (short versus long intervals between samples). A critical future pathway is exploring approaches to utilize experimental information (age, condition) and cross-dataset information (species, recording method) to improve the insights provided by the embedding approach. 2.5 Metrics and Analysis In addition to new dataloader and data management techniques, the MOPED framework also adds additional metrics and analysis to the study of embedding spaces created by CEBRA. These are focused on providing quantitative tools to compare neural organoid datasets with each other, as well as in vivo data. First, we compute basic electrophysiology statistics including spike count and burst statistics. Bursts were detected and characterized using a variant of the MaxInterval method with hand-tuned thresholds ( 30 ). In addition, embedding space distributions were characterized in three key ways. First, the entropy of the distribution (− Σ p ( x ) log p ( x )) was computed. When labels are available for particular time points (in this case derived from the burst detection algorithm) the silhouette score can be computed to assess the degree of clustering for different conditions. Finally, we fit a mixture of von Mises-Fisher distributions ( 31 ), a parametric distribution over the unit hypersphere. Different numbers of components can be specified, and these fits can be used for parametric hypothesis testing and likelihood ratio calculations. 3 Results The MOPED CEBRA framework was used to train embedding models for in vivo , including example recordings from the sleep-wake cycle recorded from rat hippocampus. In addition, dozens of neural organoid recordings were processed to create 2D and 3D embeddings of data across days in vitro , as well as pre- and post-stimulus. 3.1 Fitting CEBRA Models to Neural Organoid Data To begin exploring the MOPED method and training CEBRA models for neural organoids, we conducted several test fits of data pre- and post-stimulus from the stimulation dataset ( Fig. 1 ). This shows the neural organoid electrophysiology data, represented as a map of active electrodes on the 2D MEA, as well as spike-time rasters of the detected spike events over the 1024 channels. The complexity of the high-dimensional data can be seen, as well as the presence of lower-dimensional burst events (indicated by the strong vertical lines of activity in the spike raster). CEBRA models could be consistently fit for a wide range of neural organoid datasets and hyperparameters, showing well-behaved loss curves ( Fig. 1C ). After training, the training sample or new samples from a test dataset can be visualized as a 2D or 3D embedding to study the properties learned by the embedding model. Figure 1D shows three example wells pre- and post-stimulus, indicating a change in the embedding distribution between the two conditions. The MOPED approach can be used to train and create these latent space embeddings from a wide range of experimental data. 3.2 Characterization of Neural Organoid Embeddings Across Days To begin investigating the intepretability and utility of these latent spaces, we generated latent space embeddings for each recording in the time-course dataset (consisting of two populations of neural organoids, of different ages, recorded over three weeks). These populations both showed shifts in spike rate over time, following a roughly linear trajectory, but with a difference in slope between the two age groups ( Fig 2A ). Applying the MOPED approach ( Fig. 2B and c ), latent space embeddings were created independently for each well and day for the two populations. From these, the entropy of the embedding distribution was calculated. The entropy of the embedding distribution increases over time for both populations in a manner similar to spike rate increases. However, the younger organoids show a clear saturation in the entropy of the embedding space distribution after several days despite continually increasing spike rates. This suggests both key correlations and differences between the changes in the embedding space distribution and basic spike statistics over time. Download figure Open in new tab Figure 2: Characterization of neural organoid spike statistics and entropy of 3D neural organoid embeddings spaces. Panel A) characterizes the changes in spike firing rate estimated across six wells for two separate groups (6 wells each) of older and younger neural organoids. Recordings took place over 3 weeks. There is a clear linear trend in the spike rate for both groups. Also shown are the ISI distributions for an example well over four days. Panel B) shows an example latent space embedding calculated from an organoid plated at 70 days and recorded at day 13. Color coding shows the trajectories of activity over a 200 second period. Panel C) shows the entropy for the distribution of samples in the 3D latent space, calculated for the group of younger and older organoids plotted over the same three week period as Panel A). We can see an increase in entropy, which saturates for the younger organoids early in the recording period. 3.3 Characterization of Neural Organoid Burst Activity To investigate the ability of the MOPED embedding approach to characterize key states in neural organoid data, we investigated a known phenomena in neural organoid recordings, bursting ( Fig. 3 ). Bursts are well known to occur in these cultures, and burst statistics change over time ( Fig. 3B ). In an unsupervised fashion, 3D embedding spaces were trained for these recordings using the MOPED approach. Plotting a single embedding dimension versus time, there is a clear correlation of peaks in the embedding value with burst activity, which is maintained in the test dataset ( Fig. 3A ). In the embedding space, time periods corresponding to bursts (detected using the burst detector with hand-tuned thresholds), roughly cluster into one portion of the embedding space ( Fig. 3C ). Computing the silhouette score, it can be seen that the bursts are reasonably well clustered (a score of -1 indicates a uniform, unclustered distribution). The technique shows a difference in burst clustering between the two age datasets, and the silhouette score is roughly constant over time, following the trend of burst duration and burst interval. Overall, this result suggests the MOPED approach can be used in an unsupervised manner to discover clusters related to key features in the neural organoid dataset. Download figure Open in new tab Figure 3: Characterizing burst events using the MOPED approach as an unsupervised data analysis tool. Panel A) shows an example time sequence from a neural organoid demonstrating bursts in the spike raster plot. A corresponding embedding vector (learned in an unsupervised fashion) for one dimension is plotted over time, where peaks correspond to bursts. The dashed line indicates the train-test split for this recording, and it can be seen that peaks continue to correspond to bursts in the test dataset. Panel B) shows the burst statistics derived from a hand-tuned, threshold-based burst detector. Recordings with fewer than 4 bursts have been filtered out before computing burst statistics, leaving 14 and 9 valid recordings from each group. This shows general consistency in the rate of bursts, with a distinct difference between younger and older organoids. Panel C) shows an example 3D embedding derived using the MOPED approach, including a color coding of time points corresponding to the output of the burst detector, indicating clustering. Panel D) shows the silhouette score for the clusters using all recordings (using the ground truth labels) over days, indicating a difference between the young and old populations and demonstrating considerable, though not perfect, clustering. 3.4 Parametric Fits of Embedding Distributions In addition to generating latent space embeddings, qualitatively visualizing, and computing entropy, fitting parametric distributions can be a powerful tool for quantitative, comparative analysis. In particular, these approaches enable parametric statistical tests, improved calculation of likelihood ratios, and intepretable comparison of distributions. The mixture of von Mises-Fisher distributions is an appropriate choice as it is formulated for unit hyperspheres and allows for specification of the number of components for modeling (similar to Gaussian mixture models). Figure 4 shows examples for 2D and 3D fits of neural organoid embeddings. The fits show that the distribution can qualitatively capture the features of the data histogram, and that increasing the component count improves the fit of the data. As usual with such techniques, model selection criteria ( 32 ) should be applied to balance model complexity with model goodness-of-fit. Download figure Open in new tab Figure 4: Demonstration of the use of von Mises-Fisher distributions to fit parametric models for neural organoid latent spaces. Panel A) demonstrates 2D fits to data from and example well, showing the fit for a single component and two component model. Panel B) demonstrates similar fits for 3D data from the same exemplar well, for a one and two component model. 3.5 Comparison of Neural Organoid and In Vivo Embeddings One of the advantages of the MOPED approach, enabled by the underlying CEBRA model, is that low-dimensional embedding spaces can be learned from data with very different underlying statistics, channel counts, and recording methodologies. As a preliminary demonstration of this, we show 2D embeddings of wake-sleep data from rat hippocampus learned through the MOPED framework ( Fig. 5 ). These indicate distinct embedding distributions for the sleep wake data, and measures of entropy, as well as von-Mises Fischer distribution fits, can be calculated. This allows direct comparison to similar embeddings from neural organoids ( Fig. 4 ). However, it is critical to recognize that the generated embeddings from CEBRA may not be aligned between datasets. Therefore a fitting approach should first be applied to compute the rotation that maximizes alignment before fitting the mixture of von-Mises Fisher distributions. While preliminary, this suggests a path towards comparative analysis of in vitro and in vivo data using the MOPED framework. Download figure Open in new tab Figure 5: Example 2D embeddings of in vivo data derived from rat hippocampal recordings in a dataset including sleep and wake states. The left panel shows the distribution for the Wake state, while the right panel shows the distribution for the Sleep state. There are clear differences in the shape and peaks of the distributions, as well as the uniformity of the distributions. Despite having different numbers of electrodes (64 electrodes used in vivo versus 1024 used in vitro ) and different recording parameters, a comparable 2D representation is created. 4 Discussion The MOPED framework presented here is a flexible and general approach to leverage CEBRA to model neural organoids and in vivo electrophysiology datasets. The framework allows for extensible specification of datasets and experiments in text files suitable for version control to encourage experimental reproducibility. The framework can be trained for large numbers of recordings, consistently converging to solutions which generalize from train to test time windows. While additional efforts are required to tune hyperparameters and design experiments for neural organoids, training complexity is suitable for workstations or single compute nodes. It is anticipated in the coming years this will rapidly grow into hundreds of terabytes of data, which will greatly benefit from rapid tools for machine learning analysis. The MOPED framework has several key advantages compared to previous analysis approaches. Traditional measures of spike-time statistics and burst detection, can provide insight but are limited in their ability to capture complex time-varying phenomena. Moreover, deriving insight from these analysis often take considerable manual analysis, especially when systems and conditions vary considerably over time and experimental conditions. Data-driven approaches, such as principle component analysis, independent component analysis, non-negative matrix factorization, and similar approaches, can be applied to these data. However, many of these approaches have significant assumptions of the statistics or structure of components, the neural network embedding approach of CEBRA generalizes this. Moreover, the contrastive learning scheme allows for incorporation of behavioral or experimental variables which cannot be included in these traditional analysis frameworks. One of the most promising aspects of the MOPED (and CEBRA) approach is the ability to generate interpretable comparisons between different systems and experiments, which may vary widely in channel count, spike statistics, coverage, and other key parameters. While these systems may have trivially different basic statistics (spike rate, channel count, etc), the key issue of experimental interest is if behavior or task-related variables are encoded, and how these are modified by experimental conditions or treatments. The low-dimensional latent spaces generated by MOPED may provide a key approach for comparative studies seeking to gain insight from neural organoids, and ultimately augment or replace human and animal studies. Key innovations introduced in the MOPED approach are quantitative metrics of entropy as well as the parametric fit of a mixture of von-Mises Fisher distributions. These approaches may allow for rapid comparative experiments, including hypothesis testing. Taken together, the MOPED approach can be combined with existing electrophysiological analysis techniques to enable new types of computational experiments using neural organoids ( Fig. 6 ). In this envisioned framework, neural organoids exposed to different conditions and stressors can be generated for experimentation. Testing tasks, drawn from behavioral animal and human experiments, can be adapted to provide stimulation for the organoids. Electrophysiological recordings from the organoids, including single unit activity, local field potentials, and task performance, can be recorded for analysis. Optionally, comparative datasets of animal and human electrophysiology can be included, for both validation and comparative analysis. The MOPED analysis approach can join other analysis techniques, such as network analysis and plasticity analysis, to form a bank of functional activity assays for comparative studies. In the context of neural toxicology, neural pharmacology, and cognitive studies, this framework may provide a fundamentally new approach for deriving scientific insight compared to human and animal studies. Download figure Open in new tab Figure 6: Envisioned future concept for human neural organoid experimentation. Control organoids and neural organoids exposed to conditions relevant to neurological health can be used in a testing framework which stimulates and records to elicit functional activity based on a test task. Data from the recordings can be combined with human and animal data, if desired, for validation or comparative studies. These data can then be assessed with a bank of functional activity assays including, but not limited to, the proposed MOPED technique. Experiments of this type may represent a compelling alternative to studying neurotoxicological and neuropharmacological effects. 5 Conclusions The impact of this work, in conjunction with continuing advancements in the size and bio-fidelity of neural organoids, will be to substantially advance the ability of researchers to assess the neurotoxicity of chemical compounds to which people may be exposed ( 33 ). The MOPED approach can be rapidly applied to a range of neural organoid and in vivo recordings. This modelling approach, combined with statistical metrics and models applied to the generated embedding spaces, can increase our ability to characterize normal and abnormal activity in neural organoids. In future experiments, when neural organoids are exposed to chemicals in the lab, the MOPED technique can be used in conjunction with existing approaches to gain insight into functional changes in human neural tissue. Continued work will be needed to advance the foundational aspects of the modeling approach as well as apply the MOPED technique to aid in understanding of neural activity patterns in neural tissue. Conflict of Interest Statement Thomas Hartung is named inventor on a patent by Johns Hopkins University on the production of organoids, which is licensed to Axo-Sim, New Orleans, LA, USA. Thomas Hartung and Lena Smirnova are consultants for AxoSim, New Orleans, and Thomas Hartung is also a consultant for AstraZeneca and American Type Culture Collection (ATCC) on advanced cell culture methods. The remaining authors declare that the research was conducted in the absence of any commercial or financial relation-ships that could be construed as a potential conflict of interest. Author Contributions MR, DL, and EJ contributed to conceptualization, data curation, methdology, software, and writing. DA, TH, and LS contributed to data curation, conceptualization, writing - review and editing, and methodology. AP contributed to conceptualization, supervision, validation, project administration, and writing - review and editing. Funding This work was supported by funding from the Defense Threat Reduction Agency. The views, opinions, and/or findings expressed are those of the author(s) and should not be interpreted as representing the official views or policies of the Department of Defense or the U.S. Government. Additional support was provided by the JHU Discovery and SURPASS programs. Acknowledgments We would like to thank the authors and maintainers of the CEBRA repository. References [1]. ↵ L. Smirnova and T. Hartung , “ The promise and potential of brain organoids ,” Advanced Healthcare Materials , vol. 13 , no. 21 , p. 2302745 , 2024 . OpenUrl CrossRef [2]. ↵ G. K. Todd , C. A. Boosalis , A. A. Burzycki , M. Q. Steinman , L. D. Hester , P. W. Shuster , and R. L. Patterson , “ Towards neuronal organoids: a method for long-term culturing of high-density hippocampal neurons ,” PloS one , vol. 8 , no. 4 , p. e58996 , 2013 . OpenUrl CrossRef PubMed [3]. ↵ S. Modaferi , X. Zhong , F. Fagiani , A. Kleensang , Y. Murata , T. Hartung , and L. Smirnova , “ Gene-environmental interactions in autism with ipsc-derived brain organoids: microrna and metabolic biomarkers of the synergy ,” Toxicology Letters , vol. 350 , p. S141 , 2021 . OpenUrl [4]. ↵ L. Smirnova , B. S. Caffo , D. H. Gracias , Q. Huang , I. E. Morales Pantoja , B. Tang , D. J. Zack , C. A. Berlinicke , J. L. Boyd , T. D. Harris , et al. , “ Organoid intelligence (OI): the new frontier in biocomputing and intelligence-in-a-dish ,” Frontiers in Science , vol. 1 , p. 1017235 , 2023 . OpenUrl CrossRef [5]. ↵ D. Pamies , P. Barrera , K. Block , G. Makri , A. Kumar , D. Wiersma , L. Smirnova , C. Zhang , J. Bressler , K. M. Christian , et al. , “ A human brain microphysiological system derived from induced pluripotent stem cells to study neurological diseases and toxicity ,” Altex , vol. 34 , no. 3 , p. 362 , 2017 . OpenUrl CrossRef PubMed [6]. ↵ I. Kelava and M. A. Lancaster , “ Dishing out mini-brains: Current progress and future prospects in brain organoid research ,” Developmental biology , vol. 420 , no. 2 , pp. 199 – 209 , 2016 . OpenUrl CrossRef PubMed [7]. ↵ E. M. Izhikevich , “ Which model to use for cortical spiking neurons? ,” IEEE transactions on neural networks , vol. 15 , no. 5 , pp. 1063 – 1070 , 2004 . OpenUrl CrossRef PubMed Web of Science [8]. ↵ G. Buzsaki , Rhythms of the Brain . Oxford University Press , 2006 . [9]. ↵ J. Zierenberg , J. Wilting , and V. Priesemann , “ Homeostatic plasticity and external input shape neural network dynamics ,” Physical Review X , vol. 8 , no. 3 , p. 031018 , 2018 . OpenUrl [10]. ↵ U. Frey , J. Sedivy , F. Heer , R. Pedron , M. Ballini , J. Mueller , D. Bakkum , S. Hafizovic , F. D. Faraci , F. Greve , et al. , “ Switch-matrix-based high-density microelectrode array in CMOS technology ,” IEEE Journal of Solid-State Circuits , vol. 45 , no. 2 , pp. 467 – 482 , 2010 . OpenUrl CrossRef [11]. ↵ N. A. Steinmetz , C. Aydin , A. Lebedeva , M. Okun , M. Pachitariu , M. Bauza , M. Beau , J. Bhagat , C. Böhm , M. Broux , et al. , “ Neuropixels 2.0: A miniaturized high-density probe for stable, long-term brain recordings ,” Science , vol. 372 , no. 6539 , p. eabf4588 , 2021 . OpenUrl Abstract / FREE Full Text [12]. ↵ Q. Huang , B. Tang , J. C. Romero , Y. Yang , S. K. Elsayed , G. Pahapale , T.-J. Lee , I. E. Morales Pantoja , F. Han , C. Berlinicke , et al. , “ Shell microelectrode arrays (MEAs) for brain organoids ,” Science advances , vol. 8 , no. 33 , p. eabq5031 , 2022 . OpenUrl CrossRef PubMed [13]. ↵ C. A. Trujillo , R. Gao , P. D. Negraes , J. Gu , J. Buchanan , S. Preissl , A. Wang , W. Wu , G. G. Haddad , I. A. Chaim , et al. , “ Complex oscillatory waves emerging from cortical organoids model early human brain network development ,” Cell Stem Cell , vol. 25 , no. 4 , pp. 558 – 569 , 2019 . OpenUrl CrossRef PubMed [14]. ↵ D. D. Lee and H. S. Seung , “ Learning the parts of objects by non-negative matrix factorization ,” Nature , vol. 401 , no. 6755 , pp. 788 – 791 , 1999 . OpenUrl CrossRef PubMed Web of Science [15]. ↵ M. Azabou , M. G. Azar , R. Liu , C.-H. Lin , E. C. Johnson , K. Bhaskaran-Nair , M. Dabagia , B. Avila-Pires , L. Kitchell , K. B. Hengen , et al. , “ Mine your own view: Self-supervised learning through across-sample prediction ,” arXiv preprint arxiv: 2102.10106 , 2021 . [16]. ↵ S. Schneider , J. H. Lee , and M. W. Mathis , “ Learnable latent embeddings for joint behavioural and neural analysis ,” Nature , vol. 617 , no. 7960 , pp. 360 – 368 , 2023 . OpenUrl CrossRef PubMed [17]. ↵ F. Pei , J. Ye , D. Zoltowski , A. Wu , R. H. Chowdhury , H. Sohn , J. E. O’Doherty , K. V. Shenoy , M. T. Kaufman , M. Churchland , et al. , “ Neural latents benchmark’21: evaluating latent variable models of neural population activity ,” arXiv preprint arxiv: 2109.04463 , 2021 . [18]. ↵ M. Silva , “ New approach methodologies (NAM) to characterize neurotoxic chemicals for use in risk assessment: case study of four neurotoxic pesticides ,” Human and Ecological Risk Assessment: An International Journal , vol. 29 , no. 9-10 , pp. 1226 – 1260 , 2023 . OpenUrl [19]. ↵ A. O. Stucki , T. S. Barton-Maclaren , Y. Bhuller , J. E. Henriquez , T. R. Henry , C. Hirn , J. Miller-Holt , E. G. Nagy , M. M. Perron , D. E. Ratzlaff , et al. , “ Use of new approach methodologies (nams) to meet regulatory requirements for the assessment of industrial chemicals and pesticides for effects on human health ,” Frontiers in Toxicology , vol. 4 , p. 964553 , 2022 . OpenUrl CrossRef PubMed [20]. ↵ L. Smirnova , I. E. M. Pantoja , and T. Hartung , “ Organoid intelligence (oi)–the ultimate functionality of a brain microphysiological system ,” ALTEX-Alternatives to animal experimentation , vol. 40 , no. 2 , pp. 191 – 203 , 2023 . OpenUrl [21]. ↵ J. Zimmermann , K. Budde , N. Arbeiter , F. Molina , A. Storch , A. M. Uhrmacher , and U. van Rienen , “ Using a digital twin of an electrical stimulation device to monitor and control the electrical stimulation of cells in vitro ,” Frontiers in bioengineering and biotechnology , vol. 9 , p. 765516 , 2021 . OpenUrl CrossRef [22]. ↵ D.-M. Alam El Din , L. Moenkemoeller , A. Loeffler , F. Habibollahi , J. Schenkman , A. Mitra , T. van der Molen , L. Ding , J. Laird , M. Schenke , E. Johnson , B. Kagan , T. Hartung , and L. Smirnova , “ Human neural organoid microphysiological systems show the building blocks necessary for basic learning and memory ,” bioRxiv , 2024 . [23]. ↵ J. Larson and E. Munkácsy , “ Theta-burst LTP ,” Brain research , vol. 1621 , pp. 38 – 50 , 2015 . OpenUrl CrossRef PubMed [24]. ↵ O. Rübel , A. Tritt , R. Ly , B. K. Dichter , S. Ghosh , L. Niu , P. Baker , I. Soltesz , L. Ng , K. Svoboda , et al. , “ The neurodata without borders ecosystem for neurophysiological data science ,” Elife , vol. 11 , p. e78362 , 2022 . OpenUrl CrossRef PubMed [25]. ↵ B. O. Watson , D. Levenstein , J. P. Greene , J. N. Gelinas , and G. Buzsáki , “ Network homeostasis and state dynamics of neocortical sleep (version 0.210812.1515) ,” DANDI archive , 2021 . [26]. ↵ A. D. Grosmark and G. Buzsáki , “ Diversity in neural firing dynamics supports both rigid and learned hippocampal sequences (version 0.210812.1516) ,” DANDI archive , 2024 . [27]. ↵ M. Churchland , J. P. Cunningham , M. T. Kaufman , J. D. Foster , P. Nuyujukian , S. I. Ryu , and K. V. Shenoy , “ Neural population dynamics during reaching ,” DANDI archive , 2024 . [28]. ↵ R. Chowdhury and L. Miller , “ Area2_bump: macaque somatosensory area 2 spiking activity during reaching with perturbations ,” DANDI archive , 2024 . [29]. ↵ H. Sohn and M. Jazayeri , “ DMFC_RSG: macaque dorsomedial frontal cortex spiking activity during time interval reproduction task (version 0.220113.0407) ,” DANDI archive , 2022 . [30]. ↵ E. Cotterill and S. J. Eglen , “ Burst detection methods ,” In Vitro Neuronal Networks: From Culturing Methods to Neuro-Technological Applications , pp. 185 – 206 , 2019 . [31]. ↵ A. Banerjee , I. S. Dhillon , J. Ghosh , S. Sra , and G. Ridgeway , “ Clustering on the unit hypersphere using von Mises-Fisher distributions .,” Journal of Machine Learning Research , vol. 6 , no. 9 , 2005 . [32]. ↵ J. A. Mills and K. Prasad , “ A comparison of model selection criteria ,” Econometric reviews , vol. 11 , no. 2 , pp. 201 – 234 , 1992 . OpenUrl CrossRef [33]. ↵ D.-M. Alam El Din , J. Shin , A. Lysinger , M. J. Roos , E. C. Johnson , T. J. Shafer , T. Hartung , and L. Smirnova , “ Organoid intelligence for developmental neurotoxicity testing ,” Frontiers in Cellular Neuroscience , vol. 18 , p. 1480845 , 2024 . OpenUrl CrossRef PubMed View the discussion thread. Back to top Previous Next Posted March 02, 2025. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Modeling Organoid Population Electrophysiology Dynamics Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Modeling Organoid Population Electrophysiology Dynamics Matthew J. Roos , Diego Luna , Dowlette-Mary Alam El Din , Thomas Hartung , Lena Smirnova , Alex Proescher , Erik C. Johnson bioRxiv 2025.03.02.641081; doi: https://doi.org/10.1101/2025.03.02.641081 Share This Article: Copy Citation Tools Modeling Organoid Population Electrophysiology Dynamics Matthew J. Roos , Diego Luna , Dowlette-Mary Alam El Din , Thomas Hartung , Lena Smirnova , Alex Proescher , Erik C. Johnson bioRxiv 2025.03.02.641081; doi: https://doi.org/10.1101/2025.03.02.641081 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Neuroscience Subject Areas All Articles Animal Behavior and Cognition (7624) Biochemistry (17651) Bioengineering (13871) Bioinformatics (41884) Biophysics (21424) Cancer Biology (18566) Cell Biology (25463) Clinical Trials (138) Developmental Biology (13365) Ecology (19867) Epidemiology (2067) Evolutionary Biology (24290) Genetics (15590) Genomics (22477) Immunology (17714) Microbiology (40331) Molecular Biology (17148) Neuroscience (88487) Paleontology (666) Pathology (2828) Pharmacology and Toxicology (4817) Physiology (7635) Plant Biology (15114) Scientific Communication and Education (2044) Synthetic Biology (4286) Systems Biology (9815) Zoology (2268)
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.