Pedro J. Goncalves
· 6 previous affiliations
- Vlaams Instituut voor BiotechnologieSince 2023
- Principal Researcher · Since 2023
- KU LeuvenSince 2024
- Associate Professor · Since 2024
- University of Tübingen2021–2023
- Postdoc · 2021–2023
- Postdoc · 2016–2021
- University College London2012–2015
- Postdoc · 2012–2015
- École Normale Supérieure - PSL2007–2012
- PhD student · 2007–2012
Research Overview
Pedro J. Gonçalves focuses on the intersection of machine learning, dynamical systems, and computational neuroscience, with a primary emphasis on developing biologically constrained theoretical models of neural systems. His work addresses the fundamental challenge of linking complex mechanistic models—which often lack tractable likelihood functions—to empirical observations of neural activity. By leveraging simulation-based inference (SBI) and deep neural density estimators, he develops frameworks that allow researchers to identify the full space of biological parameters consistent with experimental data, facilitating a more rigorous understanding of neural dynamics in both health and disease.
Research Trajectory
The trajectory of Gonçalves’s research is defined by a transition from traditional parameter-fitting approaches toward robust, scalable Bayesian inference frameworks for "black-box" simulators. Early in his career, particularly during his doctoral work at École normale supérieure and subsequent postdoctoral fellowships at the Gatsby Computational Neuroscience Unit and the University of Tübingen, he identified a critical bottleneck in computational neuroscience: while mechanistic models (such as those describing ion channels or circuit dynamics) are essential for explaining biological phenomena, they are often too complex for standard statistical inference. This led to a sustained focus on "likelihood-free" or simulation-based inference, where the goal is to perform Bayesian estimation without requiring an explicit analytical likelihood function.
Between 2017 and 2021, Gonçalves was instrumental in the development of Sequential Neural Posterior Estimation (SNPE). This period marked a shift toward using deep learning—specifically conditional density estimators—to learn the mapping from observed data to posterior distributions over model parameters. This methodological advancement allowed for the analysis of stochastic and computationally expensive models that were previously inaccessible to rigorous statistical treatment. His work during this time demonstrated that these machine learning tools could be applied to a wide range of neuroscientific problems, from receptive field modeling to the biophysics of single neurons.
In recent years, Gonçalves’s focus has expanded toward the democratization and stabilization of these methods. As a Group Leader at VIB.AI and Associate Professor at KU Leuven, he has overseen the development of comprehensive software ecosystems and more efficient algorithmic variants. This includes addressing the practical challenges of SBI, such as handling "out-of-distribution" data through truncated proposals and reducing the computational burden of high-fidelity simulations through multifidelity approaches. His current work increasingly integrates these advanced inference techniques with large-scale neural recordings and clinical imaging modalities, such as diffusion MRI, to map brain connectivity and uncertainty.
Current Directions
Gonçalves’s current research program is organized around three primary pillars: algorithmic refinement, software sustainability, and biological application. A significant portion of his recent output involves the maintenance and evolution of the sbi toolkit, a PyTorch-based library that has become a standard in the field for performing Bayesian inference on simulators. This work involves integrating modern generative architectures, such as flow matching and diffusion models, into the SBI workflow to improve the accuracy and reliability of posterior estimates.
Methodologically, he is currently focused on the problem of computational efficiency. Recognizing that high-fidelity biological simulators can be prohibitively slow, his lab is developing multifidelity frameworks that utilize "cheap" low-fidelity simulations to pre-train models, which are then refined with a limited set of expensive, high-fidelity data. This direction is crucial for scaling SBI to the most complex models of neural circuits and systems-level dynamics. Furthermore, his lab continues to apply these tools to diverse biological questions, including the decoding of movie content from human medial temporal lobe activity and the probabilistic mapping of white matter tractography.
Representative Work
The following papers characterize the evolution of Gonçalves’s contributions to simulation-based inference and its application to neural systems.
In Flexible statistical inference for mechanistic models of neural dynamics, Gonçalves and colleagues introduced Sequential Neural Posterior Estimation (SNPE). This work addressed the limitations of traditional inference methods by training neural networks to directly estimate the posterior distribution of parameters in likelihood-free models. By applying this to models of neural dynamics, the paper demonstrated that it is possible to identify the entire range of biological parameters consistent with experimental observations, even when models are computationally expensive or prone to numerical instability.
Building on the foundations of SNPE, Training deep neural density estimators to identify mechanistic models of neural dynamics further established the scalability and flexibility of deep neural density estimators. In this first-author study, Gonçalves demonstrated the method's utility across multiple domains, including ion channel models and receptive fields. The paper highlighted the ability of these tools to rapidly analyze new data after an initial training phase, providing a significant advantage over traditional sampling-based methods like Markov Chain Monte Carlo (MCMC).
To address the practical difficulties of applying SBI to real-world data, Gonçalves led the development of Truncated proposals for scalable and hassle-free simulation-based inference. This work introduced Truncated Sequential Neural Posterior Estimation (TSNPE), a method designed to make the inference process more robust and less sensitive to the choice of initial parameters. By using truncated proposals, the algorithm avoids common pitfalls in sequential inference, such as "leaking" probability mass into regions of the parameter space that are inconsistent with the prior, thereby making the tools more accessible to non-expert users.
As a senior author, Gonçalves has spearheaded the consolidation of these methods into a unified software framework, as detailed in sbi reloaded: a toolkit for simulation-based inference workflows. This publication describes a comprehensive PyTorch-based library that incorporates state-of-the-art neural architectures and diagnostic tools. The toolkit is designed to allow researchers across various scientific disciplines to align their "black-box" simulators with empirical data efficiently, reflecting Gonçalves’s commitment to providing the broader scientific community with rigorous, open-source inference tools.
The challenge of computational cost in high-fidelity modeling is addressed in Multifidelity Simulation-based Inference for Computationally Expensive Simulators. In this senior-author paper, Gonçalves and his team introduced Multifidelity Neural Posterior Estimation (MF-NPE). The framework significantly reduces the number of expensive simulations required for accurate inference by leveraging information from lower-fidelity, computationally cheaper versions of the same model. This approach represents a critical step toward applying SBI to the most complex and resource-intensive simulations in neuroscience and other fields.
Finally, Gonçalves has participated in applying these inference frameworks to clinical and imaging data, as seen in Uncertainty mapping and probabilistic tractography using Simulation-based Inference in diffusion MRI: A comparison with classical Bayes. In this collaborative work, SBI was used to estimate fiber orientations and their associated uncertainties in diffusion MRI. The study demonstrated that SBI-based approaches could achieve results comparable to "gold standard" Bayesian methods while operating significantly faster, illustrating the practical utility of these machine learning tools in large-scale neuroimaging studies.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake