Noisy harmonic grammar #
Boersma and Pater make harmonic grammar stochastic by adding independent Gaussian noise to every
constraint weight at each evaluation, so that a candidate wins with the probability that its noisy
harmony is the highest. Flemming reads this as a random utility model whose utilities are the
noisy harmonies. The candidates share the weights, so their noisy harmonies are correlated, and the
model is the choice rule choiceProb at the pushforward of the weight noise rather than at a
product of independent laws. The harmony difference of two candidates is Gaussian with variance
v * (d ⬝ᵥ d) for their violation difference d, so how noisy a comparison is depends on the
violation profile and not only on the harmonies, unlike in MaxEnt, where the utilities are
independent.
Main definitions #
weightNoise: independentN(0, v)noise on every constraint weight.weightNoiseChoiceProb: the probability that a candidate has the highest harmony under noisy weights.
Main results #
weightNoiseChoiceProb_eq_choiceProb_map: noisy harmonic grammar is the random utility model whose joint law is that of the noisy harmonies.map_weightNoise_harmonyScore_sub: the harmony difference of two candidates is Gaussian with variancev * (d ⬝ᵥ d).variance_harmonyScore_sub,covariance_harmonyScore_sub: the variances and covariances of the harmony differences.weightNoise_setOf_harmonyScore_lt,weightNoiseChoiceProb_of_forall_ne_eq,weightNoiseChoiceProb_fin_two: the probability that one candidate beats another is the probit of their harmony difference over its standard deviation.
Implementation notes #
The noise has variance v : ℝ≥0, as in mathlib's gaussianReal; Boersma and Pater take v = 1.
Flemming's normal MaxEnt, with independent Gaussian noise on the candidates' harmonies, needs no
definition: it is choiceProb (Measure.pi fun c ↦ gaussianReal (harmonyScore con w c) v), with
binary case choiceProb_pi_gaussianReal. His censored variant, which clamps noisy weights at zero,
has no closed form and is not formalized.
References #
The weight noise of noisy harmonic grammar perturbs each constraint weight by independent
N(0, v) noise.
Equations
- HarmonicGrammar.weightNoise ι v = MeasureTheory.Measure.pi fun (x : ι) => ProbabilityTheory.gaussianReal 0 v
Instances For
weightNoiseChoiceProb con w v a is the probability that a has the highest harmony when the
weights w are perturbed by weight noise of variance v.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Noisy harmonic grammar is the random utility model whose utilities are the noisy harmonies.
Noise on the weights moves the harmony difference of two candidates by the noise against their violation difference.
Under weight noise the harmony difference of two candidates is Gaussian, with mean their
harmony difference and variance v times the squared length of their violation difference.
The variance of the harmony difference of two candidates is v times the squared length of
their violation difference.
The covariance of the harmony differences of b and of c from a common candidate a is v
times the dot product of their violation differences, so the joint law of the differences
depends on the whole violation profile and not only on the harmonies.
The probability that a has a higher noisy harmony than b is the probit of their harmony
difference over its standard deviation.
When b is the only other candidate, the probability that a wins is the probit of their
harmony difference over its standard deviation.
With two candidates, the probability that the first wins is the probit of their harmony difference over its standard deviation.