Abstract
Automated Question Answering (QA) systems require precise classification of user queries to retrieve accurate answers. This paper demonstrates that Support Vector Machines (SVMs) equipped with a novel tree kernel significantly outperform traditional word-based models. By analyzing the syntactic structure of questions rather than just word frequency, the proposed method achieves a 90% accuracy rate, representing a 20% reduction in error compared to the best surface-feature models.
The Challenge of Question Classification
Most search engines perform document retrieval, returning a list of pages containing keywords. However, a true Question Answering system must provide a precise answer (e.g., "Alan Shepard" instead of a list of NASA articles). To achieve this, the system must first perform Question Classification: determining the exact category of the expected answer, such as a person, a city, or a numeric value.
This task is significantly more difficult than standard document classification for two primary reasons:
- Brevity: Questions are short, providing very little text for statistical analysis.
- Critical "Stop Words": In document search, words like "who," "what," and "is" are usually ignored. In QA, these words are the primary indicators of the question's intent.
Methodology: The Tree Kernel Innovation
The authors compared five machine learning algorithms—Nearest Neighbors (NN), Naïve Bayes (NB), Decision Trees (DT), Sparse Network of Winnows (SNoW), and Support Vector Machines (SVM). While SVMs performed well using simple "surface" features like n-grams, the real breakthrough came from the introduction of a Tree Kernel.
Recognizing that word order and grammar are vital, the Tree Kernel allows the SVM to "understand" the syntactic structure of a sentence. The system parses a question into a syntactic tree and calculates similarity between questions by comparing their constituent sub-trees and fragments.
To ensure efficiency and accuracy, the authors utilized dynamic programming and introduced two weighting factors: $\lambda$ (for the size of the tree fragment) and $\mu$ (for the depth of the fragment). Weighting by depth allows the model to identify the "focus" of a question, as branches higher in the parse tree often carry more weight in determining question type.
Experimental Results
The study utilized a taxonomy of 6 coarse categories (Abbreviation, Description, Entity, Human, Location, and Numeric) and 50 fine-grained categories, training on 5,500 manually labeled questions.
- Performance Boost: Using only surface n-grams, the SVM achieved 87.4% accuracy. The addition of the Tree Kernel pushed this to 90.0%, a statistically significant improvement ($p < 0.005$).
- Structural Sensitivity: The Tree Kernel successfully distinguishes between questions with similar words but different intents, such as "Which university did the president graduate from?" (asking for a school) versus "Which president is a graduate of Harvard University?" (asking for a person).
- Data Scaling: Performance improved consistently as the training set size increased, suggesting that the model's accuracy could further scale with more data.
Limitations and Future Work
While the Tree Kernel was highly effective for coarse categories, it provided only marginal gains for fine-grained distinctions (e.g., distinguishing between a "group" and an "individual"). The authors suggest that syntactic trees alone may not capture the subtle semantic nuances required for these categories.
Future research will focus on two areas: integrating semantic knowledge bases like WordNet to help the model understand relationships between words (e.g., that "city" and "town" are related) and utilizing parsers specifically tuned for the unique structure of interrogative sentences.
Summary updated