FastText

A rare word may share useful parts with words we have seen many times. FastText includes character fragments in its word representations, allowing those related spellings to share information during learning.

13 sections · 10 questions · 3 coding challenges

1 / 13

What If the Word Was Absent but Its Parts Were Familiar?

BOTIE

A word-level embedding table has no trained row for a completely unseen spelling. This is especially awkward when the spelling is an ordinary inflection of a familiar word. Its stem and ending may be informative even though the exact whole word was missing.

Bojanowski and colleagues' work, released in 2016 and published in 2017, extended word representations with character n-grams. The motivation was to share information across word forms and improve representations of rare or unseen words, including in morphologically rich languages.

Each word draws on vectors for its character fragments, and known words can also have their own contribution. Related spellings therefore share parameters. An unfamiliar word can obtain a representation from the fragments it contains. This offers a useful fallback, but spelling similarity is only evidence: unrelated words can share fragments, and similar meanings need not share letters.

Sources for this history