A Survey on Chatbots

DOI : 10.17577/IJERTCONV5IS19022

Download Full-Text PDF Cite this Publication

Text Only Version

A Survey on Chatbots

A Brief Analysis of Chatbots

Ayush Kumar Pooja Rajesh Chellani

Department of Computer Science and Engineering Department of Computer Science and Engineering SRM University SRM University

Chennai, India Chennai, India

Abstract A chatbot is a computer program aims to make a conversation between both human and machine. The chatbot can also act as a service to be used in various platforms such as messaging apps and virtual assistants. The chatbot has evolved a lot in decades starting from an amusement to performing serious tasks.A lot of design factors are to be kept in mind while constructing a chatbot in order to make it user friendly and accurate. A chatbot can be classified into various types based on its domain, model and conversation type. The chatbot technology con- tinues to face a wide variety of challenges and has to strive to fulfil the expectations.

KeywordsChatbot; Virtual assistant; human-machine inter- action;

  1. INTRODUCTION

    A chatbot is a service, powered by rules and sometimes artifi- cial intelligence, that you interact with via a chat interface. A chatbot can be deployed on various platforms such as mobile apps, web apps, messaging apps, personal assistant and what not. Its job to provide human like interaction and assistance to the user. The best chatbot in the world would be one in which the user would not be able to differentiate it from an actual human being. A chatbot can interact with users in vari- ous formats such as text, speech and actions. Chatbots is one of the hottest topics out there. Tech giants like Microsoft, Am- azon, Google, Facebook have been competing to roll out bet- ter chatbots everyday.

  2. HISTORY

    The history of chatbots starts from the time when the humans felt the need to interact with machines as they do with hu- mans. Back in 1950, the pioneering British computer scientist Alan Turing published his famous article Computing Machin- ery and Intelligence: the revolutionary proposal behind it was the so called Turing Test, a parameter for intelligence. This criterion depends on the ability of a computer program to im- personate a human and its behaviour in a real-time conversa- tion with a human interlocutor, with the goal of convincing the human into thinking that he is faced with another person. Chatbots began as a source of amusement but it soon found its application in commercial areas. Since then, various people have been trying to build chatbots with human like capabili- ties.

    The first attempt into this was ELIZA(1966), which was a natural language processing computer program which used pattern matching to generate responses based on the immedi- ate user input[1]. ALICE (1995) Standing for Artificial Lin- guistic Internet Computer Entity, it is a natural language pro- cessing chatterbot[2] inspired by Joseph Weizenbaum's classical ELIZA program. However, the program was unable to pass the Turing test, as even the casual user will often ex- pose its mechanistic aspects in short conversations.

    Then came Smarterchild(2001), which was distributed across global instant messaging and SMS networks.

    Jabberwacky(2005) learns new responses and context based on real-time user interactions, rather than being driven from a static database.

    In 2016, Facebook launched a Messenger platform which al- lows developers to create bots that can interact with Facebook users.

    During the same time, Microsoft released an artificially intel- ligent chatbot named Tay which was shut down when it began to post offensive tweets through its Twitter account.

    Today, we have IBM Watson, Apples Siri, Google Now, Amazons Alexa and Microsofts Cortana which shaped the way we look at todays chatbots.

    In todays world, chatbots are all around us, ranging from our devices to smart homes and what not. Chatbots help users to interact with the machine world in a better and more intuitive way. In earlier days, there was no graphical representation for human-machine interaction. Now, we cant imagine machines with a graphical user interface. In the same way, chatbots is the next milestone in human-machine interaction.

  3. CLASSIFICATION There are three basis of classification of chatbots

    1. First classification is based on the type of conversation- Short-Text conversation chatbot and Long-Text conversa- tions chatbot [3]. Short-Text conversations chatbot are based on creating a single response from a single input. For example, the chatbot receives a specific question which it replies with specific response. Long-Text Con- versations chatbot are based on managing long conversa- tion threads with multiple threads. Customer support con- versations are generally of this type.

    2. Second classification is based on the domain type- Open Domain chatbot and Closed Domain chatbot[4]. Open Domain Chatbots dont really have a well defined goal or

      direction. They can cover a wide variety of worldly top- ics. Conversations on Twitter or Reddit are of this type. Closed Domain Chatbots are limited to a certain space of inputs and responses. They have a certain direction and goal to achieve. Shopping assistants and customer support bots are good examples of closed domain chatbots.

    3. Third classification is based on the type of model on which the chatbot is based upon- Retrieval based chatbots and Generation based chatbots [5]. Retrieval based chat- bots use of large database of predefined responses based on the input and context. These type of bots dont make any grammatical mistakes but their responses are limited.

    Generation based chatbots generate new responses from scratch. These bots are more human like but are harder to train.

  4. DESIGN ASPECTS

    1. Knowledge Base : The knowledge base means the data, information which should be their in chatbot. The knowledge is of two types: Generalised Infor- mation and Business Specialised Information. The Basic knowledge is the information about the bot ex- ample : " What's your name?", "Who created you?", "What's the weather?" Etc. The Business- Specialised information is the information related to product or service information.

    2. Visual Look of the Bot: Many times, we judge a book by its cover. So the visual look of the bot is an important factor in chatbot designing [5]. The image should be given to a chatbot so that it attracts user to chat with the bot. It increases the interest chatbot and they feel that are talking to a human only. A chatbot can have a video sequencing look of a person or a cartoon character.

    3. Form of Implementation on website: In order to facil- itate user navigation on websites, Chatbots are often used as virtual assistant. Virtual assistants appear in the form of floating window, a built-in window, and a pull-out side tab. These forms help the chatbot buyers to easily facilitate these chatbot on their websites. The best combination used is built-in window and pull-out side tab for the implementation of chatbot on the website.

    4. Speech Synthesis Unit: The conversion of text to speech module is one of the important factor of de- signing the bot. Usually the voiceless chatbot does not gain the trust of the user. Different voices like conversational agents voice or human voice can be used with speech synthesised unit.

    5. Presentation of knowledge and additional functionali- ties by chatbots: The presentation in which the chat- bot tells the information to the user is the most im- portant. The user don't like typing manually so thechatbot sends the embedded links of the pages which user wants and user can easily click on it and get nav- igated to the page. The Help and Info button are also present which guides the user in better way and makes it easy for the user it.

    6. Conversational Abilities, Language Skills and Con- text Sensitiveness: The conversational abilities of the chatbot is basically how well the chatbot is able to converse with the user. A good chatbot should not be prompted by the user, it should be able to remember the user's previous conversation so that it can reply in the context of the user query. It should have good language skills means it should be able to take com- plex input from user, if it does not understand user input, it should ask for clarifications and give some suggestions.

    7. Personality Traits: Chatbot should have a rich per- sonality. It should have some emotions so that users believe that it is not interacting with the computer program. The users should be able to trust the chatbot

    8. Personalisation options:The chatbot should be cus- tomisable by the user I.e. The users should get the option of changing the gender of the Chatbot, the

      chatbot should remember the username, the user should be able to view the older conversation, The chatbot should remember the history of webpages viewed by the user. [7]

    9. Emergency Responses in Unexpected Situations: Sometimes users try to test the patience of the chatbot because of that they pass derogatory statements and sometimes mentally abuse the chatbot so in that case chat bot should be able to respond properly. It should give diplomatic and smart replies to the user. [8]

  5. USES

    The chatbot is evolving technology these days. Every business want to stand out, have the best customer ser- vice, these chatbots are being implemented in almost eve- ry field. As the technology is evolving day by day, the humans want things that makes work easy. That is what the chatbot do.

    The following uses of the chatbot

    1. The chatbot are being used in E-commerce and all other websites. In E-commerce they help user to buy the products easily by displaying the products images in form of cards.

    2. The chatbot can act as a guide on the website which gives the user the guidance of the website.

    3. The chatbot can be used to answer the frequently an- swered questions.

    4. The chatbot can act as a tutor who can teaches the student through the tutorial and takes the exam too

    5. The chatbot can act as a doctor on healthcare web- sites, helping the user with their medical issues.

    6. The chatbot can also suggest the user the recent trends in fashion and can guide what to wear with each dress, in short it can fashion assistant.

    7. It can book the movie ticket, give review for the movie, tell genre etc. It is the movie chatbot

    8. It helps in social issues. The people can raise their voice for the issues going around the globe through the bot and can interact with the same kind of people having same opinion.

    9. It can act as a weather forecast also and can help user by telling the weather forecast.

    10. It can book flight, train, bus tickets for the user by be- ing the travelling bot.

    11. The money manager chatbot. It helps the user to manage its financial expenses.

    12. It can help order food from different restaurants by displaying it on one program.

    13. It can help in sports. The bot can give the knowledge and information about the variety of sports

    14. It can be fitness bot by training different exercises and yoga.

    15. The news chatbot displays the important news and the news of the user entertainment.

    16. It is used in media and entertainment industry.

  6. CHALLENGES

    • Spellchecking and Content Formatting- The user in- put must be checked for spelling mistakes and should be converted into certain format such as uppercase or lowercase before analysing it in order to make the re- sponses appropriate.

    • Punctuation- The punctuation marks such as question marks or exclamation marks play an important role in generating more human like responses.

    • Library of Responses or Training Corpus- The library of responses in case of retrieval based chatbots or the training corpus in generation based chatbots isnt ex- haustive but should be large enough to produce varie- ty of responses.

    • Sensitive Information- A chatbot which is interacting with many users should not reveal sensitive infor- mation of one user to another user. This happens generally in the of generation based

    • chatbots which produces responses based on previous chats.

    • Grammatical Rules- The response generated by the chatbot should be grammatically correct and free from errors.

    • Diverse Responses- The chatbot should be able to produce a wide variety of responses for same kind of inputs in order to make more human like interaction.

    • Coherent Personality- The chatbot should maintain a certain self details consistent even if they are asked many times.

