1 / 25

Reference Resolution

Reference Resolution. Sue bought a cup of coffee and a donut from Jane. She met John as she left. He looked at her enviously as she drank the coffee. It was delicious.

aiden
Download Presentation

Reference Resolution

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Reference Resolution

  2. Sue bought a cup of coffee and a donut from Jane. She met John as she left. He looked at her enviously as she drank the coffee. It was delicious.

  3. Sue bought a cup of coffee and a donut from Jane. She met John as she left. He looked at her enviously as she drank the coffee. It was delicious.

  4. Sue bought a cup of coffee and a donut from Jane. She met John as she left. He looked at her enviously as she drank the coffee. It was delicious.

  5. How could a computer resolve these references? • Complete model of dialogue too complicated • Are there any simpler ways?

  6. Hard Constraints on Coreference • Number agreement • Person and case • Gender Agreement • Syntactic Agreement • Selectional Restrictions

  7. Number agreement John and Mary loaned Sue a cup of coffee. Little did they know the magnitude of her addiction.

  8. Person and Case Agreement

  9. Gender Agreement *John has a coffee machine. She loves it.

  10. Syntactic Agreement • Reflexives (himself, herself…) have strong constraints on what syntactic positions they can appear in John bought himself a cup of coffee. *John bought him a cup of coffee.

  11. Selectional Constraints Jim bought a coffee from the store. He drank it quickly.

  12. Also : Preferences • Recency • Grammatical Role • Repeated Mention • Parallelism • Verb Semantics • Based on Salience

  13. Recency John had a pop-tart. Bill had a jelly donut. Mary wanted it. Recent Entities are more salient

  14. Grammatical Role “Sue bought a cup of coffee and a donut from Jane. She met John as she left.” • Entities in subject position are more salient

  15. Repeated Mention John went to the store to buy coffee. He loves coffee. He drinks 5 cups a day. At the store, Bill sold him a cup. He was delighed. • Entities mentioned more frequently are more salient

  16. Parallelism John bought coffee from Jim in the morning. Sue bought coffee from him in the evening. • Even with preferences to the contrary (grammatical role) the syntactic parallelism strongly prefers [him = Jim]

  17. Verb Semantics John telephoned Bill. He was jonesing for coffee. John criticized Bill. He was jonesing for coffee. • Perhaps salience of different elements in the sentence changes with respect to the verb used.

  18. Algorithms --- How to integrate these preferences? • Constraints are easy to use : reject all hypothesis which violate the hard constraints (if you can accurately detect the constraints!) • Preferences more difficult – how can one integrate these different preferences?

  19. Lappin and Leass • Use Weighting Scheme • Weight each mention, cut values in half at each new sentence

  20. Lappin & Leass in action • Sue read a book on peanuts at the library. Recency : 100 Object : 50 Head Noun : 80 Non-Adverbial: 50 Recency : 100 Object : 50 Non-Adverbial: 50 Recency : 100 Head Noun : 80 Non-Adverbial: 50

  21. Hobbs Tree Search Algorithm • Given parse trees, search them in a specific order to find the most likely referent

  22. Hobbs in Detail • Begin at NP • Go up tree to first NP or S. Call this X, and the path p. • Traverse all branches below X to the left of p. Propose as antecedent any NP that has a NP or S between it and X • If X is the highest S in the sentence, traverse the parse trees of the previous sentences in the order of recency. Traverse left-to-right, breadth first. When a NP is encountered, propose as antecedent. If not the highest node, go to step 5.

  23. Hobbs cont. • From node X, go up the tree to the first NP or S. Call it X, and the path p. • If X is an NP and the path to X did not pass through the nominal that X dominates, propose X as antecedent • Traverse all branches below X to the right of the path, in a left-to-right, breadth first manner. Propose any NP encountered as the antecdent • If X is an S node, traverse all brnaches of X to the right of the path but do not go below any NP or S encountered. Propose any NP as the antecedent.

  24. Charniak, Ng and Hale • Statistical integration of preferences • Similar to Lappin Leass • Uses distance (recency constraint) [d], syntactic position (gramatical role emphasis) [s], gender number and animacy [W], verb selectional constraints [l,h], and mention (repeated mention counts) [M]

  25. CNH Model • P( a(p) ) = a | p, h, W, t, l, s, d, M) = P(a|M)P(dh | a) P(W | h,t,l,a) P(p|wa) • P(a|ma) = # of mentions • P(dh | a) = distance as measured by Hobbs algorithm • P(W|h,t,l,a) = judges emphasis in the sentence • P(p| wa) = integrates number, animacy, gender

More Related