Home › Glossary › NLP › Bidirectional

Intermediate · NLP

Bidirectional

Visual diagram · (in preparation) · Math · (in preparation) · Worked example · 3 difficulty levels.

TL;DR. Describes a system that processes information by looking at context both before and after a specific point.

Technical Definition

Describes a system that processes information by looking at context both before and after a specific point.

How it works

In natural language processing, a bidirectional system considers context from both the left (preceding) and right (following) sides of a piece of text. This is in contrast to unidirectional systems that only consider preceding context, allowing for a more nuanced understanding of language.

Related Concepts

  • Language model — A language model is a statistical tool used to predict the probability of a sequence of words occurring in a natural language.

Further Reading

  • Google ML Glossary