Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Conversational AI and NLP

Conversational AI and NLP

Sharing session at Singapore Tourism Board - April 2019

David Low

April 24, 2019
Tweet

More Decks by David Low

Other Decks in Technology

Transcript

  1. Bio • Research Urban Mobility | Social Media • Public

    Service GovTech(IDA) Data Science Division • Teach Deep Learning Masterclass at National University of Singapore (NUS) • Startup Conversational AI | Deep Natural Language Processing
  2. As messaging apps have become indispensable parts of our lives,

    businesses are determined to be where their users are.
  3. What is Natural Language Processing? • is a field at

    the intersection of Computer Science, Artificial Intelligence (AI) and Linguistics. • Goal For computers to process or “understand” natural language in order to perform tasks that are useful • Not to be confused with “Computational Linguistics” • Deep NLP = Deep Learning based Natural Language Processing
  4. “While Siri, Alexa and the likes can follow simple spoken

    or typed commands and answer basic questions; they can’t hold a conversation and have no real understanding of the words they use. ” Will Knight
  5. Why is NLP difficult? “Buffalo buffalo Buffalo buffalo buffalo buffalo

    Buffalo buffalo” - This is a grammatically correct sentence in American English.
  6. What is Homonym? (In linguistics) Words with identical pronunciation and

    spelling, whilst maintaining different meanings.
  7. Buffalo - a homonym 1 - Noun: The city of

    Buffalo, at western New York state, US. 2 - Noun: The animal, Buffalo. 3 - Verb: To confuse, deceive or intimidate.
  8. Why is NLP difficult? [cont] • Sheer complexity of sentence

    structure • Ambiguity ◦ Eg: “I made her duck” • Meaning is context sensitive ◦ Depends on the people present e.g. “How far is it?” (miles, km?) ◦ Depends on the time of day, e.g. “Let's go eat” ◦ Depends on prior sentences: “The third one” • Recognizing named entities (people/places/…) • Slang, jargon, humour, sarcasm, spelling mistakes, grammar mistakes and abbreviations… Source: Stanford CS224
  9. Microsoft’s Tay: How chatbot goes bad • Experiment on conversational

    understanding. • Fully automated self-learning • Garbage in, garbage out! In less than 24 hours
  10. What is Conversational UX? Conversational UX is the way a

    user experiences an interaction with a business or a service through an automated conversational interface that learns along the way.
  11. Good or Bad Conversational UX? User: “I need blue shoes”

    Chatbot: “Great. Please use the command ITEM - COLOUR - SIZE - BRAND - TYPE” User: “Ok I want blue Nike shoes size 8 for sports.” Chatbot: “Sorry, I did not get that. Please use the command ITEM - COLOUR - SIZE - BRAND - TYPE” User: “Shoes blue 8 Nike sports” Chatbot: “Sorry, I did not get that. Please use the command ITEM - COLOUR - SIZE - BRAND - TYPE” User: “SHOES - BLUE - 8 - NIKE - SPORT” Chatbot: “Here is a selection for you to pick from...”
  12. “Good conversational UX should be a seamless experience, that makes

    people feel like talking to another human without realizing he/she is talking to a bot”
  13. Google Duplex • Trained within a closed and narrow domain

    • Incorporation of speech disfluencies (e.g. “hmm”s and “uh”s) to make it sounds more natural Source: Google