1. Home
  2. Explore
  3. Mathematics
  4. Probability Theory Foundations

Study methods

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

Probability Theory Foundations

Foundations of Probability Theory and Bayesian Reasoning

Probability theory provides a formal language for representing uncertainty, reasoning from incomplete information, and updating beliefs when new evidence becomes available. These ideas are central to statistics, machine learning, artificial intelligence, and theories of human language processing.


Probability Spaces

A probability space consists of:

  1. A sample space, written Ω\OmegaΩ, containing every possible outcome.

  2. A collection of events, where each event is a subset of Ω\OmegaΩ.

  3. A probability function that assigns a real number to each event.

Sample space and events

The sample space Ω\OmegaΩ is the complete set of logically possible outcomes for an experiment or situation.

Examples include:

  • Rolling a die:

    • Ω={1,2,3,4,5,6}\Omega = \{1,2,3,4,5,6\}Ω={1,2,3,4,5,6}

    • “The die comes up four or five” is an event.

  • Flipping a coin:

    • “The coin comes up heads” is an event.

  • Producing the next word in a conversation:

    • “The next word is angel” is an event.

An event is simply a subset of the sample space. It may contain one outcome or many outcomes.

An event represents a proposition or condition whose probability can be evaluated.


The Axioms of Probability

A probability function PPP assigns a number to each event and must satisfy three fundamental axioms.

1. Non-negativity

For every event EEE:

P(E)≥0P(E) \geq 0P(E)≥0

Probabilities cannot be negative.

2. Disjoint union

Two events E1E_1E1​ and E2E_2E2​ are disjoint if they cannot occur together. In set notation:

E1∩E2=∅E_1 \cap E_2 = \varnothingE1​∩E2​=∅

For disjoint events, the probability of their union is the sum of their individual probabilities:

P(E1∪E2)=P(E1)+P(E2)P(E_1 \cup E_2) = P(E_1) + P(E_2)P(E1​∪E2​)=P(E1​)+P(E2​)

The union E1∪E2E_1 \cup E_2E1​∪E2​ represents the possibility that either E1E_1E1​ or E2E_2E2​ occurs.

More generally, probabilities are additive across mutually exclusive outcomes. This allows probabilities of larger, non-atomic events to be computed from probabilities of smaller events.

3. Properness

The probability of the entire sample space must equal one:

P(Ω)=1P(\Omega) = 1P(Ω)=1

Because Ω\OmegaΩ contains every possible outcome, something in the sample space must occur.

A valid probability distribution is non-negative, additive over disjoint events, and normalized so that the total probability is 111.


Set Theory and Boolean Logic

Probability can be described either using set-theoretic language or Boolean logical language. The two descriptions correspond closely.

Subset and implication

If event AAA is a subset of event BBB, written:

A⊆BA \subseteq BA⊆B

then every situation in which AAA is true is also a situation in which BBB is true. In Boolean logic, this corresponds to the implication:

A⇒BA \Rightarrow BA⇒B

Intersection and conjunction

The intersection A∩BA \cap BA∩B consists of outcomes in which both AAA and BBB occur.

In Boolean logic, this corresponds to conjunction:

A∧BA \land BA∧B

If two events are disjoint, their intersection is empty:

A∩B=∅A \cap B = \varnothingA∩B=∅

Logically, this means that the two events cannot both be true:

¬(A∧B)\neg(A \land B)¬(A∧B)

Union and disjunction

The union A∪BA \cup BA∪B consists of outcomes in which at least one of AAA or BBB occurs.

In Boolean logic, this corresponds to disjunction:

A∨BA \lor BA∨B

The ability to move between set-based and logical descriptions is useful because probability problems can be represented either as relationships among sets or as relationships among propositions.


A Linguistic Example: Word Order and Pronouns

A recurring example concerns word order in human languages and the position of object noun phrases.

Noun phrases

A noun phrase, abbreviated NP, is a phrase that functions as a noun-like constituent in a sentence. Examples include:

  • “I”

  • “the boy”

  • “every girl in the room”

  • “no one”

  • “the apple”

  • “the hope for justice”

