1. Home
  2. Explore
  3. Psychology
  4. Bayesian Brain Reasoning

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Bayesian Brain Reasoning

Speaker 1Speaker 2

Bayesian Brain Reasoning

15:46
0:00-15:46
  1. Maria

    Welcome to Bayes for Brains. This episode introduces probabilistic reasoning and asks a big question: what should the brain compute, and what might the brain actually compute, when it has to act in an uncertain world?

  2. Michael

    And this episode is the foundation for a broader progression. We begin with Bayesian concepts, then extend them to understand how the world evolves over time, how decisions unfold over time, how bodies are controlled, and how those control skills are learned.

  3. Maria

    Today we'll focus on combining probabilistic evidence, building probabilistic models for variables relevant to behavior, fitting those models to behavior, and understanding why risk has to be weighed. The larger promise is that Bayesian ideas may help explain both brain computations and behavior.

  4. Michael

    The motivation comes from normative models. A normative model describes what an organism should do in order to solve a problem, survive, reproduce, find food, or forage effectively. It gives us a principled benchmark for judging behavior.

  5. Maria

    That connects to Marr's three levels of analysis: computation, representation, and algorithm and implementation. The computational level asks what problem the brain is solving and why. Although our main focus is that highest level, normative analysis can also give clues about the representations and algorithms the brain needs, and constraints on how those computations could be implemented.

  6. Michael

    It's important that normative modeling is not a how-to manual for the brain. It does not tell us the exact mechanism. Instead, it tells us what behavior would be appropriate or optimal under particular conditions, and it gives us a standard for deciding whether performance is close to the best possible or far from it.

  7. Maria

    A classic example comes from insect eyes. Their eyes are compound, meaning they contain many tiny lenses called ommatidia. The number and size of those lenses are constrained in a way that can be shown to be optimal: diffraction limits for each lens are balanced against the advantage of having many lenses.

  8. Michael

    This idea was demonstrated by Barlow in 1952. Another striking result is that behavior can detect a single photon of light. That means behavior is essentially limited by the ability of the cones to absorb a photon, providing an absolute performance bound with very little room for the brain to perform worse than the sensory input allows.

  9. Maria

    But why make these normative models probabilistic? Because the world is uncertain. We do not observe everything that matters, the world contains noise and randomness, and the models we use to interpret evidence can be wrong.

  10. Michael

    If you know a coin is more likely to land heads than tails, you can use those odds to make better predictions. Similarly, if you know an investment is more likely to rise than fall, that information could improve your investment decision. More generally, a fit brain should use probabilistic reasoning to draw inferences and guide behavior under uncertainty.

  11. Maria

    Probability provides a language for relating what we can observe directly to what we really want to know. In Plato's allegory of the cave, you see shadows on a wall, but you may actually want to know what is behind you, including whether something dangerous is there.

  12. Michael

    The same structure appears in perception. The world gives the brain sensory signals, but those signals are reduced inputs that are only indirectly related to the properties of the world. The brain therefore needs a model connecting measurements to the hidden or latent variables it wants to estimate.

  13. Maria

    These ideas go back to Laplace and Bayes, who recognized both that uncertainty is widespread and that reasoning can help overcome it. Uncertainty can come from missing data, from fundamental stochasticity or noise in physical processes, and from assumptions in the brain's estimation model that may be inaccurate.

  14. Michael

    The shadow example illustrates missing or ambiguous data. From shadows alone, you might infer that there are people sitting in chairs, while the full image could reveal a much more complex art exhibit. The evidence does not uniquely specify what is really present.

  15. Maria

    Physical randomness adds another source of uncertainty. Two photographs of the same scene, taken with different exposure times, can reveal the stochastic nature of light: photons arrive at a camera randomly. This uncertainty does not require a brain to sense inaccurately; it is already present in the physical process.

  16. Michael

    And even when the data are available, the brain's model may be wrong. If the model connecting evidence to the world is inaccurate, the resulting estimate can contain errors. Recognizing that estimates are uncertain allows a system to compensate rather than treating every inference as perfectly reliable.

  17. Maria

    Let's apply this to perception. Consider a luminance profile that is high on the left and changes linearly with a step. The same profile can be perceived in two different ways: as a flat surface painted with two colors, or as a change in shape caused by shading and the direction of the light.

  18. Michael

    The important point is that perception is not a direct reading of the sensory input. The brain is inferring what arrangement of surfaces and lighting could have produced that input. This is a particularly clear setting in which Bayesian reasoning can describe how evidence is combined with expectations about the world.

  19. Maria

    Ventriloquism gives another example. A puppet's mouth moves while the puppeteer produces the sound from nearby. Because the visual and auditory signals are close enough, the observer can make a perceptual mistake and attribute the sound to the puppet.

  20. Michael

    That mistake can also be modeled with Bayesian reasoning. The brain has to combine information from different sensory sources and infer the most likely source of the sound. The lecture uses ventriloquism to show more directly how this kind of probabilistic combination works.

  21. Maria

    Probabilistic reasoning also matters in cognition. We often have to learn the category of something from only a few examples. That differs from machine-learning situations with very large datasets, where a system can exploit many examples to learn a function.

  22. Michael

    Even with only a few examples of a made-up category such as a 'tufa,' people can often identify other members of the category. That requires reasoning about uncertainty from limited evidence rather than simply relying on a huge collection of observations.

  23. Maria

    Action involves uncertainty too. Perceptual and motor errors create uncertainty about where an action should be directed, such as when swinging a racket. Noise in sensory and motor systems, muscle fatigue, and variable sensory delays can make the outcome or timing of an action uncertain.

  24. Michael

    There is also planning uncertainty. The motor system may be able to achieve the same result in several different ways, so the brain must reason about which plan to use. Across perception, cognition, and motor control, probability helps represent uncertainty and support effective behavior.

  25. Maria

    Now let's establish the foundations. Probability measures the occurrence of events. Subjectively, it represents a belief that an event will occur; objectively, in the frequentist sense, it represents the frequency with which the event is observed.

  26. Michael

    Both perspectives are important, but our focus is mainly the subjective interpretation: probability as a measure of uncertain belief. A central tool is the random variable, which takes values over a set of possible events.

  27. Maria

    For a die, the possible events are the different sides coming up, and the random variable is the number associated with the side that appears. We can then write a statement such as the probability that die X takes the value one, which is one-sixth.

  28. Michael

    Two core rules let us build much of probability theory. The product rule handles logical ANDs, or joint events. If independent dice X and Y both show one, the probability is the product of their individual probabilities: one-sixth times one-sixth, or one thirty-sixth.

  29. Maria

    The notation matters here. When you see probability of X comma Y, read it as the probability of X and Y; that is a joint probability. For independent variables, the joint probability is the product of the separate probabilities.

  30. Michael

    The sum rule handles logical ORs. For example, the probability that a die shows an odd number is the probability of one, plus the probability of three, plus the probability of five: three-sixths.

  31. Maria

    The sum rule also lets us eliminate a variable by summing over all its possible values. Suppose we want the probability that die X equals one without caring what die Y shows. We add the joint probabilities for X equal to one and every possible value of Y.

  32. Michael

    In a joint-probability table, this means summing down the relevant column. The six joint outcomes contribute six over thirty-six, which simplifies to one-sixth. This operation is called marginalization: after summing over a variable, we obtain the marginal probability of the variable we kept.

  33. Maria

    We can also use the same idea for a more complicated event, such as X plus Y equals four. Instead of summing a column, we sum the joint probabilities along the diagonal of the table corresponding to that total. Three of the thirty-six outcomes satisfy the condition, so the probability is three over thirty-six.

  34. Michael

    Conditioning lets us use information we know to reason about something we cannot directly access. If someone throws two dice and tells us their sum is four, we can ask for the probability of each individual value of X given that condition.

  35. Maria

    The possible pairs on that diagonal are one and three, two and two, and three and one. Across the six equally likely ordered outcomes represented by the joint table, each value of X occurs twice, so each has conditional probability one-third.

  36. Michael

    These ideas extend from discrete tables to continuous random variables. A joint distribution over X and Y is represented across a two-dimensional plane, with a density indicating relative probability at each point.

  37. Maria

    A conditional distribution is a slice of that joint distribution at a particular value of Y, but it must be renormalized. Since we are conditioning on knowing Y, we divide the joint distribution by the probability of Y so that the slice becomes a properly scaled distribution over X.

  38. Michael

    For continuous variables, marginalization uses an integral rather than an ordinary sum. So whenever a formula appears to sum over a continuous variable, the underlying operation is integration over all its possible values.

  39. Maria

    Now we can introduce the key Bayesian vocabulary. A latent variable is something we care about but cannot observe directly. We begin with a prior probability over that variable, representing our belief about how likely its different values are before considering a particular measurement.

  40. Michael

    In the shadow example, the latent variable could describe the shape or scene that generated the shadows. Before examining the evidence, we might assign different probabilities to possible explanations, such as people or an art installation.

  41. Maria

    The likelihood is a conditional probability: the probability of the measurement given the latent variable. It models the relationship between what we can observe and the thing we wish we could observe directly.

  42. Michael

    The spread of the likelihood captures measurement stochasticity. A particular measurement usually does not determine the latent variable perfectly, because different underlying situations can produce similar evidence.

  43. Maria

    The posterior is the distribution we usually want for inference. It is our updated belief about the latent variable after taking the observed evidence into account: the probability of X given measurement Y.

  44. Michael

    Bayes' rule connects these three ideas. In hypothesis-and-data notation, the probability of a hypothesis given data equals the probability of the data given that hypothesis, multiplied by the prior probability of the hypothesis, and divided by the probability of the data.

  45. Maria

    The numerator combines the measurement model, or likelihood, with the prior. The denominator is the marginal probability of the data, obtained by summing or integrating the likelihood times the prior over possible hypotheses. Its role is normalization, ensuring that the posterior is a valid probability distribution.

  46. Michael

    Conceptually, Bayes' rule lets us use data to reason about what is happening in the world. We begin with beliefs about possible hypotheses, evaluate how compatible the evidence is with each one, and update those beliefs into a posterior.

  47. Maria

    Inference alone is not enough for action, though. To make decisions, we also need to represent what outcomes are valuable. A utility or reward function assigns a numerical measure of subjective value to an outcome.

  48. Michael

    Utility is not necessarily a direct copy of an objective quantity. For money, for example, gaining money can be valuable and losing money undesirable, but subjective value need not increase in a simple linear relationship with the amount of money.

  49. Maria

    The same idea can be measured in animals. In a monkey decision-making task, different amounts of juice can be associated with different subjective values, giving us a utility function that helps explain which actions the monkey is motivated to choose.

  50. Michael

    Bayesian decision theory combines belief and value. It describes a normative framework in which actions are chosen to optimize expected value while incorporating uncertainty about their outcomes.

  51. Maria

    Imagine deciding whether to jump across a gap. The action might be the jump distance, represented by A. The relevant outcome could be whether you land or miss, and the context can affect both the utilities and the probabilities of those outcomes.

  52. Michael

    For each possible jump distance, we could specify the probability of landing. We could also specify the utility of landing and the utility of missing. Combining those outcome probabilities with their utilities gives the expected utility of the action.

  53. Maria

    The normative decision is then to compare the expected utilities of jumping different distances, or of not jumping, and choose according to the values and uncertainty in that context. A longer jump might offer a desirable outcome but have a lower probability of success.

  54. Michael

    Although this begins as a computational analysis, it can inform the other levels of Marr's framework. If behavior is well modeled as approximately Bayesian and close to optimal, that suggests probabilities matter in the underlying representations and computations.

  55. Maria

    It also places constraints on implementation. Whatever the brain is doing, it must somehow implement processes that produce the observed Bayesian-like behavior. Normative analysis therefore starts with what the brain should compute but can provide clues about how its representations and algorithms might work.

  56. Michael

    Let's close by collecting the essential concepts. Latent variables are important properties of the world that the organism does not directly observe. Sensory evidence is the information the organism can access through its sensing apparatus.

  57. Maria

    Probability measures uncertain beliefs about what may happen or what may be present. Inference is the computation that uses evidence to quantify beliefs about latent variables.

  58. Michael

    Utilities and rewards provide numerical measures of the subjective value of outcomes. Decisions and actions are the choices and interventions an organism makes in the world to obtain value, while accounting for uncertainty.

  59. Maria

    So the central message is simple but powerful: brains rarely receive direct access to everything that matters. They receive noisy, incomplete evidence, use probabilistic models to infer hidden causes, and combine those beliefs with utilities to guide action.

  60. Michael

    That is why Bayes matters for brains. It gives us a normative language for perception, cognition, decision-making, and motor control, and it offers a benchmark for understanding both what intelligent behavior should look like and how the brain might produce it.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent