When a standard transition-based parser processes a sentence, it moves strictly from left to right. It reads a word, makes a local decision to shift or reduce, and moves on. However, language is rarely so cooperative. In sentences with flexible word order, complex morphology, or long-distance dependencies, a parser operating strictly left-to-right is effectively blind to the future. It must make structural commitments before encountering the late-appearing modifiers or verbs that validate those choices. If it guesses wrong early on, errors propagate down the line, derailing the entire parse tree.
Bidirectional parsing addresses this fundamental limitation by processing sentences from both ends. By combining left-to-right and right-to-left perspectives, bidirectional architectures transform ambiguous, late-stage structural attachments into clear, early-stage decisions.
The Intuition: Turning Blind Spots into Anchors
To understand why bidirectional parsing works, consider a long-distance dependency or a complex coordination structure at the end of a sentence. For a forward-moving parser, this structure is a source of prolonged ambiguity; the parser must maintain multiple open hypotheses in memory until it reaches the end.
However, if we reverse the sentence and parse it from right to left, the exact same structure appears at the beginning of the sequence. What was a difficult "late attachment" for the forward pass becomes an easy, highly constrained "early choice" for the reverse pass.
Forward Pass: [Word 1] -> [Word 2] -> ... -> [Ambiguous Long-Distance Link]
Reverse Pass: [Clear Structural Anchor] <- ... <- [Word 2] <- [Word 1]
By synthesizing these two opposing directions, a parsing system can resolve local ambiguities using certainties derived from both the past and the future.
Early Foundations: Two-Way Automata and Anchors
The insight that natural language parsing requires multi-directional flexibility was initially explored in the context of highly inflectional, free-word-order languages like Finnish and Italian. Traditional phrase-structure grammars struggled with these languages because constituents can appear in varied sequences.
To handle this fluidity, early researchers turned to automata that could move dynamically in both directions. Nelimarkka et al. (Two-Way Finite Automata and Dependency Grammar: A Parsing Method for Inflectional Free Word Order Languages) proposed a framework where each word in a sentence is associated with a two-way finite automaton. Instead of processing the string in a single rigid pass, these automata scan both left and right to discover their dependents locally, dynamically constructing a functional dependency tree. Lehtola et al. (Language-Based Environment for Natural Language Parsing) formalized this approach into a specialized programming environment, demonstrating that two-way automata allow parsers to remain context-aware across flexible word orders by evaluating left-hand and right-hand dependencies simultaneously.
Around the same time, chart parsing emerged as another vehicle for multi-directional processing. Delmonte (Parsing Difficulties & Phonological Processing in Italian) leveraged chart parsing's capacity to mix top-down and bottom-up strategies, showing that multi-directional information flow is vital for resolving the structural ambiguities inherent in null-subject languages.
This concept was later adapted to noisy environments like speech recognition, where inputs are frequently corrupted or missing. Saito (Bi-directional LR Parsing from an Anchor Word for Speech Recognition) introduced an "island-driven" bidirectional Generalized LR (GLR) parser. Instead of starting blindly at the beginning of a noisy acoustic lattice, the parser starts at an acoustically reliable "anchor word" and parses outward in both directions (forward and backward). The two independent processes synchronize when actions resolve, allowing the clear context of the anchor word to patch over nearby acoustic errors.
Similarly, Lavelli et al. (Bidirectional Parsing of Lexicalized Tree Adjoining Grammars) applied bidirectional processing to Lexicalized Tree Adjoining Grammars (LTAGs), demonstrating that scanning outward from lexical anchors provides a more linguistically intuitive way to capture long-distance dependencies.
Modern Transition-Based Systems: Ensembles and Voting
As natural language processing shifted toward deterministic, linear-time algorithms, the core challenge became how to inject bidirectional insights into fast, single-pass transition systems (such as shift-reduce parsers).
The simplest way to achieve this is through an ensemble strategy: run one parser forward, run another parser backward, and combine their strengths. Johansson et al. (Incremental Dependency Parsing Using Online Learning) implemented an incremental dependency parser that processed sentences from both left-to-right and right-to-left, merging the resulting structures via a voting mechanism. The authors noted that this bidirectional combination significantly improved parsing robustness, particularly when training data was scarce.
Taking a probabilistic approach, Chen et al. (Probabilistic Model for Syntactic and Semantic Dependency Parsing) trained dual-direction shift-reduce models and combined their transition probabilities. By optimizing the joint probability of both directions, their system successfully resolved structural ambiguities that would have caused a single-pass, unidirectional model to fail.
| Parsing Strategy | Primary Strength | Handling of Long-Distance Dependencies |
|---|---|---|
| Unidirectional (L-to-R) | Fast, incremental processing | Poor; prone to early garden-path errors |
| Bidirectional Voting/Ensemble | Robust; balances independent perspectives | Moderate; resolves errors via consensus |
| Reverse Revision (Two-Pass) | Corrective; second pass uses first-pass features | High; reverse pass targets missed coordination/links |
Reverse Revision: The Power of the Second Pass
While voting and probability-blending improve accuracy, they treat the forward and backward parsers as independent agents. The true power of bidirectionality is realized when the two directions actively communicate. This insight led to the development of reverse revision.
Instead of running two isolated passes, a reverse revision system operates in sequence. First, a standard forward parser processes the sentence and generates a preliminary tree. Then, a second parser processes the sentence in reverse, but it does not start from scratch. As it moves backward, it extracts features from the output of the forward pass.
Ciaramita et al. (DeSRL: A Linear-Time Semantic Role Labeling System) utilized this dual-perspective approach for semantic role labeling. They demonstrated that a reverse-order deterministic parser is uniquely effective at identifying long-distance links and coordination structures that forward-order models frequently miss. The reverse pass acts as a dedicated error-correction mechanism.
Attardi et al. (Reverse Revision and Linear Tree Combination for Dependency Parsing) formalized this into a highly efficient, linear-time architecture. By feeding the structural decisions of the forward pass as features into the reverse parser, the reverse parser gains a global view of the sentence. It can look at a long-range dependency and say: "The forward pass guessed that this late-occurring word attaches to X, but from my right-to-left perspective, it is immediately obvious that it belongs to Y."
This sequential, bidirectional analysis ensures that the parser benefits from two entirely complementary viewpoints. By structuring the second pass in reverse, the system systematically eliminates the blind spots of the first, achieving high accuracy without sacrificing linear-time efficiency.
Key Foundational Work
Language-Based Environment for Natural Language Parsing (1985) — contributed 2 concept elements to this direction.
Two-Way Finite Automata and Dependency Grammar: A Parsing Method for Inflectional Free Word Order Languages (1984) — contributed 2 concept elements to this direction.
Parsing Difficulties & Phonological Processing in Italian (1985) — contributed 1 concept elements to this direction.