[Paper Review] Watsonsim: Overview of a Question Answering Engine
Watsonsim is an open-source question answering system developed by a university team to answer Jeopardy-style questions using a pipeline of search engines (Lucene, Indri, Bing, Google), NLP tools (OpenNLP, UIMA), and machine learning (Weka). It achieved 18% accuracy on Jeopardy questions, with key challenges in data cleaning, passage scoring, and system scalability despite limited resources and time constraints.
The objective of the project is to design and run a system similar to Watson, designed to answer Jeopardy questions. In the course of a semester, we developed an open source question answering system using the Indri, Lucene, Bing and Google search engines, Apache UIMA, Open- and CoreNLP, and Weka among additional modules. By the end of the semester, we achieved 18% accuracy on Jeopardy questions, and work has not stopped since then.
Motivation & Objective
- To design and implement a functional question answering system capable of processing Jeopardy-style trivia questions within a semester.
- To integrate multiple data sources—including Wikipedia, Wikiquotes, and Shakespeare—into a unified retrieval pipeline.
- To evaluate and compare the performance of various search engines (Lucene, Indri, Bing, Google) and scoring models in a real-world QA setting.
- To explore the feasibility of building a scalable, modular QA system using open-source tools and existing NLP frameworks.
- To identify limitations in current approaches, such as poor passage retrieval performance and inefficient NLP parsing, and propose improvements.
Proposed method
- The system uses a multi-stage pipeline architecture with specialized modules for question classification, query generation, and answer scoring.
- Factoid questions are processed via weighted queries favoring content over titles, using Lucene, Indri, and Bing for initial retrieval.
- Fill-in-the-blank questions are handled by removing underscores and extracting candidate answers from titles, followed by passage scoring.
- Supporting passages are scored using a combination of lexical, syntactic, and semantic features, including n-gram similarity and term frequency.
- The system employs a hybrid retrieval strategy, combining results from multiple search engines and merging duplicates to reduce redundancy.
- Scoring models include Mean Reciprocal Rank (MRR) and binary recall, calculated only on questions with at least one correct answer.
Experimental results
Research questions
- RQ1Can a small academic team build a functional, open-source question answering system using only publicly available tools and data sources?
- RQ2How effective are traditional search engines (Lucene, Indri, Bing, Google) in retrieving relevant answers for Jeopardy-style questions?
- RQ3What impact do data preprocessing choices—such as indexing Wikipedia redirects—have on answer accuracy and ranking quality?
- RQ4To what extent do NLP-based scorers and semantic models improve answer selection compared to lexical matching alone?
- RQ5How does system architecture (e.g., UIMA vs. custom pipelines) affect scalability, maintainability, and performance?
Key findings
- The system achieved 18% accuracy on Jeopardy questions, demonstrating the feasibility of building a functional QA system within a semester using open-source tools.
- Indexing Wikipedia redirects increased binary recall from 22% to 28% but reduced Mean Reciprocal Rank from 0.6469 to 0.3483, lowering overall accuracy by 6%.
- Offline querying with Indri and Lucene together achieved 21% binary recall, significantly outperforming Lucene alone (13%).
- Supporting passage scoring using n-gram similarity and term frequency improved answer ranking, though NLP-based parsing was too slow for practical use.
- Bing’s 5,000-query monthly quota allowed two performance measurements, while Google’s 100-query daily limit made large-scale use impractical.
- UIMA was not deeply integrated due to late adoption, but it is considered potentially superior for scalability and language interoperability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.