Introduction: The Missing Pieces of Syntactic Parsing
Most high-performance syntactic parsers, such as those developed by Charniak or Collins, are designed to produce "surface" trees. While these models are highly effective at capturing local grammatical relationships, they typically omit empty nodes—placeholders used in linguistics to represent non-local dependencies. Without these nodes, a computer cannot easily determine "who did what to whom," making downstream semantic tasks nearly impossible. This paper introduces a surprisingly effective post-processing algorithm that restores these missing elements using a simple pattern-matching approach based on tree fragments from the Penn Treebank.
Defining the Problem: Surface Trees vs. Deep Structure
Empty nodes are essential for full semantic interpretation. For example, in the phrase "the man Sam likes," a human reader understands that "the man" is the direct object of the verb "likes." In a formal syntax tree, this relationship is represented by an empty node (a "trace") following the verb that is co-indexed with the antecedent "the man."
As shown in the figure above, the trace (*T*-1) and the empty complementizer (0) provide the necessary links to resolve the non-local dependency. Recovering these nodes was previously thought to require complex, theory-heavy machinery; this research investigates whether a "dumb" pattern matcher can achieve similar results.
Methodology: Memory-Based Pattern Matching
The proposed algorithm utilizes a two-phase Memory-Based Learning approach to recover these structures:
- Pattern Extraction: The algorithm scans a training corpus of trees that already contain empty nodes to extract "minimal connected tree fragments." These fragments include the empty node and all other nodes co-indexed with it.
- Preprocessing for Transitivity: To assist the matcher, the algorithm relabels verbs. It adds a
_tsuffix to verbs that appear to be transitive (e.g.,VBZbecomesVBZ_t) based on whether they are followed by an object at least 50% of the time in the training data. - Pattern Matching & Insertion: When processing a new tree, the algorithm performs a pre-order traversal. At each node, it searches for the highest-ranked matching pattern from its library. If a match is found, the pattern is substituted into the tree, inserting the missing empty node and its co-indexation.
A critical technical detail is the ranking of patterns. The algorithm prioritizes "deeper," more specific patterns over shallower ones to ensure that complex nested dependencies are captured before simpler ones can interfere with the matching context.
Key Results and Performance
The algorithm was evaluated using a modified Parseval metric (precision, recall, and F-score) on both "gold" trees (perfect trees with empty nodes removed) and actual parser output from the Charniak (2000) parser.
- On Gold Trees: The algorithm achieved an F-score of 0.88. It proved exceptionally accurate at identifying empty complementizers (F=0.96) and empty units (F=0.95).
- On Parser Output: Performance dropped to an F-score of 0.79 when processing real-world parser output.
- Antecedent Recovery: Identifying the specific word a trace refers to is a more difficult task. On parser output, the overall F-score for finding both the node and its correct antecedent was 0.68.
Insights and Limitations
The primary insight of this work is that non-local dependencies often leave a "local footprint" in the tree structure. By leveraging a large library of tree fragments, the system can identify these footprints without a deep theoretical model of syntax. Furthermore, marking verb transitivity significantly improves the recovery of object traces, effectively turning a search problem into a feature-matching problem.
However, the algorithm's rigidity is a notable limitation. Because it requires an exact match, small structural errors in the initial parser output can prevent the matcher from finding an otherwise obvious trace. Additionally, the system struggles to distinguish between different types of null elements, such as NP traces in passive constructions versus "free" null subjects (PRO), which often require deeper lexical or semantic information. Future work suggests that empty node recovery should be integrated directly into the parsing process rather than treated as a separate post-processing step.
Summary updated