Investigation of Question Classifier in Question Answering

Zhiheng Huang, Marcus Thint, Asli CelikyilmazEMNLP 2009

Abstract

This paper investigates the critical role of Question Classification (QC) in Question Answering (QA) systems. By employing a Maximum Entropy (ME) model integrated with head-word features and WordNet hypernyms, the authors achieve state-of-the-art classification accuracy on the UIUC dataset. Furthermore, the study quantifies the impact of upstream classification accuracy on the final Mean Reciprocal Rank (MRR) of retrieved answers, demonstrating that precise question typing is essential for high-performance factoid QA.

Introduction

In Question Answering, the objective is to retrieve a specific string—such as a name, date, or location—rather than just a relevant document. A fundamental step in this process is Question Classification (QC), which identifies the semantic category of the expected answer. Simple keyword matching often fails due to ambiguity; for instance, "What is the capital of Yugoslavia?" requires a location, whereas "What is the pH scale?" requires a definition. Misclassification at this stage leads to a "garbage in, garbage out" scenario where the system searches for the wrong entity type. This study aims to build an efficient, high-accuracy classifier and measure its direct influence on end-to-end QA performance.

Methodology and Feature Engineering

The authors utilize a Maximum Entropy (ME) framework for both classification and answer ranking. The core innovation lies in a lean yet powerful feature set:

  1. Head Word Extraction: Instead of processing entire phrases, the model identifies the "head word" (e.g., "turkeys" in "What is a group of turkeys called?"). This significantly reduces noise.
  2. WordNet Hypernyms: To incorporate semantic hierarchy, the model extracts broader categories for head words. The Lesk algorithm is used for word sense disambiguation before traversing the WordNet hierarchy.
  3. Compact Feature Set: The model uses approximately 13,700 binary features, a significant reduction from previous state-of-the-art models that utilized up to 200,000 features.
  4. Dependency Validity (DEP): For answer ranking, a dependency parser verifies grammatical relationships between the question and candidate answers.

The system was evaluated using the UIUC Question Dataset (5,500 training / 500 test questions) for classification, and TREC 99-04 data for end-to-end QA ranking.

Incremental accuracy gains from feature engineering on the 6-class and 50-class UIUC datasets.

Key Results and Insights

The experimental results highlight the disproportionate impact of specific features. As seen in the incremental feature analysis, the introduction of the head word feature caused a dramatic jump in classification accuracy from a baseline of ~46% to over 82%. Semantic depth also proved vital; WordNet hypernyms were found to be most effective when limited to a depth of six, providing useful abstraction without becoming overly generic.

As shown in the comparison with contemporary models, the Maximum Entropy approach achieved state-of-the-art results:

Comparison of the proposed Maximum Entropy model against existing state-of-the-art algorithms.

The model reached 93.6% accuracy for 6 coarse classes and 89.0% for 50 fine-grained classes. In end-to-end testing on TREC 2004 factoid questions, the system achieved a Mean Reciprocal Rank (MRR) of 66.3%. Ablation studies confirmed that removing hypernyms caused a significant drop in 50-class accuracy (from 89.0% to 84.2%), underscoring the importance of semantic hierarchy.

Conclusion

This research demonstrates that a highly accurate question classifier is a primary driver of QA performance. Improving the classifier from a basic wh-word baseline to the full ME model resulted in a nearly 5% improvement in MRR. While the system is currently limited by the lack of a fine-grained Named Entity Recognizer (NER) and a dependency on external syntactic parsers, it sets a high bar for factoid question classification. Future work will explore extending these techniques to complex "why" and "how" questions.

Summary updated

BibTeX
@inproceedings{huang2009investigation,
  author = {Zhiheng Huang and Marcus Thint and Asli Celikyilmaz},
  title = {{Investigation of Question Classifier in Question Answering}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2009},
}
Figure