How many of you get frustrated while shopping ?Looking for something but not able to find it. How about Finding the right item via "Conversation" ?Not with humans but a service that stays with you all throughout ? Is this what you are looking for ? If your answer is yes ,then welcome to the world of Chatbots .
Chatbots are software programs , that are meant for interaction
between a human and machine in the best possible natural manner i.e. with the
use of natural language . So, basically a bot with intelligent quotient as good
as a human qualifies to be called as good Chatbot , so that it simulates the
responses that would generally be given while interacting with a human . For a Chatbot to qualify as a intelligent chatbot it has to pass through "Turing test". Turing test involves the conversation with judges and this
conversation goes as long as 5 minutes .All those who generate 30% correct answers pass the test .
Combination of Machine Learning
Techniques , Artificial Intelligence , Deep learning , Neural networks and
Natural Language Processsing have made chatbots realistic.
Chatbots are already a part of many
messenger platforms such as Facebook messenger ,etc. Google assistants also
make use of chatbots . Weather bots ,Grocery bot ,news bot ,are already a part
of our lives and have received a heartily welcome .
Flight Bot
What is the structure of a Chatbot ?
In general all parsers have three major components. A parser to understand the human input , knowledge for processing this input and replying back in a natural manner , so that it gives the feel as
if a human is replying .
What models can
be used for Building a chatbot ?
1) Retrieval Based model –
This model picks up a response from the repository based upon some heuristics. Rule based , expression matching and machine learning classifiers are few in the list .The response, finally generated by the chatbot is directly picked from the repository and goes as it is without any modification and is grammatically correct .ELIZA and A.L.I.C.E. are few examples of chatbots that were developed long back and use retrieval based model by using pattern matching techniques .They, don’t have intelligence embedded in them .
A.L.I.C.E archtitecture
2) Generative Based Model –
In this model , an all together new
response is generated from scratch using Machine Learning , Deep Learning and
NLP techniques .NLP provides a way of understanding a input given in any
language and then responding back accordingly .
For such models the very generic approach
that is used is , as soon as a user submits a query to the chatbot , the query
is forwarded to a Natural language processing Engine . With the help of NLP,
entities are identified and then relevant data is retrieved. Once we get the
data that has to returned as a response to the user, again NLP comes into
picture which results in formation of proper response which can be returned
back to the user.
Microsoft’s Tay is an example of chatbot using generative model .
Entity Extraction Intent Recognition
Does a Bot Need Natural Language Processing?
The biggest challenge that Chatbot’s face today is understanding
what the user is actually trying to say. This is where Natural Language
Processing comes into picture. Conventionally, they used to match against
keywords and return a response. The NLP segment enables the computer to
decipher the query from the user end, comprehend what's being stated, process
everything and return response back like normally humans do .
NLP is really helpful and is able to
provide solutions for some of the really hard to solve problems that chatbots
are facing today . To quote a few , separation of words into morphemes
depending upon the language . Understanding the semantics of the sentences is
another place where natural language understanding and natural language
generation comes into picture .Understanding the structure of text which varies
language wise and analysing users sentiment are few others in the list .
What are
the Challenges faced by ChatBots Today ?
1)Incorporating Context – Understanding the user’s intent is the greatest challenge . For eg
. a user queried “What are the best places for eating ?” .In this case the bot
should be able to respond back with the name of the best hotels rather than
returning the name of places . So , this adult intelligence needs to be
embedded in chatbots.
Recently , microsoft’s bot TAY was put publically for one day user
interaction . Unfortunately , it gave outrageous comments , and out of
context replies and they had to finally take it offline . One of the replies from Tay -
Asked “Do you support genocide?”
Tay's reply “i do indeed.”
2) Understanding
User’s way of texting – Everyone has a unique texting style . Some
like to be precise and concise framing short sentences while on the other hand
some people prefer writing long sentences , while some will use multiple short
sentences . So , now it gets difficult for the chat bot to understand user’s
intention . To quote a few , how long it should wait before generating a
response or how many chats to be combined together to understand the request
and then generate a response .
3) Understanding Human Mood – We humans keep on changing our mood frequently . Their may
be instances when user requests the chatbot to do something and all of a
sudden because of change in mood request it to do something else .In such
scenarios , the user might expect the chatbot to give some sort of recommendation
or some sort of convincing . Now , this is only and only possible when the
chatbot understands the user well. Analysis of User Behavioural data can play a
great role handling this .
4) Understanding
kind of language one uses – Each human has a unique style and so
differs the usage of slangs , cool words that keep coining everyday , use of
abbreviations , etc. This varies from person to person and this a great
challenge .
5)Generating consistent Answers- Consistent answers should be produced for
queries which are semantically similar . Consider the following two queries -
“How old are you ?”
“What is your age ?”
The response generated from both the queries should be same . But ,
this is difficult to achieve considering present scenario. Majority systems are trained
to return linguistically correct answer but not semantically consistent .
References
:
-
Vibhor
Sharma, Monika Goyal , Drishti Mali , An Intelligent Behaviour Shown by Chatbot System In International Journal of New Technology and
Research (IJNTR)
-
Aditya
Deshpande1, Alisha Shahane 2, Darshana Gadre3, Mrunmayi Deshpande4, Prof. Dr.
Prachi M. Joshi, A survey of various chatbot implementation techniques In International
Journal of Computer Engineering and Applications
-
Iulian V. Serban, Alessandro Sordoni,Yoshua Bengio,1 Aaron
Courville, Joelle Pineau , Building End-to-End Dialogue Systems Using
Generative Hierarchical Neural Network Models In Proceedings of the Thirtieth
AAAI Conference on Artificial Intelligence (AAAI-16)
This article is mind blowing I read it and enjoyed. I always find this type of article to learn and gather knowledge.
ReplyDeleteChatbot Company in Dubai
Chatbot Companies in Dubai
Chatbot Companies
AI Chatbot Development
Chatbot Companies in UAE
Chatbot Company in Chennai
Chatbot Company in Mumbai
Chatbot Company in Delhi
Chatbot Development Companies