Probabilistic programming language

A probabilistic programming language (PPL) is a programming language designed to describe probabilistic models and then perform inference in those models. PPLs are closely related to graphical models and Bayesian networks, but are more expressive and flexible.[1] Probabilistic programming represents an attempt to "[unify] general purpose programming with probabilistic modeling."[2]

Probabilistic reasoning is a foundational technology of machine learning. It is used by companies such as Google, Amazon.com and Microsoft. Probabilistic reasoning has been used for predicting stock prices, recommending movies, diagnosing computers, detecting cyber intrusions and image detection.[3]

PPLs often extend from a basic language. The choice of underlying basic language depends on the similarity of the model to the basic language's ontology, as well as commercial considerations and personal preference. For instance, Dimple[4] and Chimple[5] are based on Java, Infer.NET is based on .NET framework,[6] while PRISM extends from Prolog.[7] However, some PPLs such as WinBUGS and Stan offer a self-contained language, with no obvious origin in another language.[8][9]

Several PPLs are in active development, including some in beta test.

Relational

A probabilistic relational programming language (PRPL) is a PPL specially designed to describe and infer with probabilistic relational models (PRMs).

A PRM is usually developed with a set of algorithms for reducing, inference about and discovery of concerned distributions, which are embedded into the corresponding PRPL.

Probabilistic programming

Probabilistic programming creates systems that help make decisions in the face of uncertainty. Probabilistic reasoning combines knowledge of a situation with the laws of probability. Until recently, probabilistic reasoning systems have been limited in scope, and have not successfully addressed real world situations. Probabilistic programming is a new approach that makes probabilistic reasoning systems easier to build and more widely applicable.[10] Reasoning about variables as probability distributions causes difficulties for novice programmers, but these difficulties can be addressed through use of Bayesian network visualisations and graphs of variable distributions embedded within the source code editor.[11]

Applications

In 2015, a 50-line PPL computer vision program was used to generate 3D models of human faces based on 2D images of those faces. The program used inverse graphics as the basis of its inferencing,[3] done by a PPL language they call Picture, (and the Julia host language) that made possible "in 50 lines of code what used to take thousands [whereas their experiments used their] probabilistic programming language they call Picture, which is an extension of Julia language, another language developed at MIT".[12][13] A paper on the Picture language, shown at the 2015 Computer Vision and Pattern Recognition conference, was awarded "Best Paper Honorable Mention".[14]

List of probabilistic programming languages

This list is incomplete; you can help by expanding it.
Name Extends from Host language
Venture[15] Scheme C++
Probabilistic-C[16] C C
Anglican[17] Scheme Clojure
IBAL[18] OCaml
PRISM[7] B-Prolog
Infer.NET[6] .NET Framework .NET Framework
dimple[4] MATLAB, Java
chimple[5] MATLAB, Java
BLOG[19] Java
PSQL[20] SQL
BUGS[8]
FACTORIE[21] Scala
PMTK[22] MATLAB MATLAB
Alchemy[23] C++
Dyna[24] Prolog
Figaro[25] Scala
Church[26] Scheme Various: JavaScript, Scheme
ProbLog[27] Prolog Python, Jython
ProBT[28] C++, Python
Stan (software)[9] C++
Hakaru[29] Haskell Haskell
BAli-Phy (software)[30] Haskell C++
ProbCog[31] Java, Python
Gamble[32] Racket
Tuffy[33] Java
PyMC[34] Python Python
Lea[35] Python Python
WebPPL[36]JavaScriptJavaScript
Picture[3] Julia Julia
Turing.jl[37] Julia Julia
Troll[38] Moscow ML

See also

Notes

  1. "Probabilistic programming does in 50 lines of code what used to take thousands". phys.org. April 13, 2015. Retrieved 2015-04-13.
  2. "Probabilistic Programming". probabilistic-programming.org.
  3. 1 2 3 "Short probabilistic programming machine-learning code replaces complex programs for computer-vision tasks". KurzweilAI. April 13, 2015. Retrieved April 2015. Check date values in: |access-date= (help)
  4. 1 2 "Dimple Home Page". probprog.org.
  5. 1 2 "Chimple Home Page". probprog.org.
  6. 1 2 "Infer.NET". microsoft.com. Microsoft.
  7. 1 2 PRISM Home Page
  8. 1 2 "The BUGS Project - MRC Biostatistics Unit". cam.ac.uk.
  9. 1 2 "Stan". mc-stan.org.
  10. Pfeffer, Avrom (2014), Practical Probabilistic Programming, Manning Publications. p.28. ISBN 978-1 6172-9233-0
  11. Gorinova, Maria I.; Sarkar, Advait; Blackwell, Alan F.; Syme, Don (2016-01-01). "A Live, Multiple-Representation Probabilistic Programming Environment for Novices". Proceedings of the 2016 CHI Conference on Human Factors in Computing Systems. CHI '16. New York, NY, USA: ACM: 2533–2537. doi:10.1145/2858036.2858221. ISBN 9781450333627.
  12. Hardesty, Larry (April 13, 2015). "Graphics in reverse".
  13. http://www.theregister.co.uk/2015/04/14/mit_shows_off_machinelearning_script_to_make_creepy_heads/
  14. http://www.pamitc.org/cvpr15/awards.php
  15. "Venture -- a general-purpose probabilistic programming platform". mit.edu.
  16. "Probabilistic C". ox.ac.uk.
  17. "The Anglican Probabilistic Programming System". ox.ac.uk.
  18. IBAL Home Page
  19. "Bayesian Logic (BLOG)". mit.edu.
  20. "PSQL: A query language for probabilistic relational data". doi:10.1016/S0169-023X(98)00015-9.
  21. "Factorie - Probabilistic programming with imperatively-defined factor graphs - Google Project Hosting". google.com.
  22. "PMTK3 - probabilistic modeling toolkit for Matlab/Octave, version 3 - Google Project Hosting". google.com.
  23. "Alchemy - Open Source AI". washington.edu.
  24. Dyna Home Page
  25. "Charles River Analytics - Probabilistic Modeling Services". cra.com.
  26. "Church". mit.edu.
  27. ProbLog Home Page
  28. ProbaYes. "ProbaYes - Ensemble, nous valorisations vos données". probayes.com.
  29. "Hakaru Home Page". indiana.edu.
  30. "BAli-Phy Home Page". bali-phy.org.
  31. "ProbCog". GitHub.
  32. Gamble Home Page|
  33. "Tuffy: A Scalable Markov Logic Inference Engine". stanford.edu.
  34. PyMC devs. "PyMC3". pymc-devs.github.io.
  35. "Lea Home Page". bitbucket.org.
  36. "WebPPL Home Page". github.com/probmods/webppl.
  37. "Turing: Rejuvenating probabilistic programming in Julia".
  38. "Troll dice roller and probability calculator".

External links

This article is issued from Wikipedia - version of the 11/28/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.