{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,20]],"date-time":"2026-03-20T05:00:14Z","timestamp":1773982814607,"version":"3.50.1"},"update-to":[{"DOI":"10.1371\/journal.pcbi.1011108","type":"new_version","label":"New version","source":"publisher","updated":{"date-parts":[[2024,3,7]],"date-time":"2024-03-07T00:00:00Z","timestamp":1709769600000}}],"reference-count":73,"publisher":"Public Library of Science (PLoS)","issue":"2","license":[{"start":{"date-parts":[[2024,2,26]],"date-time":"2024-02-26T00:00:00Z","timestamp":1708905600000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Agence nationale de la recherche","award":["ANR-20-CHIA-0016"],"award-info":[{"award-number":["ANR-20-CHIA-0016"]}]},{"name":"National Institute of Health","award":["R01AG076227"],"award-info":[{"award-number":["R01AG076227"]}]},{"name":"National Institute of Health","award":["RF1MH130415"],"award-info":[{"award-number":["RF1MH130415"]}]},{"name":"National Institute of Health","award":["U24EB029005"],"award-info":[{"award-number":["U24EB029005"]}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["1935749"],"award-info":[{"award-number":["1935749"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["1935771"],"award-info":[{"award-number":["1935771"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["www.ploscompbiol.org"],"crossmark-restriction":false},"short-container-title":["PLoS Comput Biol"],"abstract":"<jats:p>Biophysically detailed neural models are a powerful technique to study neural dynamics in health and disease with a growing number of established and openly available models. A major challenge in the use of such models is that parameter inference is an inherently difficult and unsolved problem. Identifying unique parameter distributions that can account for observed neural dynamics, and differences across experimental conditions, is essential to their meaningful use. Recently, simulation based inference (SBI) has been proposed as an approach to perform Bayesian inference to estimate parameters in detailed neural models. SBI overcomes the challenge of not having access to a likelihood function, which has severely limited inference methods in such models, by leveraging advances in deep learning to perform density estimation. While the substantial methodological advancements offered by SBI are promising, their use in large scale biophysically detailed models is challenging and methods for doing so have not been established, particularly when inferring parameters that can account for time series waveforms. We provide guidelines and considerations on how SBI can be applied to estimate time series waveforms in biophysically detailed neural models starting with a simplified example and extending to specific applications to common MEG\/EEG waveforms using the the large scale neural modeling framework of the Human Neocortical Neurosolver. Specifically, we describe how to estimate and compare results from example oscillatory and event related potential simulations. We also describe how diagnostics can be used to assess the quality and uniqueness of the posterior estimates. The methods described provide a principled foundation to guide future applications of SBI in a wide variety of applications that use detailed models to study neural dynamics.<\/jats:p>","DOI":"10.1371\/journal.pcbi.1011108","type":"journal-article","created":{"date-parts":[[2024,2,26]],"date-time":"2024-02-26T13:39:25Z","timestamp":1708954765000},"page":"e1011108","update-policy":"https:\/\/doi.org\/10.1371\/journal.pcbi.corrections_policy","source":"Crossref","is-referenced-by-count":17,"title":["Methods and considerations for estimating parameters in biophysically detailed neural models with simulation based inference"],"prefix":"10.1371","volume":"20","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-0358-0074","authenticated-orcid":true,"given":"Nicholas","family":"Tolley","sequence":"first","affiliation":[]},{"given":"Pedro L. C.","family":"Rodrigues","sequence":"additional","affiliation":[]},{"given":"Alexandre","family":"Gramfort","sequence":"additional","affiliation":[]},{"given":"Stephanie R.","family":"Jones","sequence":"additional","affiliation":[]}],"member":"340","published-online":{"date-parts":[[2024,2,26]]},"reference":[{"key":"pcbi.1011108.ref001","volume-title":"Computational Neuroscience Series","author":"LF Abbott"},{"issue":"4","key":"pcbi.1011108.ref002","first-page":"735","volume":"102","author":"GT Einevoll","journal-title":"The Scientific Case for Brain Simulations"},{"issue":"7","key":"pcbi.1011108.ref003","first-page":"e1002107","volume":"7","author":"E Hay","journal-title":"Models of Neocortical Layer 5b Pyramidal Cells Capturing a Wide Range of Dendritic and Perisomatic Active Properties"},{"issue":"2","key":"pcbi.1011108.ref004","first-page":"456","volume":"163","author":"H Markram","journal-title":"Reconstruction and Simulation of Neocortical Microcircuitry"},{"key":"pcbi.1011108.ref005","first-page":"e51214","volume":"9","author":"SA Neymotin","journal-title":"Human Neocortical Neurosolver (HNN), a new software tool for interpreting the cellular and network origin of human MEG\/EEG data"},{"key":"pcbi.1011108.ref006","first-page":"281717","author":"E Hagen","journal-title":"Multimodal modeling of neural network activity: computing LFP, ECoG, EEG and MEG signals with LFPy2.0"},{"key":"pcbi.1011108.ref007","author":"YN Billeh","journal-title":"Systematic Integration of Structural and Functional Data into Multi-scale Models of Mouse Primary Visual Cortex"},{"issue":"1","key":"pcbi.1011108.ref008","first-page":"1","volume":"42","author":"RA McDougal","journal-title":"Twenty years of ModelDB and beyond: building essential modeling tools for the future of neuroscience"},{"issue":"11","key":"pcbi.1011108.ref009","first-page":"e1008386","volume":"16","author":"K Dai","journal-title":"Brain Modeling ToolKit: An open source software suite for multiscale modeling of brain circuits"},{"issue":"3","key":"pcbi.1011108.ref010","first-page":"395","volume":"103","author":"P Gleeson","journal-title":"Open Source Brain: A Collaborative Resource for Visualizing, Analyzing, Simulating, and Developing Standardized Models of Neurons and Circuits"},{"key":"pcbi.1011108.ref011","volume":"16","author":"FS Borges","journal-title":"Large-scale biophysically detailed model of somatosensory thalamocortical circuits in NetPyNE"},{"key":"pcbi.1011108.ref012","author":"S Dura-Bernal","journal-title":"Multiscale model of primary motor cortex circuits predicts in vivo cell type-specific, behavioral state-dependent dynamics"},{"key":"pcbi.1011108.ref013","author":"S Dura-Bernal","journal-title":"Data-driven multiscale model of macaque auditory thalamocortical circuits reproduces in vivo dynamics"},{"issue":"7","key":"pcbi.1011108.ref014","first-page":"563","volume":"7","author":"E Marder","journal-title":"Variability, compensation and homeostasis in neuron and network function"},{"issue":"4","key":"pcbi.1011108.ref015","first-page":"1273","volume":"30","author":"SJ Kiebel","journal-title":"Dynamic causal modelling of evoked responses in EEG\/MEG with lead field parameterization"},{"issue":"48","key":"pcbi.1011108.ref016","first-page":"30055","volume":"117","author":"K Cranmer","journal-title":"The frontier of simulation-based inference"},{"key":"pcbi.1011108.ref017","unstructured":"Greenberg D, Nonnenmacher M, Macke J. Automatic Posterior Transformation for Likelihood-Free Inference. In: Proceedings of the 36th International Conference on Machine Learning. PMLR;. p. 2404\u20132414. Available from: https:\/\/proceedings.mlr.press\/v97\/greenberg19a.html."},{"key":"pcbi.1011108.ref018","first-page":"e56261","volume":"9","author":"PJ Gon\u00e7alves","journal-title":"Training deep neural density estimators to identify mechanistic models of neural dynamics"},{"issue":"2","key":"pcbi.1011108.ref019","first-page":"155","volume":"7","author":"MJD Powell","journal-title":"An efficient method for finding the minimum of a function of several variables without calculating derivatives"},{"key":"pcbi.1011108.ref020","volume":"1","author":"S Druckmann","journal-title":"A novel multiple objective optimization framework for constraining conductance-based neuron models by experimental data"},{"key":"pcbi.1011108.ref021","unstructured":"Lueckmann JM, Gon\u00e7alves PJ, Bassetto G, \u00d6cal K, Nonnenmacher M, Macke JH. Flexible statistical inference for mechanistic models of neural dynamics. In: Proceedings of the 31st International Conference on Neural Information Processing Systems. NIPS\u201917. Curran Associates Inc.;. p. 1289\u20131299."},{"key":"pcbi.1011108.ref022","unstructured":"Coelho Rodrigues PL, Gramfort A. Learning summary features of time series for likelihood free inference. In: Workshop\u201dMachine Learning and the Physical Sciences\u201d at the NeurIPS 2020\u201434th Conference on Neural Information Processing Systems;. Available from: https:\/\/hal.archives-ouvertes.fr\/hal-03093390."},{"key":"pcbi.1011108.ref023","first-page":"178","volume":"163","author":"M Hashemi","journal-title":"Amortized Bayesian inference on generative dynamical network models of epilepsy using deep neural density estimators"},{"issue":"33","key":"pcbi.1011108.ref024","first-page":"E4885","volume":"113","author":"MA Sherman","journal-title":"Neural mechanisms of transient neocortical beta rhythms: Converging evidence from humans, computational modeling, monkeys, and mice"},{"issue":"40","key":"pcbi.1011108.ref025","first-page":"10751","volume":"27","author":"SR Jones","journal-title":"Neural Correlates of Tactile Detection: A Combined Magnetoencephalography and Biophysically Based Computational Modeling Study"},{"issue":"6","key":"pcbi.1011108.ref026","first-page":"3554","volume":"102","author":"SR Jones","journal-title":"Quantitative Analysis and Biophysically Realistic Neural Modeling of the MEG Mu Rhythm: Rhythmogenesis and Modulation of Sensory-Evoked Responses"},{"issue":"1","key":"pcbi.1011108.ref027","first-page":"19","volume":"35","author":"C Kohl","journal-title":"Neural Mechanisms Underlying Human Auditory Evoked Responses Revealed By Human Neocortical Neurosolver"},{"issue":"4","key":"pcbi.1011108.ref028","first-page":"668","volume":"32","author":"RG Law","journal-title":"Thalamocortical Mechanisms Regulating the Relationship between Transient Beta Events and Human Tactile Perception"},{"key":"pcbi.1011108.ref029","author":"RV Thorpe","journal-title":"Distinct neocortical mechanisms underlie human SI responses to median nerve and laser evoked peripheral activation"},{"key":"pcbi.1011108.ref030","first-page":"29","author":"GB Ermentrout"},{"issue":"2","key":"pcbi.1011108.ref031","first-page":"413","volume":"65","author":"M H\u00e4m\u00e4l\u00e4inen","journal-title":"Magnetoencephalography\u2014theory, instrumentation, and applications to noninvasive studies of the working human brain"},{"issue":"1","key":"pcbi.1011108.ref032","first-page":"49","volume":"126","author":"H Barbas","journal-title":"Frontal-thalamic circuits associated with language"},{"issue":"10","key":"pcbi.1011108.ref033","first-page":"595","volume":"24","author":"EG Jones","journal-title":"The thalamic matrix and thalamocortical synchrony"},{"issue":"4","key":"pcbi.1011108.ref034","first-page":"733","volume":"6","author":"A Gelman","journal-title":"Posterior predictive assessment of model fitness via realized discrepancies"},{"issue":"4","key":"pcbi.1011108.ref035","first-page":"383","volume":"143","author":"GEP Box","journal-title":"Sampling and Bayes\u2019 Inference in Scientific Modelling and Robustness"},{"issue":"7","key":"pcbi.1011108.ref036","first-page":"e1009129","volume":"17","author":"M Hashemi","journal-title":"On the influence of prior information evaluated by fully Bayesian criteria in a personalized whole-brain model of epilepsy spread"},{"key":"pcbi.1011108.ref037","volume":"10","author":"M Pastore","journal-title":"Measuring Distribution Similarities Between Samples: A Distribution-Free Overlapping Index"},{"key":"pcbi.1011108.ref038","first-page":"e29086","volume":"6","author":"H Shin","journal-title":"The rate of transient beta frequency events predicts behavior across tasks and species"},{"key":"pcbi.1011108.ref039","unstructured":"Rothfuss J, Ferreira F, Boehm S, Walther S, Ulrich M, Asfour T, et al. Noise Regularization for Conditional Density Estimation;. Available from: http:\/\/arxiv.org\/abs\/1907.08982."},{"key":"pcbi.1011108.ref040","author":"CM Bishop"},{"issue":"532","key":"pcbi.1011108.ref041","first-page":"2100","volume":"115","author":"JJ Franks","journal-title":"Handbook of Approximate Bayesian Computation"},{"issue":"2","key":"pcbi.1011108.ref042","first-page":"332","volume":"36","author":"SJ Kiebel","journal-title":"Dynamic causal modelling of evoked responses: The role of intrinsic connections"},{"issue":"4","key":"pcbi.1011108.ref043","first-page":"3099","volume":"49","author":"KE Stephan","journal-title":"Ten simple rules for dynamic causal modeling"},{"key":"pcbi.1011108.ref044","unstructured":"Ward D, Cannon P, Beaumont M, Fasiolo M, Schmon SM. Robust Neural Posterior Estimation and Statistical Model Criticism;. Available from: https:\/\/arxiv.org\/abs\/2210.06564v1."},{"key":"pcbi.1011108.ref045","unstructured":"Dax M, Green SR, Gair J, Deistler M, Sch\u00f6lkopf B, Macke JH. Group equivariant neural posterior estimation;. Available from: http:\/\/arxiv.org\/abs\/2111.13139."},{"issue":"24","key":"pcbi.1011108.ref046","first-page":"241103","volume":"127","author":"M Dax","journal-title":"Real-Time Gravitational Wave Science with Neural Posterior Estimation"},{"issue":"5679","key":"pcbi.1011108.ref047","first-page":"1926","volume":"304","author":"G Buzs\u00e1ki","journal-title":"Neuronal Oscillations in Cortical Networks"},{"key":"pcbi.1011108.ref048","unstructured":"Zhao D, Dalmasso N, Izbicki R, Lee AB. Diagnostics for conditional density models and Bayesian inference algorithms. In: Proceedings of the Thirty-Seventh Conference on Uncertainty in Artificial Intelligence. PMLR;. p. 1830\u20131840. Available from: https:\/\/proceedings.mlr.press\/v161\/zhao21b.html."},{"key":"pcbi.1011108.ref049","first-page":"118479","volume":"242","author":"JJ Bonaiuto","journal-title":"Laminar dynamics of high amplitude beta bursts in human motor cortex"},{"issue":"7","key":"pcbi.1011108.ref050","first-page":"415","volume":"41","author":"F van Ede","journal-title":"Neural Oscillations: Sustained Rhythms or Transient Burst-Events?"},{"issue":"2","key":"pcbi.1011108.ref051","first-page":"411","volume":"40","author":"JR Wessel","journal-title":"\u03b2-Bursts Reveal the Trial-to-Trial Dynamics of Movement Initiation and Cancellation"},{"key":"pcbi.1011108.ref052","first-page":"118974","volume":"251","author":"B Brady","journal-title":"Periodic\/Aperiodic parameterization of transient oscillations (PAPTO)\u2013Implications for healthy ageing"},{"issue":"18","key":"pcbi.1011108.ref053","first-page":"4830","volume":"37","author":"SR Cole","journal-title":"Nonsinusoidal Beta Oscillations Reflect Cortical Pathophysiology in Parkinson\u2019s Disease"},{"issue":"2","key":"pcbi.1011108.ref054","first-page":"312","volume":"58","author":"J Daunizeau","journal-title":"Dynamic causal modelling: A critical review of the biophysical and statistical foundations"},{"key":"pcbi.1011108.ref055","unstructured":"Friston K, Parr T, Zeidman P. Bayesian model reduction;. Available from: http:\/\/arxiv.org\/abs\/1805.07092."},{"key":"pcbi.1011108.ref056","first-page":"355","volume":"146","author":"DA Pinotsis","journal-title":"Linking canonical microcircuits and neuronal activity: Dynamic causal modelling of laminar recordings"},{"key":"pcbi.1011108.ref057","first-page":"108912","volume":"346","author":"DA Pinotsis","journal-title":"Statistical decision theory and multiscale analyses of human brain data"},{"key":"pcbi.1011108.ref058","author":"M Lavanga","journal-title":"The virtual aging brain: a model-driven explanation for cognitive decline in older subjects"},{"issue":"10","key":"pcbi.1011108.ref059","first-page":"5242","volume":"117","author":"J Brehmer","journal-title":"Mining gold from implicit models to improve likelihood-free inference"},{"key":"pcbi.1011108.ref060","unstructured":"Hermans J, Delaunoy A, Rozet F, Wehenkel A, Louppe G. Averting A Crisis In Simulation-Based Inference;. Available from: http:\/\/arxiv.org\/abs\/2110.06581."},{"key":"pcbi.1011108.ref061","unstructured":"Talts S, Betancourt M, Simpson D, Vehtari A, Gelman A. Validating Bayesian Inference Algorithms with Simulation-Based Calibration;. Available from: http:\/\/arxiv.org\/abs\/1804.06788."},{"key":"pcbi.1011108.ref062","first-page":"116839","volume":"217","author":"M Hashemi","journal-title":"The Bayesian Virtual Epileptic Patient: A probabilistic framework designed to infer the spatial map of epileptogenicity in a personalized large-scale brain model of epilepsy spread"},{"issue":"1","key":"pcbi.1011108.ref063","first-page":"1","volume":"4","author":"AN Vattikonda","journal-title":"Identifying spatio-temporal seizure propagation patterns in epilepsy using Bayesian inference"},{"issue":"3","key":"pcbi.1011108.ref064","first-page":"035016","volume":"3","author":"J Jha","journal-title":"Fully Bayesian estimation of virtual brain parameters with self-tuning Hamiltonian Monte Carlo"},{"issue":"92","key":"pcbi.1011108.ref065","first-page":"5848","volume":"8","author":"M Jas","journal-title":"HNN-core: A Python software for cellular and circuit-level interpretation of human MEG\/EEG"},{"key":"pcbi.1011108.ref066","unstructured":"Van Rossum G, Drake FL. Python 3 Reference Manual. CreateSpace;."},{"issue":"52","key":"pcbi.1011108.ref067","first-page":"2505","volume":"5","author":"A Tejero-Cantero","journal-title":"sbi: A toolkit for simulation-based inference"},{"key":"pcbi.1011108.ref068","unstructured":"Paszke A, Gross S, Massa F, Lerer A, Bradbury J, Chanan G, et al. PyTorch: An Imperative Style, High-Performance Deep Learning Library. In: Advances in Neural Information Processing Systems. vol. 32. Curran Associates, Inc.;. Available from: https:\/\/proceedings.neurips.cc\/paper\/2019\/hash\/bdbca288fee7f92f2bfa9f7012727740-Abstract.html."},{"issue":"7825","key":"pcbi.1011108.ref069","first-page":"357","volume":"585","author":"CR Harris","journal-title":"Array programming with NumPy"},{"issue":"3","key":"pcbi.1011108.ref070","first-page":"261","volume":"17","author":"P Virtanen","journal-title":"SciPy 1.0: fundamental algorithms for scientific computing in Python"},{"issue":"3","key":"pcbi.1011108.ref071","first-page":"90","volume":"9","author":"JD Hunter","journal-title":"Matplotlib: A 2D Graphics Environment"},{"issue":"60","key":"pcbi.1011108.ref072","first-page":"3021","volume":"6","author":"ML Waskom","journal-title":"seaborn: statistical data visualization"},{"key":"pcbi.1011108.ref073","unstructured":"Dask Development Team. Dask: Library for dynamic task scheduling;."}],"updated-by":[{"DOI":"10.1371\/journal.pcbi.1011108","type":"new_version","label":"New version","source":"publisher","updated":{"date-parts":[[2024,3,7]],"date-time":"2024-03-07T00:00:00Z","timestamp":1709769600000}}],"container-title":["PLOS Computational Biology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pcbi.1011108","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,3,7]],"date-time":"2024-03-07T14:04:27Z","timestamp":1709820267000},"score":1,"resource":{"primary":{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pcbi.1011108"}},"subtitle":[],"editor":[{"given":"Lyle J.","family":"Graham","sequence":"first","affiliation":[]}],"short-title":[],"issued":{"date-parts":[[2024,2,26]]},"references-count":73,"journal-issue":{"issue":"2","published-online":{"date-parts":[[2024,2,26]]}},"URL":"https:\/\/doi.org\/10.1371\/journal.pcbi.1011108","relation":{"has-preprint":[{"id-type":"doi","id":"10.1101\/2023.04.17.537118","asserted-by":"object"}]},"ISSN":["1553-7358"],"issn-type":[{"value":"1553-7358","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,2,26]]}}}