Noun phrases can serve as subjects or objects.

In the sentence:

“I ate the apple.”

  • “I” is the subject noun phrase.

  • “the apple” is the object noun phrase.

  • “ate” is the verb.

Preverbal and postverbal objects

An object is preverbal when it occurs before the verb and postverbal when it occurs after the verb.

Modern English generally places objects after the verb:

“I ate the apple.”

Here, “the apple” is postverbal.

Historical English allowed greater variation. An object noun phrase could occur:

  • Before the verb: object–verb order

  • After the verb: verb–object order

A verb phrase containing an object and a verb could therefore have either of the following general structures:

  • Object + verb

  • Verb + object

This type of variation also reflects a broader cross-linguistic tendency.

Pronouns and non-pronominal noun phrases

A pronoun is a noun-like form such as:

  • “me”

  • “her”

  • “them”

A non-pronominal noun phrase is a noun phrase that is not a pronoun, such as:

  • “the apple”

  • “anyone in the room”

  • “the hope for justice”

Across the languages of the world, there is a broad tendency for pronoun objects to occur earlier in sentences, on average, than non-pronominal objects.

This tendency can be represented probabilistically using two properties:

  • XXX: whether the object is preverbal or postverbal

  • YYY: whether the object is a pronoun or not a pronoun


Random Variables and Instantiations

A random variable represents a property whose value can vary across possible outcomes.

In this example:

  • XXX represents object position:

    • Preverbal

    • Postverbal

  • YYY represents object type:

    • Pronoun

    • Not pronoun

Uppercase letters generally represent random variables, while lowercase letters represent particular values of those variables.

For example:

  • XXX is the random variable representing position.

  • xxx may represent the particular value “preverbal.”

  • YYY is the random variable representing object type.

  • yyy may represent the particular value “pronoun.”

This distinction is useful because probability can refer either to a variable in general or to one of its specific possible values.


Joint Probability Distributions

A joint distribution specifies probabilities for combinations of values from multiple random variables.

For the variables XXX and YYY, there are four logically possible combinations:

  • Preverbal pronoun

  • Preverbal non-pronoun

  • Postverbal pronoun

  • Postverbal non-pronoun

A hypothetical joint distribution assigns the following probabilities:

Preverbal pronoun

P(X=preverbal,Y=pronoun)=0.224P(X=\text{preverbal},Y=\text{pronoun}) = 0.224P(X=preverbal,Y=pronoun)=0.224

Preverbal non-pronoun

P(X=preverbal,Y=not pronoun)=0.655P(X=\text{preverbal},Y=\text{not pronoun}) = 0.655P(X=preverbal,Y=not pronoun)=0.655

Postverbal pronoun

P(X=postverbal,Y=pronoun)=0.014P(X=\text{postverbal},Y=\text{pronoun}) = 0.014P(X=postverbal,Y=pronoun)=0.014

Postverbal non-pronoun

P(X=postverbal,Y=not pronoun)=0.107P(X=\text{postverbal},Y=\text{not pronoun}) = 0.107P(X=postverbal,Y=not pronoun)=0.107

The values form a contingency table:

Object position

Pronoun

Not pronoun

Preverbal

0.2240.2240.224

0.6550.6550.655

Postverbal

0.0140.0140.014

0.1070.1070.107

Each cell represents a fine-grained event involving a particular value of XXX and a particular value of YYY.

A joint distribution represents the probability of combinations of variable values, not merely the probabilities of the variables considered separately.

Checking properness

The probabilities of all four mutually exclusive outcomes must sum to one:

0.224+0.655+0.014+0.107=10.224 + 0.655 + 0.014 + 0.107 = 10.224+0.655+0.014+0.107=1

Therefore, this table satisfies the properness axiom.

Example of disjoint union

Define an event E1E_1E1​ as:

  • The object is preverbal and a pronoun, or

  • The object is postverbal and not a pronoun.

These two possibilities are mutually exclusive. They cannot both occur in the same sentence, so the disjoint union rule applies:

P(E1)=P(preverbal pronoun)+P(postverbal non-pronoun)P(E_1) = P(\text{preverbal pronoun}) + P(\text{postverbal non-pronoun})P(E1​)=P(preverbal pronoun)+P(postverbal non-pronoun)

