Cs224u lecture 8 9 10 nli, grounding

Natural language inference

Natural language inference is the task of determining whether a “hypothesis” is true (entailment), false (contradiction), or undetermined (neutral) given a context string.

Datasets

SNLI- Dataset from tagged Flickr images, data that describes the event in the image.

MultiNLI - Train premises frawn from five genres:

Screenshot 2020-02-18 at 7.14.13 PM.png

Hand Built Features

Chained Models

Chain together the query and the hypothesis

NLI’s baselines use hypothesis only (query only, no context).

Screenshot 2020-02-18 at 7.15.04 PM.png

Grounded Language Understanding

** **

Issues of Indexicality in Language

The answer to those questions are dependent on what goals the speaker has - which is why you need lingustic grounding.

There’s a lot of disambiguation work, and a lot of contextual gounding necessary (Appendix 1)

**Semantic parsers **consume langauge, construct ricj latent representaitons, and predict into structured output spaces.

How to do grounding - Use Encoder-Decoder.

Screenshot 2020-02-20 at 11.54.07 AM.png

Screenshot 2020-02-20 at 2.04.25 PM.png

FAIR negotiation dataset - 5808 dialogues grounded in 2236 unique scenarios.

Screenshot 2020-02-20 at 2.09.17 PM.png

The Rational Speech Acts Model

Screenshot 2020-02-20 at 2.16.36 PM.png

Screenshot 2020-02-20 at 2.15.18 PM.png** **

(Example in Appendix 2)

Appendix 1.

Screenshot 2020-02-20 at 11.41.47 AM.png

Winograd sentences require information about the world.

The city councilmen refused the demonstrators a permit because they [feared/advocated] violence.

Appendix 2:

Screenshot 2020-02-20 at 2.16.56 PM.png

Screenshot 2020-02-20 at 2.17.00 PM.png

Screenshot 2020-02-20 at 2.17.04 PM.png

Screenshot 2020-02-20 at 2.17.07 PM.png

A lot of lingusitic problems in pragmatics have been solved by this model, but very high bias and very hard for computers becuse of the number of concepts in the world is very large.

Screenshot 2020-02-20 at 2.19.20 PM.png