Probabilistic Programming
Programming languages and frameworks that allow users to define probabilistic models as programs and perform automated inference (MCMC, variational, etc.) on them, separating model specification from inference algorithms.
Method
Stochastic primitives (sample, observe); models written as ordinary-looking code with randomness. Inference backends: HMC/NUTS, variational inference, sequential Monte Carlo, importance sampling. Examples: Stan, Pyro, NumPyro, PyMC, Turing.jl, Gen. Automatic differentiation enables gradient-based inference.
Applications
Bayesian hierarchical modeling, cognitive science models, scientific simulation-based inference, rapid prototyping of probabilistic models, teaching Bayesian statistics, any domain needing flexible probabilistic modeling.
Advantages
Flexible model specification; automated inference.
Limitations
Inference can still be slow or fail to converge; debugging probabilistic programs is hard; expressiveness vs. efficiency trade-offs; user still needs statistical expertise.
Alternatives
Manual derivation of inference, classical statistical software, simulation-only approaches, deep probabilistic models without full PPL.
Editorial clarification
Primary method selected from the source bundle; related approaches are alternatives, not aliases.
Sources
Educational reference only, not professional advice.
All algorithms