Jump to content

Chatbot

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Ankush.sabharwal.11 (talk | contribs) at 22:52, 29 October 2018 (AskDisha India's first ChatBot launched by IRCTC, powered by CoRover.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A chatbot (also known as a smartbots, talkbot, chatterbot, Bot, IM bot, interactive agent, Conversational interface or Artificial Conversational Entity) is a computer program or an artificial intelligence which conducts a conversation via auditory or textual methods.[1] Such programs are often designed to convincingly simulate how a human would behave as a conversational partner, thereby passing the Turing test. Chatbots are typically used in dialog systems for various practical purposes including customer service or information acquisition. Some chatterbots use sophisticated natural language processing systems, but many simpler systems scan for keywords within the input, then pull a reply with the most matching keywords, or the most similar wording pattern, from a database.

The term "ChatterBot" was originally coined by Michael Mauldin (creator of the first Verbot, Julia) in 1994 to describe these conversational programs.[2] Today, most chatbots are either accessed via virtual assistants such as Google Assistant and Amazon Alexa, via messaging apps such as Facebook Messenger or WeChat, or via individual organizations' apps and websites.[3][4] Chatbots can be classified into usage categories such as conversational commerce (e-commerce via chat), analytics, communication, customer support, design, developer tools, education, entertainment, finance, food, games, health, HR, marketing, news, personal, productivity, shopping, social, sports, travel and utilities.[5] India Railways/IRCTC being the first government organisation to launch AI enabled ChatBot as a Service (CaaS) named AskDISHA recently on 12-Oct-2018, which is developed & owned by CoRover to answer user queries 24X7.[6]

Background

In 1950, Alan Turing's famous article "Computing Machinery and Intelligence" was published,[7] which proposed what is now called the Turing test as a criterion of intelligence. This criterion depends on the ability of a computer program to impersonate a human in a real-time written conversation with a human judge, sufficiently well that the judge is unable to distinguish reliably—on the basis of the conversational content alone—between the program and a real human. The notoriety of Turing's proposed test stimulated great interest in Joseph Weizenbaum's program ELIZA, published in 1966, which seemed to be able to fool users into believing that they were conversing with a real human. However Weizenbaum himself did not claim that ELIZA was genuinely intelligent, and the Introduction to his paper presented it more as a debunking exercise:

[In] artificial intelligence ... machines are made to behave in wondrous ways, often sufficient to dazzle even the most experienced observer. But once a particular program is unmasked, once its inner workings are explained ... its magic crumbles away; it stands revealed as a mere collection of procedures ... The observer says to himself "I could have written that". With that thought he moves the program in question from the shelf marked "intelligent", to that reserved for curios ... The object of this paper is to cause just such a re-evaluation of the program about to be "explained". Few programs ever needed it more.[8]

ELIZA's key method of operation (copied by chatbot designers ever since) involves the recognition of cue words or phrases in the input, and the output of corresponding pre-prepared or pre-programmed responses that can move the conversation forward in an apparently meaningful way (e.g. by responding to any input that contains the word 'MOTHER' with 'TELL ME MORE ABOUT YOUR FAMILY').[9] Thus an illusion of understanding is generated, even though the processing involved has been merely superficial. ELIZA showed that such an illusion is surprisingly easy to generate, because human judges are so ready to give the benefit of the doubt when conversational responses are capable of being interpreted as "intelligent".

Interface designers have come to appreciate that humans' readiness to interpret computer output as genuinely conversational—even when it is actually based on rather simple pattern-matching—can be exploited for useful purposes. Most people prefer to engage with programs that are human-like, and this gives chatbot-style techniques a potentially useful role in interactive systems that need to elicit information from users, as long as that information is relatively straightforward and falls into predictable categories. Thus, for example, online help systems can usefully employ chatbot techniques to identify the area of help that users require, potentially providing a "friendlier" interface than a more formal search or menu system. This sort of usage holds the prospect of moving chatbot technology from Weizenbaum's "shelf ... reserved for curios" to that marked "genuinely useful computational methods".

Development

The classic historic early chatbots are ELIZA (1966) and PARRY (1972).[10][11][12][13] More recent notable programs include A.L.I.C.E., Jabberwacky and D.U.D.E (Agence Nationale de la Recherche and CNRS 2006). While ELIZA and PARRY were used exclusively to simulate typed conversation, many chatbots now include functional features such as games and web searching abilities. In 1984, a book called The Policeman's Beard is Half Constructed was published, allegedly written by the chatbot Racter (though the program as released would not have been capable of doing so).[14]

One pertinent field of AI research is natural language processing. Usually, weak AI fields employ specialized software or programming languages created specifically for the narrow function required. For example, A.L.I.C.E. uses a markup language called AIML, which is specific to its function as a conversational agent, and has since been adopted by various other developers of, so called, Alicebots. Nevertheless, A.L.I.C.E. is still purely based on pattern matching techniques without any reasoning capabilities, the same technique ELIZA was using back in 1966. This is not strong AI, which would require sapience and logical reasoning abilities.

Jabberwacky learns new responses and context based on real-time user interactions, rather than being driven from a static database. Some more recent chatbots also combine real-time learning with evolutionary algorithms that optimise their ability to communicate based on each conversation held. Still, there is currently no general purpose conversational artificial intelligence, and some software developers focus on the practical aspect, information retrieval.

Chatbot competitions focus on the Turing test or more specific goals. Two such annual contests are the Loebner Prize and The Chatterbox Challenge (offline since 2015, materials can still be found from web archives).[15]

According to Forrester (2015), AI will replace 16 percent of American jobs by the end of the decade.[16] Chatbots have been used in applications such as customer service, sales and product education. However, a study conducted by Narrative Science in 2015 found that 80 percent of their respondents believe AI improves worker performance and creates jobs.[citation needed]

Application

File:Aeromexico chatbot on Facebook Messenger.jpg
Aeromexico airline chatbot running on Facebook Messenger, March 2018

Messaging apps

Many companies' chatbots run on messaging apps like Facebook Messenger (since 2016), WeChat (since 2013),[17] WhatsApp, LiveChat, Kik, Slack, Line, Telegram, or simply via SMS. They are used for B2C customer service, sales and marketing.[18]

In 2016, Facebook Messenger allowed developers to place chatbots on their platform. There were 30,000 bots created for Messenger in the first six months, rising to 100,000 by September 2017. [19]

Since September 2017, this has also been as part of a pilot program on WhatsApp. Airlines KLM and Aeroméxico both announced their participation in the testing;[20][21][22][23] both airlines had previously launched customer services on the Facebook Messenger platform.

The bots usually appear as one of the user's contacts, but can sometimes act as participants in a group chat.

Many banks and insurers, media and e-commerce companies, airlines and hotel chains, retailers, health care providers, government entities and restaurant chains have used chatbots to answer simple questions, increase customer engagement,[24] for promotion, and to offer additional ways to order from them.[25][26]

A 2017 study showed 4% of companies used chatbots.[27] According to a 2016 study, 80% of businesses said they intended to have one by 2020.[28]

As part of company apps and websites

Previous generations of chatbots were present on company websites, e.g. Ask Jenn from Alaska Airlines which debuted in 2008[29] or Expedia's virtual customer service agent which launched in 2011.[29][30] The newer generation of chatbots includes IBM Watson-powered "Rocky", introduced in February 2017 by the New York City-based e-commerce company Rare Carat to provide information to prospective diamond buyers.[31][32]

Company internal platforms

Other companies explore ways they can use chatbots internally, for example for Customer Support, Human Resources, or even in Internet-of-Things (IoT) projects. Overstock.com, for one, has reportedly launched a chatbot named Mila to automate certain simple yet time-consuming processes when requesting for a sick leave.[33] Other large companies such as Lloyds Banking Group, Royal Bank of Scotland, Renault and Citroën are now using automated online assistants instead of call centres with humans to provide a first point of contact. A SaaS chatbot business ecosystem has been steadily growing since the F8 Conference when Zuckerberg unveiled that Messenger would allow chatbots into the app.[34]

Toys

Chatbots have also been incorporated into devices not primarily meant for computing such as toys.[35]

Hello Barbie is an Internet-connected version of the doll that uses a chatbot provided by the company ToyTalk,[36] which previously used the chatbot for a range of smartphone-based characters for children.[37] These characters' behaviors are constrained by a set of rules that in effect emulate a particular character and produce a storyline.[38]

IBM's Watson computer has been used as the basis for chatbot-based educational toys for companies such as CogniToys[35] intended to interact with children for educational purposes.[39]

Chatbot creation

The process of creating a chatbot follows a pattern similar to the development of a web page or a mobile app. It can be divided into Design, Building, Analytics and Maintenance.[40]

Design

The chatbot design is the process that defines the interaction between the user and the chatbot. The chatbot designer will define the chatbot personality, the questions that will be asked to the users, and the overall interaction.[41][42] It can be viewed as a subset of the conversational design. In order to speed up this process, designers can use dedicated chatbot design tools, that allow for immediate preview, team collaboration and video export.[43] An important part of the chatbot design is also centered around user testing. User testing can be performed following the same principles that guide the user testing of graphical interfaces.[44]

Building

The process of building a chatbot can be divided into two main tasks: understanding the user's intent and producing the correct answer. The first task involves understanding the user input. In order to properly understand a user input in a free text form, a Natural Language Processing Engine can be used.[45] The second task may involve different approaches depending on the type of the response that the chatbot will generate.

Analytics

The usage of the chatbot can be monitored in order to spot potential flaws or problems. It can also provide useful insights that can improve the final user experience.[46]

Maintenance

To keep chatbots up to speed with changing company products and services, traditional chatbot development platforms require ongoing maintenance. This can either be in the form of an ongoing service provider or for larger enterprises in the form of an in-house chatbot training team.[47] To eliminate these costs, some startups are experimenting with Artificial Intelligence to develop self-learning chatbots, particularly in Customer Service applications.

Chatbot development platforms

The process of building, testing and deploying chatbots can be done on cloud based chatbot development platforms[48] offered by cloud Platform as a Service (PaaS) providers such as Yekaliva, Oracle Cloud Platform, SnatchBot[49] and IBM Watson.[50][51][52] These cloud platforms provide Natural Language Processing, Artificial Intelligence and Mobile Backend as a Service for chatbot development.

APIs

There are many APIs available for building your own chatbots, such as AARC.[53]

Malicious use

Malicious chatbots are frequently used to fill chat rooms with spam and advertisements, by mimicking human behaviour and conversations or to entice people into revealing personal information, such as bank account numbers. They are commonly found on Yahoo! Messenger, Windows Live Messenger, AOL Instant Messenger and other instant messaging protocols. There has also been a published report of a chatbot used in a fake personal ad on a dating service's website.[54]

See also

Citations

  1. ^ "What is a chatbot?". techtarget.com. Retrieved 30 January 2017.
  2. ^ Mauldin 1994
  3. ^ Orf, Darren. "Google Assistant Is a Mega AI Bot That Wants To Be Absoutely Everywhere".
  4. ^ "The 8 best chatbots of 2016". 21 December 2016.
  5. ^ https://recast.ai/blog/2017-messenger-bot-landscape/
  6. ^ "IRCTC launches AI chatbot Ask Disha to answer user queries". India Today. Retrieved 2018-10-29.
  7. ^ (Turing 1950)
  8. ^ (Weizenbaum 1966, p. 36)
  9. ^ (Weizenbaum 1966, pp. 44–5)
  10. ^ GüzeldereFranchi 1995
  11. ^ Computer History Museum 2006
  12. ^ Sondheim 1997
  13. ^ Network Working Group 1973—Transcript of a session between Parry and Eliza. (This is not the dialogue from the ICCC, which took place October 24–26, 1972, whereas this session is from September 18, 1972.)
  14. ^ www.everything.com 13 November 1999
  15. ^ Template:De icon Chatroboter simulieren Menschen
  16. ^ Template:De icon Hubspot
  17. ^ "China, WeChat, and the Origins of Chatbots – Chatbots Magazine". 12 March 2017. Retrieved 2 July 2018.
  18. ^ Beaver, Laurie (July 2016). The Chatbots Explainer. BI Intelligence.
  19. ^ "Facebook Messenger Hits 100,000 bots". Retrieved 2017-09-22.
  20. ^ "KLM claims airline first with WhatsApp Business Platform".
  21. ^ Staff, Forbes (26 October 2017). "Aeroméxico te atenderá por WhatsApp durante 2018". Retrieved 2 July 2018.
  22. ^ Redacción (27 October 2017). "Podrás hacer 'check in' y consultar tu vuelo con Aeroméxico a través de WhatsApp". Retrieved 2 July 2018 – via Huff Post.
  23. ^ "Building for People, and Now Businesses". WhatsApp.com. Retrieved 2 July 2018.
  24. ^ "She is the company's most effective employee". Nordea News.
  25. ^ "Better believe the bot boom is blowing up big for B2B, B2C businesses". VentureBeat.
  26. ^ "Chatbots Take Education To the Next Level – Chatbot News Daily". Chatbot News Daily. 2016-09-29. Retrieved 2017-06-23.
  27. ^ "The AI Revolution is Underway! – PM360". www.pm360online.com. Retrieved 2 July 2018.
  28. ^ "80% of businesses want chatbots by 2020". Retrieved 2 July 2018.
  29. ^ a b "A Virtual Travel Agent With All the Answers". The New York Times. 4 March 2008.
  30. ^ "Chatbot vendor directory released –". www.hypergridbusiness.com.
  31. ^ "Rare Carat's Watson-powered chatbot will help you put a diamond ring on it". TechCrunch. February 15, 2017.
  32. ^ "10 ways you may have already used IBM Watson". VentureBeat. March 10, 2017.
  33. ^ Greenfield, Rebecca. "Chatbots Are Your Newest, Dumbest Co-Workers". Bloomberg.
  34. ^ "Facebook opens its Messenger platform to chatbots". 12 April 2016.
  35. ^ a b Amy (2015-02-23). "Conversational Toys – The Latest Trend in Speech Technology". Virtual Agent Chat. Retrieved 2016-08-11.
  36. ^ NAGY, EVIE. "USING TOYTALK TECHNOLOGY, NEW HELLO BARBIE WILL HAVE REAL CONVERSATIONS WITH KIDS". Fast Company. Retrieved 18 March 2015.
  37. ^ Oren Jacob, the co-founder and CEO of ToyTalk interviewed on the TV show Triangulation on the TWiT.tv network
  38. ^ "Artificial intelligence script tool".
  39. ^ Takahashi, Dean. "Elemental's smart connected toy taps IBM's Watson supercomputer for its brains". Venture Beat. Retrieved 15 May 2015.
  40. ^ "Awesome chatbots tools".
  41. ^ "How to Design a robust chatbot interaction".
  42. ^ "Principles of bot design".
  43. ^ Implementations include Botsociety botmock and Botframe
  44. ^ "How to perform user testing on your chatbot".
  45. ^ Implementations include Rasa, wit.ai, DialogFlow and Watson
  46. ^ "What are the most common words your bot receives or sends".
  47. ^ "How much it costs to make a chatbot".
  48. ^ Yuan, Michael (2018-02-19). Chatbots: Building Intelligent, Cross-Platform, Messaging Bots. Pearson Education. ISBN 9780134650616.
  49. ^ "These Chatbot Usage Metrics will change your Customer Service Strategy". Retrieved 2018-06-19.
  50. ^ "Oracle launches a chatbot development platform | VentureBeat". venturebeat.com. Retrieved 2017-11-15.
  51. ^ "Oracle Introduces AI-Powered Intelligent Bots to Help Enterprises Engage Customers and Employees". www.oracle.com. Retrieved 2017-11-15.
  52. ^ "Mobile Service | Oracle Cloud". cloud.oracle.com. Retrieved 2017-11-15.
  53. ^ http://aar.center
  54. ^ "From Russia With Love" (PDF). Retrieved 2007-12-09. Psychologist and Scientific American: Mind contributing editor Robert Epstein reports how he was initially fooled by a chatterbot posing as an attractive girl in a personal ad he answered on a dating website. In the ad, the girl portrayed herself as being in Southern California and then soon revealed, in poor English, that she was actually in Russia. He became suspicious after a couple of months of email exchanges, sent her an email test of gibberish, and she still replied in general terms. The dating website is not named. Scientific American: Mind, October–November 2007, page 16–17, "From Russia With Love: How I got fooled (and somewhat humiliated) by a computer". Also available online.

References