Tuesday 20 August 2019

AI vs ML vs DL vs....

We hear so many terms associated with data science nowadays that it's becoming confusing. Also, there are many companies who claim that they have an AI based solution or product to solve your problems. Are they telling the truth? How do you understand what they are talking about? What exactly is the difference between all these terms? Here's an attempt to explain that.

First, let's look at some of the most commonly used terms (reference - Sonix.ai)-

  • Artificial Intelligence (AI) -the broad discipline of creating intelligent machines
  • Machine Learning (ML) -refers to systems that can learn from experience
  • Deep Learning (DL) -refers to systems that learn from experience on large data sets
  • Artificial Neural Networks (ANN) -refers to models of human neural networks that are designed to help computers learn
  • Natural Language Processing (NLP) -refers to systems that can understand language
  • Automated Speech Recognition (ASR) -refers to the use of computer hardware and software-based techniques to identify and process human voice
A good way to understand how they are all interconnected is by looking at this picture below -

The intertwined buzzwords
What is AI?

AI is a broader concept of machines being able to behave like humans would. Human are able to intelligently analyze a lot of variables around them and act accordingly. But, human mind is not just about analysis. It is also about learning based on that analysis and getting better at it. It is about using wisdom to make judgments and act accordingly. AI is about that science. It is that concept.

AI has been around for a while. When we first built computers, we were able to replicate some aspects of human brain based on the understanding at that time. However, as we learnt more and more about our brains, the concept of AI has changed. We have moved on from just replicating increasingly complex calculations to mimicking a human decision making process and intelligent actions based on that. So now, AI is not about just identifying the best driving route based on traffic conditions - it is about building a system that will drive the car like a human would and take decisions along the way, especially in an emergency situation.

What is ML?

ML is a subset of AI. It refers to a system that is able to learn by itself without any human intervention. As you can already see, every AI based solution may need this. However, it is not mandatory (though highly desirable). The more a system learns, the better it is at providing an output.

It is used at many places. When Netflix suggests some movies for you to watch, it is doing so based on what it has learnt from the user experiences and ratings of all of Netflix's users and your personal movie watching history. It can do so based on an insane amount of data available to it and using specific ML algorithms to come up with suggestions. These algorithms are first created by humans and fine-tuned. But once they put into production, they can be auto-fine-tuned based on the newer data that keeps getting generated every minute.

What is DL?

DL is a subset of ML. It refers to ML applied to a very large data set (usually labeled data set). The concepts used in DL are same as ML and everything associated with ML applies to DL as well - the difference being the amount of data being processed. Because of this, DL requires huge amount of processing power.

What is ASR?

ASR refers to the ability of a system to understand the speech and convert it into text. It is a tough ask since every person speaks in a different way, has a different accent, pitch, bass, timbre associated with his/her voice. Because of this very specific nature of ASR, it is more a technological solution than ML or intelligent solution. Having said that, ASR can and usually also uses ML to improve the accuracy of speech to text translation.

What is NLP?

NLP refers to processing of the text (quite often the output of an ASR system) and deriving meaning out of it. Humans tend to use a lot of slang while speaking and hence deriving meaning out of the text that is very contextual is not an easy task for the machine. This is one of the fastest growing (and complex) data science field and all big guns are trying to build the smartest NLP solutions that can then be used for various scenarios.

What is ANN?

ANN is one of the ways ML can be implemented. It refers to a computer system that is designed to work by classifying information like humans brain does. Various machines (often virtual) act as neural network nodes. They are placed in a certain way to start classifying the data and taking decisions based on it. There is also a feedback loop provided so that the outputs of each node can be fine-tuned to improve accuracy automatically. Essentially, the nodes and pathways between the nodes mimic the neural network in human brain - and that's why the name.


The next time you hear someone talking about these terms in relation to their solution/product, think of what exactly the product is and try to understand more about which of these things are being used there. Since AI is the overarching concept, they may not be technically wrong when they use the term in relation with their product. However, it becomes important to know if they are trying to mislead you into thinking that they are providing a truly AI based product or if they are providing a subset of it.

No comments:

Post a Comment