Subtree Mining for Question Classification Problem

Minh Le Nguyen, Nguyen Thanh Tri, Akira ShimazuIJCAI 2007

Abstract

Question Classification (QC) is a fundamental task in Question Answering (QA) systems, determining the expected type of an answer. This paper presents a novel approach that treats questions as syntactic trees and utilizes subtree mining to extract discriminative features. By combining these structural features with Maximum Entropy and Boosting models, the proposed method achieves state-of-the-art accuracy on standard benchmarks while offering significant computational advantages over traditional tree-kernel methods.

Introduction

In QA systems, identifying whether a user is asking for a person, a date, or a definition is the critical first step. However, QC is inherently more challenging than standard document classification due to:

  1. Shortness: The limited number of words in a question results in an extremely sparse feature space.
  2. Word Importance: Unlike long documents where "stop-words" are often discarded, words like "what" or "who" are primary indicators of the category in questions.
  3. Structural Significance: The syntactic relationship between words (e.g., subject vs. object) often dictates the question type more than the individual words themselves.

While previous research utilized "tree kernels" to capture this structure, these methods are computationally expensive and difficult to scale. This paper proposes an efficient alternative using subtree mining.

Methodology

The authors formulate QC as a tree classification problem, executed in three main stages:

1. Parsing

Every question is converted into a syntactic tree using the Charniak parser to represent its grammatical structure.

2. Subtree Mining

To manage the potential explosion of features, the authors employ an efficient rightmost-extension algorithm. This identifies frequent subtrees within the training data that meet specific criteria regarding frequency, depth, and length.

Illustration of subtrees (t') and non-subtrees (t'') within a larger syntactic tree structure (t).

3. Classification Models

Three model variations were evaluated:

  • ST-Mem (Subtree Maximum Entropy): Mined subtrees serve as binary features in a Maximum Entropy model.
  • ST-Boost (Subtree Boosting): Uses decision stumps—simple classifiers checking for the presence of a specific subtree—as weak learners within an AdaBoost framework.
  • ST-MB (Hybrid): The paper’s primary contribution, which uses Boosting to select the most effective subtrees and then feeds these features into a Maximum Entropy model for final classification.

Key Insights and Results

A core insight of this work is that in questions, word frequency is almost always one. Consequently, the arrangement of words (the subtree) provides a much more powerful signal than the words in isolation. Furthermore, using Boosting as a feature selection mechanism effectively filters noise, allowing the Maximum Entropy model to focus on the most discriminative structural patterns.

Examples of learned subtree features and their associated weights for various question categories, such as ENTITY (ENTY), HUMAN (HUM), and NUMERIC (NUM).

Performance Benchmarks

The models were tested on the standard TREC dataset (5,500 training questions) using a two-layered taxonomy of 6 coarse and 50 fine-grained categories.

  • Accuracy: The hybrid ST-MB model achieved 91.2% accuracy on coarse categories and 83.6% on fine categories, outperforming standard SVMs and Tree Kernels.
  • Efficiency: Training the Maximum Entropy model was approximately 12 times faster than the Boosting model. Inference was 5 times faster, making it highly suitable for real-time production environments.

Conclusion and Future Work

While highly effective, the system's performance is tied to the accuracy of the syntactic parser, which may struggle with question-specific syntax. Future work includes integrating semantic information from sources like WordNet or Named Entity Recognition (NER) to resolve ambiguities in fine-grained categories and exploring semi-supervised learning to leverage unlabeled data.

Summary updated

BibTeX
@inproceedings{nguyen2007subtree,
  author = {Minh Le Nguyen and Nguyen Thanh Tri and Akira Shimazu},
  title = {{Subtree Mining for Question Classification Problem}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2007},
}
Figure