41
From Answers to Actions Dekang Lin @naturali.io

From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

From Answers to Actions

Dekang [email protected]

Page 2: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Overview

✦Google Question Answering

✦Google Assistant and others

✦naturali.io 小不点

Page 3: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Google Question Answering

✦Answers from Knowledge Graph

• Translate NL queries into Knowledge Graph retrieval queries

✦Answers from the web

• Extract answers from top web search results

Page 4: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 5: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Semantic Parsing

✦Translate natural language queries into database/knowledge base retrieval queries

✦Example:

Page 6: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Knowledge Graph Answers

Page 7: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Web Answers

✦Extract answers from web search results

✦Better suited for

• long tail questions

• fresh answers

Page 8: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 9: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 10: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 11: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 12: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 13: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Search Engine vs Answer Engine

❖ Search Engine: Know where to look

❖ Answer Engine: Know what to look for

Page 14: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 15: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Expected Answer Type

❖ A semantic type that the answer is expected to belong.

❖ Focus word: the word/phrase in a query that specifies the expected answer type.

• what enzyme breaks down starch?

• how much does a macbook air weigh

• what is the melting point of paraffin wax

• annual rainfall of beijing

Page 16: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Learning Answer Types from Naturally Annotated Data

❖ Numerical types

• (has|with) (a|an) TYPE of _____

• Example:

• has a DIAMETER of 13 cm

❖ Entity types:

• TYPE(s), such as _____

• Example:

• cities such as Beijing

Page 17: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

❖ The Zatecka Basin, the driest area, has an annual rainfall of about 18 inches.

❖ More than 80% of the continent has an annual rainfall of less than 600 mm;

❖ Cuzco with a mean average temperature of 10.7°C, and highest average monthly 12.1, has an annual rainfall of 804 mm.

❖ along the western Ghats escarpment, has an annual rainfall of about 5600 mm which is towards the mid-range of rain stations in the area

Answer Type Example: annual rainfall

Page 18: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Answer Type Example: sleeping pills

❖ There is little evidence that the newer generation sleeping pills such as Ambien or Lunesta are more effective than older sleeping pills such as Dalmaneor ...

❖ Diphenhydramine is found in many popular over the counter sleeping pills such as Tylenol PM, Excedrin PM and Nytol.

❖ A newer class of non-benzodiazepine sleeping pillssuch as eszopiclone or zolpidem appears to be safe to use by patients with OSA

Page 19: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

A Tale of Two DiDi Rides

打车去中关村皇冠酒店

Page 20: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Voice Assistants

❖ Siri

❖ Google Assistant

❖ Cortana

❖ 度秘

❖ 灵犀

❖ Amazon Echo/Alexa

❖ Viv

❖ Hound

❖ …

Page 21: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Google Assistant

✦Currently, it is mostly an integration of products already available on various Google properties.

• Actions: reminder, alarm, photo and email lookup

• Answers: open domain questions

• Local info: restaurants, shops, gyms, …

• Sports info: athletes, teams, games, …

• Travel: airline, hotel

• Translation

• …..

Page 22: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 23: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 24: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 25: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 26: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 27: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 28: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 29: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 30: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon
Page 31: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

SiriGoogle

AssistantCortana

Interface to OS and First Party Apps

Page 32: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Siri API

❖ Siri API only works with six functionalities:

Ride booking

Messaging

Photo Search

Payments

VoIP Calling

Workouts

Page 33: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Interface to Backend Services

2 *

VIV HoundAmazon Echo

Page 34: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Viv

❖ Give me a nice room in Palm Springs for Labor Day weekend

Page 35: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

携程

Page 36: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Communication Throughput

❖ Yao, Chen and Sagae, [TechCrunch 2016.08]

Page 37: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

Naturali 小不点

Page 38: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

订机票

Page 39: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

发微信

Page 40: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

看视频

Page 41: From Answers to · Siri API only works with six functionalities: Ride booking. Messaging. Photo Search . Payments . VoIP Calling . Workouts. Interface to Backend Services. 2 * Amazon

小不点,不用点