SBI with high-dimensional simulations with TSNPE? #1590
-
Hi!, I'm working on a project where I need to fit a model to high-dimensional data (specifically, video recordings with 1000 frames). The model has between 6 and 10 parameters to infer, and I've chosen to use SNPE for this task. However, I'm running into a couple of challenges: Due to resource constraints, I can’t generate more than ~10,000 simulations. Simulation and training (including both the neural density estimator and the embedding network) at the same time are quite computationally expensive on my GPU. Has anyone faced similar issues, or do you have suggestions for how to make SNPE more efficient in this setting? Any advice, ideas, tips, or other tricks would be greatly appreciated :) Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Hi there, thanks for reaching out! I don't think I have concrete tips for you though --- video data is just expected to make training expensive. For maximal flexibility over the dataloader and training loop, I recommend to check out this tutorial. Aside: 10k simulations is really on the lower end of what's necessary to make SNPE work reliably, especially with a large embedding network. I don't think it's impossible, but you might have to do quite some hyperparameter tuning etc. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Hi all, |
Beta Was this translation helpful? Give feedback.
-
Hi! SBC is indeed not implemented (well, it is implemented, but only for the first round). To implement it, you need a method that sets MAP should be implemented, are you experiencing issues with it? Michael |
Beta Was this translation helpful? Give feedback.
You can probably overcome issues with memory by using TSNPE:
Aside, TSNPE is typically much more stable and robust than other SNPE methods, and it is also the only SNPE …