Importance of Linguistic Constraints in Statistical Dependency Parsing

Bharat Ram AmbatiStudent Research Workshop @ ACL 2010

Introduction

Statistical dependency parsing is a critical task in Natural Language Processing (NLP), involving the mapping of grammatical relationships between words in a sentence. While state-of-the-art parsers like Malt and MST achieve high accuracy, they often operate as "black boxes" that lack explicit linguistic knowledge. A significant consequence of this is the generation of trees that violate fundamental linguistic constraints, such as assigning multiple subjects or objects to a single verb. Such errors can severely degrade the performance of downstream applications like Machine Translation, where incorrect grammatical markers might be applied to multiple words.

Methodology

This research proposes a post-processing framework to enforce linguistic constraints—specifically the "one verb, one subject/object" rule. Two primary methods were developed to resolve conflicts where multiple words are assigned the same functional label by extracting the k-best labels for each word:

  1. Naive Approach (NA): A position-based heuristic that assumes the leftmost candidate in a sentence is the correct subject/object, demoting others to their second-best predicted labels.
  2. Probabilistic Approach (PA): A more sophisticated method that utilizes confidence scores from the parser. The candidate with the highest probability retains the label, while others are recursively reassigned to their next-best labels until all violations are cleared.

These approaches are designed to be "plug-and-play" enhancements for existing high-performance parsers like MaltParser and MSTParser.

Experimental Setup

The methods were evaluated on two languages characterized by complex, free word order:

  • Hindi: Evaluated on a test set of 150 sentences using the Paninian framework, where "k1" represents the subject and "k2" represents the object.
  • Czech: Evaluated using 286 sentences from the Prague Dependency Treebank, where labels correspond to "agent" and "theme."

Results and Discussion

The experimental results indicate that incorporating linguistic constraints generally improves parsing accuracy, particularly through the Probabilistic Approach (PA), which is better suited for free-word-order languages than the position-dependent Naive Approach.

Performance on Hindi

In the Hindi dataset, the PA method consistently outperformed both the baseline and the Naive Approach. As shown in Figure 1, the Labeled Attachment Score (LAS) improved by 0.26% for the Malt parser and 0.61% for the MST+MaxEnt parser. These improvements, while numerically small, represent the correction of specific, high-impact grammatical errors.

Parsing performance on Hindi dataset comparing Baseline, Naive (NA), and Probabilistic (PA) approaches.

Performance on Czech

For the Czech dataset, while the PA method outperformed the NA method, the overall scores remained slightly below the baseline (see Figure 2). This discrepancy is attributed to the quality of the probability scores provided by the underlying libsvm learner used in MaltParser. Inaccurate confidence estimates can lead the PA algorithm to select incorrect labels, highlighting the dependency of this approach on reliable probabilistic models.

Parsing performance on Czech dataset highlighting the impact of probability score quality on the PA method.

Conclusion

Integrating linguistic constraints into statistical dependency parsing offers a promising avenue for correcting high-impact grammatical errors. While the Probabilistic Approach shows significant potential for free-word-order languages, its success is contingent upon the accuracy of the parser's confidence scores. Future research will focus on utilizing more robust learners like liblinear and expanding the set of enforced linguistic constraints to include other labels such as instrumental or locative markers.

Summary updated

BibTeX
@inproceedings{ambati2010importance,
  author = {Bharat Ram Ambati},
  title = {{Importance of Linguistic Constraints in Statistical Dependency Parsing}},
  booktitle = {Student Research Workshop @ ACL},
  year = {2010},
}
Figure