Multiple choiceQuestion 1 · Recall
Loading…
By the end you can explain what artificial intelligence is, describe how a machine-learning system is trained and used, name the main types of AI system, and discuss its benefits, limitations and ethical risks.
A calculator is not AI. It follows rules that a programmer wrote, and it cannot do anything those rules do not cover.
Artificial intelligence (AI) is the branch of computing that builds systems able to perform tasks that normally require human intelligence — recognising a face, understanding speech, translating a sentence, choosing a move in a game, or spotting a tumour in a scan.
The key difference from ordinary software is where the rules come from:
| Ordinary program | Machine-learning system |
|---|---|
| a programmer writes the rules | the system derives rules from examples |
| behaviour is predictable and traceable | behaviour depends on the training data |
| fails on cases nobody anticipated | may generalise to new cases, or fail unpredictably |
| easy to explain a decision | often hard to explain a decision |
Artificial intelligence
Computer systems that perform tasks normally requiring human intelligence, such as learning, reasoning, perception, language understanding and decision-making.
Machine learning (ML) is the main approach used today: instead of being programmed with rules, the system is trained on data and builds a model that maps inputs to outputs.
Suppose you want a system that recognises photographs of cats.
Nothing in this process understands what a cat is. The model has simply found patterns in pixel data that correlate with the label.
| Type | How it works | Example |
|---|---|---|
| expert system | a knowledge base of facts plus a set of if–then rules, applied by an inference engine | diagnosing a fault from symptoms; medical triage |
| supervised learning | trained on labelled examples to predict a label or value | spam filtering; predicting house prices |
| unsupervised learning | finds groupings in unlabelled data | grouping customers by buying habits |
| reinforcement learning | learns by trial and error, rewarded for good outcomes | game-playing programs; robot walking |
| neural network / deep learning | many layers of connected units that learn features from raw data | image recognition; speech-to-text |
| natural language processing (NLP) | understands and generates human language | chatbots; translation; summarising |
| computer vision | extracts meaning from images and video | number-plate recognition; quality inspection |
Expert systems and machine learning are different in an important way: an expert system's rules are written by people and can be read, while a neural network's rules are numbers inside the model and cannot be read directly.
AI is attractive when the rules are too complex or too numerous to write by hand — nobody can write down every rule for recognising a face or understanding a sentence.
Its strengths:
Its limits:
A model is like a student who learned a subject from a single, unusual textbook. Ask a question covered by that book and the answer is excellent. Ask something slightly different and the student answers with complete confidence and no idea that they are wrong.
That is why training data is an ethical issue, not just a technical one: the data decides what the system treats as normal, and therefore whom it treats fairly.
AI makes old ethical questions bigger, because decisions are made at scale and by systems that cannot explain themselves.
Worked example: Worked example: AI or ordinary program?
A supermarket wants to (a) calculate the total on a receipt, and (b) decide which customers are likely to stop shopping there so it can offer them a discount.
Which task suits AI, and why?