Cover Image: May 2011 Scientific American Magazine See Inside

Why Bayes Rules: The History of a Formula That Drives Modern Life

A new book about the now ubiquitous theorem traces its road from 18th-century theology to 21st-century robotic cars















Share on Tumblr



Google's driverless cars use Bayesian methods. Image: Courtesy of Google

Google has a small fleet of robotic cars that since autumn have driven themselves for thousands of miles on the streets of northern California without once striking a pedestrian, running a stoplight or having to ask directions. The cars’ ability to analyze enormous quantities of data—from cameras, radar sensors, laser-range finders—lies in the 18th-century math theorem known as Bayes’ rule. The formula has survived decades of controversy and marginalization to emerge as the cornerstone of some of the most sophisticated robotics projects now under way around the world.

Discovered by English clergyman Thomas Bayes, the formula is a simple one-liner: Initial Beliefs + Recent Objective Data = A New and Improved Belief. A modern form comes from French mathematician Pierre-Simon Laplace, who, by recalculating the equation each time he got new data, could distinguish highly probable hypotheses from less valid ones. One of his applications involved explaining why slightly more boys than girls were born in Paris in the late 1700s. After collecting demographic data from around the world for 30 years, he concluded that the boy-girl ratio is universal to humankind and determined by biology.

Many theoretical statisticians over the years have assailed Bayesian methods as subjective. Yet decision makers insist that they bring clarity when information is scarce and outcomes uncertain. During the 1970s John Nicholson, the U.S. submarine fleet commander in the Mediterranean, used Bayesian computer analysis to figure out the most probable paths of Soviet nuclear subs. Today Bayesian math helps sort spam from e-mail, assess medical and homeland security risks and decode DNA, among other things.

Now Bayes is revolutionizing robotics, says Sebastian Thrun, director of Stanford University’s Artificial Intelligence Laboratory and Google’s driverless car project. By expressing all information in terms of probability distributions, Bayes can produce reliable estimates from scant and uncertain evidence.

Google’s driverless cars update information gleaned from maps with new road and traffic data from sensors mounted atop the vehicles. Google hopes that robotic cars will one day halve the number of road fatalities, cut energy consumption, fit more densely onto crowded roads and free commuters for more productive activities—like dreaming up even better ways to use a 250-year-old theorem.



This article was originally published with the title Why Bayes Rules.



Subscribe     Buy This Issue

Already a Digital subscriber? Sign-in Now
If your institution has site license access, enter here.

ABOUT THE AUTHOR(S)

McGrayne is author of The Theory That Would Not Die, How Bayes' Rule Cracked the Enigma Code, Hunted Down Russian Submarines & Emerged Triumphant from Two Centuries of Controversy (Yale University Press, 2011).


10 Comments

