AI/ML Foundations

AI vs ML vs Deep Learning vs Generative AI

AI is the broad goal of making machines behave intelligently; ML is the data-driven subset; deep learning is ML with layered neural networks; generative AI produces new content such as text, code, images, audio, or structured data.
  • AI is the umbrella, not one specific technique
  • Machine learning replaces explicit rules with learned patterns
  • Deep learning learns representations, not just predictions
  • Generative AI models produce artifacts, not just labels
  • LLMs are generative models trained mainly through token prediction
  • Use the narrowest accurate term
The vocabulary stack
TermWhat it meansConcrete example
AIBroad goal: intelligent behaviorPlanning, search, robotics, ML
MLBehavior learned from dataSpam classifier, price predictor
Deep learningML with layered neural networksImage classifier, speech recognizer
Generative AIModels that synthesize new contentLLM answer, generated image
LLMGenerative language model over tokensChat, summarization, code assistant
Relationship between the terms
Not every AI system uses ML, and not every ML system is generative.
Sources
  • Artificial Intelligence: A Modern ApproachCh. 1 — Introduction
  • Machine Learning Crash CourseIntroduction to ML
  • Hugging Face LLM CourseUnderstanding NLP and LLMs