AI engineering glossary · NLP embeddings

What is subword regularisation?

Subword regularisation: A training trick that randomly samples different valid subword splits of the same text instead of always using the single best split. Showing the model several segmentations makes it more robust to spelling variation and noisy input.

Level: advancedTopic: NLP embeddings

Subword regularisation: an example

The word "unbelievable" is sometimes fed as ["un", "believable"] and sometimes as ["unbeliev", "able"] across epochs.

Related terms

More NLP embeddings terms

Where you learn it

Subword regularisation is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.