⚡0 XP🔥0

What is Artificial Intelligence?

Lesson 1 of 8 ⏱ 5 min read ✎ 1 exercises ❓ 5-question quiz ▶ Runs Python

Definitions of AI, a short history from the Turing test to ChatGPT, narrow vs general AI, how AI, machine learning, deep learning and generative AI relate, real applications in India, and what AI cannot do.

Defining AI#

Artificial Intelligence (AI) is the field of building computer systems that perform tasks which normally need human intelligence: understanding language, recognising images, making decisions, planning, learning from experience and solving problems.

There are several classic ways to define it:

View AI is a system that...
Thinking like humans models how people think (cognitive science)
Acting like humans behaves so that people can't tell it from a human (Turing test)
Thinking rationally reasons with correct logic
Acting rationally acts to achieve the best expected outcome - the "rational agent" view used by most modern textbooks
हिंदी में समझें

Artificial Intelligence यानी ऐसे computer systems बनाना जो वो काम कर सकें जिनके लिए आम तौर पर इंसानी बुद्धि चाहिए - भाषा समझना, तस्वीर पहचानना, निर्णय लेना, योजना बनाना और अनुभव से सीखना। आज की AI "सोचती" या "महसूस" नहीं करती; वह data और गणित से patterns पहचानकर काम करती है।

A short history#

Year Milestone
1950 Alan Turing asks "Can machines think?" and proposes the imitation game (Turing test)
1956 The Dartmouth workshop - John McCarthy coins the term "artificial intelligence"
1960s-70s Early programs solve puzzles and prove theorems; over-optimism leads to the first "AI winter"
1980s Expert systems (rule-based) become a business; their limits bring a second AI winter
1997 IBM's Deep Blue beats world chess champion Garry Kasparov
2012 Deep learning (AlexNet) wins the ImageNet image-recognition challenge by a big margin
2016 DeepMind's AlphaGo beats Go champion Lee Sedol
2017 The Transformer architecture is published ("Attention Is All You Need")
2022 onwards ChatGPT, Claude, Gemini and other large language models bring generative AI to everyone

AI, machine learning, deep learning, generative AI#

┌──────────────────────────── Artificial Intelligence ────────────────────────────┐
│  search, planning, logic, expert systems, robotics, ...                         │
│   ┌───────────────────────── Machine Learning ────────────────────────────┐     │
│   │  learns from data: regression, trees, clustering, ...                 │     │
│   │   ┌──────────────────── Deep Learning ───────────────────────┐        │     │
│   │   │  many-layer neural networks: CNNs, Transformers, ...     │        │     │
│   │   │   ┌──────────── Generative AI ────────────┐              │        │     │
│   │   │   │  creates text, images, code, audio    │              │        │     │
│   │   │   └───────────────────────────────────────┘              │        │     │
│   │   └──────────────────────────────────────────────────────────┘        │     │
│   └───────────────────────────────────────────────────────────────────────┘     │
└─────────────────────────────────────────────────────────────────────────────────┘
  • Symbolic AI - knowledge and rules written by people (expert systems, search, logic).
  • Machine learning - rules learned from data.
  • Deep learning - ML with large neural networks, excellent for images, speech and text.
  • Generative AI - models that produce new content (text, images, code, music).

A quick contrast between the two big approaches:

▶ Try it YourselfPython
Ctrl + Enter to run
Output
(6.5, 710) rule: approve | learned: review
(3.5, 760) rule: review | learned: approve
(8, 650) rule: review | learned: review

The two can disagree: the rule-based system follows exactly what a person wrote; the learning system copies patterns from past decisions - including any mistakes or biases in them.

Narrow, general and super intelligence#

  • Narrow AI (weak AI) - excellent at specific tasks: translating, recommending videos, detecting fraud, writing code. Every AI system today is narrow, even very capable chatbots.
  • Artificial General Intelligence (AGI) - a hypothetical system that could learn and perform any intellectual task a human can. Researchers disagree on whether or when it could be built.
  • Superintelligence - hypothetical AI far beyond human ability in every area; discussed mainly in AI safety research.

Where AI is used#

Area Examples
Finance UPI and card fraud detection, credit scoring, chatbots for banking
Healthcare reading X-rays and retinal scans, drug discovery, hospital triage
Agriculture crop-disease detection from leaf photos, yield and weather prediction
Transport Google Maps arrival times, route optimisation, driver-assistance systems
E-commerce product recommendations, demand forecasting, search ranking
Language translation between Indian languages, speech-to-text, voice assistants
Software code completion and review assistants, test generation
Education personalised practice, automatic grading, tutoring assistants

What AI cannot (yet) do well#

  • Understand the world like people do - models learn statistical patterns; they can be confidently wrong.
  • Reason reliably about anything new - performance drops on situations very different from the training data.
  • Explain itself - many models are "black boxes".
  • Be free of bias - models reflect the data they learned from.
  • Take responsibility - humans remain accountable for decisions made with AI.
Tip

A useful habit: treat AI output like a fast, knowledgeable intern's work - very helpful, but check it before you rely on it, especially for facts, numbers, law, health and money.

Summary#

  • AI builds systems that perform tasks needing intelligence; the modern view is "acting rationally" as an agent.
  • Key milestones: Turing (1950), Dartmouth (1956), expert systems (1980s), Deep Blue (1997), deep learning (2012), Transformers (2017), LLMs (2022 onwards).
  • Generative AI ⊂ deep learning ⊂ machine learning ⊂ AI; symbolic AI uses hand-written knowledge.
  • All current AI is narrow AI - powerful, but needing human checking and responsibility.

Practice Exercises

Write your code, then press Check. Your program is tested automatically.

1

Classify AI applications

Create a dictionary approach mapping each system to "rules" (hand-written logic) or "learning" (learns from data): "tax calculator with fixed slabs", "face unlock", "spam filter trained on emails", "railway ticket fare chart", "voice assistant speech recognition".

Quick Quiz

Q1.

Which statement best describes the relationship between AI, ML and deep learning?

Q2.

All AI systems in use today are...

Q3.

The Turing test checks whether...

Q4.

Which is a rule-based (symbolic) AI approach rather than machine learning?

Q5.

The 1956 workshop where the term "artificial intelligence" was coined was held at...