Docs / Pragmatics / Probabilistic / Latent

Latent variables

import Linglib.Pragmatics.Probabilistic.Latent · namespace RSA

A latent the speaker knows and the listener does not is a coordinate of the listener's state, and her beliefs about the world and about the latent are the two marginals of her posterior. In the lexical-uncertainty model of Bergen, Levy and Goodman the latent is a lexicon with a prior independent of the state's. The paper states the listener's belief about the state as the listener of the speaker averaged over lexica, and the two presentations agree; her belief about the lexicon is the listener of the speaker averaged over states. A state is possible after an utterance exactly when it has positive prior and some lexicon of positive prior has its speaker produce the utterance there (the union of the lexica's supports), and two states the speakers of every such lexicon treat alike keep their prior odds. A threshold, a comparison class, a scope reading or a question under discussion enters the same way. When the listener hears only the form of the speaker's choice, the latent is the choice, and its prior depends on the state: the joint of the world prior and the speaker.

References

Marginals of a listener over a product

A latent the speaker also knows, a lexicon or a threshold or a question, is a coordinate of the state: the speaker at a pair is fun p ↦ speaker α C (L p.2) Measure.dirac p.1, addressing that latent's listener, and her listener holds a prior over pairs. Its marginals pool the prior-weighted production probabilities over the other coordinate. When the prior over pairs is a product, this is lexical uncertainty (Linglib.Pragmatics.Probabilistic.Latent).

L62–65
L67–70
theorem listener_fst_real_singletonL72–76
{U : Type u_2} [MeasurableSpace U] [Countable U] [MeasurableSingletonClass U] {A : Type u_4} {B : Type u_5} [MeasurableSpace A] [MeasurableSpace B] [Fintype A] [Fintype B] [MeasurableSingletonClass A] [MeasurableSingletonClass B] (μ : MeasureTheory.Measure (A × B)) (S : A × B → MeasureTheory.Measure U) [MeasureTheory.IsFiniteMeasure μ] [∀ (p : A × B), MeasureTheory.IsFiniteMeasure (S p)] (u : U) (a : A) :
((listener μ S) u).fst.real {a} = (∑ b : B, μ.real {(a, b)} * (S (a, b)).real {u}) / ∑ p : A × B, μ.real {p} * (S p).real {u}
L78–82
L84–95
L97–108
L115–128
L130–143

The heard form

When the listener hears only the form obs u of the speaker's choice u (eqs. 18b/21b), her state is the pair of the world and the choice, her prior the joint of the world prior and the speaker, and her channel the point mass at the form. Her first marginal is her belief about the world and her second her belief about the choice.

L173–178
L182–190
L192–200
L202–212
L214–225

A latent with an independent prior

Lexical uncertainty. Against a product prior, the first marginal of the listener is the listener of the speaker averaged over the second coordinate by its prior.

theorem listener_prod_fstL239–252
{A : Type u_1} {B : Type u_2} {U : Type u_3} [MeasurableSpace A] [MeasurableSpace B] [MeasurableSpace U] [Fintype A] [Fintype B] [MeasurableSingletonClass A] [MeasurableSingletonClass B] [Countable U] [MeasurableSingletonClass U] (μ : MeasureTheory.Measure A) (ν : MeasureTheory.Measure B) (S : A × B → MeasureTheory.Measure U) :
(listener (μ.prod ν) S).fst = listener μ fun (a : A) => ∑ b : B, ν {b} • S (a, b)

Against a product prior, the second marginal of the listener, her belief about the latent, is the listener of the speaker averaged over the first coordinate by its prior.

theorem listener_prod_sndL254–270
{A : Type u_1} {B : Type u_2} {U : Type u_3} [MeasurableSpace A] [MeasurableSpace B] [MeasurableSpace U] [Fintype A] [Fintype B] [MeasurableSingletonClass A] [MeasurableSingletonClass B] [Countable U] [MeasurableSingletonClass U] (μ : MeasureTheory.Measure A) (ν : MeasureTheory.Measure B) (S : A × B → MeasureTheory.Measure U) :
(listener (μ.prod ν) S).snd = listener ν fun (b : B) => ∑ a : A, μ {a} • S (a, b)

Against a product prior, the listener keeps the prior odds of two states at which the speaker gives the utterance the same mass at every value of positive prior of the second coordinate.

theorem listener_prod_fst_apply_singleton_mul_eqL272–284
{A : Type u_1} {B : Type u_2} {U : Type u_3} [MeasurableSpace A] [MeasurableSpace B] [MeasurableSpace U] [Fintype A] [Fintype B] [MeasurableSingletonClass A] [MeasurableSingletonClass B] [Countable U] [MeasurableSingletonClass U] (μ : MeasureTheory.Measure A) (ν : MeasureTheory.Measure B) (S : A × B → MeasureTheory.Measure U) {u : U} {a₁ a₂ : A} (h : ∀ (b : B), ν {b} ≠ 0 → (S (a₁, b)) {u} = (S (a₂, b)) {u}) :
((listener (μ.prod ν) S).fst u) {a₁} * μ {a₂} = ((listener (μ.prod ν) S).fst u) {a₂} * μ {a₁}
L289–296

Against a product prior, a state is possible after an utterance exactly when it has positive prior and the speaker produces the utterance there at some value of positive prior of the second coordinate.

theorem listener_prod_fst_apply_singleton_ne_zero_iffL298–305
{A : Type u_1} {B : Type u_2} {U : Type u_3} [MeasurableSpace A] [MeasurableSpace B] [MeasurableSpace U] [Fintype A] [Fintype B] [MeasurableSingletonClass A] [MeasurableSingletonClass B] [Countable U] [MeasurableSingletonClass U] (μ : MeasureTheory.Measure A) [MeasureTheory.IsFiniteMeasure μ] (ν : MeasureTheory.Measure B) [MeasureTheory.IsFiniteMeasure ν] (S : A × B → MeasureTheory.Measure U) [∀ (p : A × B), MeasureTheory.IsFiniteMeasure (S p)] (u : U) (a : A) :
((listener (μ.prod ν) S) u).fst {a} ≠ 0 ↔ μ {a} ≠ 0 ∧ ∃ (b : B), ν {b} ≠ 0 ∧ (S (a, b)) {u} ≠ 0