Question Classification using Head Words and their Hypernyms

Zhiheng Huang, Marcus Thint, Zengchang QinEMNLP 2008

Abstract

Question Classification (QC) is a critical component of Question Answering (QA) systems, responsible for predicting the semantic type of a sought-after answer. This paper introduces a compact yet highly effective feature set centered on the "head word"—the specific word that identifies what a question is looking for. By augmenting these head words with semantic hypernyms from WordNet and employing a modified Lesk algorithm for word sense disambiguation, the authors achieved a state-of-the-art accuracy of 89.2% on the standard UIUC dataset. This approach significantly outperforms models relying on much larger, noisier feature spaces.

Introduction

In QA systems, the primary role of QC is to narrow the search space by determining if a user is looking for a person, a city, a definition, or another entity. The core challenge lies in the inherent ambiguity of "What" and "Which" questions. For instance, "What is the capital of Yugoslavia?" requires a location, whereas "What is the pH scale?" requires a definition.

Previous methodologies often attempted to overcome this ambiguity by utilizing massive feature sets—sometimes exceeding 200,000 features. However, such broad lexical analysis often introduces significant noise, making models difficult to manage and less generalizable. This paper proposes that identifying the "semantic core" of a question is more valuable than sheer feature volume.

Methodology

The proposed method focuses on a "compact yet effective" feature set derived from the question's head word.

Head Word Extraction

The head word is the single word specifying the object the question seeks (e.g., in "What is a group of turkeys called?", the head word is "turkeys"). The authors utilized the Berkeley parser to generate syntactic trees and applied modified Collins’ rules to identify these semantic heads.

Syntactic parse trees illustrating head word extraction for 'What' questions.

To handle complex phrasing, a "post-fix" rule was implemented for patterns like "What type of..." or "What name for...", ensuring the model identifies the actual object (e.g., "walrus") rather than the functional word "type."

Semantic Augmentation and Disambiguation

To provide the model with "common sense," head words were augmented with hypernyms (IS-A relationships) from WordNet. For example, mapping "dog" to "canine" and then to "animal" helps the classifier generalize across categories.

Because words often have multiple meanings, the authors adapted the Lesk algorithm for Word Sense Disambiguation (WSD). By comparing dictionary definitions (glosses) of the head word against its surrounding context, the model selects the most likely sense, reducing noise from irrelevant semantic branches.

Results and Analysis

The study utilized the UIUC question classification dataset, featuring a training set of 5,500 questions and a test set of 500, categorized into 6 coarse and 50 fine-grained classes.

Classification accuracy across different feature sets for 6-class and 50-class taxonomies.

As shown in the performance data, the model achieved a peak accuracy of 89.2% using Support Vector Machines (SVM). This outperformed previous benchmarks, such as Krishnan et al. (86.2%) and Li & Roth (84.2%). An ablation study revealed that while the "wh-word + head word" combination reached ~82% accuracy, the addition of semantic hypernyms provided the critical ~7% boost required for state-of-the-art performance.

Key Insights

  • Quality Over Quantity: The model used only 13,697 binary features, a fraction of the 200,000+ used in prior work, proving that semantic precision is superior to broad lexical coverage.
  • The "Depth 6" Sweet Spot: Traversing WordNet to a depth of six provided the optimal balance. Shallower paths missed categories, while deeper paths led to overly generic terms like "entity," which lack discriminative power.
  • WSD Importance: Using the Lesk algorithm to select the correct word sense was crucial for performance gains in fine-grained classification, where subtle semantic differences matter most.

Conclusion

By focusing on the semantic head word and its hierarchical context in WordNet, this research demonstrates that highly accurate question classification can be achieved with a relatively small, interpretable feature set. Future work may focus on improving underlying syntactic parsers to further reduce errors in head word extraction and resolving inherent label inconsistencies within standard datasets.

Summary updated

BibTeX
@inproceedings{huang2008question,
  author = {Zhiheng Huang and Marcus Thint and Zengchang Qin},
  title = {{Question Classification using Head Words and their Hypernyms}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2008},
}
Figure