Amortized Neural Posterior Estimation
Amortized neural posterior estimation trains a neural network on parameter values drawn from the prior and data simulated from the model, so that the network maps any data set's summary statistics directly to an approximate posterior distribution.
상각 신경 사후분포 추정은 사전분포에서 뽑은 모수와 모형으로 모의 생성한 자료를 신경망에 학습시켜, 어떤 자료의 요약통계량이든 곧바로 근사 사후분포로 바꿔 주도록 만드는 방법입니다.
I need posterior distributions for many groups under the same model; can a network be trained once on simulations and then give each group's posterior instantly, with a check that it is calibrated?
같은 모형으로 여러 집단의 사후분포가 필요한데, 모의실험으로 신경망을 한 번만 학습시킨 뒤 집단마다 바로 사후분포를 얻고 보정이 맞는지도 확인할 수 있나요?
Choose a built-in model (normal, lognormal, Poisson, Bernoulli or exponential). The method simulates sufficient statistics from the prior predictive distribution, fits mixture density networks for each parameter in turn, and evaluates them at every group's observed summaries. Held-out simulations check calibration, and an exact quadrature posterior is reported beside each estimate to show the amortization gap.
When to use Amortized Neural Posterior Estimation
- You want posteriors for many groups or data sets under one model and prefer to pay the training cost once.
- You want to learn or demonstrate simulation-based inference with built-in calibration checks.
- The parameters of a simple outcome distribution (mean and SD, a rate or a proportion) are the target.
When to use something else
- You need a custom simulator or a regression model: this implementation offers built-in outcome distributions only.
- You want exact conjugate answers for a single group: use Bayesian Linear Regression or Bayesian A/B Test (Beta-Binomial).
- You want a simple likelihood-free method without network training: use Approximate Bayesian Computation.
Assumptions and requirements
- Observations within a group are independent draws from the chosen distribution.
- The observed summaries lie inside the range covered by prior predictive simulations.
- The network is flexible enough and trained on enough simulations; check calibration and the gap to the exact posterior.
What the analysis reports
- Posterior mean, SD, median and credible interval of each parameter for every group
- Exact quadrature posterior mean and SD shown as a check, with the largest gap in posterior SD units
- Coverage of 90% intervals and rank-uniformity p-values on held-out simulations
- Training settings and validation loss
How to report it
Amortized neural posterior estimation (normal model, [value] simulations) gave a posterior mean of [value], 95% credible interval [[value], [value]]; 90% intervals covered [value]% of held-out simulations.
Related methods
- Approximate Bayesian Computation
- Bayesian Hierarchical Model
- Posterior Draw Summary (HDI, ROPE, MAP, Probability of Direction)
- MCMC Convergence Diagnostics
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Amortized Neural Posterior Estimation on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.