Deep Learning vs Machine Learning: A Beginner’s Guide

Written by Coursera Staff • Updated on

Deep learning is machine learning, and machine learning is artificial intelligence. But how do they fit together (and how do you start learning)?

[Featured Image] A woman works on a laptop at a living room table, learning about the difference between deep learning and machine learning.

Even if you’re not involved in data science, you’ve probably heard the terms artificial intelligence (AI), machine learning, and deep learning thrown around in recent years. Sometimes, they’re even used interchangeably. While related, each of these terms has its distinct meaning, and they're more than just buzzwords used to describe self-driving cars.

In broad terms, deep learning is a subset of machine learning, and machine learning is a subset of artificial intelligence. You can think of them as a series of overlapping concentric circles, with AI occupying the largest, followed by machine learning, then deep learning. In other words, deep learning is AI, but AI is not deep learning. 

In this article, you can delve into AI, machine learning, and deep learning, including how they relate and differ. Ultimately, you'll even explore flexible online courses to help you learn more today.

Deep learning vs machine learning

Thanks to pop culture depictions from movies ranging from 2001: A Space Odyssey to The Terminator, many of us have some conception of AI. Oxford Languages defines AI as “the theory and development of computer systems able to perform tasks that normally require human intelligence.” Britannica offers a similar definition: “the ability of a digital computer or computer-controlled robot to perform tasks commonly associated with intelligent beings.”

Machine learning and deep learning are both types of AI. In short, machine learning is AI that can automatically adapt with minimal human interference. Deep learning is a subset of machine learning that uses artificial neural networks to mimic the human brain's learning process.

Take a look at these critical differences before we dive in further.

[Diagram] A venn diagram on a blue background showing how deep learning, machine learning, and AI are nested.

Machine learningDeep learning
A subset of AIA subset of machine learning
Can train on smaller data setsRequires large amounts of data
Requires more human intervention to correct and learnLearns on its own from environment and past mistakes
Shorter training and lower accuracyLonger training and higher accuracy
Makes simple, linear correlationsMakes non-linear, complex correlations
Can train on a CPU (central processing unit)Needs a specialised GPU (graphics processing unit) to train

What is artificial intelligence (AI)?

At its most basic level, the field of artificial intelligence uses computer science and data to enable problem-solving in machines. 

While we don’t yet have human-like robots trying to take over the world, we do have examples of AI all around us. These could be as simple as a computer program that can play chess or as complex as an algorithm that can predict the RNA structure of a virus to help develop vaccines. 

We need machine learning for a machine or program to improve independently without further input from human programmers.

Deep Blue, the chess-playing computer 

Before the development of machine learning, artificially intelligent machines or programs had to be programmed to respond to a limited set of inputs. Deep Blue, a chess-playing computer that beat a world chess champion in 1997, could “decide” its next move based on an extensive library of possible moves and outcomes. But the system was purely reactive. For Deep Blue to improve at playing chess, programmers had to add more features and possibilities.

Placeholder

What is machine learning?

Machine learning refers to the study of computer systems that learn and adapt automatically from experience without being explicitly programmed.

With simple AI, a programmer can tell a machine how to respond to various instructions by hand-coding each “decision.” With machine learning models, computer scientists can “train” a machine by feeding it large amounts of data. The machine follows a set of rules—called an algorithm—to analyse and draw inferences from the data. The more data the machine parses, the better it can become at performing a task or making a decision.

One example you may be familiar with is this: Music streaming service Spotify learns your music preferences to offer you new suggestions. Each time you indicate that you like a song by listening through to the end or adding it to your library, the service updates its algorithms to feed you more accurate recommendations. Netflix and Amazon use similar machine learning algorithms to offer personalised recommendations.

IBM Watson, the machine learning cousin of Deep Blue

In 2011, IBM Watson beat two Jeopardy champions in an exhibition match using machine learning.

Watson’s programmers fed it thousands of question-and-answer pairs and examples of correct responses. When given just an answer, the machine was programmed to come up with the matching question. If it got it wrong, programmers would correct it. This allowed Watson to modify its algorithms or, in a sense, “learn” from its mistakes.

By the time Watson faced off against the Jeopardy champions, in a matter of seconds, it could parse 200 million pages of information and generate a list of possible answers, ranked by how likely they were to be right—even if it had never seen the particular Jeopardy clue before.

Placeholder

What is deep learning?

Where machine learning algorithms generally need human correction when they get something wrong, deep learning algorithms can improve their outcomes through repetition without human intervention. A machine learning algorithm can learn from relatively small data sets, but a deep learning algorithm requires big data sets that might include diverse and unstructured data.

Think of deep learning as an evolution of machine learning. Deep learning is a machine learning technique that layers algorithms and computing units—or neurons—into an artificial neural network. The structure of the human brain inspires these deep neural networks. Data passes through this web of interconnected algorithms non-linearly, much like how our brains process information. 

AlphaGo, one more descendant of Deep Blue

AlphaGo was the first program to beat a human Go player and the first to win playing a Go world champion in 2015. Go is a 3,000-year-old board game originating in China and known for its complex strategy. It’s much more complicated than chess, with 10 to the power of 170 possible configurations on the board.

The creators of AlphaGo began by introducing the program to several Go games to teach the mechanics. Then, it started playing against different versions of itself thousands of times, learning from its mistakes after each game. AlphaGo became so good that the best human players in the world are known to study its inventive moves.

The latest version of the AlphaGo algorithm, MuZero, can master games like Go, chess, and Atari without even being told the rules.

Placeholder

What’s the big deal with big data?

“Big data” refers to data sets that are too big for traditional relational databases and data processing software to manage. Businesses generate unprecedented amounts of data each day, and deep learning is one way to derive value from that data. 

Getting started in AI and machine learning.

The United Kingdom is leading the way in AI and machine learning, with a 600 percent increase in the number of AI firms over the past decade and twice as many as any other country in Europe, according to the Great Britain and Northern Ireland Department for Business and Trade [1]. If this, along with the previous introduction to AI, deep learning, and machine learning, has piqued your interest, consider learning more with a course such as AI for Everyone, designed to teach AI basics to students from a non-technical background.

For more advanced knowledge, start with Andrew Ng’s Machine Learning Specialisation for a broad introduction to machine learning concepts. Next, build and train artificial neural networks in the Deep Learning Specialisation.

When you’re ready, start building the skills needed for an entry-level role as a data scientist with the IBM Data Science Professional Certificate.

Frequently Asked Questions (FAQs)

Article sources

1

Great Britain & Northern Ireland Department for Business & Trade. “Artificial Intelligence, https://www.great.gov.uk/campaign-site/uk-na-innovation/sectors/artificial-intelligence/.” Accessed 19 September 2024.

Keep reading

Updated on
Written by:

Editorial Team

Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...

This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.