Can Machine Learning Use Knowledge instead of Data? Deep Cloning vs Deep Learning

ge2

Machine Learning (ML) field is defined by most people to be exclusively a field of data science, which is incorrect in principle. The main goal is to make computers perform cognitive skills similar to human brain and to immitate how human brain learns and thinks. Why use data only? Isn’t most of our learnings based on knowledge consumption?

Human brain learns mostly from knowledge, not from data!

As a result, we need machine learning methods that use knowledge directly. This area of research has not been explored as much as its data-driven counterpart (deep learning) because of the challenge of Knowledge Representation (KR) and the difficulty of computerized ontology creation.

KR methods such as semantic nets and logico-linguistic modeling have a long history of R&D using static/given knowledge but not in the context of “learning”. So, the question is how can we extend KR methods into a “learning” method? This brings us to the new idea of deep cloning where KR is molded into a neural-network-like structure poised for learning by reading.

Can Computers Learn by Reading?

reading

Knowledge-based learning methods make it possible for computers to learn by reading similar to how we educate ourselves. Once a deep cloning system is set, then a computer can start reading books (text) to learn a subject and answer questions about it. The trade off is between the difficulty of ontological (knowledge-based) learning versus the advantages of independence from training large data (corpus) and dealing with issues like convergence and generalization.

Advantages of Knowledge-based Learning
There are a number of advantages of this approach in comparison to data-driven methods as outlined below:

  • One-shot Machine Learning: Since knowledge does not require a supervised reference point, learning becomes one-shot machine learning devoid of convergence problems encountered in deep learning.
  • Not Stuck in the Past: Data-driven models require data collected from the past experiences. This makes them vulnerable in application to new things (i.e., new car, new plane, new drug, new house, new neighborhood, new disaster.) Knowledge-based systems are not biased by the past, and can employ new knowledge immediately.
  • Knowledge is Less Limited than Data: Availability and abundance of data do not guarantee its completeness, and data can still be limited in explain the process it comes from. Weather prediction is a good example. Knowledge, on the other hand, represents the best data experience available.

Fundamental Differences
In processing natural language and representing knowledge (after reading a text), deep cloning network (shown on the left) is comprised of layers with different objectives and different neuron functions. In contrast, deep learning (shown on the right) is a homogenous architecture of neurons dedicated to minimize the error at the output in a supervised mode of learning. Despite variations of deep learning, no neuron activity is designated for any linguistic role.

ge20

Knowledge representation on the left can be a one-shot process using only the text of the knowledge whereas learning on the right requires long training cycles using corpus way larger than what is needed on the left.

Answering Questions

6Image6

Knowledge-based machine learning can answer questions from the content it learned with utmost precision using the ontological connections shown in the network picture above. Shown aboveis a hypothetical case, where a question presented to the network finds its most relevant answer using those connections. In case of partial connections, the network puts more emphasis on target, event, and instrument (in this order) and produces answers with an accuracy score. Based on the type of application, a threshold can be set to declare “no answer” if the best scoring sentence is below the threshold. With such a capability, the chatbot becomes self-aware of its performance, and can report how well it did in answering questions. This can be further expanded to social learning where chatbots can ask for feedback to learn how to answer particular questions.

Knowledge Breeding

8Image8

More impressive than answering questions, deep cloning machine learning can breed new knowledge from the content it learned as shown on the right. This is logic resolution using existing knowledge to produce possible new knowledge using the ontological connections. Obviously, breeding new knowledge is one of the most exciting aspects of learning algorithms that are not as straight forward as it looks when using data-driven models such as deep learning. One of the advantages of knowledge-driven machine learning is that the “new knowledge” is transparent (can be verified by human inspection) whereas the same cannot be said for data-driven deep learning.

__________

This article is brought to you by exClone, a chatbot technology provider.

Chat with Vera about exClone.

Try free (no cc required) of our Cloning Platform via Linkedin access.

Join CHATBOTS group in linkedin.

You can follow exClone in Facebook, and in LinkedIn.

__________

#chatbot #chatbots #AI #artificialintelligence #ConversationalAI #Virtualassistants #bots #machinelearning #NLP #DL #deeplearning #deepcloning

How I made Abraham Lincoln CHATBOT in Less Than 10 Minutes

abe3

In our quest for turning static knowledge (documents) into interactive knowledge (chatbots) via the chatbot Platform, we have experimented creating a chatbot from scratch to completion. The main question was, how long would it take? We first downloaded Lincoln’s content from Wikipedia (16,000+ words), cleaned the content, made editorial changes, and curated some images. Then, it took less than 10 minutes to create a fully functional chatbot through the platform. Its one-shot machine learning technology (learning by reading) took less than 1 minute, and the previous 9 minutes were spent on entering the content into the platform. You can test this chatbot at this link and examine how it was developed.

