Knowledge for Question Answering - PowerPoint PPT Presentation

1 / 32
About This Presentation
Title:

Knowledge for Question Answering

Description:

What airlines have Concorde in their fleets? Hyponyms (X such-as Y) ... Air Zimbabwe, Alaska, Aloha, American Airlines, Angel Airlines, Ansett, Asiana, ... – PowerPoint PPT presentation

Number of Views:127
Avg rating:3.0/5.0
Slides: 33
Provided by: Joha52
Category:

less

Transcript and Presenter's Notes

Title: Knowledge for Question Answering


1
Knowledge for Question Answering
  • Johan Bos
  • Dipartimento di Informatica
  • University of Rome "La Sapienza

2
Question Answering
  • What is QA?
  • Open domain vs. restricted domain

Q
Where did Olof Palme die?
A
Stockholm.
3
QA is NLP-complete
  • Dealing with ambiguities
  • Word sense disambiguation
  • Anaphora resolution
  • Named entity recognition
  • PP attachment
  • Representation and Inference
  • Semantics representation
  • Logical inference

4
QA is NLP-complete
  • Dealing with ambiguities
  • Word sense disambiguation
  • Anaphora resolution
  • Named entity recognition
  • PP attachment
  • Representation and Inference
  • Semantics representation
  • Logical inference

If you can solve QA, you can solve any NLP
problem
5
Why QA is hard 1/3
Q
When was NATO established?
NATO launched its first attack against Yugoslavia
on March 24. WordNetlaunchestablish
A
6
Why QA is hard 2/3
Q
Bing Crosby. What was his profession?
Crosby sang her first song, Starlight. She
scribbled notes for the song on the back of a
menu at a New York jazz bar in 1931. . WordNetba
r IS-A profession
A
7
Why QA is hard 3/3
Where did Ricky Williams, American football
player, grow up?
Q
Texas running back Ricky Williams is from
California. Those who follow the Longhorns don't
like Williams any less because he didn't grow up
in Texas.
A
8
Outline
  • Three types of QA
  • Guessing
  • Googling
  • Proving
  • Knowledge
  • We need knowledge to do QA
  • What kind of knowledge is required
  • Manual vs. Automatically harvested
  • Problems with automatically harvested knowledge

9
Three types of QA
  • Three types of QA
  • Guessing
  • Googling
  • Proving

10
Guessing
  • Limit the amount of deep NLP tools
  • Use shallow features such as frequency to guess
    an answer

11
Guessing example
Q
What country is Berlin in?
Ties between Iran and Germany strained after a
Berlin court verdict ruled on April 10 that
Iran's top leaders were behind the assassination
of four exiled Kurdish opposition leaders in a
Berlin restaurant.
A
12
Guessing example
Q
What country is Berlin in?
Ties between Iran and Germany strained after a
Berlin court verdict ruled on April 10 that
Iran's top leaders were behind the assassination
of four exiled Kurdish opposition leaders in a
Berlin restaurant.
A
13
Another guessing example
Q
Port Arthur Massacre.What was the killer's
nationality ?
A nation asks why, the portrait of a lone gunman,
Martin Bryant, should have no reason to be a
killer. The man arrested after the Port Arthur
massacre should be a wealthy man, only four years
ago he inherited more than 500,000 Australian
dollars 375,000 US dollars from one of the heirs
of George Adams's great Tattersalls fortune.
A
14
Googling
  • Use other, larger, corpora to find the answer.
    i.e., the internet.
  • Use Google tricks.

15
Googling example
Q
What is the state bird of Alaska?
Google search "The state bird of Alaska is the
"
A
16
Googling example
Q
What is the state bird of Alaska?
Google results The state bird of Alaska is the
ptarmigan. The state bird of Alaska is the willow
ptarmigan.
A
17
Googling example
Q
What is the state bird of Alaska?
Google results The state bird of Alaska is the
ptarmigan. The state bird of Alaska is the willow
ptarmigan. The state bird of Alaska is the
mosquito. The state bird of Alaska is the
Mosquito.
A
18
Proving
  • Using background knowledge to give support for an
    answer
  • Use logical inference when possible

