Abstract
In this paper, we investigate the use of surface text patterns for a Maximum Entropy (MaxEnt) based Question Answering (QA) system. These text patterns are collected automatically in an unsupervised fashion using a collection of trivia question and answer pairs as seeds. These patterns are used to generate features for a statistical question answering system. We report our results on the TREC-10 question set, demonstrating that the integration of automatically derived patterns significantly enhances answer retrieval performance.
Introduction
Question Answering (QA) systems have historically relied on two distinct paradigms. The first utilizes hand-crafted text patterns (e.g., "<NAME> was born in <BIRTHDATE>") to achieve high precision, though these systems are difficult to scale and maintain. The second paradigm employs statistical models based on bag-of-words, syntactic, and named-entity features. While easier to construct, statistical models often fail to capture the explicit structural cues inherent in natural language patterns.
This research proposes a hybrid approach: an unsupervised method to automatically learn surface text patterns from the web and incorporate them as features into a statistical Maximum Entropy framework. By doing so, the system aims to combine the structural precision of rule-based patterns with the robustness of statistical modeling.
Methodology
The core of the system is a pipeline designed to mine patterns without human intervention. The process involves four key stages:
- Seed Generation & Web Search: Using a database of trivia question-answer pairs (seeds), the system identifies key entities (QTerms) and the known answer (ATerm). These pairs are used to query the AltaVista search engine, retrieving the top 50 documents for sentence extraction.
- Sentence Canonicalization: Extracted sentences containing both a QTerm and the ATerm are generalized. Specific answers are replaced with an
<ANSWER>tag, and named entities are mapped to semantic classes (e.g., "Mohandas Gandhi" becomes<PEOPLE_QT>). - Pattern Extraction: A Suffix Tree algorithm identifies frequent substrings (trigrams or larger) containing both the
<ANSWER>and<QT>tags. - Maximum Entropy Training: These patterns serve as features in a MaxEnt model, trained to predict answer correctness alongside standard statistical features.
The system utilized the Knowledge Master (KM) corpus, with 16,228 filtered QA pairs acting as seeds. Training was supplemented by TREC-8 and TREC-9 datasets, with final evaluation performed on the 500-question TREC-10 benchmark.
Results and Analysis
The unsupervised extraction pipeline successfully generated 22,353 unique patterns from over 250,000 web-scraped sentences. Evaluation on the TREC-10 dataset compared three configurations: a pattern-only system (PAT_ONLY), a baseline statistical system (IBM_TREC11), and the combined model (ME_PAT).
The results, summarized in the table above, show that the combined ME_PAT system achieved the highest performance with a Mean Reciprocal Rank (MRR) of 0.397 and 167 Rank 1 correct answers. This represents a measurable improvement over the baseline statistical system (MRR 0.375, 157 correct). The findings confirm that unsupervised pattern mining can effectively capture structural cues that improve the accuracy of statistical QA models.
Discussion and Conclusion
Despite the success of the hybrid model, several limitations were identified. Data sparsity remains a significant hurdle; only approximately 1,500 of the 22,000+ patterns appeared frequently enough in the TREC training data to reliably optimize their weights. Additionally, pattern-only systems struggle with "context blindness," often failing to distinguish between different question types that share the same expected answer entity type (e.g., birth dates vs. death dates).
Future research will focus on training pattern weights directly on massive unsupervised web collections to overcome the limitations of smaller, human-annotated training sets. This work demonstrates a promising path toward high-performance QA systems that leverage the vast, unstructured information available on the web through automated pattern derivation.
Summary updated