Topic 6 · Automated and emerging technologies
Artificial intelligence
What makes a system intelligent, how expert systems are built, and how machine learning improves from data.
What is AI?
Artificial intelligence (AI) is a branch of computer science that deals with simulating intelligent behaviour by computers. An AI system typically has these characteristics:
- It collects data and uses it.
- It has rules for using that data.
- It can reason, applying the rules to make decisions or predictions.
- It can learn and adapt, changing its own processes and rules based on new data.
Expert systems
An expert system gives advice like a human expert would, for example diagnosing illnesses, identifying minerals, or fixing car faults. It has four parts:
- 1User interfaceAsks the user questions and shows conclusions.
- 2Inference engineApplies the rules to the user's answers to reach a conclusion.
- 3Rule baseIF-THEN rules, such as IF temperature > 38 AND rash THEN ...
- 4Knowledge baseFacts collected from human experts.
Exam tip. The inference engine connects the user interface to the rule base and knowledge base. It asks the next question based on earlier answers.
Machine learning
In machine learning, a program is not given every rule. It is trained on data and changes its own processes to get better at a task, finding patterns that a person might not spot.
Examples include recommending films based on what you have watched, filtering spam email, recognising faces in photos, and detecting fraudulent card payments.
- 1Train on dataThousands of labelled examples.
- 2PredictMake a decision on new data.
- 3Check the resultWas it right?
- 4AdaptAdjust the model to do better next time.
Key terms
- Artificial intelligence
- Simulating intelligent behaviour, such as reasoning and learning, by computer.
- Expert system
- An AI system that uses a knowledge base and rules to give expert advice.
- Inference engine
- The part of an expert system that applies rules to facts to reach conclusions.
- Machine learning
- A program that improves its performance by learning from data.
Check yourself
Name the four parts of an expert system.Show answer
User interface, inference engine, rule base, and knowledge base.
How does machine learning differ from a normal program?Show answer
A normal program follows fixed rules written by a programmer. A machine learning program changes its own rules based on the data it is trained on.