Abstract
Gapping constructions, where redundant elements are omitted in coordinated structures, pose a significant challenge for natural language parsing. This paper introduces a novel approach that leverages grammatical and semantic role tags within a specialized sequence alignment framework. By integrating these tags into a constituency parser and employing a dynamic programming-based alignment algorithm, the proposed method achieves a substantial improvement in recovering elided elements, increasing the F-measure from 12.9 to 70.8 on the Penn Treebank.
Introduction
In natural language, "gapping" is a linguistic phenomenon where a verb or other redundant elements are deleted from subsequent clauses to avoid repetition. For instance, in the sentence "John ate bread, and Mary rice," the verb "ate" is elided in the second clause. While humans easily infer the missing information, automated systems struggle due to data sparsity and structural complexity. This paper presents a method to effectively parse these constructions by utilizing functional tags and sequence alignment.
The Challenge of Gapping
Gapping is particularly difficult for Natural Language Processing (NLP) systems for several reasons. First, it is relatively rare in natural text, leading to data sparsity issues for machine learning models. Second, in standard datasets like the Penn Treebank (PTB), gapped clauses are often "flattened," which obscures the hierarchical relationships needed to identify remnants and their correlates.
As shown in Figure 1, in the sentence "The three-month bills will still mature on Feb. 1, 1990, and the six-month bills on May 3, 1990," the phrase "will still mature" is elided in the second half. To understand such sentences, a system must recover the "gap" and correctly link the remaining "remnants" (e.g., "the six-month bills") to their "correlates" in the initial clause (e.g., "The three-month bills").
Proposed Methodology
The authors propose a two-step approach integrated into a self-attentive constituency parser.
Tagging and Annotation
The method relies on identifying specific functional tags rather than predicting complex arcs directly. Two types of tags are crucial:
- The GAP Tag: A special tag assigned to any node that contains a gapped construction.
- Role Tags: Existing PTB functional tags describing grammatical and semantic roles (e.g.,
-SBJfor surface subject,-TMPfor temporal adjuncts).
The core hypothesis is that a remnant and its correlate typically share the same grammatical or semantic role.
DP-Based Sequence Alignment
Once a gapped conjunct is identified via the GAP tag, the system aligns remnants to correlates using an adapted Needleman-Wunsch algorithm. This alignment is subject to two structural constraints: it must be order-preserving (matching the relative order of remnants and correlates) and non-overlapping (correlates cannot have an ancestor-descendant relationship).
Experimental Setup
The study utilizes the Penn Treebank (PTB), specifically sections 02–21 for training, section 22 for development, and section 23 for testing. Crucially, the authors use the version of the PTB that retains functional tags, which are essential for the proposed role-based alignment.
Results and Discussion
The proposed method was evaluated against the previous state-of-the-art by Kummerfeld and Klein (2017).
As detailed in Figure 5, while the previous method achieved perfect precision, its recall was extremely low (6.9%). The proposed method, especially when enhanced with BERT, provides a massive boost in recall (58.6%) and a significantly higher F-measure (70.8%). The "Oracle" results indicate that if the parser identifies the tags correctly, the alignment algorithm is nearly perfect at recovering elided elements.
Key Insights
- Leveraging Abundant Data: While gapping is rare, grammatical roles like subjects and temporal markers are frequent. Training the parser on these general roles improves its specific performance on gapping.
- The Impact of BERT: The inclusion of BERT significantly improved the identification of the
GAPtag, which serves as the trigger for the alignment process.
Conclusion
This research demonstrates that combining neural parsing with deterministic sequence alignment based on linguistic roles can effectively address the challenge of gapping. Future work may involve using semantic similarity (e.g., word embeddings) to refine the alignment scoring and extending the logic to handle more complex or cross-linguistic structures.
Summary updated