Elamur Research⌕
☰
home / papers / 2002 / Learning surface text patterns for a Question Answering System

Learning surface text patterns for a Question Answering System

Summary

Open-domain QA systems usually depend on heavy external resources such as named entity taggers, WordNet, parsers and ontologies. Yet the best system at TREC-10 relied mainly on a large inventory of surface patterns. This paper tests how far such patterns can go when they are learned automatically rather than written by hand.

For each question type, the authors start from about ten seed question–answer pairs (e.g. Mozart / 1756) and query AltaVista with both terms. They keep only sentences that mention both terms and run them through a suffix tree to enumerate every repeated substring. The surviving strings become regular expressions with <NAME> and <ANSWER> slots. A second retrieval round, using only the question term, estimates each pattern's precision by cross-checking it on the other seed examples. At answer time, matching patterns extract candidates, which are ranked by pattern precision.

On six TREC-10 question types, scored with MRR, web-sourced answers clearly beat answers drawn from the TREC corpus. The method's near-absence of language-specific tooling makes it attractive for rapid multilingual QA.

Key points

  • Question types and data. Six types were taken from the Webclopedia QA Typology: BIRTHDATE, LOCATION, INVENTOR, DISCOVERER, DEFINITION and WHY-FAMOUS. Each seed query to AltaVista retrieves the top 1000 documents.

  • Precision estimate. Precision is computed as P = Ca / Co. Co counts sentences where the pattern matches with any word in the answer slot. Ca counts sentences where the slot holds the correct answer. Only patterns that match more than 5 examples are retained.

  • Example precisions. For BIRTHDATE, the pattern "<NAME> ( <ANSWER> - )" scores 1.0, while the looser "<NAME> was born in <ANSWER>" scores 0.6. The system returns the top 5 answers after removing duplicates.

  • MRR on the TREC corpus:

    • BIRTHYEAR: 0.48 (8 questions)
    • INVENTOR: 0.17 (6 questions)
    • DISCOVERER: 0.13 (4 questions)
    • DEFINITION: 0.34 (102 questions)
    • WHY-FAMOUS: 0.33 (3 questions)
    • LOCATION: 0.75 (16 questions)

    Web retrieval performed notably better. The authors explain this by the web's redundancy: a short pattern usually matches somewhere, without needing long-distance dependencies.

  • Reported weaknesses:

    • no semantic or POS typing of the answer slot;
    • a single anchor term per pattern;
    • a fixed 50-byte answer window;
    • no case sensitivity;
    • name and date variants must be listed manually.

Interesting ideas

  • I1. Suffix trees for pattern mining. Suffix trees find repeated substrings of any length in linear time. Because overlapping variants are stored separately, a specific pattern and its more general substring each get their own precision. This is useful for any template-mining task where the right pattern length is unknown.
  • I2. Cross-example precision checks. Patterns learned from one seed pair are scored on documents retrieved for different seeds of the same type. This filters out artifacts caused by mirrored or duplicated web pages, a cheap safeguard for any noisy web-bootstrapped resource.
  • I3. Precision as a simple likelihood estimate. Comparing "slot matches anything" against "slot matches the gold answer" gives a quick reliability score for extraction rules. Those scores can then rank candidate answers directly, with no extra model.
  • I4. Seed-based bootstrapping instead of annotation. A handful of seed pairs plus a search engine replaces hand-tagged corpora. The authors stress that this makes porting to a new language fast, which suits lower-resource settings such as Ukrainian.
  • I5. Suggested extensions. The authors propose bounding the answer slot by 1–2 syntactic chunks instead of raw bytes. They also suggest requiring several question terms as anchors, which would prune many false candidates. Both are simple constraints worth adding to pattern-based extractors.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Natural language processing

Cited by

161 papers of our library cite it (of the 140884 whose bibliographies we read); 8 of them have a page here, 153 not yet.

Cite

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.3115/1073083.1073092

