43
MetaLang Introducing A Knowledge-Based Conversational Agent Bill DeSmedt Amber Productions

MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Embed Size (px)

Citation preview

Page 1: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

MetaLangMetaLang

Introducing

A

Knowledge-Based

Conversational Agent

Bill DeSmedtAmber Productions

Page 2: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Natural Language UnderstandingNatural Language Understanding

• The Test according to Turing

Page 3: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Natural Language UnderstandingNatural Language Understanding

• The Test according to Turing

Page 4: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

• The World’s Most Famous Parlor Trick

• String Matching (a.k.a. Keyword Spotting)

• Pronoun Swapping ("you" <=> "me")

• Regurgitating Previously Saved Remarks

• Catch-all Stock Responses

Natural Language UnderdoneNatural Language Underdone

Page 5: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

ELIZA’s Gambits: String-MatchingELIZA’s Gambits: String-Matching

*** WELCOME TO ELIZA – STATE YOUR PROBLEM ***

YOU : My mother is coming to visit.

ELIZA : TELL ME MORE ABOUT YOUR FAMILY.

SADDAM : This will be the mother of all battles!

ELIZA : TELL ME MORE ABOUT YOUR FAMILY.

EDISON : Necessity is the mother of invention.

ELIZA : TELL ME MORE ABOUT YOUR FAMILY.

Page 6: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

ELIZA’s Gambits: Pronoun SwapsELIZA’s Gambits: Pronoun Swaps

*** WELCOME TO ELIZA - STATE YOUR PROBLEM ***

YOU : My boyfriend made me come here.

ELIZA : YOUR BOYFRIEND MADE YOU COME HERE?

YOU : My, is that all you can say?

ELIZA : YOUR, IS THAT ALL I CAN SAY?

Page 7: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

ELIZA’s Gambits: RegurgitationELIZA’s Gambits: Regurgitation

*** WELCOME TO ELIZA - STATE YOUR PROBLEM ***

ELIZA : WHAT DOES YOUR FATHER MAKE YOU THINK OF?

YOU : Bullies.

ELIZA : DOES THAT HAVE ANYTHING TO DO WITH THE FACT THAT YOUR BOYFRIEND MADE YOU COME HERE?

YOU : This armchair is really uncomfortable.

ELIZA : DOES THAT HAVE ANYTHING TO DO WITH THE FACT THAT YOUR BOYFRIEND MADE YOU COME HERE?

Page 8: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

ELIZA’s Gambits: Catch-AllsELIZA’s Gambits: Catch-Alls

*** WELCOME TO ELIZA - STATE YOUR PROBLEM ***

YOU : Ontogeny recapitulates phylogeny.

ELIZA : WHAT MAKES YOU SAY THAT?

PORTIA: The quality of mercy is not strained.

ELIZA : PLEASE GO ON.

PORTIA: It falleth as the gentle rain from heaven.

ELIZA : DOES THAT HAVE ANYTHING TO DO WITH THE FACT THAT YOUR BOYFRIEND MADE YOU COME HERE?

Page 9: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

But...But...

What’sthe

Alternative?

Page 10: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Natural Language UnderstandingNatural Language Understanding

Page 11: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

A Bundle of Technologies ...A Bundle of Technologies ...

Page 12: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Parsing: Can’t see the forest for the treesParsing: Can’t see the forest for the trees

Page 13: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Parsing ... “Time flies like an arrow.”Parsing ... “Time flies like an arrow.”

Page 14: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Parsing ... “Time flies like an arrow.”Parsing ... “Time flies like an arrow.”

Page 15: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Parsing ... “Time flies like an arrow.”Parsing ... “Time flies like an arrow.”

Page 16: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Parsing ... “Time flies like an arrow.”Parsing ... “Time flies like an arrow.”

Page 17: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Parsing ... “Time flies like an arrow!”Parsing ... “Time flies like an arrow!”

Page 18: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Parsing ... “Time flies like an arrow!”Parsing ... “Time flies like an arrow!”

Page 19: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Parsing ... How about this one?Parsing ... How about this one?

Persons applying for marriage licenses wearing shorts or pedal-pushers will

be denied licenses.

Forty possible parses!

Page 20: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Discourse: What’s going on around here?Discourse: What’s going on around here?

Page 21: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Discourse: What’s going on around here?Discourse: What’s going on around here?

• Topicality Trackingn Semantic Priming for Disambiguationn Novelty Detection for Prosodics

Page 22: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Discourse: What’s going on around here?Discourse: What’s going on around here?

• Topicality Trackingn Semantic Priming for Disambiguationn Novelty Detection for Prosodics

• Pronoun Resolutionn Heidegger’s Hammer

Page 23: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Discourse: Resolving PronounsDiscourse: Resolving Pronouns

• Try this one:

“The puppy pressed its nose against the window so hard it broke it.”

Page 24: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

• Try this one:

“The puppy pressed its nose against the window so hard it broke it.”

Discourse: Resolving PronounsDiscourse: Resolving Pronouns

Page 25: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Discourse: Resolving PronounsDiscourse: Resolving Pronouns

“The puppy pressed its nose...”

Page 26: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Discourse: Resolving PronounsDiscourse: Resolving Pronouns

Whose nose is it, anyway?

Page 27: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Discourse: Resolving PronounsDiscourse: Resolving Pronouns

“... that it broke it.”

Page 28: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Discourse: Resolving PronounsDiscourse: Resolving Pronouns

“... that it broke it.”

Page 29: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Knowledge: Reality ... What a Concept!Knowledge: Reality ... What a Concept!

Page 30: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Knowledge: Reality ... What a Concept! Knowledge: Reality ... What a Concept!

• A Modest Proposal— maybe language means something!

• The One-Minute Epistemologist

Page 31: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Knowledge: Reality ... What a Concept! Knowledge: Reality ... What a Concept!

• Ontologies and IS-A Hierarchies

Page 32: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Knowledge: Reality ... What a Concept! Knowledge: Reality ... What a Concept!

• Intensional Knowledge

Page 33: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Knowledge: Reality ... What a Concept! Knowledge: Reality ... What a Concept!

• Extensional Knowledge — The Evil Twin

Page 34: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Knowledge: Reality ... What a Concept! Knowledge: Reality ... What a Concept!

• Extensional Knowledge — Where It’s At!

Page 35: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Knowledge AuthoringKnowledge Authoring

Page 36: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Authoring: They told me I was gullible...Authoring: They told me I was gullible...

Page 37: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Authoring: ... and I believed them!Authoring: ... and I believed them!

Page 38: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Authoring: ... and I believed them!Authoring: ... and I believed them!

Page 39: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Language GenerationLanguage Generation

Page 40: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Speech ProcessingSpeech Processing

Page 41: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

A Conversational Agent!A Conversational Agent!

Page 42: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

MetaLangMetaLang

The End

Page 43: MetaLang IntroducingAKnowledge-Based Conversational Agent Bill DeSmedt Amber Productions

Thank you!Thank you!

Bill DeSmedt

Chief Knowledge Engineer

Amber [email protected]