What a Parser Can Learn from a Semantic Role Labeler and Vice Versa

Stephen A. Boxwell, Dennis Mehay, Chris BrewEMNLP 2010

Introduction

In traditional Natural Language Processing (NLP), systems typically follow a rigid "pipeline" architecture. A syntactic parser first determines the structural skeleton of a sentence, which is then handed off to a Semantic Role Labeler (SRL) to identify "who did what to whom." However, this one-way flow of information is fragile: if the parser makes a structural error, the SRL system is almost certain to fail. This paper explores a bidirectional alternative, allowing semantic plausibility to inform syntactic choices, thereby improving the performance of both components.

The Challenge of Structural Ambiguity

A primary hurdle for automatic parsers is "attachment ambiguity." This occurs when a phrase could grammatically modify multiple parts of a sentence. For example, in the sentence "the company stopped using asbestos in 1956," the temporal phrase "in 1956" could modify the act of "stopping" or the act of "using."

Syntactic attachment ambiguity in a traditional parse tree.

While a computer might struggle with these probabilities, humans use the meaning of the sentence to resolve the conflict. We know that companies generally stop using hazardous materials at a specific time, rather than the usage itself being inherently tied to a single year. By integrating semantic roles into the parsing process, the authors aim to give machines a similar sense of "semantic gravity."

Methods: Integrating CCG and Semantic Roles

The researchers utilize Combinatory Categorial Grammar (CCG) as their framework. CCG is particularly well-suited for this task because it encodes syntactic dependencies directly into its categories. This allows the system to predict semantic roles "locally" as the parse tree is being constructed in a packed chart.

A CCG derivation integrated with semantic role labels (Arg1, Arg2, rel).

To achieve this integration, the authors employed two primary strategies:

  1. N-best Re-ranking: A baseline model generates the top $n$ most likely parses. A modified SRL system then scores these candidates based on the plausibility of the semantic roles they imply, re-ordering the list to favor the most "sensible" analysis.
  2. Chart-based Prediction: The parser is modified to predict semantic roles during the actual parsing process using an averaged perceptron model. This model evaluates features like predicate-role pairs and headwords to distinguish between valid and invalid semantic structures.

To ensure the system doesn't make "reckless" semantic choices that violate basic grammar, they use a hybrid approach where the semantic model is constrained by the baseline syntactic probabilities through a tunable factor ($\alpha$).

Key Results and Insights

The synergy between the parser and the SRL system yielded significant improvements:

  • SRL Performance Boost: In re-ranking experiments, increasing the candidate list to $n=5$ resulted in a 2.1% increase in the F-measure for semantic role labeling (from 77.8% to 80.5%).
  • Syntactic Correction: The semantic model successfully acted as a tie-breaker for the parser, correctly re-attaching temporal adjuncts that the baseline syntactic model had misplaced.
  • The Importance of Syntax: Interestingly, a model relying solely on semantics performed poorly, often "hallucinating" roles in complex coordinations. This highlights that while semantics can guide syntax, it cannot replace the structural constraints provided by a grammar.

Conclusion and Future Work

By breaking the unidirectional pipeline, the authors demonstrate that parsers and semantic role labelers have much to learn from one another. While the current model relies heavily on specific lexical features, future iterations could benefit from using Part-of-Speech tags or word clusters to handle vocabulary sparsity. Additionally, integrating these semantic insights into more sophisticated, state-of-the-art CCG parsers could further push the boundaries of machine reading comprehension.

Summary updated

BibTeX
@inproceedings{boxwell2010what,
  author = {Stephen A. Boxwell and Dennis Mehay and Chris Brew},
  title = {{What a Parser Can Learn from a Semantic Role Labeler and Vice Versa}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2010},
}
Figure