@inproceedings{ravichandran2002learning,
  title = {{Learning surface text patterns for a Question Answering System}},
  author = {Ravichandran, Deepak and Hovy, Eduard},
  booktitle = {Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics},
  year = {2002},
  doi = {10.3115/1073083.1073092},
  url = {https://doi.org/10.3115/1073083.1073092}
}

References

14 references, 0 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Brill, E., J. Lin, M. Banko, S. Dumais, and A. Ng. 2001. Data-Intensive Question Answering. Proceedings of the TREC-10 Conference. NIST, Gaithersburg, MD, 183–189. find
  2. Gusfield, D. 1997. Algorithms on Strings, Trees and Sequences: Computer Science and Computational Biology. Chapter 6: Linear Time construction of Suffix trees, 94–121. find
  3. Harabagiu, S., D. Moldovan, M. Pasca, R. Mihalcea, M. Surdeanu, R. Buneascu, R. Gîrju, V. Rus and P. Morarescu. 2001. FALCON: Boosting Knowledge for Answer Engines. Proceedings of the 9 th Text Retrieval Conference (TREC-9), NIST, 479–488. find
  4. Hovy, E.H., U. Hermjakob, and C.-Y. Lin. 2001. The Use of External Knowledge in Factoid QA. Proceedings of the TREC-10 Conference. NIST, Gaithersburg, MD, 166– 174. find
  5. Hovy, E.H., U. Hermjakob, and D. Ravichandran. 2002a. A Question/Answer Typology with Surface Text Patterns. Proceedings of the Human Language Technology (HLT) conference. San Diego, CA. find
  6. Hovy, E.H., U. Hermjakob, C.-Y. Lin, and D. Ravichandran. 2002b. Using Knowledge to Facilitate Pinpointing of Factoid Answers. Proceedings of the COLING-2002 conference. Taipei, Taiwan. find
  7. Lee, G.G., J. Seo, S. Lee, H. Jung, B-H. Cho, C. Lee, B-K. Kwak, J, Cha, D. Kim, J-H. An, H. Kim, and K. Kim. 2001. SiteQ: Engineering High Performance QA System Using Lexico-Semantic Pattern Matching and Shallow NLP. Proceedings of the TREC-10 Conference. NIST, Gaithersburg, MD, 437–446. find
  8. Lin, C-Y. 2002. The Effectiveness of Dictionary and Web-Based Answer Reranking. Proceedings of the COLING-2002 conference. Taipei, Taiwan. find
  9. Prager, J. and J. Chu-Carroll. 2001. Use of WordNet Hypernyms for Answering What-Is Questions. Proceedings of the TREC-10 Conference. NIST, Gaithersburg, MD, 309– 316. find
  10. Riloff, E. 1996. Automatically Generating Extraction Patterns from Untagged Text. Proceedings of the Thirteenth National Conference on Artificial Intelligence (AAAI-96), 1044–1049. find
  11. Soubbotin, M.M. and S.M. Soubbotin. 2001. Patterns of Potential Answer Expressions as Clues to the Right Answer. Proceedings of the TREC-10 Conference. NIST, Gaithersburg, MD, 175–182. find
  12. Srihari, R. and W. Li. 2000. A Question Answering System Supported by Information Extraction. Proceedings of the 1 st Meeting of the North American Chapter of the Association for Computational Linguistics (ANLP-NAACL-00), Seattle, WA, 166–172. find
  13. Voorhees, E. 2001. Overview of the Question Answering Track. Proceedings of the TREC-10 Conference. NIST, Gaithersburg, MD, 157– 165. find
  14. Wang, B., H. Xu, Z. Yang, Y. Liu, X. Cheng, D. Bu, and S. Bai. 2001. TREC-10 Experiments at CAS-ICT: Filtering, Web, and QA. Proceedings of the TREC-10 Conference. NIST, Gaithersburg, MD, 229–241. find

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/ravichandran-2002-learning-surface-text-patterns-question/