Visualizing Deep-Syntactic Parser Output

Juan Soler Company, Miguel Ballesteros, Bernd Bohnet, Simon Mille, Leo WannerNAACL 2015

TL;DR

This paper introduces an online visualization tool for "deep-syntactic" dependency structures, bridging the gap between surface syntax and semantic meaning. The tool, built on the Brat annotation platform, allows users to inspect both surface and deep syntactic parses of English sentences, offering a valuable resource for understanding and utilizing these more semantically rich linguistic representations.

What Problem Does This Paper Address?

State-of-the-art dependency parsers produce "surface-syntactic" structures that, while capturing grammatical relationships, can be idiosyncratic and don't directly map to semantic meaning. On the other hand, "semantic logical forms" are closer to meaning but often lose the sentence's linguistic structure. "Deep-syntactic" structures aim to bridge this gap by abstracting away from surface idiosyncrasies while retaining linguistic structure, making them highly promising for applications like machine translation and summarization. However, a significant challenge has been the lack of accessible tools to visualize and understand the output of these deep-syntactic parsers. This paper addresses this by providing an online, user-friendly interface for visualizing these structures.

Methods

The core of the paper is the development of an online visualization interface. This interface is built using a Java HTTPServer that connects to two parsers:

  1. Surface Parser: A joint part-of-speech (PoS) tagger, lemmatizer, and syntactic dependency parser (Bohnet and Nivre, 2012).
  2. Deep-Syntactic Parser: An implementation of the deep-syntactic parser developed by Ballesteros et al. (2014).

The system operates in a pipeline: the surface parser processes an input sentence, and its output serves as input to the deep-syntactic parser. The interface then visualizes the outputs from both parsers. For visualization, the system leverages the Brat annotation tool. The CoNLL output from the parsers is transformed into Brat's native format to generate graphical representations of the dependency trees. The interface allows users to choose to see surface structures, deep-syntactic structures, or both simultaneously.

Datasets

  • Penn Treebank (in CoNLL09 format): This is the primary dataset used for training both the surface and deep-syntactic parsers.
  • Adapted Penn Treebank with DSyntS annotation: The authors derived deep-syntactic structures (DSyntS) from the dependency Penn Treebank. This involved a rule-based graph transducer that converted syntactic annotations into DSyntS, omitting functional tokens and certain prepositions while retaining semantically relevant information. This adapted dataset is a new benchmark for deep-syntactic parsing in English.

Key Insights and Ideas

  • Deep-Syntactic Structures as a Semantic Bridge: The paper reinforces the idea that deep-syntactic structures offer a valuable intermediate representation, capturing essential semantic roles and argument structures without being overly tied to surface-level linguistic variations.
  • The Power of Visualization for Complex Outputs: Visualizing complex linguistic structures like deep-syntactic parses is crucial for understanding their nuances, debugging parsers, and facilitating their use in downstream applications.
  • Brat as a Flexible Visualization Tool: The choice of Brat highlights its adaptability for visualizing various linguistic annotations, making it a suitable platform for showcasing novel parsing outputs.
  • Pipeline vs. Joint Parsing: The interface is designed to be flexible, accommodating both pipeline approaches (surface parser followed by deep parser) and potentially joint syntactic+deep parsers, showcasing the output of each stage.

Key Results

The paper presents performance figures for both the surface and deep-syntactic parsers, indicating state-of-the-art results for English:

  • Surface Parser (Bohnet and Nivre, 2012): Achieved high accuracy in PoS tagging (98.50%), lemmatization (99.46%), labeled attachment score (LAS) (89.70%), and unlabeled attachment score (UAS) (92.21%) on the PTB Treebank.
  • Deep-Syntactic Parser (Ballesteros et al., 2014): Demonstrated strong performance on the adapted PTB Treebank, with measures like hypernode detection F1 (F1h) at 98.62% and labeled attachment precision (LAP) at 89.11%.

Qualitatively, the paper shows examples (Figures 2 and 3) illustrating how deep-syntactic structures abstract away from surface phenomena (like determiners and auxiliaries) and focus on core semantic relationships, making them more directly comparable to semantic role labeling frameworks like PropBank.

Limitations and Future Work

  • Limitations: The paper acknowledges that this is the first attempt to build English deep-syntactic structures, with prior work focusing on Spanish. The current visualization is static.
  • Future Work: The authors plan to expand the interface to include additional structural information, such as projecting deep-syntactic structures onto frame-like structures with semantic roles as arc labels. They also aim to incorporate "active exploration" of linguistic structures within Brat, moving towards Visual Analytics for a more dynamic and interactive experience.

Summary updated

BibTeX
@inproceedings{company2015visualizing,
  author = {Juan Soler Company and Miguel Ballesteros and Bernd Bohnet and Simon Mille and Leo Wanner},
  title = {{Visualizing Deep-Syntactic Parser Output}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2015},
  url = {https://openreview.net/forum?id=ByV8qX-dWr},
}
Figure