Out-of-Vocabulary (OOV)
Every system that works with words works from a fixed list of them, compiled once from training data. Language refuses to respect that list: new product names, typos, hashtags, inflections and borrowings arrive continuously. A word that is not on the list is out-of-vocabulary.
What happens to an unknown word
In a classical pipeline the word is replaced by a single [UNK] token or dropped. Both are lossy in the same way: every unknown word collapses into one representation, so a place name, a brand and a typo become indistinguishable. In a count vector there is simply no column for it; in an n-gram language model it receives smoothed probability mass; in a classifier the most informative evidence in the sentence can be the part that vanished. Morphology makes this common even inside the training domain — a corpus can contain “friend” thousands of times and “unfriendlier” never.
How it is handled
- Subword tokenization — BPE, WordPiece, SentencePiece — breaks any string into known pieces, which is why BERT-era models have essentially no OOV words left.
- FastText composes a word vector from character n-grams, so even a never-seen word gets a reasonable embedding.
- A hashing vectorizer trades collisions for an unbounded vocabulary and no fitted dictionary at all.
- Normalisation — lowercasing, Unicode normalisation, spell correction — shrinks the problem before modelling starts.
Why it matters
The OOV rate is the measurable gap between a vocabulary and real traffic, and it bites precisely where the value is: the newest, rarest, most informative words. Subword methods move the failure rather than remove it — a rare word becomes a long chain of fragments whose combined representation is weak, which is exactly how a model trained on newswire stumbles over clinical abbreviations.
An out-of-vocabulary word is one absent from the fixed vocabulary a model was built with — a rare name, a typo, a new coinage, a term from another language. Count-based and word-level embedding models hold no vector for it and substitute an unknown-token placeholder, discarding whatever it carried. The OOV rate quantifies the exposure, and subword tokenisation largely removes it by assembling unseen words from known pieces.
Travelling with a phrasebook works until someone says a word that simply isn't in it — a brand name, a nickname, a bit of slang. The book has no answer, and you are stuck.
Software that works with language has the same limit. It is built with a fixed list of words it knows, and anything outside that list is out-of-vocabulary — effectively invisible to it. That is why older tools stumbled over an unusual surname or a newly invented word, treating it as a blank space. Today's systems break unfamiliar words into smaller familiar chunks, so even a word they have never seen before can be handled sensibly.