Artificial Intelligence Fundamentals Intermediate 10 minutes

AI vs Machine Learning vs Deep Learning

Three nested circles: artificial intelligence contains machine learning, and machine learning contains deep learning.

Your progress in the track0%

Three nested circles

  • Artificial intelligence (AI): the broadest field; it includes search, planning, logical reasoning, expert systems and machine learning.
  • Machine learning: systems that learn from data. Instead of writing a rule for each case, we give the model examples and it infers the pattern.
  • Deep learning: a type of machine learning that uses deep neural networks that learn features automatically from raw data such as images and text.

Example: classifying emails

ApproachHow does it work?
Rules (traditional AI)If the message contains the word “prize”, it is spam
Traditional machine learningWe extract features (the number of links, certain words), then train a classifier such as naive Bayes
Deep learningWe feed the text to a neural network that learns the representation and the classification together

When do we use each?

Deep learning usually excels with large unstructured data (images, audio, text), while traditional machine learning is sufficient and easier to interpret with small and medium tabular data.

Lesson terms

Deep Learning
A branch of machine learning based on multi-layer artificial neural networks that learn representations of the data automatically.
Machine Learning
A branch of artificial intelligence in which systems learn patterns from data to improve their performance on a task without explicit programming of every rule.

Abstract

Artificial intelligence is the broadest field for building intelligent systems. Machine learning is a branch of it in which systems learn from data instead of explicitly programmed rules. Deep learning is a branch of machine learning that uses multilayer neural networks that learn representations automatically.

Review questions

  1. Order the three concepts from the broadest to the narrowest.

    AI, then ML, then DL.

  2. What distinguishes deep learning from traditional machine learning?

    It learns features (representations) automatically through multiple layers instead of engineering them by hand.

Sources and references

  1. Goodfellow, Bengio & Courville — Deep Learning (Chapter 1)
  2. Russell & Norvig — Artificial Intelligence: A Modern Approach

Complete the lesson