Gahl and Baayen (2024): Time and Thyme Again #
Gahl had found that the more frequent of two homophones, such as time against thyme, tends to be shorter in speech. Gahl and Baayen recast this with a discriminative lexicon, linear maps between semantic vectors and triphone vectors with no stored words, so frequency cannot be a property of a word. It splits instead into practice, frequency-informed learning of the production map, and contextual independence, the share of a word's predictability in an utterance that it owes to itself. The duration models are not formalized; the paper's two worked examples are.
Main statements #
semanticSupportForForm_endstate_time_lt_thyme,semanticSupportForFormFIL_thyme_lt_time: practice reverses which homophone's form its meaning supports more.time_sub_thyme_notMem_ker: the homophones time and thyme get distinct predicted forms.not_existsUnique_isELTrained: regression does not determine the word-to-word map.diag_W_mem_Icc: the self-prediction shares of the toy words lie in[0, 1].
Implementation notes #
- The paper fits only production, so both toy lexicons have the zero comprehension map.
- The paper estimates the corpus-scale word-to-word map with the Rescorla–Wagner rule, which is
not formalized;
Wis the pseudoinverse solution it uses for the toy corpus.
References #
The toy lexicon #
Equations
- GahlBaayen2024.instDecidableEqPhone x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
The toy words time, lime and thyme are spelled as phone strings, the two homophones sharing a string.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The six triphones of (2) are listed in the paper's column order #ta taɪ aɪm ɪm# #la laɪ.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Each row of the form matrix C of (2) is the word's triphone indicator, the DLM's cue coding
at width 3.
Equations
Instances For
The DLM's cue coding reproduces the form matrix (2).
The semantic vectors of (1) give time, lime and thyme two arbitrary dimensions.
Equations
- GahlBaayen2024.semanticVectors = !![1 / 10, 3 / 10; 6 / 10, 2 / 10; 11 / 10, 6 / 10]
Instances For
The toy lexicon pairs the semantic matrix S of (1) with the triphone matrix C of (2).
Equations
- GahlBaayen2024.toy = { S := GahlBaayen2024.semanticVectors.map ⇑(Rat.castHom ℝ), C := Matrix.of GahlBaayen2024.toyForms }
Instances For
time is the first row of the toy lexicon.
Equations
Instances For
lime is the second row of the toy lexicon.
Equations
Instances For
thyme is the third row of the toy lexicon.
Equations
Instances For
time, lime and thyme have token frequencies 100, 10 and 1 (A3).
Equations
- GahlBaayen2024.freq = ![100, 10, 1]
Instances For
The arithmetic of the toy lexicon is decided over ℚ and cast into ℝ.
Endstate and frequency-informed learning #
The paper fits only the production side of the model. Mapping matrices act on row vectors,
ĉ = sG, so a production map is toLin' Gᵀ.
The endstate mapping G of (4) is the closed form (SᵀS)⁻¹SᵀC of (A2).
Equations
- GahlBaayen2024.endstateG = (GahlBaayen2024.toy.S.transpose * GahlBaayen2024.toy.S)⁻¹ * (GahlBaayen2024.toy.S.transpose * GahlBaayen2024.toy.C)
Instances For
The lexicon at the endstate of learning has the endstate mapping as its production map.
Equations
- GahlBaayen2024.endstate = { comprehension := 0, production := Matrix.toLin' GahlBaayen2024.endstateG.transpose }
Instances For
The frequency-informed mapping is the closed form (SᵀQS)⁻¹SᵀQC of the normal equations
of (A4) at the frequencies freq.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The lexicon after frequency-informed learning has the frequency-informed mapping as its production map.
Equations
- GahlBaayen2024.frequencyInformed = { comprehension := 0, production := Matrix.toLin' GahlBaayen2024.frequencyInformedG.transpose }
Instances For
Semantic support for form #
The support matrix T = ĈCᵀ of (A5), with Ĉ = SG, tabulates the support each word's form
(column) receives from each word's meaning (row).
Equations
- GahlBaayen2024.supportMatrix D data = data.S * D.productionMatrix * data.C.transpose
Instances For
Semantic support for form is the diagonal of T, the support a word's form receives from
its own meaning.
Equations
- GahlBaayen2024.semanticSupportForForm D data = (GahlBaayen2024.supportMatrix D data).diag
Instances For
At the endstate thyme's meaning supports its form more than time's does, 4.623 against 3.455 (Table 1).
Under frequency-informed learning the paper reads support for form off the fitted values
√Q S G of the √Q-scaled regression, paired with the words' own triphone vectors (A7).
Equations
Instances For
Under practice time overtakes thyme, 39.805 against 6.225 (Table 1), reversing the endstate order.
time and thyme share a form row, but their meaning difference lies outside the kernel of the production map, so identical triphones receive distinct predicted forms (appendix A3, Fig. A2).
Contextual independence #
A word-to-word map W with UW = U predicts every word of an utterance from all the words in
it, and the diagonal of W is the share of that prediction a word owes to itself.
Equations
- GahlBaayen2024.instDecidableEqWord x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
The five toy utterances of (5).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The utterance-by-word matrix U multiple-hot encodes each utterance over the vocabulary.
Equations
- GahlBaayen2024.U = Matrix.of fun (i : Fin 5) => DiscriminativeLexicon.multiHot GahlBaayen2024.vocabulary fun (x : GahlBaayen2024.Word) => x ∈ GahlBaayen2024.utterance i
Instances For
The arithmetic of the toy corpus is decided over ℤ and cast into ℝ.
The word-to-word map W of (6) is U⁺U = Uᵀ(UUᵀ)⁻¹U, the pseudoinverse solution of
UW = U (A8).
Equations
- GahlBaayen2024.W = GahlBaayen2024.U.transpose * (GahlBaayen2024.U * GahlBaayen2024.U.transpose)⁻¹ * GahlBaayen2024.U
Instances For
Regressing the words of each utterance on themselves, as the paper does for the toy corpus,
does not determine W, since the identity, the "ideal solution" of (A9), is trained as well.
The diagonal entry of each column of W is its largest, as the paper observes of (6).
The contextual-independence measure of (9) is Cind = (log(1/d))^{1/4}, a log against the
right skew of the diagonal values and a power to finish it.
Equations
- GahlBaayen2024.cind d = Real.log (1 / d) ^ (1 / 4)
Instances For
Cind reverses the order of the diagonal values on (0, 1), so the more a word predicts
itself the lower its Cind, which is the sign of its correlation with frequency in Fig. 2.