AI, or artificial intelligence, is a branch of computer science aiming to create intelligence in machines. On the other hand, machine learning is a branch of computer science (data science) that seeks to give machines the ability to learn patterns from data and make predictions. We take a look at the major differences between artificial intelligence and machine learning.
AI is commonly divided into two main classes - “weak AI” and “strong AI.”
Weak AI encompasses systems that are designed to accomplish specific tasks and do not have general capabilities. While these systems are very limited in their ability to perform different tasks, they can still out-perform humans in specific tasks. An example is Google’s AlphaGo, which surprisingly defeated a renowned Go player, Lee Sedol, using AI techniques like artificial neural networks and reinforcement learning.
Strong AI encompasses systems that can perform intellectual tasks that would typically require human intelligence or systems that resemble human intelligence in some or all aspects. This level of machine intelligence is challenging to achieve, and there is no generally accepted definition of what constitutes "strong" artificial intelligence. Systems such as this are still years away from reality, but duplicating or exceeding the power of the human brain is an ultimate goal for those working in the field of strong artificial intelligence.
Machine learning is a subset of AI, but it's the one that we most often hear about because it's currently generating the most excitement in the industry as it unlocks a wide variety of business applications. Other types of artificial intelligence don't use machine learning as their primary technology, such as genetic algorithms and swarm optimization algorithms (among others).
Whether or not superintelligence is possible is one of the most hotly debated in the field of AI.
Most people in the field believe that we will have a sentient AI at some point in the future, and even within our lifetimes. However, some believe the technology is fundamentally impossible.
A sentient AI would go far beyond Amazon’s Alexa or Apple's Siri - it would be a computer system that can express thoughts, emotions, and other cognitive states. The feasibility of superintelligence, a highly intelligent sentient AI, is a big question with no clear answer. Still, there are many reasons to believe that such a system is possible – and even likely to exist at some point in the future.
One of the major arguments for AI systems achieving human-level intelligence is that they are endlessly getting better at pattern matching. The more they are exposed to big data sets – and the more complex those data sets are – the smarter they become, and data continues to grow exponentially. As a result, AI systems today can perform tasks like creating art, driving cars, and coding. They can also learn new tasks as they are exposed to them more quickly than was possible before.
There are no foreseeable limits in AI capabilities, as machine learning advancements and deep learning algorithms continue to become more accurate with larger and larger datasets, such as OpenAI’s GPT-3, which is made of 175 billion parameters. This model leverages deep learning and natural language processing and can write code, poetry, essays, song lyrics, and many more use cases, all of which are tasks that were once thought impossible for AI to accomplish.
While machine learning is a subset of artificial intelligence, machine learning can further be broken down into three more categories: Supervised learning, reinforcement learning, and unsupervised learning.
In supervised learning, a labeled data is required for the training process. For supervised learning to work, there must be a label for each decision in order for the machine to update its decision-making.
There are two subtypes of supervised learning algorithms: classification and regression. Classification algorithms are used when you have a group of items that should be assigned labels; whereas regression algorithms are used when you want to create a “line of best fit” (which can have any number of parameters) for a system with input and output variables, such as predicting a house's value based on its size and number of bedrooms.
Reinforcement learning rewards or punishes the machine based on how well it performs when it makes predictions. Reinforcement learning is most often used in robotics when the machine needs to learn how to navigate its environment by trial and error.
In reinforcement learning, there are two types of rewards: positive reinforcement and negative reinforcement. Positive reinforcement rewards the machine when it performs well, while negative reinforcement punishes the machine when it performs poorly.
Unsupervised learning analyzes data and determines correlations between different variables independently without the guidance of a data scientist. This usually requires more processing power than supervised or reinforcement learning.
While machine learning is the most common form of AI, it’s not a silver bullet that can perfectly solve any problem. In particular, machine learning faces challenges with overfitting and a lack of causal reasoning.
One of the most significant challenges in machine learning is overfitting, where the model can learn how to perform well on the data it has been trained on, without generalizing its performance to new data. Machines trained to recognize dogs in photos, for instance, might do great at labeling individual pictures of dogs with high accuracy but may fail at recognizing dogs in photos of other animals or photos with a mixture of dogs and other animals.
Another problem with machine learning is one of causation, or more precisely, a lack thereof. Because machine learning models are built based on correlations between features and labels in the training set, they cannot infer causality. For example, researchers found that people who watch more TV are more likely to be diagnosed with clinical depression. It’s unknown whether this is a causal relationship or not, and machine learning wouldn’t be able to tell you.
AI and machine learning are often used interchangeably, but they are different concepts. The most significant difference between artificial intelligence and machine learning is that AI is a broader field of study. Machine learning is a subset of AI research - a specific method of teaching computers to recognize patterns in data that can be applied to many real-world problems. It’s important to remember that machine learning is just one sub-field of AI; there are many others.