Podcast
Questions and Answers
Describe how insights and constraints from model evaluation can be used in mechanistic modeling.
Describe how insights and constraints from model evaluation can be used in mechanistic modeling.
Insights and constraints from model evaluation inform adjustments to the mechanistic model, refining its structure or parameters to better align with empirical data.
Explain how mechanistic models and machine learning differ in their approach to data and interpretation.
Explain how mechanistic models and machine learning differ in their approach to data and interpretation.
Mechanistic models are built on assumptions about mechanisms and provide interpretable parameters, while machine learning models focus on performance, built with computation and generalization in mind, often lacking direct interpretation.
What is the role of Bayesian inference in determining the compatibility of model parameters with observed data?
What is the role of Bayesian inference in determining the compatibility of model parameters with observed data?
Bayesian inference quantifies the compatibility of mechanistic model parameters with data by calculating the posterior probability distribution, reflecting the plausibility of different parameter values given the data and prior knowledge.
Describe the components necessary to perform Bayesian inference.
Describe the components necessary to perform Bayesian inference.
Why is the likelihood function often considered 'not tractable' when working with mechanistic models, and how does this challenge simulation-based inference?
Why is the likelihood function often considered 'not tractable' when working with mechanistic models, and how does this challenge simulation-based inference?
Define 'likelihood-free' inference in the context of ABC methods.
Define 'likelihood-free' inference in the context of ABC methods.
What does the parameter $\epsilon$ (epsilon) represent in the context of Approximate Bayesian Computation (ABC), and how does it influence the balance between computability and accuracy?
What does the parameter $\epsilon$ (epsilon) represent in the context of Approximate Bayesian Computation (ABC), and how does it influence the balance between computability and accuracy?
Describe key challenges associated with ABC.
Describe key challenges associated with ABC.
What is meant by the 'curse of dimensionality' in the context of ABC, and how are summary statistics used to mitigate this issue?
What is meant by the 'curse of dimensionality' in the context of ABC, and how are summary statistics used to mitigate this issue?
Explain how summary statistics can lead to information loss in ABC.
Explain how summary statistics can lead to information loss in ABC.
Explain why ABC methods are more popular in genetics than other biological disciplines.
Explain why ABC methods are more popular in genetics than other biological disciplines.
What are some ways to achieve more accurate summary statistics?
What are some ways to achieve more accurate summary statistics?
What is the goal in combining Machine Learning and Mechanistic Models?
What is the goal in combining Machine Learning and Mechanistic Models?
What are some advanced topics in SBI?
What are some advanced topics in SBI?
What are some reasons that simulation-based inference is rapidly expanding.
What are some reasons that simulation-based inference is rapidly expanding.
What is the purpose of neuro-simulation?
What is the purpose of neuro-simulation?
How does simulation-based inference contribute to combining mechanistic models and data for mechanistic insights?
How does simulation-based inference contribute to combining mechanistic models and data for mechanistic insights?
What role does probability theory play in reasoning with data and quantifying uncertainty in simulation-based inference?
What role does probability theory play in reasoning with data and quantifying uncertainty in simulation-based inference?
Describe the goal of mechanistic models.
Describe the goal of mechanistic models.
Describe the goal of Machine Learning models.
Describe the goal of Machine Learning models.
What are some ABC algorithmns?
What are some ABC algorithmns?
Why are simulator important in science?
Why are simulator important in science?
In the context of simulation-based inference, why is it important to validate a model against experimental data?
In the context of simulation-based inference, why is it important to validate a model against experimental data?
Describe how prior knowledge or beliefs are incorporated into Bayesian inference, and explain why this is important.
Describe how prior knowledge or beliefs are incorporated into Bayesian inference, and explain why this is important.
In the context of simulation-based inference, how do the goals of understanding and performance influence the choice between mechanistic models and machine learning models?
In the context of simulation-based inference, how do the goals of understanding and performance influence the choice between mechanistic models and machine learning models?
Define the role of the posterior distribution in Bayesian inference, and explain how it is informed by both the prior distribution and the likelihood function.
Define the role of the posterior distribution in Bayesian inference, and explain how it is informed by both the prior distribution and the likelihood function.
How do mechanistic models incorporate knowledge of dynamics, and how does this facilitate a deeper understanding of the underlying system?
How do mechanistic models incorporate knowledge of dynamics, and how does this facilitate a deeper understanding of the underlying system?
How does the trade-off between bias and variance manifest in the context of choosing summary statistics for ABC?
How does the trade-off between bias and variance manifest in the context of choosing summary statistics for ABC?
What is the difference between a Rejection Algorithm and a 'Mechanical' Rejection Algorithm?
What is the difference between a Rejection Algorithm and a 'Mechanical' Rejection Algorithm?
With the Rejection Algorithm, what do you get as a result?
With the Rejection Algorithm, what do you get as a result?
What is the approximate version of the Uniform Rejection Algorithm?
What is the approximate version of the Uniform Rejection Algorithm?
How does the tolerance variable, epsilon, influence the results?
How does the tolerance variable, epsilon, influence the results?
How can neural networks enhance data analysis?
How can neural networks enhance data analysis?
How does ABC handle the fact that some data is too high dimensional?
How does ABC handle the fact that some data is too high dimensional?
What is an advantage that mechanistic models have over machine learning?
What is an advantage that mechanistic models have over machine learning?
Is ABC often a useful tool with data?
Is ABC often a useful tool with data?
In simulation-based inference, what does the mechanistic model do?
In simulation-based inference, what does the mechanistic model do?
In simulation-based inference, what needs to be done with the models to ensure a relevant result?
In simulation-based inference, what needs to be done with the models to ensure a relevant result?
Generally speaking, why do mechanistic insight and data need to be combined.
Generally speaking, why do mechanistic insight and data need to be combined.
How does summary statistic $S(x_o)$ control 'information loss'?
How does summary statistic $S(x_o)$ control 'information loss'?
What is the key question that can be answered via Bayesian inference?
What is the key question that can be answered via Bayesian inference?
Flashcards
Mechanistic Model Cycle
Mechanistic Model Cycle
A cycle where a mechanistic model is used to generate predictions, which are then evaluated against collected empirical data. Insights from this comparison can refine the model.
Mechanistic Models
Mechanistic Models
Models built on assumptions about mechanisms to pursue understanding, using interpretable parameters and knowledge of dynamics.
Machine Learning Models
Machine Learning Models
Models focused on performance. Built with computation and generalization in mind, using data and inductive bias, often lacking direct interpretation.
Model Predictions
Model Predictions
Signup and view all the flashcards
Bayesian Inference
Bayesian Inference
Signup and view all the flashcards
Simulate Data
Simulate Data
Signup and view all the flashcards
Approximate Bayesian Computation (ABC)
Approximate Bayesian Computation (ABC)
Signup and view all the flashcards
ABC key aspects
ABC key aspects
Signup and view all the flashcards
Accepted Parameters
Accepted Parameters
Signup and view all the flashcards
Tolerance (epsilon)
Tolerance (epsilon)
Signup and view all the flashcards
Use Summary Statistics
Use Summary Statistics
Signup and view all the flashcards
Simulation-based Inference
Simulation-based Inference
Signup and view all the flashcards
Mechanistic Insights
Mechanistic Insights
Signup and view all the flashcards
Probability Theory
Probability Theory
Signup and view all the flashcards
Study Notes
- Lecture 6 is about simulation-based inference and was presented in March 2025
- The lecture is an introduction to the topic
- Pedro Goncalves and team is the presenter, and can be reached at goncalveslab.sites.vib.be/en
- Philipp Berens , Jonas Beck also contributed with more info available at https://hertie.ai/data-science/team
- Parts of these lectures are adapted from AIMS SBI January 2024, JH Macke, C Schroder, PJ Goncalves
- Some slides are by Álvaro Tejero-Cantero
- Labs aim to combine Scientific Modelling and Machine Learning to build tools for data-driven scientific discovery
- Applications focus on neuroscience
- Mechanistic models are refined and simulated to generate inferred parameters interpreted through neural networks to identify parameters.
- Refined mechanistic models can use the equation: Cm * dV/dt = SUM g_i(t) * (E_i − V) + I
- C. Elegans worms have Neurons and Neuromodulators to influence behavior
Science and Simulators
- Mechanistic models generate predictions which simulate data
- Empirical data is collected and used evaluate the model
- Insights are added to create constraints on the mechanistic model
- Mechanistic models are built from assumptions about mechanisms with knowledge of dynamics and interpretable parameters
- It is often hard to fit mechanistic model to data
- Machine learning gives goal performance
- Machine learning is built with computation and generalization in mind
- Machine learning uses data + inductive bias and is often without direct interpretation, to fit data
- By combining strengths of both approaches we can build data-drive science
- Parameters of a mechanistic model define how compatible they are with given data
- Bayesian inference is used to define the parameters
Bayesian Inference and Simulation
- Bayesian inference finds model parameters consistent with data and prior knowledge.
- p(θ|x) ∝ p(x|θ)π(θ) is the formula behind this
- θ represents the parameters
- x represents the data.
- Calculating the posterior is hard
- Likelihood is often not tractable
- For many mechanistic models, it is possible to simulate x but not evaluate the likelihood p(x|θ)
- Models are then defined through black-box simulators
- Simulation-based inference is used as a solution to this problem
Approximate Bayesian Computation (ABC)
- ABC provides an intuitive first approach.
- It is based on a tutorial by Wilkinson 2016
- ABC algorithms are a diverse collection of methods for performing inference on simulators which do not require knowledge of the likelihood function.
- Inference is done using simulations from the model and is 'likelihood-free'
- ABC methods are popular in biological disciplines like genetics for its simplicity, intuitive implementation and embarrassingly parallelizable nature
- Rejection Algorithm: Sample θn ~ p(θ) then Accept θn with probability p(x0|θn)
- 'Mechanical' Rejection Algorithm samples θn ~ p(θ) and then simulate xn from model (equivalently, sample xn ~ p(x|θn)
- In approximate version in uniform Rejection Algorithm, for θn we sample xn ~ p(x|θn) and accept θn if p(xn , x0) ≤ ε
- ε reflects the tension between computability and accuracy
- As ε ∞, we get observations from the prior p(θ)
- If ε = 0, we generate observations from p(θ|x)
- If the data are too high dimensional, simulations will not be close to mesured data, resulting in the curse of dimensionality.
- Dimensionality is reduced using summary statistics S(x0)
- Summary statistics also have the equation: p(S(xn), S(x0)) ≤ ε
Key Challenges and Comments about ABC
- Accuracy in ABC is determined by Tolerance ε, which control the 'ABC error'
- Computation constrains also limit accuracy, and often rules out expensive simulators
- Summary statistic S(x0)controls 'information loss'
- Inference is based on p(θ|S(x0)) rather than p(θ|x0)
- Expert-knowledge and machine-learning tools can be used to find informative summaries
- It can be useful to get more accurate and efficient algorithms (scaling to more parameters and summary statistics)
- It can be useful to figure out how to choose summary statistics or how to deal with expensive simulators
- There are many ABC algorithms such as (SMC-ABC, Regression-ABC, GP-ABC, Hamiltonian-ABC...)
Simulation-based Inference with Neural Networks
- Simulation-based inference is rapidly expanding due to recent advancements in probabilistic deep learning
- Neural networks can train models to identify data-compatible parameters from a mechanistic model with a prior and simulated data
- Simulation-based inference aims to combine simulators and data for new insights
- Probability theory is a mathematical language for performing inference
- Use advances in machine learning, particularly neural networks, for Bayesian inference
Course outline
- Week 2 goes over: ABC, neural density estimation, NPE, normalising flows, advanced topics in SBI
- Week 3: SBI hands-on tutorial, project work
Organizational matters
- To communicate, email [email protected], [email protected]
- Lecture materials can be found on GitHub (https://github.com/berenslab/AIMS2025-NeuroSimInf).
- There will be a 30min exam on Friday
- There will be a project evaluation on Thursday 20
- The final grade is calculated as an average of the weekly grades
Closing remarks
- For mechanistic insights, combine mechanistic models and data
- Use probability theory as a framework for reasoning with data, to quantify our uncertainty about it.
- Use Simulation-based inference for making sense of the real world with simulations
- ABC-based methods are a popular method for doing simulation-based inference that is simple to implement, intuitive, and embarrassingly parallelizable.
- ABC does not scale well with the number of parameters to infer or with the dimensionality of the summary statistics.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.