Skip to main content

Greetings, in the World of Chatbots

Imagine a scenario - You are on a website, and on the bottom right you see a chat window. You realize that it is a virtual assistant, some kind of a chatbot. The look of that window tempts you to experiment. You have interacted with various chatbots previously, a kind of a hobby you have developed, and have seen how miserable the chatbots are.

So you start your usual conversation with a Hello. The chatbot replies with “Hello. How can I help you?”.

You think yourself as a grand experimenter. You have heard of the Turing Test, and you feel like testing this bot. You say “Hello” again, expecting a similar reply that you got earlier, but to your surprise you get “Hey you. I guess we have exchanged greetings. How can I help you?”

You are not satisfied, you want to test it further. You say “Hi, what’s up?”. Will the chatbot get irritated, you ask yourself. The chatbot replies “So you want to play the hello game? I am all for it, as long as you don’t get tired.” You get shocked, it sounds real, like a human. You feel there must be a human who is answering all your hellos, how else the chatbot is able to do such a complicated thing. To program conversation even if it deals with greetings is a difficult thing, only AI can do that. You continue your conversation, and continue testing the bot.

You reply “I will like to play this game of hello”. The chatbot takes some time, as if it is thinking, just like a human. You are on your toes, and you get a reply. “Hello! Sorry for replying late, I was reading the internet about various forms of greetings. If you are interested I can greet you in any language on this earth, including tribal.” You are shocked, you feel like this is a dream, one taken from your long list of chatbot fantasies. Looks unreal. You didn’t expect the game of greetings will take this turn. You fall into the trap, and reply “Bonjour”. As of now you think, the chatbot will take some time to reply, as it might have to first process what you said is french, and then use all the translation mechanisms to understand. But you get a quick reply, and that too in french, with a tinge of sarcasm - “répondre à un bonjour, surprised?” As if the bot is reading your thoughts, as if the bot is some kind of psychoanalyst.

You don’t know anymore french, so you give up on the french. You want to try something that the chatbot will fail for sure, like a thought experiment. You are still thinking, the chatbot continues its sarcasm, like it is the other way round, like it is the one who is testing you. “Hello, are we still playing the game, you still there?” Like a trapped gamer, you reply “Am still there, just thinking”. The bot quickly replies “Are you thinking how to break me? Iam good in greetings, I was trained well, and I have all the knowledge that I just acquired from the internet that possibly you don’t have”. And you have no words, you get scared, and close the chat window. You will never know whether there was a human or a chatbot on the other side. You still can’t believe, and you don’t want to test the bot further.

Will you like to test the bot further? You probably would want to, but there is as of now no bot which is capable of doing what the above bot did. The above bot is an example of Artificial General Intelligence (AGI), where it has achieved human intelligence.

Today’s chatbots are still primitive, only able to understand intents of a question, but failing miserably when it comes to understanding the context, and giving appropriate answers by extracting information.

For the above chabot to be truly answering like that, it must be able to do the following things:
  • Natural language understanding
  • Understanding intent of the chat
  • Able to understand the context in which the chat is happening (In the above case, the context was the game of hello)
  • Knowledge extraction
  • Planning and learning
  • Reasoning

AI is slowly maturing, and in the near future you might face such a scenario with a chatbot, that has achieved AGI.

Watch this space to know about how to create your own chatbot. It will be able to answer the basic questions at least.

You can also chat with Cere Labs chatbot on Facebook. It will answer your basic questions regarding Cere Labs. The bot is slowly getting matured, as it continues to learn the conversations that take place on the Facebook page.

P.S: Cere Labs is working towards making a chatbot that will achieve AGI, but hopefully our bot will not be that sarcastic.

Comments

Popular posts from this blog

GPU - The brain of Artificial Intelligence

Machine Learning algorithms require tens and thousands of CPU based servers to train a model, which turns out to be an expensive activity. Machine Learning researchers and engineers are often faced with the problem of running their algorithms fast. Although initially invented for processing graphics in computer games, GPUs today are used in machine learning to perform feature detection from vast amount of unlabeled data. Compared to CPUs, GPUs take far less time to train models that perform classification and prediction. Characteristics of GPUs that make them ideal for machine learning Handle large datasets Needs far less data centre infrastructure Can be specialized for specific machine learning needs Perform vector computations faster than any known processor Designed to perform data parallel computation NVIDIA CUDA GPUs today are used to build deep learning image processing tools for  Adobe Creative Cloud. According to NVIDIA blog future Adobe applicati

Understanding Projection Pursuit Regression

The following article gives an overview of the paper "Projection Pursuit Regression” published by Friedman J. H and Stuetzle W. You will need basic background of Machine Learning and Regression before understanding this article. The algorithms and images are taken from the paper. ( http://www.stat.washington.edu/courses/stat527/s13/readings/FriedmanStuetzle_JASA_1981.pdf )  What is Regression? Regression is a machine learning technology used to predict a response variable given multiple predictor variables or features. The main distinction is that the response to be predicted is any real value and not just any class or cluster name. Hence though similar to Classification in terms of making a prediction, it is largely different given what it’s predicting.  A simple to understand real world problem of regression would be predicting the sale price of a particular house based on it’s square footage, given that we have data of similar houses sold in that area in the past. T

Anomaly Detection based on Prediction - A Step Closer to General Artificial Intelligence

Anomaly detection refers to the problem of finding patterns that do not conform to expected behavior [1]. In the last article "Understanding Neocortex to Create Intelligence" , we explored how applications based on the workings of neocortex create intelligence. Pattern recognition along with prediction makes human brains the ultimate intelligent machines. Prediction help humans to detect anomalies in the environment. Before every action is taken, neocortex predicts the outcome. If there is a deviation from the expected outcome, neocortex detects anomalies, and will take necessary steps to handle them. A system which claims to be intelligent, should have anomaly detection in place. Recent findings using research on neocortex have made it possible to create applications that does anomaly detection. Numenta’s NuPIC using Hierarchical Temporal Memory (HTM) framework is able to do inference and prediction, and hence anomaly detection. HTM accurately predicts anomalies in real