Neural simulation-based inference helps fit cognitive models without likelihoods
Neural Simulation-Based Inference for Computational Cognitive Models: A Tutorial
Machine Learning
Summary
It can be very hard for scientists to match complex brain and behavior models to real data because typical math tools require calculations they cannot easily do. The authors show how training neural networks on simulated examples can help connect data to these models without tricky calculations. This makes it easier to study many new ideas about how minds work by analyzing data more efficiently. The paper provides step-by-step guidance to help scientists use this approach in their cognitive research.
What this means in practice
- •For cognitive modelers: Fit complex cognitive models to behavioral data when likelihood functions are unavailable or intractable.
- •For data scientists in biomedicine: Use neural SBI techniques to infer parameters in computational models of biological systems where standard methods fail.
Authors
Ti-Fen Pan, Yi Cheng, Anne GE Collins
Abstract
Computational cognitive modeling is an increasingly essential methodology to elucidate the mechanisms underlying human and animal cognition. By fitting models to empirical data, researchers can perform parameter estimation, model comparison, and model-based neural analyses to assess competing theories, quantify individual differences, and investigate neural representations. Typically, fitting these models relies on likelihood-dependent methods (e.g., Maximum likelihood estimation or hierarchical Bayesian methods). However, for many reasonable cognitive models, computing the likelihood is computationally intractable, in which case these methods become inadequate. This substantially limits the range of theories that researchers can investigate. Simulation-based inference with neural networks (neural SBI) has emerged as a powerful toolkit to overcome this hurdle. By training deep neural networks on datasets generated through model simulations, neural SBI learns the relation between observable data and cognitive models. This approach enables all the applications of standard modeling while bypassing the likelihood computation, without constraints on empirical data size. Despite its successful adoption across diverse scientific fields, neural SBI remains underutilized in cognitive modeling, partly due to a lack of accessible, domain-tailored guidance. This tutorial addresses this gap by providing a clear workflow for applying neural SBI to cognitive models. We also provide practical use cases and recommendations for reducing the computational and simulation burden, facilitating efficient implementation in real-world research settings. By lowering the technical barriers to neural SBI, this tutorial aims to empower cognitive scientists to investigate richer theory spaces and ultimately propel scientific discovery.