impera Open Impera

IB Diploma Digital Society · Content

Artificial intelligence

1What AI is

Artificial intelligence (AI) refers to computer systems that perform tasks normally requiring human intelligence, such as recognizing images, understanding language, making predictions and making decisions.

  • Narrow (weak) AI: performs specific tasks, such as recommending videos, translating text or playing chess. All AI in use today is narrow, though some systems handle a wide range of tasks.
  • General AI (AGI): a hypothetical system with human-level ability across all intellectual tasks. Experts disagree about whether and when it might be achieved.

Key milestones: the term "artificial intelligence" was coined for the Dartmouth workshop in 1956; IBM's Deep Blue beat chess champion Garry Kasparov in 1997; DeepMind's AlphaGo beat Go champion Lee Sedol in 2016; ChatGPT, released in November 2022, brought generative AI to a mass audience.

Check yourself

What is narrow AI?

  • AI with human-level ability at everything

  • A type of cable

  • AI that performs specific tasks

  • AI that does not exist

Show the answer

AI that performs specific tasks

All current AI.

2How AI learns

  • Rule-based systems follow rules written by humans ("expert systems").
  • Machine learning (ML): systems learn patterns from data. In supervised learning, the system is trained on labelled examples (photos labelled "cat" or "dog"). In unsupervised learning, it finds patterns in unlabelled data. In reinforcement learning, it learns by trial and error with rewards.
  • Deep learning uses artificial neural networks with many layers, loosely inspired by the brain. It powers image recognition and speech recognition.
  • Large language models (LLMs) are deep learning systems trained on huge amounts of text to predict the next word, enabling chatbots that generate fluent text. They can also produce confident but false statements, called hallucinations.

Machine learning is a subset of AI, and deep learning is a subset of machine learning.

AI, machine learning and deep learning: each is a subset of the one around it

Check yourself

What is supervised learning?

  • Training a system on labelled examples

  • Learning only through rewards and penalties

  • A teacher watching over a computer

  • Learning without using any data at all

Show the answer

Training a system on labelled examples

Labelled photos.

3AI in society

AI is used across many contexts:

  • Health: analysing medical scans, predicting protein structures (DeepMind's AlphaFold, whose creators shared the 2024 Nobel Prize in Chemistry).
  • Economy: automating tasks, customer service chatbots, fraud detection.
  • Education: tutoring systems and AI writing tools, raising questions about learning and academic integrity.
  • Creativity: generating images, music and text.
  • Policing and justice: facial recognition and risk-assessment tools.
  • Military: autonomous drones and target identification.
Check yourself

Which AI system predicted protein structures?

  • Deep Blue

  • ChatGPT

  • PageRank

  • AlphaFold

Show the answer

AlphaFold

2024 Nobel Prize in Chemistry.

4Risks and ethical issues

  • Bias: AI trained on biased data can discriminate. The US COMPAS risk tool was found by a 2016 ProPublica investigation to wrongly flag Black defendants as high risk more often than white defendants.
  • Transparency: deep learning models are often black boxes.
  • Jobs: AI may automate tasks and change many jobs; economists debate how many jobs will be lost or created.
  • Misinformation: deepfakes and AI-generated text at scale.
  • Copyright: training on creators' work without consent.
  • Environment: training and running large models uses significant electricity and water.
  • Safety and control: some researchers warn of long-term risks from very powerful AI.
Worked example

Should a city use facial recognition in public spaces?

  1. Benefit: may help find suspects or missing people.
  2. Risks: mass surveillance, errors that fall more heavily on some groups, chilling effects on protest.
  3. Stakeholders: police, residents, minorities, companies, civil liberties groups.
  4. Governance: some cities, such as San Francisco in 2019, banned police use; the EU AI Act strictly limits real-time remote biometric identification in public spaces.
  5. Judgement: weigh security against privacy and fairness.
Check yourself

What did ProPublica find about the COMPAS tool in 2016?

  • It was a system that predicted the weather for courts, not crime

  • It was found to be perfectly fair to defendants of every background

  • It wrongly flagged Black defendants as high risk more often than white ones

  • It had been designed but was never actually used in any courtroom

Show the answer

It wrongly flagged Black defendants as high risk more often than white ones

Algorithmic bias in justice.

5Governing AI

  • The EU AI Act (2024) classifies AI by risk: unacceptable (banned, such as social scoring by governments), high-risk (strict requirements, such as AI in hiring or medical devices), limited risk (transparency duties, such as telling users they are talking to a chatbot) and minimal risk.
  • Other approaches include voluntary company commitments, national strategies, and international statements such as the 2023 Bletchley Declaration on AI safety.
  • Debates: innovation versus precaution, who should set rules, and how to enforce them across borders.
Check yourself

How does the EU AI Act regulate AI?

  • By leaving AI entirely to company self-rules

  • By banning every form of AI across the EU

  • By classifying systems by their level of risk

  • By taxing every computer that runs AI tools

Show the answer

By classifying systems by their level of risk

Unacceptable, high, limited, minimal.

6Large language models

Large language models (LLMs) are AI systems trained on huge amounts of text to predict the next word (or token) in a sequence.

  • They can write, summarise, translate and answer questions.
  • They can produce confident but false statements, often called hallucinations.
  • Their training data raises questions about copyright and bias.
  • Tools such as ChatGPT (released in November 2022) brought LLMs to mass use.
Check yourself

What is an AI hallucination?

  • A confident but false statement produced by an AI

  • A hardware failure inside an AI system's servers

  • A type of virus that infects AI language models

  • A dream that an AI system has while it is idle

Show the answer

A confident but false statement produced by an AI

Plausible but wrong.

7Narrow and general AI

AI systems are often divided by scope.

  • Narrow AI performs specific tasks: image recognition, translation, playing chess.
  • Artificial general intelligence (AGI) would match human abilities across many tasks; whether and when it could exist is debated.
  • Milestones in narrow AI include IBM's Deep Blue beating chess champion Garry Kasparov (1997) and DeepMind's AlphaGo beating Go champion Lee Sedol (2016).
Worked example

Evaluating an AI claim

  1. Claim: "This AI understands language like a human."
  2. Question: what does "understand" mean?
  3. Evidence: it performs well on tests but makes errors no human would.
  4. Conclusion: impressive performance does not settle questions about understanding.
Check yourself

Which AI beat Lee Sedol at Go in 2016?

  • AlphaGo

  • Watson

  • Siri

  • Deep Blue

Show the answer

AlphaGo

DeepMind.

Now test yourself

This lesson has a 8-question quiz and 4 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera