EEasy IGCSELabTracker

On a phone the notes, quizzes and tracker work fine. The 3D models and the practice lab are made for a laptop.

Specification points 6.3.1–6.3.3 ·

what AI is, its main characteristics, and how expert systems and machine learning simulate intelligent behaviour.

1What AI is (6.3.1)

Definition

Artificial intelligence (AI) — a branch of computer science dealing with the simulation of intelligent behaviours by computers.

Intelligent behaviours are things that normally need a human mind: reasoning, solving problems, understanding speech, recognising faces or objects, learning. Examples: voice assistants, chatbots, facial recognition, autonomous cars.

2Main characteristics of AI (6.3.2)

  • A collection of data and the rules for using that data — it stores facts about its area and rules that say how to use them.
  • The ability to reason — it applies the rules to the data to draw conclusions or make decisions, including in situations it has not met before.
  • It can include the ability to learn and adapt — it changes its own rules or data from new data or experience, so its performance improves.

"Can include": every AI system has data, rules and reasoning, but not every one learns. An expert system does not learn by itself; machine learning does (Section 5).

3Expert systems (6.3.3)

Definition

Expert system — an AI system that simulates the knowledge and decision-making of a human expert in one specialist area, e.g. medical diagnosis, fault-finding in cars or computers, finding oil or minerals, chess.

Expert system User Interface asks questions takes the answers shows the conclusion, its probability and reasons Inference engine applies the rules to the facts and the user's answers picks the next question reaches a conclusion Knowledge base facts about one area, from human experts Rule base IF … THEN rules for using the facts
Figure 1. The four components of an expert system and how they connect.

Ask the expert system

Loading the interactive…

How it works:

  1. The interface asks the user a question, often with a yes/no or multiple-choice answer.
  2. The inference engine applies the rules in the rule base to the user's answer and the facts in the knowledge base.
  3. It chooses the next question from the previous answers; steps 1–3 repeat.
  4. When a match is found, the interface shows the conclusion or advice, with the probability that it is correct and the reasons for it.

Example (computer fault-finding):

  • knowledge base fact: faulty power supply: power light off, fan silent;
  • rule base rule: IF power light = off AND fan = silent THEN fault = power supply;
  • answers "power light off?" → yes, "fan silent?" → yes, so the conclusion is power supply fault.

4Machine learning (6.3.3)

Definition

Machine learning — when a program has the ability to automatically adapt its own processes and/or data.

1 Training data large amount of example data emails labelled spam / not spam 2 Finds patterns builds its own rules / model words and senders common in spam 3 Decides on new data makes a prediction new email moved to spam folder 4 Feedback was the decision right? user marks a missed email as spam 5 Adapts itself changes its own processes/data updates the spam patterns No person rewrites the program: it gets better every cycle
Figure 2. How machine learning works, with a spam filter as the example (in italics).

Train it and watch it improve

Loading the interactive…

5Expert systems and machine learning compared (6.3.3)

Expert system Machine learning
Where the knowledge comes from Facts and rules entered by people from human experts Patterns it finds itself in large amounts of data
Does it change itself? No: people must update the knowledge base and rule base Yes: adapts its own processes and data from new data and feedback
Traps
  • The knowledge base holds the facts; the rule base holds the rules; the inference engine does the reasoning. Do not swap them.

Quick check

11 multiple-choice questions. Pick an answer to see whether it is right and why.

  1. What is artificial intelligence (AI)?

  2. Which characteristic does not every AI system have?

  3. What does the ability to reason mean for an AI system?

  4. Which component of an expert system holds the facts about its specialist area?

  5. Where is IF power light = off AND fan = silent THEN fault = power supply stored in an expert system?

  6. What does the inference engine do?

  7. A user has answered an expert system's question, but no match has been found yet. What happens next?

  8. When a match is found, what does the interface show the user?

  9. What is machine learning?

  10. A spam filter misses an email and the user marks it as spam. Which stage of machine learning is this?

  11. Where does an expert system's knowledge come from?

Exam-style questions

Write your answer, then show the answer and compare. Nothing here is marked for you: you decide how close you were. What you write is saved in this browser.

Questions

1

State what is meant by artificial intelligence (AI).

2 marks
2

Describe the main characteristics of AI.

3 marks
3

Identify the four components of an expert system.

4 marks
4

Describe the role of the inference engine in an expert system.

3 marks
5

State the difference between the knowledge base and the rule base.

2 marks
6

A garage uses an expert system to find faults in cars. Explain how the expert system works to find a fault.

5 marks
7

State what is meant by machine learning.

2 marks
8

An email service uses machine learning to filter spam. Explain how machine learning allows the filter to improve over time.

4 marks
9

Explain why an expert system shows some characteristics of AI but not the ability to learn and adapt.

3 marks

How well do you know this?

Rate each specification point. It is saved to your tracker as a new revision round.

All points:
  • 6.3.1Understand what is meant by artificial intelligence (AI)
  • 6.3.2Describe the main characteristics of AI as the collection of data and the rules for using that data, the ability to reason, and it can include the ability to learn and adapt
  • 6.3.3Explain the basic operation and components of AI systems to simulate intelligent behaviour: expert systems (knowledge base, rule base, inference engine and interface) and machine learning (a program that can automatically adapt its own processes and/or data)

Settings

Your subjects

Untick the subjects you don't take. They leave the menu, the home page and the tracker. Your ratings are kept, so you can bring a subject back at any time.

Page style

Colours