Substituting the values:

P(E1)=0.224+0.107=0.331P(E_1)=0.224+0.107=0.331P(E1​)=0.224+0.107=0.331

Thus, the probability of this combined event is 0.3310.3310.331.


Marginal Probability Distributions

A marginal distribution gives the distribution of one random variable while ignoring or “summing out” another variable.

If XXX and YYY are random variables, the marginal probability of a particular value xxx is:

P(X=x)=∑yP(X=x,Y=y)P(X=x)=\sum_y P(X=x,Y=y)P(X=x)=∑y​P(X=x,Y=y)

The summation includes every possible value of YYY.

This operation is called marginalization. It removes the variable that is not currently of interest by adding together all joint probabilities associated with the desired value of the remaining variable.

Marginal distribution of object position

To find the probability that the object is preverbal, sum the two cells in the preverbal row:

P(X=preverbal)=P(preverbal pronoun)+P(preverbal non-pronoun)P(X=\text{preverbal}) = P(\text{preverbal pronoun}) + P(\text{preverbal non-pronoun})P(X=preverbal)=P(preverbal pronoun)+P(preverbal non-pronoun)
P(X=preverbal)=0.224+0.655=0.879P(X=\text{preverbal})=0.224+0.655=0.879P(X=preverbal)=0.224+0.655=0.879

To find the probability that the object is postverbal:

P(X=postverbal)=P(postverbal pronoun)+P(postverbal non-pronoun)P(X=\text{postverbal}) = P(\text{postverbal pronoun}) + P(\text{postverbal non-pronoun})P(X=postverbal)=P(postverbal pronoun)+P(postverbal non-pronoun)
P(X=postverbal)=0.014+0.107=0.121P(X=\text{postverbal})=0.014+0.107=0.121P(X=postverbal)=0.014+0.107=0.121

The marginal distribution of XXX is therefore:

  • Preverbal: 0.8790.8790.879

  • Postverbal: 0.1210.1210.121

These values sum to one:

0.879+0.121=10.879+0.121=10.879+0.121=1

Marginal distribution of object type

The marginal probability that the object is a pronoun is found by summing the pronoun column:

P(Y=pronoun)=P(preverbal pronoun)+P(postverbal pronoun)P(Y=\text{pronoun}) = P(\text{preverbal pronoun}) + P(\text{postverbal pronoun})P(Y=pronoun)=P(preverbal pronoun)+P(postverbal pronoun)
P(Y=pronoun)=0.224+0.014=0.238P(Y=\text{pronoun})=0.224+0.014=0.238P(Y=pronoun)=0.224+0.014=0.238

The marginal probability that the object is not a pronoun is:

P(Y=not pronoun)=P(preverbal non-pronoun)+P(postverbal non-pronoun)P(Y=\text{not pronoun}) = P(\text{preverbal non-pronoun}) + P(\text{postverbal non-pronoun})P(Y=not pronoun)=P(preverbal non-pronoun)+P(postverbal non-pronoun)
P(Y=not pronoun)=0.655+0.107=0.762P(Y=\text{not pronoun})=0.655+0.107=0.762P(Y=not pronoun)=0.655+0.107=0.762

Thus, the marginal distribution of YYY is:

  • Pronoun: 0.2380.2380.238

  • Not pronoun: 0.7620.7620.762

Again, the values sum to one:

0.238+0.762=10.238+0.762=10.238+0.762=1

Conditional Probability

A conditional probability measures the probability of one event when another event is already known to hold.

The conditional probability of BBB given AAA is defined as:

P(B∣A)=P(A,B)P(A)P(B\mid A)=\frac{P(A,B)}{P(A)}P(B∣A)=P(A)P(A,B)​

where:

  • P(B∣A)P(B\mid A)P(B∣A) is the probability of BBB given AAA.

  • P(A,B)P(A,B)P(A,B) is the joint probability that both AAA and BBB occur.

  • P(A)P(A)P(A) is the probability of the conditioning event.

The denominator must be nonzero:

