Introduction
Dependency parsing is a fundamental task in natural language processing, involving the mapping of grammatical relationships between words in a sentence. While modern parsers have achieved high accuracy, certain linguistic structures remain persistent sources of error. This paper introduces a post-processing framework designed to "clean up" mistakes made by dependency parsers by focusing on two notoriously difficult attachment types: coordination and prepositional phrase (PP) attachment.
The Challenge of Ambiguous Attachments
Standard parsers often struggle with structural ambiguities. For example, in PP-attachment, a system must decide whether a prepositional phrase modifies a verb or a noun. Consider the sentence "Elle ouvrit la porte avec la clé" (She opened the door with the key).
In this case, "avec" should attach to the verb "ouvrit" (the instrument of opening) rather than the noun "porte". Similarly, coordination—joining phrases with conjunctions like "and"—often results in errors due to the complex symmetry required. The authors propose that instead of redesigning parsers, a specialized "editor" can re-evaluate these specific high-error attachments after an initial parse is generated.
Methodology: A Specialized Correction Framework
The proposed framework operates as a parser-agnostic post-processing step in three stages:
- Candidate Identification: For a given dependent word, the system identifies a "neighborhood" of potential parent nodes (governors) within a graph distance (typically $m=3$) in the initial parse tree. This keeps the search space computationally efficient.
- Specialized Ranking Models: The authors utilize three ranking models: a generic model and two specialized models for prepositions and coordinating conjunctions. These models use a Passive-Aggressive (PA) Ranking algorithm to score candidate governors.
- Feature Engineering: The models leverage rich features often ignored by standard parsers, such as part-of-speech symmetry in coordination. Conditional Entropy is used to prune these features, ensuring the system remains fast.
The system was evaluated using the French Treebank (FTB), employing a jackknifing procedure to train the correction models on realistic parser errors.
Key Results and Performance
The framework was tested against four state-of-the-art parsers: Berkeley, Bohnet, Malt, and MST. The results demonstrate consistent improvements across all systems.
As shown in the results table, increasing the neighborhood size ($m$) generally leads to higher accuracy, with $m=3$ or $m=4$ providing substantial gains over the base parser performance. Coordination errors proved particularly responsive to correction; for instance, the MSTParser's coordination accuracy rose from 60.5% to 68.0%. The MaltParser saw the most significant overall improvement, with a 6.8% reduction in its error rate.
Discussion and Future Directions
A key advantage of this approach is its efficiency; the correction algorithm runs in linear time $O(n)$, making it significantly faster than traditional $n$-best reranking methods. Furthermore, the system is "conservative," only making changes when confidence is high, which ensures that it corrects far more often than it introduces new errors.
However, PP-attachment remains a challenge. While the system provides improvements, the authors note a performance ceiling likely caused by the need for deeper semantic knowledge (e.g., lexical preferences of verbs) that purely syntactic features cannot capture. Future work aims to incorporate richer lexical resources and expand the framework to other difficult structures like verb-phrase attachments.
Summary updated