Introduction to AI

Online B.Com · Sem 5

Lesson 1 of 7Accounting AI · Digital Marketing

AI vs Machine Learning vs Deep Learning

Introduction to AI

About the video

AI, Machine Learning, Deep Learning and Generative AI Explained

IBM Technology

Study notes

Artificial Intelligence (AI), Machine Learning (ML), Deep Learning (DL) and Generative AI are best understood as nested circles: AI is the broadest field, ML is a subset of AI, DL is a subset of ML, and generative AI is built mainly on deep learning. Each inner layer depends less on hand-written rules and more on learning patterns from data. Knowing these differences helps you judge which technology fits a business or finance problem.

Artificial Intelligence (AI): The Big Umbrella

  • Definition: AI is the field of building computer systems that perform tasks that normally need human intelligence, such as reasoning, learning, understanding language and making decisions.
  • AI does not have to learn from data. Early AI used rule-based expert systems built on hand-written 'if-then' rules.
  • Example: A rule-based loan screening system that rejects applications if income is below a fixed limit is AI but not ML.
  • Narrow (weak) AI does one specific task, such as fraud alerts or chatbots. General AI (human-level across all tasks) is still theoretical.

Machine Learning (ML): Learning from Data

  • Definition: ML is a subset of AI in which systems learn patterns from data and improve with experience, without being explicitly programmed for every rule.
  • Basic flow: collect data → train a model → test or evaluate it → use it to predict on new data.
  • Main types: supervised learning (labelled data, e.g. predicting loan default), unsupervised learning (unlabelled data, e.g. customer segmentation) and reinforcement learning (learning through rewards and penalties, e.g. trading strategy agents).
  • Classical ML often needs humans to choose the input features, such as income, age or credit history.

Deep Learning (DL): Multi-Layered Neural Networks

  • Definition: DL is a subset of ML that uses artificial neural networks with many layers ('deep') to learn complex patterns.
  • DL can learn features automatically from raw data such as images, audio and text, so less manual feature engineering is needed.
  • DL usually needs large amounts of data and high computing power, often GPUs.
  • Examples: reading cheques with image recognition, speech-to-text in banking apps and detecting complex fraud patterns.
  • Limitation: DL models are often 'black boxes' that are hard to explain. This matters in regulated areas like credit decisions.

Generative AI: Creating New Content

  • Definition: Generative AI refers to deep learning models that create new content, such as text, images, code or audio, based on patterns learned from training data.
  • Foundation models and Large Language Models (LLMs) are trained on huge datasets and can be adapted to many tasks.
  • Earlier ML was mostly predictive or discriminative (classify or forecast). Generative AI produces new outputs.
  • Finance examples: drafting reports, summarising annual reports and answering customer queries through chatbots.
  • Risks: it can 'hallucinate' (confidently produce wrong facts), so its outputs need human checking.

Comparing the Nested Layers

  • Hierarchy: AI ⊃ ML ⊃ DL ⊃ Generative AI (largely). Every DL system is ML, and every ML system is AI, but not the reverse.
  • Moving inward: less hand-coded rules, more data needed, more computing power needed, and usually less explainability.
  • Choose the simplest tool that works: rules for clear policies, ML for structured data predictions, DL for unstructured data like images and text.
Contribute

Was this lesson helpful?

We read every rating and fix the weakest lessons first.