Caesar AI Atlas

Bidirectional

Caesar AI Atlas Definition

Bidirectional describes a model or system that uses context from both before and after a target element when interpreting or predicting it. In language models, bidirectional processing can improve understanding because the model can consider surrounding text on both sides of a word or token.

Other Definitions

Bidirectional Source

A term used to describe a system that evaluates the text that both precedes and follows a target section of text. In contrast, a unidirectional system only evaluates the text that precedes a target section of text. For example, consider a masked language model that must determine probabilities for the word or words representing the underline in the following question: What is the _____ with you? A unidirectional language model would have to base its probabilities only on the context provided by the words "What", "is", and "the". In contrast, a bidirectional language model could also gain context from "with" and "you", which might help the model generate better predictions.

Related Terms