Module 1 · AI Foundations

AI vs ML vs Deep Learning vs Generative AI

Understand the differences between artificial intelligence, machine learning, deep learning, and generative AI with practical examples.

Core idea

Four related terms—not four synonyms

Artificial intelligence is the broad field. Machine learning is one way to build AI systems by learning from data. Deep learning is a family of machine-learning methods based on neural networks with multiple layers. Generative AI describes systems designed to create new content; many modern generative systems use deep learning, but the categories are not perfectly interchangeable.

Memory rule: AI is the umbrella, ML learns patterns, deep learning uses multilayer neural networks, and GenAI creates new content.

Visual hierarchy

How the concepts relate

This is a learning model, not a claim that every generative technique belongs exclusively inside deep learning. Modern foundation-model applications commonly do.

Compare them through real problems

ConceptPrimary ideaExampleTypical output
AIMake a system perform an intelligent task.A rule-based scheduling assistant.Decision or action
MLLearn predictive patterns from data.Fraud classification from transaction history.Score, class, or forecast
Deep learningLearn complex representations through neural networks.Recognize objects in images.Prediction or representation
Generative AICreate new content from learned patterns and context.Draft a support response grounded in policy documents.Text, image, audio, video, or code

Choose from the task, not the buzzword

Exact fixed rules?Traditional software may be clearer, cheaper, and more predictable than AI.
Prediction from historical examples?Consider machine learning such as classification, regression, or forecasting.
Complex images, speech, or language?Deep learning may learn the representations needed for the task.
New content or conversational output?Consider generative AI, then address grounding, evaluation, safety, and human oversight.

Decision diagram

Which approach fits the problem?

Input → system → output

See the difference in one business workflow

AI rules
Calendar rulesScheduling logicAvailable slot
Machine learning
Past transactionsFraud classifierRisk probability
Deep learning
Product imageNeural networkDetected defect
Generative AI
Question + policyFoundation modelGrounded answer

AWS Certified AI Practitioner

Exam signals

  • Do not label every automated system as machine learning; rules can also produce AI-like behavior.
  • Classification and forecasting usually point toward predictive ML, not content generation.
  • Images, language, and speech often signal deep-learning use cases.
  • Summarization, assistants, and content creation signal generative AI or foundation models.
  • If a deterministic answer is mandatory, question whether probabilistic AI is appropriate.

Key takeaways

  • AI is the broad field of intelligent systems
  • Machine learning learns patterns from data
  • Deep learning uses multilayer neural networks
  • Generative AI creates new content

Check your understanding

  1. Can you explain this concept in two sentences without using jargon?
  2. Can you identify the input, process, output, and validation step in the example?
  3. Can you name one suitable use case and one case where another approach is better?
  4. Which risk or limitation should a responsible implementation address?

Research references

Public sources and further reading

This lesson is original educational writing informed by the public references below. Use the sources to explore definitions, technical details, and current AWS exam objectives.