Applying Structural Matching and Paraphrasing

Tetsuro Takahashi, Kozo Nawata, Kentaro Inui, Shinya KoudaNTCIR 2002

Introduction

Question Answering (QA) systems traditionally operate on two ends of a spectrum: shallow keyword-based retrieval and deep logical reasoning. While keyword matching is robust but often imprecise, logical reasoning is precise but notoriously fragile. This paper explores a "middle ground" by applying structural matching on dependency trees combined with a lexico-structural paraphrasing engine to bridge the gap between how questions are asked and how answers appear in text.

The Structural Matching Challenge

A core difficulty in QA is that questions and their corresponding answer passages rarely share the same syntactic structure. For instance, the question "Who is John’s father?" might be answered by a sentence like "John, the son of Joseph..." Even if the semantic content is identical, a strict structural match would fail due to the differing dependency relations. To address this, the authors propose a system capable of "soft" structural matching and automated paraphrasing to handle linguistic redundancies.

Methodology

The proposed system utilizes a multi-stage pipeline designed to handle linguistic variation through structural analysis rather than simple bag-of-words matching.

System architecture showing the integration of parsing, paraphrase space search, and structural matching.

Extended Tree Kernels for Soft Matching

The system's core is an adaptation of Collins’s Tree Kernel algorithm. While the original algorithm counts common subtrees to determine similarity, the authors extended it for the QA domain in three key ways:

  1. Unordered Dependency Trees: The algorithm was modified to handle dependency trees where the order of child nodes is irrelevant, a feature essential for languages with flexible word order like Japanese.
  2. Node Similarity Functions: Instead of requiring exact matches, a similarity function (sim) allows related terms (e.g., "first" vs. "for the first time") to contribute to the overall score.
  3. Contextual Weighting: The recursive scoring mechanism was tuned to prioritize nodes related to the specific "question word" (e.g., who, what, where).

To account for the many ways a single idea can be expressed, the system employs the KURA paraphrasing engine. This engine generates numerous linguistic variations for both the question and the candidate passages. The system then performs a greedy search within this "paraphrase space" to identify the pair with the highest structural similarity.

Example of structural matching between a question and a passage, illustrating the mapping of linguistic variations like "first" and "for the first time."

Experimental Evaluation

The system was evaluated using the NTCIR-3 Q&A Challenge (QAC1) dataset, which includes 200 questions. The process involved retrieving the top 20 documents and extracting the 10 most promising candidate passages for structural analysis.

Initial results highlighted the difficulty of the task. An official run yielded 0% precision due to implementation issues and a lack of flexibility in the matching algorithm. However, after post-refinement and bug fixes, the system correctly answered 38 out of 200 questions (representing 19% of cases where an answer was actually present in the passages). The final metrics showed a Recall of 0.132 and a Precision of 0.047.

Key Insights and Limitations

The study revealed several critical bottlenecks in structural QA:

  • Parser Sensitivity: Structural matching is highly dependent on the accuracy of the dependency parser. A single error in parsing can render a correct answer unrecognizable to the matching algorithm.
  • Computational Explosion: While paraphrasing increases the likelihood of a match, it also creates a massive search space. The authors found that 99% of the 12,037 generated paraphrases did not contribute to the final score, leading to significant overhead.
  • Pipeline Dependencies: The performance of the structural matcher is capped by the quality of the preceding document retrieval and passage generation steps. In this study, the correct answer string was only present in the candidate passages 55% of the time.

Conclusion

The authors conclude that while structural matching offers a promising middle path for QA, it requires more efficient, "goal-oriented" paraphrase generation to be practical for real-time use. Future work will focus on improving coreference resolution to handle information spread across multiple sentences and automating the tuning of matching parameters.

Summary updated

BibTeX
@inproceedings{takahashi2002applying,
  author = {Tetsuro Takahashi and Kozo Nawata and Kentaro Inui and Shinya Kouda},
  title = {{Applying Structural Matching and Paraphrasing}},
  booktitle = {NTCIR},
  year = {2002},
}
Figure