DYAP 00215–20 minute lesson

AI, Machine Learning and Deep Learning

AI, machine learning and deep learning are related, but they are not interchangeable. Think of them as nested layers: deep learning is one approach within machine learning, and machine learning is one approach within the wider field of AI.

Editorial learning illustration for AI, Machine Learning and Deep Learning
Visual guide · Use the flow from inputs and evidence to models, outputs and human decisions.

What you will be able to do

  • Explain ai, machine learning and deep learning accurately in your own words.
  • Recognise how the concept appears in real AI products and professional work.
  • Identify an important limitation, risk or evaluation requirement.
  • Apply the concept through a practical activity and knowledge check.

Build the right mental model

Artificial intelligence is the broad goal of creating systems that perform intelligent tasks. Some AI systems use hand-written rules. Machine learning instead allows a system to learn useful patterns from data rather than programming every decision explicitly.

Deep learning uses neural networks with many processing layers. It became especially important for images, speech, language and other problems where useful features are difficult to specify manually. Large language models are deep-learning systems trained to predict and generate sequences of tokens.

The best method is not automatically the newest one. A clear rule or simple statistical model may be cheaper, more transparent and more reliable than a large neural network.

01

AI

The broad discipline and objective: machines performing tasks associated with intelligence.

02

Machine learning

Algorithms improve task performance by finding patterns in data.

03

Deep learning

Machine learning based on multi-layer neural networks.

04

Generative AI

Models that create new text, images, audio, video, code or other content.

Real-world example

Detecting network intrusions

Fixed firewall rules block known patterns; a machine-learning model detects unusual behaviour; a deep network may analyse complex traffic sequences.

What this teaches: All three can contribute. Architecture should follow the threat, available data and explainability requirement.

Practical activity

  1. Draw three nested circles labelled AI, machine learning and deep learning.
  2. Place rule-based chess, spam classification, image recognition and an LLM in the appropriate areas.
  3. Explain your choices in one sentence each.

Write your answers in a learning journal. The value comes from connecting the concept to your own profession.

Test your understanding

Q1Is every AI system a machine-learning system?

Answer: No. Rule-based expert systems are AI but may not learn from data.

Q2Why not use deep learning for every problem?

Answer: It can require more data, computing, cost and specialist evaluation while being harder to explain.

Reflection

If you cannot explain the answer without reading it, revisit the core explanation and example before continuing.

Important industry resources

These links lead to official organisations, industry laboratories or established open-source learning projects.