AI vs. Machine Learning vs. Deep Learning

Irene Yu
5 min readMay 31, 2024

--

Know the difference between AI, machine learning, and deep learning.

This essay is featured in May 2024’s issue of the Skiplevel: Tech for Product Managers newsletter. Every month I share a Tech Term You Should Know (TTYSK) and an essay to level up your technical chops and get the most out of dev teams. Subscribe now.

AI vs. ML vs. Deep Learning

Flashback to March 2016 when AlphaGo, an AI developed by DeepMind, defeated the world champion Go player, Lee Sedol. This was a pretty significant milestone considering Go is a highly complex board game that’s far more intricate than chess with more possible moves than there are atoms in the universe. Wow.

AlphaGo’s win was a big moment for AI that received considerable media attention. Buzzwords like AI, machine learning, and deep learning were all used to describe how AlphaGo achieved its feat. Most of us didn’t understand those words then, and let’s be honest–most of us don’t now.

Since AlphaGo’s win and most notably, since ChatGPT’s launch in November 2022, AI has now become part of many of our daily lives. In fact, AI will likely play an even larger part in our future. This makes it even more important to get our buzzwords right.

To start, we need to differentiate between AI vs. Machine Learning vs. Deep Learning. You can visualize the three as subsets of each other: Deep Learning is a subset of Machine Learning that’s a subset of AI.

A good analogy is to imagine AI as transportation encompassing all methods of moving people (e.g. cars, trains, bicycles). Machine learning would be like cars, and deep learning would be electric cars.

Artificial Intelligence as the broader concept

AI, short for artificial intelligence, is an umbrella terminology for all technologies that has the ability to simulate or mimic cognitive tasks that typically require human intelligence such as visual perception, speech recognition, decision-making, and language translation.

For example, language translation traditionally requires skilled human translators capable of understanding the context and nuances of the source language, but can now be performed efficiently by AI like Google Translate.

The concept of AI has actually been around for decades with early theories and experiments dating back to the mid-20th century. All computers since the beginning of computing are artificially intelligent on some level capable of doing simple computations, like mathematics, that previously could only be done by humans. However, the speed, abilities, and performance capacities of computers have made a quantum leap in the last few decades capable of advanced cognitive tasks with the potential to transform various aspects of society today.

TL;DR: Machine Learning

ML, short for machine learning, is a subset of artificial intelligence that develops programs capable of identifying data and patterns through learning from a large dataset of structured or labelled data; the most popular use case being image recognition.

For example, ML models can be trained to identify whether a dog is depicted in an image. These models learn through being fed millions of images labeled as containing dogs. Eventually, the models begin to recognize patterns and identify whether an image contains a dogs.

Machine Learning (ML) vs. Deep Learning (DL)

ML and DL both focus on developing programs capable of identifying data and patterns but they differ in how they process data and how they extract and identify features.

In traditional machine learning, a human person manually identifies features and labels data before feeding it to the ML model. From there, the ML models rely on straight-forward algorithms such as decision trees to learn to identify patterns. Deep learning models are different in that they’re designed to mimic the way the human brain processes information using artificial neural networks known as “deep neural networks” that doesn’t require a human for manual feature extraction.

Let’s take our prior example of identifying whether a dog is present in an image. Humans training an ML model would feed it with images labelled ‘has dog’ and ‘doesn’t have dog’ and give it identifying car features like color, edges, shapes, etc in a process known as “feature extraction”. In a deep learning model, a large dataset of labeled images is still required, but the process of feature extraction is handled automatically by deep neural networks.

Algorithm

  • Machine Learning — Decision trees, support vector machines, k-nearest neighbors
  • Deep Learning — Deep neural networks

Feature Extraction

  • Machine Learning — Manually done by a human
  • Deep Learning — Done by algorithm

Datasets & computational resources

  • Machine Learning — Requires less datasets and computational resources
  • Deep Learning — Complexity of neural networks require more datasets and higher computational resources

Real-World Applications

1. Machine Learning (ML) applications

  • Email Spam Filtering (e.g. Automatically detecting and filtering spam emails using algorithms trained on labeled data)
  • Customer Service Chatbots (e.g. Providing automated responses to customer inquiries based on learned patterns)
  • Speech Recognition (e.g. Transcribing spoken language into text in apps like Google Voice)
  • Credit Scoring (e.g. Assessing the creditworthiness of loan applicants through predictive modeling)

2. Deep Learning (DL) applications

  • Image Recognition (e.g. Identifying objects, faces, and scenes in photos and video)
  • Natural Language Processing (NLP) (e.g. Google Translate)
  • Autonomous Driving (e.g. Tesla, Cruise)
  • Voice Assistants (e.g. Alexa, Siri)

3. Artificial Intelligence (AI) applications

Encompasses all ML and DL applications above and anything else that performs tasks previously requiring human intelligence, including:

  • Rule-Based Chatbots: Simple AI chatbots that operate based on predefined rules and decision trees, rather than learning from data.
  • Automated Decision-Making Systems: AI systems used in legal or administrative settings to apply rules and regulations without learning from data (e.g., tax preparation software).
  • Game AI: Non-learning AI used in video games to control non-player characters (NPCs) using scripted behaviors and predefined rules.

If you like what you read, make sure to ❤ it, share it, and leave any thoughts in the comments!

Follow and subscribe for more technical tips!

Want to feel more confident in your technical skills?

Become more technical in just 5 weeks, without learning to code! We also train teams! Find out more at skiplevel.co/teams and book a call with me to get started.

Skiplevel is a program that helps product managers and teams become more technical without learning how to code.

Learn more about the Skiplevel program ⟶

Connect with Irene on LinkedIn and Twitter and follow Skiplevel on LinkedIn, Twitter, and Instagram.

--

--

Irene Yu

Founder @ Skiplevel.co: Join top product managers in leveling up your technical skills and ability to communicate with engineers.