I’ve been collecting the habits that make amortized Bayesian inference projects go more smoothly, and I’d love to hear what has worked for others. Here’s my list so far:
- Start with a simple simulator. Getting a small, fast version of the model working first makes it much easier to spot bugs before scaling up.
- Check prior predictive samples. Looking at simulated data before training catches priors that produce implausible outcomes.
- Standardize inputs and parameters. Scaling data and targets to similar ranges usually makes training more stable.
- Run simulation-based calibration. Calibration checks reveal over- or under-confident posteriors that loss curves alone won’t show.
- Validate on held-out simulations. Recovery plots on fresh simulated data show whether the network actually learned the parameters.
- Watch for model misspecification. Comparing real observations with the training distribution helps flag when results can’t be trusted.
- Fix seeds and log settings. Recording seeds, versions and hyperparameters makes it possible to reproduce a good run later.
Which of these has helped you most, and what would you add to the list?