It is a fully functional chatbot with short-term memory, answering impromptu questions any time, topical suggestions, detecting user behavior, and providing infinite speech. Its knowledge is limited to what the historians said as compiled in the Wikipedia page.

WHY IS THIS IMPORTANT?

For chatbots to spread and flourish in the future depends on how quickly they can be developed. This would mean development by editorial effort rather than by coding effort. In other words, chatbot platforms should only require content curation and selecting dialogue features. Everything else should be automated underneath (invisible to the developer), including machine learning and NLP capabilities.

Developers of chatbots in the future will be the writers not the computer programmers.

Current platforms offered by big companies (Microsoft Bot Framework, IBM-Watson, Amazon-Lex, Google API, and Facebook Messenger Platform) all require coding skills and/or AI experience. Obviously, developing the same chatbot for Abraham Lincoln would take much longer than 10 minutes when hands-on AI skills and coding are involved.

Considering the document stockpiles of enterprises, a quick and easy conversion to chatbots can be valuable for training, help desk, and other vital operations.

EDUCATIONAL CHATBOTS ARE HERE

The second reason for this initiative was to assess the value proposition of chatbots for the education sector. Here are the top 6 reasons why chatbots (conversational AI) will be inevitable tools for education:

  1. Control: Interactive content gives students much more control over what they want to focus on.
  2. Fun: Talking/messaging/chatting is always more fun than just reading.
  3. Ease: Use of small screen devices are ideal fit for chatbots which add to their educational role.
  4. New Teaching Methods: Chatbots can be a great summarization tool offering students main points to remember and option to dive deeper. Various new teaching strategies can be implemented.
  5. Creativity: Creation of chatbots can also be an educational experience.
  6. Feedback: Conversational analytics obtainable from chatbot interactions provide valuable clues to teachers as to how students learn, or fail to learn.

There is no doubt that one of the most active areas of conversational AI will be education. We will report how Abraham Lincoln chatbot was received in a follow up article.

——- FOLLOW US ———-

For exClone’s Chatbot Platform, click here for free trial via LinkedIn access.

Join our CHATBOTS linkedin group

Follow exClone in Linkedin or on Facebook

Chatbots Obey the Two Principles of the Human Brain: (1) Laziness, (2) Stimulus Junkie

Let’s start with the laziness aspect. If I flash two pictures in front of your eyes in a split second, you will recognize one picture instantly, and you will have no clue of the other. Guess which one is which?

For evolutionary reasons, the human brain’s cognitive capacity is largely reserved for image recognition to detect dangers instantly. Obviously, a tiger would not send you a text message before attacking; therefore, “reading” is not a biological priority. Since humans started to read only for a few thousand years, we are not yet evolved to balance the picture above. As a result, “reading” is a painful and tiresome activity. We all know this from school days. Hence the saying “a picture is worth thousand words.”

Now the same comparison can be made with these two images. The image replaced by tiger is still not as easily recognizable, however, it is much easy on the eye. And the most importantly, it promotes focus that is one screen, one place, one single action for interaction. The reason for messaging platforms to be so widespread and popular is this basic principle of FOCUS that plays into the hands of a lazy brain. Probably, half of the messaging activity includes pictures and videos, satisfying the hunger of a lazy brain through this focused interaction.

The second principle is that the human brain is a STIMULUS junkie. In a boring environment, a human brain will always steer toward something more exciting. Curiosity and learning have strong ties to the evolutionary instincts of survival. It is “in our nature.” Stimuli can now be delivered instantly by mobile devices. Chatting/texting with a friend on a mobile phone while socializing with others has recently become a widely acceptable form of social interaction. Everybody silently agrees that we all need to be stimulated even during the short, dull moments of our social gathering. It may actually improve our social relationships since we no longer have to endure boredom when we get together.


If people have already chosen chat/text as one of the most precious priorities in their lives, then why not use the same tool (Chatbots) to interact with computers, databases, websites, machines, and even with books?


That is the point of departure of this new wave of realization across the tech world. The only problem, though, is that chatbots are not as easy to develop as many people assume so. It requires the culmination and curation of machine learning, natural language processing, and the psychology of human dialogue. These are not easy skills to deploy, and the market will eventually filter out its natural selection of the fittest. Chatbots are here to stay and occupy our lives in the next decades to come.