1 of 34

The Rise of Conversational AI

Montreal Bots Meetup Kickoff, Microsoft

Zafarali Ahmed (@zafarali)

www.zafarali.me

2 of 34

What are bots?

3 of 34

An automated service that a user can interact with using conversation.

4 of 34

What’s the big deal?

5 of 34

Language is the most natural form of communication.

6 of 34

No Download.

7 of 34

Device and Operating System Agnostic.

iPad

Android

iPhone

Web

8 of 34

Byte Size, On the Go.

Places to Eat/Movies

Weather

News

Shopping

Reminders

9 of 34

That’s where the users are.

Data as of April 2016 from: Statista.com

Monthly Active Millions of Users

A BILLION.

10 of 34

Examples

11 of 34

Siri

  • Personal Assistant
  • Multi-device
  • Voice activated

12 of 34

Alexa

  • Home Assistant
  • General purpose bot
  • Voice activated

You can’t see me!

13 of 34

Amy

  • Calendar Scheduling
  • Email Bot

14 of 34

SkyScanner

  • Chatbot

15 of 34

Why now?

16 of 34

Neural Networks to Understand Language

Hi, Can I book a table for two on Sunday 5:30PM?

People: 2�Day: 20/11/2016�Time: 17:30

Intent Detection

> Sure Zaf, I’ve made the reservation.

Response Generation

> I’m sorry, our restaurant is fully booked at that time. How about 7:00PM?

17 of 34

Going Deep

Szegedy, Christian, et al. "Going deeper with convolutions." Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2015.

18 of 34

Platforms and Frameworks

New Platforms for Developers:

Frameworks for Developers and Enthusiasts

19 of 34

My Journey: MinervaBot

20 of 34

Why? Example: What time is comp 551?

1 2 3 4

5 6 7 8

21 of 34

Why? Example: 500 level biology courses?

1 2

3 4

22 of 34

Why? Other Examples

Printers in Trottier?

Is the McConnell Caf open?

Is the McLennan Library open?

23 of 34

Solution: Course Look Up

24 of 34

Solution: Printer Lookup

25 of 34

Solution: Buildings

26 of 34

Challenges: Many ways to say the same thing

Who teaches COMP 551?�Who is the professor for applied machine learning?�Show me courses about machine learning.�What time is machine learning in the fall?�MACHINE LEARNING!!!

I’m hungry�Cafeterias in mclennan?�Where can i get food near schulich?�Is vua open?

27 of 34

Challenges: Data…

28 of 34

My Solution: Plugins

Can I answer this query?

Is the user asking for help?

Context, History, Past Queries

Is the query about a building?

Is the query about a course?

29 of 34

Open source and modularized!

30 of 34

Future

31 of 34

Now I have data! Can I train algorithms?

32 of 34

Lightweight Response Network

What is the meaning of life?

I think it’s 42. Want to ask me something that I know the answer to?

33 of 34

Questions

34 of 34

Final Notes:

  • Thank you: Microsoft!
  • Learn more about Bots: https://www.facebook.com/groups/chatbot, Bot Meetup!
  • Learn more about Machine Learning: Oh man…
  • Learn more about Natural Language Processing: …
  • Where to find me:
    • Twitter @zafarali
    • Website: www.zafarali.me
    • Github: @zafarali