You wake up and the grass is wet. Did it rain â or did someone leave the sprinkler on? Both causes make the grass wet, but they are not equally likely given everything else you know. A Bayesian network is a tool for thinking through exactly this kind of uncertainty systematically.
The idea, developed by Judea Pearl in the 1980s (earning him the 2011 Turing Award), is to represent every variable as a node in a directed acyclic graph. An arrow from Rain to Wet grass means "rain influences whether the grass is wet." Each node stores a small conditional probability table â numbers like "if it rained, the grass is wet with probability 0.99." That is all you need. Once the graph is built, observing any variable instantly constrains every other one through the structure.
The magic is that you can do inference without enumerating every combination. Instead of multiplying out a joint probability table that would grow exponentially with the number of variables, the graph lets you pass messages along edges. Add one new fact, run message-passing, and every node in the network has an updated belief. It is Bayes' theorem, scaled up and made efficient by a graph.
Comments
Loading comments...