FazBrowse Wikipedia Viewer | Main Page |
Search Wikipedia:
|
Viewing: https://en.wikipedia.org/wiki/Bayesian_programming

Bayesian programming

Contents
    Question
        Question
        Decomposition
        Bayesian program
        Kalman filter
External links

Part of a series on
Bayesian statistics
Posterior = Likelihood × Prior ÷ Evidence
Background
Model building
Posterior approximation
Estimators
Evidence approximation
Model evaluation

Bayesian programming is a formalism and a methodology for having a technique to specify probabilistic models and solve problems when less than the necessary information is available.

Edwin T. Jaynes proposed that probability could be considered as an alternative and an extension of logic for rational reasoning with incomplete and uncertain information. In his founding book Probability Theory: The Logic of Science he developed this theory and proposed what he called "the robot," which was not a physical device, but an inference engine to automate probabilistic reasoning—a kind of Prolog for probability instead of logic. Bayesian programming is a formal and concrete implementation of this "robot".

Bayesian programming may also be seen as an algebraic formalism to specify graphical models such as, for instance, Bayesian networks, dynamic Bayesian networks, Kalman filters or hidden Markov models. Indeed, Bayesian programming is more general than Bayesian networks and has a power of expression equivalent to probabilistic factor graphs.

π) as given by the programmer and an identification or learning process for the parameters not completely specified by the specification, using a data set (δ and some specification π, the programmer must undertake the following:

  1. Define the set of relevant variables K subsets, Lk is obtained as the conjunction of the variables Xn among the variables appearing in the conjunction P(Lk∣Lk−1∧⋯∧L1∧δ∧π)=P(Lk∣Rk∧δ∧π)

    We then obtain:

    fμ(Lk)) or a question to another Bayesian program μ is a vector of parameters that may depend on δ.

    An important feature of Bayesian programming is this capacity to use questions to other Bayesian programs as components of the definition of a new Bayesian program. δ^. This is similar to calling a subroutine in classical programming and provides an easy way to build hierarchical models.

    Question

    edit

    Given a description (i.e., Searched, P(Searched∣Known∧δ∧π)

    made of many "instantiated questions" as the cardinal of P(X1∧X2∧⋯∧XN∣δ∧π), it is always possible to compute any possible question using the following general inference:

    P(Searched∣Known∧δ∧π) is too great in almost all cases.

    Replacing the joint distribution by its decomposition we get:

    W0,W1,…,WN−1: nth word of the dictionary is present in the text.

These P(W1∣Spam∧W0)=P(W1∣Spam)

to finally obtain:

P(Spam) is a prior defined, for instance, by P(Wn∣Spam) may be specified using Laplace rule of succession (this is a pseudocounts-based smoothing technique to counter the zero-frequency problem of words never-seen-before):
  1. afn stands for the number of appearances of the atn stands for the number of appearances of the N forms afn=0,…,N−1, at have no values yet.

    The identification of these parameters could be done either by batch processing a series of classified e-mails or by an incremental updating of the parameters using the user's classifications of the e-mails as they arrive.

    Both methods could be combined: the system could start with initial standard values of these parameters issued from a generic database, then some incremental learning customizes the classifier to each individual user.

    Question

    edit

    The question asked to the program is: "what is the probability for a given text to be spam knowing which words appear and don't appear in this text?" It can be formalized by:

    P([Spam=true]∣w0∧⋯∧wN−1)P([Spam=false]∣w0∧⋯∧wN−1)=P([Spam=true])P([Spam=false])×∏n=0N−1[P(wn∣[Spam=true])P(wn∣[Spam=false])]

    This computation is faster and easier because it requires only S0,…,ST are a time series of state variables considered to be on a time horizon ranging from O0,…,OT are a time series of observation variables on the same horizon.

  2. Decomposition

    edit

    The decomposition is based:

    • on t;
    • on St;
    • on an initial state at time P(St+k∣O0∧⋯∧Ot): what is the probability distribution for the state at time t?

      The most common case is Bayesian filtering where (k<0), to recover a past state from observations made either before or after that instant.

      More complicated questions may also be asked as shown below in the HMM section.

      Bayesian filters P(St−1∣O0∧⋯∧Ot−1) with the following formula:

      P(St∣O0∧⋯∧Ot)=P(Ot∣St)×P(St|O0∧⋯∧Ot−1)

Bayesian program

edit
0\\right)\\equiv \\text{Prediction} \\\\\n\\left(k<0\\right)\\equiv \\text{Smoothing} \\end{array}\\end{cases}\\end{cases}\n"}}'>Pr{Ds{Sp(π){Va:S0,⋯,ST,O0,⋯,OTDc:{P(S0∧⋯∧ST∧O0∧⋯∧OT|π)=P(S0∧O0)×∏t=1T[P(St|St−1)×P(Ot|St)]Fo:{P(S0∧O0)P(St|St−1)P(Ot|St)IdQu:{P(St+k|O0∧⋯∧Ot)(k=0)≡Filtering(k>0)≡Prediction(k<0)≡Smoothing