REFERENCES

  1. W, Joseph. "ELIZA—a Computer program for the study of nat- ural language communication between man and machine." Communications of the ACM 9.1 (1966): 36-45. Print.

  2. Kimura, Masaomi. "A Proposal of topic map based chatterbot for non-English natural language input." Procedia Computer Science 60 (2015): 841-49. Print.

  3. Mcintire, John P., Lindsey K. Mcintire, and Paul R. Havig. "Methods for chatbot detection in distributed text-based com- munications." 2010 International Symposium on Collaborative Technologies and Systems (2010). Print.

  4. Groetsch, Eberhard, Alfredo Pina, Roman Balandin, Andre Barthel, and Maximilian Hegwein. "An educational talking toy based on an Enhanced Chatbot." Proceedings of the 7th Interna- tional Conference on Computer Supported Education (2015). Print.

  5. Lotze, Netaya. "Chatbots." (2016). Print.

  6. "Smart chatbot adds Intelligence to detective Game." New Sci- entist 204.2739 (2009): 11. Print.

  7. Tatai, Gábor, Annamária Csordás, Árpád Kiss, Attila Szaló, and László Laufer. "Happy chatbot, happy user." Intelligent Virtual Agents Lecture Notes in Computer Science (2003): 5-12. Print.

  8. Chatbot, an artificially intelligent microcontroller." Ac- cessScience. Print.

Leave a Reply