P(A)>0P(A)>0P(A)>0

because division by zero is undefined.

Conditional probability incorporates additional information into a probability judgment.

Linguistic interpretation

Suppose a listener is processing historical English and hears a verb such as:

“I devoured ...”

The listener knows that an object is likely to follow because the verb is transitive. However, the object has not yet been heard.

The listener may want to estimate:

How likely is the upcoming object to be a pronoun, given that it is postverbal?

This is not the same as the marginal probability that an object is a pronoun. The listener has additional information: the object is known to be postverbal.

The relevant conditional probability is:

P(Y=pronoun∣X=postverbal)P(Y=\text{pronoun}\mid X=\text{postverbal})P(Y=pronoun∣X=postverbal)

Using the definition of conditional probability:

P(Y=pronoun∣X=postverbal)=P(Y=pronoun,X=postverbal)P(X=postverbal)P(Y=\text{pronoun}\mid X=\text{postverbal}) = \frac{ P(Y=\text{pronoun},X=\text{postverbal}) }{ P(X=\text{postverbal}) }P(Y=pronoun∣X=postverbal)=P(X=postverbal)P(Y=pronoun,X=postverbal)​

Substituting the values from the joint and marginal distributions:

P(Y=pronoun∣X=postverbal)=0.0140.121≈0.116P(Y=\text{pronoun}\mid X=\text{postverbal}) = \frac{0.014}{0.121} \approx 0.116P(Y=pronoun∣X=postverbal)=0.1210.014​≈0.116

Thus, given that an object is postverbal, the probability that it is a pronoun is approximately 0.1160.1160.116.

The value 0.1160.1160.116 does not appear directly in the original joint table. It must be calculated by combining a joint probability with a marginal probability.

Importance of conditional probability

Conditional probability is fundamental to:

  • Statistical inference

  • Machine learning

  • Artificial intelligence

  • Scientific reasoning

  • Human language comprehension

  • Prediction under uncertainty

When an intelligent agent receives new information, conditional probability provides a formal way to describe how that information changes the agent’s expectations.


The Chain Rule

The chain rule rewrites a joint probability as the product of a marginal probability and a conditional probability.

For two events:

P(E1,E2)=P(E2∣E1)P(E1)P(E_1,E_2)=P(E_2\mid E_1)P(E_1)P(E1​,E2​)=P(E2​∣E1​)P(E1​)

This follows directly from the definition of conditional probability:

P(E2∣E1)=P(E1,E2)P(E1)P(E_2\mid E_1) = \frac{P(E_1,E_2)}{P(E_1)}P(E2​∣E1​)=P(E1​)P(E1​,E2​)​

Multiplying both sides by P(E1)P(E_1)P(E1​) gives:

P(E1,E2)=P(E2∣E1)P(E1)P(E_1,E_2)=P(E_2\mid E_1)P(E_1)P(E1​,E2​)=P(E2​∣E1​)P(E1​)

The order can also be reversed:

P(E1,E2)=P(E1∣E2)P(E2)P(E_1,E_2)=P(E_1\mid E_2)P(E_2)P(E1​,E2​)=P(E1​∣E2​)P(E2​)

Both expressions describe the same joint probability.

Three-variable form

For three events, the joint probability can be decomposed as:

P(E1,E2,E3)=P(E3∣E1,E2)P(E2∣E1)P(E1)P(E_1,E_2,E_3) = P(E_3\mid E_1,E_2) P(E_2\mid E_1) P(E_1)P(E1​,E2​,E3​)=P(E3​∣E1​,E2​)P(E2​∣E1​)P(E1​)

The first factor conditions on the preceding events, the second factor conditions on the first event, and the final factor is a marginal probability.

General form

For nnn variables:

P(X1,X2,…,Xn)=∏i=1nP(Xi∣X1,…,Xi−1)P(X_1,X_2,\ldots,X_n) = \prod_{i=1}^{n} P(X_i\mid X_1,\ldots,X_{i-1})P(X1​,X2​,…,Xn​)=∏i=1n​P(Xi​∣X1​,…,Xi−1​)

The exact conditioning structure depends on the selected ordering.