Kalman filter

edit

The very well-known Kalman filters are a special case of Bayesian filters.

They are defined by the following Bayesian program:

P(Ot∣St∧π) are both specified using Gaussian laws with means that are linear functions of the conditioning variables.

With these hypotheses and by using the recursive formula, it is possible to solve the inference problem analytically to answer the usual P(St∣St−1∧π) and the observation model "Expression Graphs: Unifying Factor Graphs and Sum-Product Networks" (PDF). bcf.usc.edu. Archived from the original (PDF) on 2018-10-12. Retrieved 2018-10-11.

  • ↑ Bessière, Pierre; Mazer, Emmanuel; Ahuactzin, Juan Manuel; Mekhnacha, Kamel (2013). Bayesian Programming. CRC Press. p. 21. ISBN 978-1-4398-8033-3.
  • ↑ Lebeltel, O.; Bessière, P.; Diard, J.; Mazer, E. (2004). "Bayesian Robot Programming" (PDF). Advanced Robotics. 16 (1): 49–79. doi:10.1023/b:auro.0000008671.38949.43. S2CID 18768468.
  • ↑ Ferreira, J.; Lobo, J.; Bessière, P.; Castelo-Branco, M.; Dias, J. (2012). "A Bayesian Framework for Active Artificial Perception" (PDF). IEEE Transactions on Systems, Man, and Cybernetics - Part B: Cybernetics. 99 (2): 1–13. doi:10.1109/TSMCB.2012.2214477. PMID 23014760. S2CID 1808051.
  • ↑ Coué, C.; Pradalier, C.; Laugier, C.; Fraichard, T.; Bessière, P. (2006). "Bayesian Occupancy Filtering for Multitarget Tracking: an Automotive Application" (PDF). International Journal of Robotics Research. 25 (1): 19–30. doi:10.1177/0278364906061158. S2CID 13874685.
  • ↑ Rett, J.; Dias, J.; Ahuactzin, J-M. (2010). "Bayesian reasoning for Laban Movement Analysis used in human-machine interaction". International Journal of Reasoning-Based Intelligent Systems. 2 (1): 13–35. doi:10.1504/IJRIS.2010.029812.
  • ↑ Eilers, M.; Möbus, C. (2010). "Lernen eines modularen Bayesian Autonomous Driver Mixture-of-Behaviors (BAD MoB) Modells" ( (PDF)). In Kolrep, H.; Jürgensohn, Th. (eds.). Fahrermodellierung - Zwischen kinematischen Menschmodellen und dynamisch-kognitiven Verhaltensmodellen. Fortschrittsbericht des VDI in der Reihe 22 (Mensch-Maschine-Systeme). Düsseldorf, Germany: VDI-Verlag. pp. 61–74. ISBN 978-3-18-303222-8. Archived from the original on 2014-02-03. Retrieved 2014-01-21.
  • ↑ Le Hy, R.; Arrigoni, A.; Bessière, P.; Lebetel, O. (2004). "Teaching Bayesian Behaviours to Video Game Characters" (PDF). Robotics and Autonomous Systems. 47 (2–3): 177–185. doi:10.1016/j.robot.2004.03.012. S2CID 16415524.
  • ↑ Laurens, J.; Droulez, J. (2007). "Bayesian processing of vestibular information". Biological Cybernetics. 96 (4): 389–404. doi:10.1007/s00422-006-0133-1. PMID 17146661. S2CID 18138027.
  • ↑ Moulin-Frier, C.; Laurent, R.; Bessière, P.; Schwartz, J-L.; Diard, J. (2012). "Adverse conditions improve distinguishability of auditory, motor and percep-tuo-motor theories of speech perception: an exploratory Bayesian modeling study" (PDF). Language and Cognitive Processes. 27 (7–8): 1240–1263. doi:10.1080/01690965.2011.645313. S2CID 55504109.
  • ↑ Zadeh, L.A. (1965). "Fuzzy sets". Information and Control. 8 (3). San Diego: 338–353. doi:10.1016/s0019-9958(65)90241-x. Zbl 0139.24606. Wikidata Q25938993.
  • ↑ Poole, D. (1993). "Probabilistic Horn abduction and Bayesian networks". Artificial Intelligence. 64: 81–129. doi:10.1016/0004-3702(93)90061-F.
  • ↑ Kamel Mekhnacha (2013). Bayesian Programming. Chapman and Hall/CRC. doi:10.1201/b16111. ISBN 978-1-4398-8032-6.
  • External links

    edit

    View original on Wikipedia | Back | FazBrowse Home