Abstract
Question Classification (QC) is a critical component of open-domain Question Answering (QA) systems, responsible for determining the semantic category of an expected answer. This paper introduces a robust machine learning framework for QC that utilizes a hierarchical classifier and a rich set of lexical, syntactic, and semantic features. By moving beyond brittle, hand-crafted rules, the proposed system achieves state-of-the-art performance, reaching over 95% accuracy on a taxonomy of 50 fine-grained categories.
Introduction
In the early 2000s, the advancement of Question Answering systems necessitated a deeper understanding of natural language queries. To extract concise answers from large document corpora, a system must first identify the "type" of entity or information requested. For instance, a query regarding a "Canadian city" should immediately constrain the search space to geographic locations classified as cities. Traditional approaches relied heavily on manual heuristics, which were difficult to scale and often failed to capture the nuances of diverse question types. This work seeks to replace these manual rules with a scalable, data-driven learning framework.
Methodology
The authors developed a hierarchical learning architecture based on the SNoW (Sparse Network of Winnows) framework. The approach is defined by three core components: a structured taxonomy, a multi-layered classifier, and sophisticated feature engineering.
Hierarchical Taxonomy and Architecture
The system employs a two-layered taxonomy consisting of 6 "coarse" classes (ABBREVIATION, ENTITY, DESCRIPTION, HUMAN, LOCATION, and NUMERIC VALUE) which are further subdivided into 50 "fine" classes, such as city, mountain, distance, and individual.
The classification process involves two stages:
- Coarse Classification: The first layer maps the input question to a subset of the 6 coarse classes.
- Fine Classification: The second layer drills down into the specific fine-grained classes associated with the predicted coarse categories.
Feature Engineering
The model's performance is driven by a diverse set of features:
- Lexical: N-grams of individual words.
- Syntactic: Part-of-speech (POS) tags and noun phrase "chunks."
- Semantic: Named entity tags and "RelWord" (semantically related words). The "RelWord" feature is particularly crucial, as it allows the model to associate specific vocabulary (e.g., "ruler" or "governor") with broader semantic categories like Human.
Experimental Setup
The study utilized a dataset of 6,000 questions. The training set comprised 5,500 questions aggregated from sources including USC, TREC 8, and TREC 9. Evaluation was performed on a test set of 500 questions from the TREC 10 competition. A key innovation of this work was the manual labeling of these questions according to the new 50-class taxonomy, providing a more granular benchmark than previous standards.
Key Results
The experimental results demonstrated that the automated learning approach significantly outperforms rule-based systems.
As shown in the results table, the system achieved a 98.80% precision for coarse classification and 95.00% precision for fine classification (using the $P_{\le5}$ metric, which considers a prediction successful if the correct label is within the top five candidates). The inclusion of "RelWord" features provided the most significant performance boost, confirming that semantic context is essential for distinguishing between fine-grained categories.
Interestingly, while the hierarchical structure is beneficial for human interpretability, the authors found that a "flat" classifier (evaluating all 50 classes simultaneously) performed comparably. However, the hierarchical model remains advantageous for systems requiring coarse-grained filtering or handling ambiguous questions where multiple labels might be appropriate.
Conclusion
This research demonstrates that a machine learning framework, when paired with a rich set of semantic features and a well-defined taxonomy, can achieve high accuracy in open-domain question classification. Future work will focus on improving "Question Focus" identification—ensuring the model correctly identifies the primary subject of complex queries—and automating the discovery of semantically related words to further reduce manual engineering efforts.
Summary updated