Important properties

  • The chain rule applies to any number of variables.

  • Variables can be ordered in different ways.

  • There is no intrinsically correct ordering for the mathematical identity.

  • Different orderings may be more useful for different models or computational tasks.

  • Chain-rule decomposition breaks a complex joint distribution into simpler conditional distributions.

The chain rule expresses a joint probability as a sequence of conditional probabilities multiplied together.

This decomposition plays an important role in probabilistic models and machine-learning systems.


Bayes’ Rule

Bayes’ rule, also called Bayes’ theorem or Bayesian inversion, rewrites a conditional probability in the opposite direction.

For two events AAA and BBB:

P(A∣B)=P(B∣A)P(A)P(B)P(A\mid B) = \frac{P(B\mid A)P(A)}{P(B)}P(A∣B)=P(B)P(B∣A)P(A)​

Bayes’ rule transforms the probability of AAA given BBB into a form involving the reverse conditional probability, P(B∣A)P(B\mid A)P(B∣A).

Derivation from the chain rule

The joint probability of AAA and BBB can be written in two ways:

P(A,B)=P(A∣B)P(B)P(A,B)=P(A\mid B)P(B)P(A,B)=P(A∣B)P(B)

and:

P(A,B)=P(B∣A)P(A)P(A,B)=P(B\mid A)P(A)P(A,B)=P(B∣A)P(A)

Because both expressions equal the same joint probability, they can be set equal:

P(A∣B)P(B)=P(B∣A)P(A)P(A\mid B)P(B)=P(B\mid A)P(A)P(A∣B)P(B)=P(B∣A)P(A)

Dividing by P(B)P(B)P(B) gives:

P(A∣B)=P(B∣A)P(A)P(B)P(A\mid B) = \frac{P(B\mid A)P(A)}{P(B)}P(A∣B)=P(B)P(B∣A)P(A)​

Bayes’ rule is valid only when:

P(B)>0P(B)>0P(B)>0

If P(B)=0P(B)=0P(B)=0, the conditional probability P(A∣B)P(A\mid B)P(A∣B) is not defined by this formula.

Background variables

Bayes’ rule can also be applied while conditioning on an additional variable or collection of variables, represented here by III:

P(A∣B,I)=P(B∣A,I)P(A∣I)P(B∣I)P(A\mid B,I) = \frac{P(B\mid A,I)P(A\mid I)}{P(B\mid I)}P(A∣B,I)=P(B∣I)P(B∣A,I)P(A∣I)​

The background information III remains on the conditioning side while AAA and BBB exchange roles.

This is important in realistic reasoning because probability calculations often occur in the presence of known context.


Priors, Likelihoods, Posteriors, and Normalization

Bayes’ rule is especially useful for describing belief updating.

Prior probability

The prior probability represents the belief about an event before incorporating new evidence.

For event AAA, the prior is:

P(A)P(A)P(A)

It describes how likely AAA is without considering the additional information BBB.

In the linguistic example:

P(Y=pronoun)=0.238P(Y=\text{pronoun})=0.238P(Y=pronoun)=0.238

is the prior probability that an object is a pronoun.

Posterior probability

The posterior probability represents the updated belief after incorporating evidence.

The posterior is:

P(A∣B)P(A\mid B)P(A∣B)

It describes how likely AAA is after learning that BBB holds.

For the linguistic example:

P(Y=pronoun∣X=postverbal)P(Y=\text{pronoun}\mid X=\text{postverbal})P(Y=pronoun∣X=postverbal)

is the posterior probability that the object is a pronoun after learning that it is postverbal.

Likelihood

The likelihood is the probability of observing the evidence if the hypothesis is true:

P(B∣A)P(B\mid A)P(B∣A)

It asks:

If AAA is true, how likely would the evidence BBB be?

In the linguistic example, the likelihood might be:

P(X=postverbal∣Y=pronoun)P(X=\text{postverbal}\mid Y=\text{pronoun})P(X=postverbal∣Y=pronoun)

This asks how likely a pronoun is to occur postverbally.

Normalizing constant

The denominator:

P(B)P(B)P(B)

