Docsity

Question Answering: Techniques and Systems, Study notes of Computer Science

Toggle sidebar
bg1
Question answering
•Overview and task definition
•History
•Open-domain question answering
•Basic system architecture
•Predictive indexing methods
•Pattern-matching methods
– Slides based on those of Jamie Callan, CMU
•Advanced techniques
Simple pattern-based QA
•Observation: there are many
questions…but fewer types of questions
•Each type of question can be associated
with
– Expectations about answer string
characteristics
– Strategies for retrieving documents that might
have answers
– Rules for identifying answer strings in
documents
Example
•Who is the President of Cornell?
– Expectation: answer string contains a person
name
• Named entity identification
– Search query: “president Cornell
*PersonName”
– Rule: “*PersonName, President of Cornell”
• Matches “…David Skorton, President of Cornell”
• Answer = “David Skorton”
What is Jupiter?
pf3
pf4
pf5

Partial preview of the text

Download Question Answering: Techniques and Systems and more Study notes Computer Science in PDF only on Docsity!

Question answering

-^

Overview and task definition

-^

History

-^

Open-domain question answering

-^

Basic system architecture

-^

Predictive indexing methods

-^

Pattern-matching methods^ –

Slides based on those of Jamie Callan, CMU

-^

Advanced techniques

Simple pattern-based QA

-^

Observation: there are manyquestions…but fewer types of questions

-^

Each type of question can be associatedwith^ – Expectations about answer string

characteristics
  • Strategies for retrieving documents that might
have answers
  • Rules for identifying answer strings in
documents

Example

-^

Who is the President of Cornell?^ – Expectation: answer string contains a person

name
  • Named entity identification
    • Search query: “president Cornell
*PersonName”
  • Rule: “*PersonName, President of Cornell”
    • Matches “…David Skorton, President of Cornell”• Answer = “David Skorton”

What is Jupiter?

What is Jupiter?

What is Jupiter?

1.

What We Will Learn from Galileo

2.

The Nature of Things: Jupiter’s shockwaves—How acomet’s bombardment has sparked activity on Earth

3.

Jupiter-Bound Spacecraft Visits Earth on 6-Year Journey

4.

STAR OF THE MAGI THEORIES ECLIPSED?

5.

Marketing & Media: Hearst, Burda to Scrap New AstrologyMagazine

6.

Greece, Italy Conflict On Cause Of Ship Crash That Kills 2,Injures 54

7.

Interplanetary Spacecraft To Visit Earth With LaserGraphic

8.

A List of Events During NASA’s Galileo Mission to Jupiter

9.

SHUTTLE ALOFT, SENDS GALILEO ON 6-YEAR VOYAGETO JUPITER

10. Rebuilt Galileo Probe readied For Long Voyage To Jupiter

Answer extraction

•^

Select highly ranked sentences from highly rankeddocuments

-^

Perform named-entity tagging (or extract fromindex) and perform part of speech tagging^ – “The/DT planet/NN Jupiter/NNP and/CC

its/PRP moons/NNS are/VBP in/IN effect/NN a/DT mini-solar/JJ system/NN ,/, and/CCJupiter/NNP itself/PRP is/VBZ often/RBcalled/VBN a/DT star/NN that/IN never/RB caught/VBNfire/NN ./.”

•^

Apply extraction patterns^ – the/DT X Y, Y=Jupiter -> the planet Jupiter -> “planet”

Simple pattern-based Q/A:

assessment

•^

Extremely effective when^ – Question patterns are predictable

  • Fairly “few” patterns cover the most likely questions
    • Could be several hundred
      • Not much variation in vocabulary
        • Simple word matching works
          • The corpus is huge (e.g., Web)
            • Odds of finding an answer document that matches the

vocabulary and answer extraction rule improves

•^

Somewhat labor intensive^ – Patterns are created and tested manually

Common problem: selecting/ranking

the answer

•^

Multiple answer candidates

-^

Solutions^ – Features used to represent answer candidates

  • Frequency• Distance to question words• Location in answer passage(s)• …
    • Selection functions
      • Created manually• Learned from training data

Question answering

•^

Overview and task definition

•^

History

•^

Open-domain question answering

•^

Basic system architecture

•^

Predictive indexing methods

•^

Pattern-matching methods

•^

Advanced techniques^ –

Slides based on Pasca & Harabagiu (SIGIR 2001) and the slides ofJ. Callan and K. Czuba, CMU

SMU/LCC system

TREC 2001
TREC 2000

Multi-strategy approach

•^

State of the art in QA is the SMU/LCC system^ – Employs informed use of standard IR techniques– Use of broad ontology (extended WordNet)– Lots of NLP– Answer verification

-^

Similar to most other systems in architectureexcept for^ – Much more careful tuning of algorithms and

resources

  • More sophisticated control of IR and NLP– Feedback loops

Question analysis

•^

Parsing and named entity recognition

-^

Expected answer type determined by parsing

-^

Exceptions for “special cases”

Expected answer types

  • 8700+ answer types• Each is mapped to one or more WordNet concepts

Expected answer types

-^

Answer types also mapped to named-entitycategories that can be recognized in text

-^

Answer types drive processing ofparagraphs^ – Retrieved passages need to contain the

expected answer type

Paragraph retrieval

•^

Boolean retrieval with loops^ – Different from multiple queries in that system only

uses additional queries when necessary

  • Fewer candidates for analysis components to

consider

•^

Loop 1: query keyword loop^ – Keywords added/dropped to make query more/less

specific

•^

Loop 2: keyword alternations^ – Try morphological variants and synonyms

-^

Loop 3: semantic alternations^ – Try semantic alternatives