19
Proving example
Q
Where did Olof Palme die?
A
Stockholm.
20
Proving example
Q
Where did Olof Palme die?
. given clause 13 (wt2) 69 hyper,47,16
vehicle(c3). given clause 14 (wt2) 71
hyper,50,16 vehicle(c4). given clause 15
(wt2) 74 hyper,52,18 building(c5). given
clause 16 (wt3) 51 have(vincent,c4). given
clause 17 (wt2) 76 hyper,55,18
building(c6). given clause 18 (wt2) 78
hyper,61,16 vehicle(c6). given clause 19
(wt2) 80 hyper,65,10 organism(c1). given
clause 20 (wt2) 84 hyper,67,10
organism(c2). given clause 21 (wt3) 53
die(palme,c5). given clause 22 (wt2) 86
hyper,69,15 instrument(c3). given clause 23
(wt2) 88 hyper,71,15 instrument(c4). given
clause 24 (wt2) 90 hyper,74,7
artifact(c5). given clause 25 (wt2) 94
hyper,76,7 artifact(c6). given clause 26
(wt3) 56 c7c6. given clause 27 (wt2) 96
hyper,78,15 stockholm(c6). ----- EMPTY
CLAUSE at 0.01 sec ---- 113 hyper,96,24,76
F.
A
21
Proving example
Q
Where did Olof Palme die?
1. You are looking for location. 2. I know that
Stockholm is a city. 3. Every city is a
location. 4. If x is shot to death then x
died. 5. I found the following evidence in
document APW20000227.0124 "In 1986,
Swedish Prime Minister Olof Palme was
shot to death in central Stockholm. 6. Hence
Stockholm is the answer.
A
22
  • KNOWLEDGE

23
Knowledge Sources
  • Manually constructed
  • WordNet
  • CYC
  • FrameNet
  • NomLex
  • CIA Factbook
  • Automatically constructed
  • Hyponyms e.g. Hearst
  • Paraphrases e.g. Lin and Pantel

24
Hyponyms (X such-as Y)
TREC 20.2 (Concorde) What airlines have Concorde
in their fleets?
  • WordNet has no instances of airlines.

25
Hyponyms (X such-as Y)
TREC 20.2 (Concorde) What airlines have Concorde
in their fleets?
  • Search for X such as Y patterns in corpora.
  • airlines such as Continental and United now fly

26
Hyponyms (X such-as Y)
TREC 20.2 (Concorde) What airlines have Concorde
in their fleets?
  • Knowledge (Acquaint corpus)Air Asia, Air
    Canada, Air France, Air Mandalay, Air Zimbabwe,
    Alaska, Aloha, American Airlines, Angel Airlines,
    Ansett, Asiana, Bangkok Airways, Belgian Carrier
    Sabena, British Airways, Canadian, Cathay
    Pacific, China Eastern Airlines, China Xinhua
    Airlines, Continental, Garuda, Japan Airlines,
    Korean Air, Lai, Lao Aviation, Lufthansa,
    Malaysia Airlines, Maylasian Airlines, Midway,
    Northwest, Orient Thai Airlines, Qantas, Seage
    Air, Shanghai Airlines, Singapore Airlines,
    Skymark Airlines Co., South Africa, Swiss Air, US
    Airways, United, Virgin, Yangon Airways

27
www.amazon.co.uk
TREC 11.5 (the band Nirvana) What are their
albums? ---- APW19990727.0029 Editors in a new
issue ranked Nevermind from the Kurt Cobain-led
Nirvana at No.1, while the follow-up, In Utero,
was No.18.
  • Knowledge?x(Nevermind(x)?album(x))?x(In_Utero(x
    )?album(x))

28
Paraphrases
TREC 4.2 (James Dean) When did James Dean
die? ---- APW19990929.0165 In 1955, actor James
Dean was killed in a two-car collision near
Cholame, Calif.
  • Knowledge ?x?t(?e(kill(e)theme(e,x)in(e,t))
    ? ?e' (die(e')agent(e',x)in(e',t)))

29
World Knowledge
TREC 14.4 (Horus) Who was his father? ---- XIE1999
0713.004 It also hosted statues of Amons
wife, Mut, the goddess Isis, her husband, Osiris,
and their son Horus.
  • Knowledge?x(husband(x)?male(x))
    ?x?y(son(x)of(x,y)male(y)
    ?father(y)of(y,x))

30
Even more world knowledge
TREC 1.5 (Crips) What is their gang
color? ---- NYT19990515.0190 Forget about
wearing the blue and quit the Crips. NYT19980623.
0155 But Johnson also wore a blue Bandana, an
emblem of his reputed allegiance to the Crips
gang.
  • Knowledge ???

31
Automatically harvested knowledge
  • Good at simple relations
  • Hyponyms, Synonyms
  • Not so good at paraphrases
  • DIRT paraphrases Lin and Pantel
  • No improvement on QA and RTE
  • Problems
  • Typically low precision, high recall
  • No Word Sense Disambiguation
  • No common sense knowledge

32
Conclusions
  • We need knowledge for QA
  • We need a lot of knowledge for QA
  • Current knowledge resources are not sufficient
  • Automatically extracted knowledge
  • needs to be accurate
  • Word sense disambiguated
  • Deal with more complex relations
Write a Comment
User Comments (0)
About PowerShow.com