is the marginal probability of the evidence. It is often called the normalizing constant because it ensures that the resulting posterior distribution is a proper probability distribution.

Bayes’ rule can therefore be described as:

posterior=likelihood×priorevidence probability\text{posterior} = \frac{\text{likelihood}\times\text{prior}}{\text{evidence probability}}posterior=evidence probabilitylikelihood×prior​

The normalizing constant is often the most computationally difficult component, especially when many possible values must be considered.


Applying Bayes’ Rule to the Linguistic Example

Suppose the available information is represented differently from the original joint table. Instead of directly listing all joint probabilities, the representation provides:

  1. The prior probability that an object is a pronoun.

  2. The probability of each word order given that the object is a pronoun.

  3. The corresponding probabilities for non-pronouns, obtainable through properness.

The goal remains to calculate:

P(Y=pronoun∣X=postverbal)P(Y=\text{pronoun}\mid X=\text{postverbal})P(Y=pronoun∣X=postverbal)

Bayes’ rule gives:

P(Y=pronoun∣X=postverbal)=P(X=postverbal∣Y=pronoun)P(Y=pronoun)P(X=postverbal)P(Y=\text{pronoun}\mid X=\text{postverbal}) = \frac{ P(X=\text{postverbal}\mid Y=\text{pronoun}) P(Y=\text{pronoun}) }{ P(X=\text{postverbal}) }P(Y=pronoun∣X=postverbal)=P(X=postverbal)P(X=postverbal∣Y=pronoun)P(Y=pronoun)​

This is useful because the first two quantities are directly available in the alternative representation:

  • P(X=postverbal∣Y=pronoun)P(X=\text{postverbal}\mid Y=\text{pronoun})P(X=postverbal∣Y=pronoun) is a likelihood.

  • P(Y=pronoun)P(Y=\text{pronoun})P(Y=pronoun) is a prior.

The remaining quantity, P(X=postverbal)P(X=\text{postverbal})P(X=postverbal), must be computed by marginalization.

Computing the normalizing constant

The marginal probability of postverbal position is obtained by summing over all possible values of YYY:

P(X=postverbal)=∑yP(X=postverbal,Y=y)P(X=\text{postverbal}) = \sum_y P(X=\text{postverbal},Y=y)P(X=postverbal)=∑y​P(X=postverbal,Y=y)

There are two possible values of YYY:

  • Pronoun

  • Not pronoun

Therefore:

P(X=postverbal)=P(X=postverbal,Y=pronoun)+P(X=postverbal,Y=not pronoun)P(X=\text{postverbal}) = P(X=\text{postverbal},Y=\text{pronoun}) + P(X=\text{postverbal},Y=\text{not pronoun})P(X=postverbal)=P(X=postverbal,Y=pronoun)+P(X=postverbal,Y=not pronoun)

Each joint probability can be rewritten using the chain rule:

P(X=postverbal,Y=y)=P(X=postverbal∣Y=y)P(Y=y)P(X=\text{postverbal},Y=y) = P(X=\text{postverbal}\mid Y=y)P(Y=y)P(X=postverbal,Y=y)=P(X=postverbal∣Y=y)P(Y=y)

Thus:

P(X=postverbal)=P(X=postverbal∣Y=pronoun)P(Y=pronoun)+P(X=postverbal∣Y=not pronoun)P(Y=not pronoun)P(X=\text{postverbal}) = P(X=\text{postverbal}\mid Y=\text{pronoun}) P(Y=\text{pronoun}) + P(X=\text{postverbal}\mid Y=\text{not pronoun}) P(Y=\text{not pronoun})P(X=postverbal)=P(X=postverbal∣Y=pronoun)P(Y=pronoun)+P(X=postverbal∣Y=not pronoun)P(Y=not pronoun)

Using the equivalent values represented by the original table:

P(X=postverbal)=0.121P(X=\text{postverbal})=0.121P(X=postverbal)=0.121

The Bayesian calculation then yields:

P(Y=pronoun∣X=postverbal)=0.0140.121≈0.116P(Y=\text{pronoun}\mid X=\text{postverbal}) = \frac{0.014}{0.121} \approx 0.116P(Y=pronoun∣X=postverbal)=0.1210.014​≈0.116

