Object-Extraction and Question-Parsing using CCG

Stephen Clark, Mark Steedman, James R. CurranEMNLP 2004

Abstract

Combinatory Categorial Grammar (CCG) provides a robust framework for modeling complex linguistic phenomena. This study evaluates the performance of CCG parsers on recovering long-range dependencies, such as object extractions, which are often problematic for traditional statistical parsers. Furthermore, the authors propose an efficient domain adaptation method for Question Answering (QA) by leveraging CCG's lexicalized nature. By annotating only the lexical categories (supertags) of a small set of questions, the parser's accuracy on the TREC question corpus improved from a baseline of 2% to 67% at the sentence level. These results highlight CCG's structural advantages and the feasibility of rapid domain porting for high-performance parsing.

Introduction

Most high-performance statistical parsers are trained on the Wall Street Journal (WSJ) portion of the Penn Treebank. While these models achieve high overall scores on similar data, they frequently struggle with two critical areas: long-range dependencies and domain mismatch. Long-range dependencies, such as those found in object extractions ("The book that I read..."), are central to semantic understanding but are often treated as secondary post-processing steps in traditional phrase-structure parsers.

A CCG derivation for an object relative clause, illustrating the recovery of long-range dependencies.

Furthermore, a parser optimized for 1980s financial news typically performs poorly on different genres, such as the interrogative structures found in Question Answering (QA) tasks. Creating comprehensive "gold standard" treebanks for every new domain is prohibitively expensive. This paper addresses these challenges using Combinatory Categorial Grammar (CCG).

CCG and the Power of Supertagging

The authors utilize a CCG parser developed by Clark and Curran. CCG is a "lexicalized" grammar, meaning that the vast majority of syntactic information is embedded within the categories assigned to individual words. For example, a verb's category specifies not just that it is a verb, but also the number and type of arguments it requires (e.g., subjects, objects, prepositional phrases).

The system's core component is a Supertagger. Unlike a standard Part-of-Speech (POS) tagger that assigns simple labels like "noun" or "verb," a supertagger assigns complex CCG categories. Because these categories are so informative, the process of supertagging is often described as "almost-parsing." Once the correct supertags are assigned, the remaining task of combining them into a full derivation tree is relatively straightforward.

Rapid Domain Adaptation

The central innovation of this work is a scalable strategy for domain adaptation. Instead of constructing full, complex derivation trees for a new domain—a slow and expert-intensive task—the authors manually labeled 500 questions from the TREC corpus with only their CCG lexical categories.

This small set of gold-standard supertags was used to bootstrap labels for the remainder of a 1,171-question corpus. By retraining only the supertagger on this domain-specific data, the parser—without any changes to its underlying logic—gained the ability to handle the unique syntactic structures of questions. This process was completed in less than a week, demonstrating a significant reduction in the effort required to port NLP tools to new domains.

CCG derivations for "What" questions, showing how the parser handles interrogative structures after domain adaptation.

Key Results

The CCG-based approach yielded impressive results in both object extraction and question parsing:

  • Object Extraction: On the challenging task of recovering dependencies in object relative clauses, the CCG parser achieved a precision of 75% (15/20). This outperforms many previous generative models that struggle with "unbounded" dependencies. CCG handles these naturally through its basic operations of composition and type-raising, rather than relying on "empty nodes" or "traces."
  • Question Parsing: The impact of domain adaptation was stark. A supertagger trained solely on WSJ news achieved a sentence-level accuracy of only 2% on the TREC question set. After training on the newly labeled question data, sentence-level accuracy surged to 67%, with individual word-level accuracy reaching 93.6%.
  • Efficiency: Despite the complexity of the categories, the parser remains highly efficient, capable of processing up to 50 sentences per second, making it suitable for real-world applications.

Conclusion and Future Work

This research demonstrates that CCG's lexicalized nature provides a powerful advantage for both linguistic accuracy and practical engineering. By shifting the focus from full tree construction to lexical category labeling, the authors provide a blueprint for rapid domain adaptation.

Future work aims to expand the question corpus to include more diverse types (e.g., "How" and "Why" questions) and to improve the robustness of the underlying POS tagging, as errors at that level can still propagate through the supertagger. Overall, the study confirms that CCG is a highly effective framework for capturing the complex dependencies essential for deep language understanding.

Summary updated

BibTeX
@inproceedings{clark2004object,
  author = {Stephen Clark and Mark Steedman and James R. Curran},
  title = {{Object-Extraction and Question-Parsing using CCG}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2004},
}
Figure