Add Comment
View
  1. 1. Mythusmage 10:32 PM 5/5/11

    Of course, Bayes' Rule only works when relevant data is taken seriously, and not rejected out of hand. It may be emotionally satisfying to say that cats (as an example) hate you when a specimen mouths your hand, but observation has shown that cats express affection by chewing your knuckles.

    Reply | Report Abuse | Link to this
  2. 2. billsmith 01:41 PM 5/15/11

    I assume that the full article actually gives the formula for Baye's Rule. It may be better, though, that it did not appear in the first paragraphs, since scientific evidence suggests that most people would misuse it.

    Here is an explanation that gradually leads up to the formula:
    http://yudkowsky.net/rational/bayes

    Reply | Report Abuse | Link to this
  3. 3. zstansfi in reply to billsmith 03:23 AM 5/16/11

    That guy's explanation may or may not be good, but he's a nut. Never been formally educated, a fan of the Singularity and seems to believe in conspiracy theories. But hey, Bayesian Statistics is so simple his stuff is probably right on, right?

    Reply | Report Abuse | Link to this
  4. 4. scribblerlarry 06:29 AM 5/16/11

    What is this "initial belief" thing? One cannot even HAVE an initial belief unless one has acquired a certain amount of data. Does a newborn have "beliefs"?

    What this proposition is actually saying is simply, "Relevant data is required to make a prediction and the addition of more relevant data improves the odds of accurate prediction".

    I am also very edgy about the use of the word "belief" in this context. It implies "an acceptance of something as true without sufficient evidence to support that conclusion".

    Reply | Report Abuse | Link to this
  5. 5. larrywasserman 06:36 AM 5/16/11

    This article confuses "Bayes rule" which is a
    theorem in probability, and "Bayesian inference"
    which is an approach to statistical inference.
    It is only the latter that is controversial
    because it takes a subjective view of probability.
    "Bayes rule" is not controversial and is used all the time.

    Reply | Report Abuse | Link to this
  6. 6. TTLG 11:31 AM 5/16/11

    Bayes formula looks a lot like the scientific method and control theory used in electronics, both of which have also been proven useful. Any theoretical statistician who thinks that this sort of feedback system does not work needs to broaden their horizons a bit.

    I am inclined to agree with scribblerlarry regarding the use of the word "belief" in this sort of scientific situation. Many people seem to have defined belief as being something you think as true without any supporting evidence. I think using words like "hypothesis" or "initial guess" would communicate what is going on better.

    All feedback systems rely on improving their performance or accuracy on improved data. If any data which deviates from the original guess is ignored (like the person determined to "prove" that what he wants to believe is correct), then no improvement is possible. If the initial guess is revised by accurate data, then the accuracy of the initial guess is irrelevant. If you start by initially assuming that the best way to cool a house on a hot day is to turn on the furnace, it does not take long to figure out that turning on the AC works better.

    Reply | Report Abuse | Link to this
  7. 7. royniles 08:30 PM 5/17/11

    Bayes works because the universe has laws of probability which we evolved to instinctively and intuitively rely on as our predictive logic.
    We can try now to describe it mathematically but we don't do it mathematically, we do it by mixing and matching a host of learned expectations that themselves contain subjective assessments of the probable.
    Yet somehow we've used those laws of the probable to convince ourselves that's there's a certainty somewhere in their consistency. Inventing mathematics in the process based almost purely on that flawed assumption.

    Reply | Report Abuse | Link to this
  8. 8. bucketofsquid 12:07 PM 5/20/11

    I want a self driving car. What does it take to get one? Think of the mobility enhancements for the infirm and elderly. Also they should be required for the sociopathic pinheads that can't be bothered to pay attention when driving.

    Reply | Report Abuse | Link to this
  9. 9. curiousCharacter 12:11 PM 6/3/11

    For those who would like to see Bayes Formula derived, you can go to an entry on my math blog at: brightstartutors.com/blog/2010/12/29/bayes-formula/

    Reply | Report Abuse | Link to this
  10. 10. PeterCao 08:47 AM 9/20/11

    Sebastian Thrun, a Stanford Computer Science Professor, was desciplined because of his involvement into multiple crimes in Stanford, including murder of an innocent student May Zhou from their own school in Stanford during their fight with authorities (see if he dare deny it to the public): Look-Inside-Dumbfounded [ http://tysurl.com/BsEnQ4 ]

    His bosses from Stanford Computer Science department, e.g. Professor Ed Feigenbaum, had constantly intruded my privacy and destroied all my private relations in this world which made me no one to trust for many years ( a very inhuman action ), and he had abused his power in scientific world to hype Thrun in name of Stanford Computer Sicence Department and AAAI.ORG in order to cover up Thrun in these crimes; Thrun's student, Mr. David Stavens, had lied to Stanford police on behalf of Thrun's side trying to prevent me from filing complain at authorities against their crimes.

    --- A scandal unheard of in history of college education.

    Reply | Report Abuse | Link to this
Leave this field empty

Add a Comment

You must sign in or register as a ScientificAmerican.com member to submit a comment.
Click one of the buttons below to register using an existing Social Account.

More from Scientific American

See what we're tweeting about

Scientific American Editors

More »

Free Newsletters


Get the best from Scientific American in your inbox

Solve Innovation Challenges

Powered By: Innocentive

  SA Digital
  SA Digital

Science Jobs of the Week

Email this Article

Why Bayes Rules: The History of a Formula That Drives Modern Life: Scientific American Magazine

X
Scientific American Magazine

Subscribe Today

Save 66% off the cover price and get a free gift!

Learn More >>

X

Please Log In

Forgot: Password

X

Account Linking

Welcome, . Do you have an existing ScientificAmerican.com account?

Yes, please link my existing account with for quick, secure access.



Forgot Password?

No, I would like to create a new account with my profile information.

Create Account
X

Report Abuse

Are you sure?

X

Institutional Access

It has been identified that the institution you are trying to access this article from has institutional site license access to Scientific American on nature.com. To access this article in its entirety through site license access, click below.

Site license access
X

Error

X

Share this Article

X