This is the same result obtained earlier through the direct definition of conditional probability.

Bayes’ rule allows the same probability to be computed from a different representation of knowledge: a prior distribution and conditional likelihoods rather than a complete joint table.


Incremental Language Processing

The linguistic example illustrates incremental language processing, the process by which a listener updates interpretations and predictions continuously as each word arrives.

During real-time comprehension, a listener may continually update beliefs about:

  • What the speaker means

  • Which syntactic structure is being used

  • What word or phrase is likely to come next

  • Whether an upcoming object will be a pronoun or a full noun phrase

  • Which interpretation best fits the information heard so far

For example, after hearing a transitive verb such as “devoured,” the listener anticipates an object. If the object has not yet occurred, the listener can use the fact that it will be postverbal to update the probability that the upcoming object is a pronoun.

The relevant update is:

P(pronoun∣postverbal)P(\text{pronoun}\mid\text{postverbal})P(pronoun∣postverbal)

rather than merely:

P(pronoun)P(\text{pronoun})P(pronoun)

This distinction demonstrates how new structural information changes predictions.

Speaker and listener perspectives

The available probability representation may reflect a possible order of decisions from the speaker’s perspective:

  1. The speaker decides whether to refer to an entity with a pronoun or a non-pronominal expression.

  2. The speaker then determines where the object will appear.

This corresponds naturally to probabilities such as:

P(position∣object type)P(\text{position}\mid\text{object type})P(position∣object type)

However, the listener may need the reverse conditional:

P(object type∣position)P(\text{object type}\mid\text{position})P(object type∣position)

The listener observes the position information and wants to infer the likely object type. Bayes’ rule converts the speaker-oriented representation into the listener-oriented probability.

Whether actual language production follows this exact decision order is an empirical scientific question. Nevertheless, the representation provides a plausible model for reasoning about the relationship between language production and comprehension.


Partition Functions and Proportionality

The normalizing constant P(B)P(B)P(B) is sometimes called the partition function, especially in probabilistic modeling.

Bayes’ rule can be written explicitly as:

P(A∣B)=P(B∣A)P(A)P(B)P(A\mid B) = \frac{P(B\mid A)P(A)}{P(B)}P(A∣B)=P(B)P(B∣A)P(A)​

In some applications, the normalizing constant is not needed immediately. The posterior can instead be represented up to proportionality:

P(A∣B)∝P(B∣A)P(A)P(A\mid B)\propto P(B\mid A)P(A)P(A∣B)∝P(B∣A)P(A)

This notation means that the posterior is proportional to the product of the likelihood and the prior. The expression gives the relative weight of different possible values of AAA, but it does not yet guarantee that the probabilities sum to one.

To obtain a proper probability distribution, the values must eventually be normalized using:

P(B)=∑aP(B∣A=a)P(A=a)P(B)=\sum_a P(B\mid A=a)P(A=a)P(B)=∑a​P(B∣A=a)P(A=a)

The normalizing constant can be computationally expensive in large models because it may require summing over many possible hypotheses.


Key Relationships

  • Joint probability: Describes combinations of values from multiple random variables.

  • Marginal probability: Describes one variable after summing over the possible values of another.

  • Conditional probability: Describes the probability of one event given another event.

  • Chain rule: Decomposes a joint probability into a product of conditional and marginal probabilities.

  • Bayes’ rule: Reverses a conditional relationship using a prior, likelihood, and normalizing constant.

  • Prior: Belief before evidence is incorporated.

  • Likelihood: Probability of the evidence under a particular hypothesis.

  • Posterior: Updated belief after evidence is incorporated.

  • Normalizing constant: Ensures that posterior probabilities form a proper distribution.

  • Incremental processing: Continuous updating of beliefs as new information arrives.

These concepts form a connected system: joint distributions can be marginalized, conditional probabilities can be derived from joint and marginal probabilities, joint distributions can be decomposed using the chain rule, and Bayes’ rule can invert conditional relationships to support inference from observed evidence.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent