Bayesian network
A Bayesian network is a probabilistic model that represents variables as points in a directed graph, with arrows for dependencies, so it can calculate how likely one thing is given evidence about others.
A Bayesian network draws uncertain knowledge as a diagram. Each node is a variable, such as a disease, a symptom or a test result, and each arrow shows that one variable directly influences another. The arrows never loop back on themselves, so the graph is what mathematicians call a directed acyclic graph. Each node carries a table giving the probability of its possible values for every combination of values of the nodes pointing into it.
The standard teaching example has three variables: whether it rained, whether the sprinkler was on and whether the grass is wet. Rain makes the sprinkler less likely to run, and either can wet the grass. If you then observe wet grass, the network can work backwards to calculate how likely it is that it rained. It can also separate seeing from doing: if you hose the grass yourself, that tells you nothing about the rain, and the network can represent that difference.
The structure is what makes this workable. Storing a probability for every combination of many variables quickly becomes impossible, but a network only needs small local tables for each node and its parents, which saves a great deal when most variables depend on only a few others. Calculating answers, called inference, can still be hard: a 1990 proof showed that exact inference in general Bayesian networks is NP-hard, so large networks rely on approximation methods such as sampling. The probabilities can be learned from data, and so, with more difficulty, can the structure of the graph itself.
Judea Pearl coined the term in 1985, and his 1988 book Probabilistic Reasoning in Intelligent Systems helped establish the field. His later work used the same graphs to reason about cause and effect, and in 2011 he received the Turing Award, computing's highest honour, for contributions to artificial intelligence through the development of a calculus for probabilistic and causal reasoning.
Bayesian networks are used for diagnosis, linking diseases to symptoms, for decision support and, in a version that unfolds over time, for sequences such as speech and protein data. Unlike a deep neural network, every arrow and probability can be read and checked by a person, which makes them attractive where decisions must be explained. They work best where experts can name the variables that matter, which is why they handle structured problems well and raw images or free text far less naturally.
It is a diagram of variables connected by arrows that show which ones influence which, combined with probability tables for each variable. Given evidence about some variables, such as observed symptoms, it calculates updated probabilities for the others, such as possible diseases, applying Bayes' theorem across the whole graph. The computer scientist Judea Pearl coined the term in 1985 and developed much of the theory, set out in his 1988 book Probabilistic Reasoning in Intelligent Systems. Richard Neapolitan's 1989 book on probabilistic reasoning in expert systems also helped establish the field. Pearl received the 2011 Turing Award for this and his later work on causal reasoning. Not automatically. An arrow represents a statistical dependency, and different arrangements of arrows can describe the same probabilities. A causal network is a special kind of Bayesian network in which the arrows are taken to mean causation, which allows it to predict the effects of interventions, not just correlations. A Bayesian network has a small number of named variables and explicit probabilities that a person can inspect, and it is often built partly from expert knowledge. A neural network has millions or billions of unnamed parameters learned from data and is much harder to interpret, but it can learn directly from raw inputs such as images and text.Common questions
What is a Bayesian network in simple terms?
Who invented Bayesian networks?
Do Bayesian networks show cause and effect?
How are Bayesian networks different from neural networks?
Search for "Bayesian network tutorial", "probabilistic graphical models" or "Judea Pearl causality" to learn how the models are built and used. Reliable sources include university course notes on probabilistic graphical models, Pearl's own books and papers, and documentation for established software packages. Be cautious with claims that a Bayesian network has proved a causal link, since that depends on assumptions about the graph that the data alone cannot confirm.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.