Artificial intelligence, machine learning and robotics

GCSE Computer Science (Edexcel) · Edexcel 1CP2 · 5.2.2 · Issues and impact › Ethical and legal issues

75 exam-style questions on this topic, at up to four difficulty levels, with full mark schemes. Notes and past-paper booklets are open to everyone. Practice needs a free account.

Or take a quick quiz: 10 questions on this subtopic in GCSE Computer Science (Edexcel), marked as you tap.

Revision notes

Artificial intelligence (AI), machine learning and robots are making more decisions and doing more jobs. This subtopic covers the ethical and legal issues they raise: accountability, safety, algorithmic bias and legal liability. Questions on Paper 1 are usually set in a context, from 2-mark 'Explain' questions to 6-mark 'Discuss' questions.

Key facts

  • AI: computer systems that do tasks that normally need human intelligence.
  • Machine learning: AI that learns patterns from training data instead of following hand-written rules.
  • Robot: a computer-controlled machine that carries out physical tasks automatically.
  • Autonomous: able to make decisions and act without human control.
  • Algorithmic bias: consistently unfair results for some groups, usually caused by unrepresentative or prejudiced training data.
  • Accountability: who must answer for a decision made by an AI or robot.
  • Legal liability: who is legally responsible (e.g. pays compensation) when an AI or robot causes harm.
  • Safety: autonomous machines can cause physical harm if they fail, meet something new or are hacked.
  • Safeguards: representative training data, testing for bias, safety features, a human in the loop.

Notes

Key terms

  • Artificial intelligence (AI): computer systems that carry out tasks that normally need human intelligence, such as recognising faces or speech, translating or making decisions.
  • Machine learning (ML): a type of AI that learns patterns from large amounts of training data, instead of being programmed with rules for every situation. It usually improves as it is given more data.
  • Robot: a computer-controlled machine that carries out physical tasks automatically. Most robots use sensors; some use AI to act without human control (they are autonomous).
  • Benefits: AI works quickly, all day and consistently; robots do dangerous, repetitive or precise jobs, such as bomb disposal. Both can also replace some people's jobs.

Algorithmic bias

diagram
  • An ML system can only learn from its training data. If the data is unrepresentative (e.g. mostly one group of people) or reflects past human prejudice, the system learns the same unfairness.
  • Training datamostly group ALearnspatternsModel makesdecisionsGroup A: accurateGroup B: more errors
    A model learns only from its training data. Blue dots are group A, red dots group B: too few red examples leads to biased results.
  • Algorithmic bias is when a system consistently produces unfair results for some groups, e.g. face recognition that misidentifies some ethnic groups more often, or a recruitment tool that favours one gender.
  • It is hard to spot, because people tend to trust a computer's decision and the system may not be able to explain it.
  • To reduce it: use large, representative training data, test the results for different groups and have humans review important decisions.

Safety

  • Autonomous machines act in the real world, so a wrong decision can injure or kill, e.g. a self-driving car failing to detect a cyclist.
  • An AI may behave unpredictably when it meets a situation that was not in its training data.
  • Machines must be thoroughly tested, have safety features such as emergency stops and be protected from hacking.

Accountability and legal liability

  • Accountability: who is responsible and must answer for a decision made by an AI or robot.
  • Legal liability: who is legally responsible, e.g. who must pay compensation, if an AI or robot causes harm or breaks the law.
  • This is hard to decide: the programmers, the manufacturer, the owner and the user could all be involved, and the machine made the decision itself.
  • With machine learning, nobody wrote the rule that caused the decision, and the system may not be able to explain why it acted as it did (a 'black box'). Most laws were written for human decision-makers. Grade 7+ only
  • Keeping a human involved in important decisions (medical, jobs, loans, policing) means that a person stays accountable.

How to answer each type of question

Define or describe a key term

1 to 2 marksGrade 4
  1. Give the meaning in one clear sentence.
  2. For 2 marks, add a second point, such as how it works or what it allows.
  3. Avoid vague answers such as 'a computer that thinks for itself'.

Example. Describe what is meant by 'machine learning'. (2 marks)

Show the model answerHide the model answer
A type of AI in which a computer system learns patterns from training data (1), so that it can make predictions or decisions without being given rules for every situation (1).

Explain how algorithmic bias could arise in a given system

2 marksGrade 6
  1. Say what is wrong with the training data: who is missing or under-represented?
  2. Link it to the result: the system works less well, or unfairly, for that group.
  3. Use the people and the system named in the question.

Example. A voice assistant was trained mainly on recordings of adults from one region of the UK. Explain how this could lead to algorithmic bias. (2 marks)

Show the model answerHide the model answer
The system only learns from its training data, which contains few children or people with other accents (1), so it will misunderstand these users more often, treating them unfairly compared with other users (1).

Explain who is responsible when an AI or robot causes harm

3 to 4 marksGrade 7
  1. List the people or organisations who could be responsible.
  2. Explain why the machine making its own decision makes blame unclear.
  3. Mention machine learning or the 'black box' problem if it is relevant.
  4. Link to the law: most laws were written for human decision-makers.

Example. A self-driving taxi with no human driver goes through a red light and injures a cyclist. Explain why it is difficult to decide who is legally liable. (3 marks)

Show the model answerHide the model answer
No human was driving, so the usual approach of holding the driver responsible does not work (1). Liability could lie with the car manufacturer, the software developers or the taxi company that runs and maintains the car (1). If the car uses machine learning, its behaviour came from its training data rather than a rule someone wrote, and it may not be possible to explain why it went through the light (1).

6-mark 'Discuss' the use of AI or robots

6 marksGrade 8
  1. Start with the benefits in this context.
  2. Cover the specification issues that apply: safety, algorithmic bias, accountability, legal liability.
  3. Develop each point with a consequence in the context.
  4. Conclude, e.g. whether a human should stay in control.

Example. A car manufacturer plans to sell fully self-driving cars that use machine learning. Discuss the ethical and legal issues of allowing these cars on public roads. (6 marks)

Show the model answerHide the model answer
Marked in levels: the top level needs a balanced answer with developed points applied to self-driving cars, and a conclusion. A strong answer might say: Self-driving cars do not get tired or distracted, so they could reduce crashes caused by human error, and they could give independence to people who cannot drive. However, safety is a concern: a car may meet a situation that was not in its training data, such as unusual roadworks, and make a dangerous decision. If the training data had few examples of, say, wheelchair users or children, the car could be worse at detecting them, which is algorithmic bias with serious consequences. After a crash it is unclear who is accountable and legally liable (the owner, the manufacturer or the software developers), and the car may not be able to explain its decision. Taxi and lorry drivers could also lose their jobs. Overall, the cars should only be allowed once they have been widely tested on representative data and the law makes clear who is liable in a crash.

Don’t lose marks

  • Saying the AI 'chose to be biased': explain that it learned from unrepresentative or biased training data.
  • Saying the robot or AI is to blame: a machine cannot be held legally responsible, so a person or company must be.
  • Calling every computer program AI.
  • Writing only about job losses when the question asks about ethical and legal issues: use the specification terms.
  • Forgetting the benefits in a 'Discuss' answer.

More tips

Memory tricks

  • The four specification issues: SLAB: Safety, Liability, Accountability, Bias.
  • Bias in, bias out: an AI is only as fair as the data it learned from.
  • Accountability = who must answer for it. Liability = who is legally responsible and may have to pay.
  • Is it AI? If it learns or makes decisions a human would normally make, yes; if it just follows fixed steps like a calculator, no.

Exam technique

  • Label each point with a specification term (safety, accountability, algorithmic bias, legal liability), then explain it in the context.
  • For any bias question, mention the training data.
  • A strong conclusion often recommends keeping a human in control of important decisions.

What each grade needs

What you need to be able to do, from the first marks up to the top grade.

  1. Grade 3
    Define artificial intelligenceAI is a computer system that carries out tasks that normally need human intelligence, such as recognising speech.
  2. Grade 3
    Give uses of AI and robotsFor example, medical scan analysis, fraud detection, chatbots, self-driving cars and warehouse robots.
  3. Grade 4
    Describe machine learningA type of AI that learns patterns from training data instead of following rules written for every situation.
  4. Grade 5
    Explain how algorithmic bias happensIf the training data is unrepresentative or reflects past prejudice, the system learns to treat some groups unfairly.
  5. Grade 6
    Explain safety risks of autonomous machinesA self-driving car or robot that makes a wrong decision, meets a new situation or is hacked can injure people.
  6. Grade 7
    Explain accountability and legal liability problemsIt is hard to say who is to blame, or who must pay, when a machine made the decision itself.
  7. Grade 8
    Discuss using AI in a given contextWeigh benefits such as speed and consistency against safety, bias, accountability and liability, then conclude.

Quick recall

Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.

Define the term 'artificial intelligence (AI)'.
Computer systems that perform tasks that normally need human intelligence.
Define the term 'robot'.
A computer-controlled machine that carries out physical tasks automatically.
Name the term for the collection of examples, such as labelled photographs, that is used to teach a machine learning system.
Training data
Give one reason why a company might use a robot instead of a person for a task that has to be repeated thousands of times.
A robot does not get tired, so it produces the same quality every time.
Name the type of component that collects information about the robot’s surroundings.
Sensor
Give one type of job that could be replaced by robots.
Assembly line worker

Sample questions

Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.

Question 1Easy3 marks
(a) Define the term 'artificial intelligence (AI)'.
[1]
(b) Give two examples of tasks carried out by AI systems.
[2]
Show the answer and mark scheme
(a) Answer: Computer systems that perform tasks that normally need human intelligence.
  • a computer system that can carry out tasks that normally need human intelligence, e.g. recognising speech or images, or making decisions
(b) Answer: Any two from: speech recognition, face recognition, translation, recommendations, fraud detection, self-driving, medical diagnosis.
  • recognising speech (voice assistants)
  • recognising faces or objects in images
  • translating languages
  • recommending films, music or products
  • detecting fraud in bank transactions
  • driving vehicles
  • helping to diagnose illnesses from medical scans
  • chatbots answering questions
  • filtering spam emails
Question 2Medium4 marks
(a) Define the term 'machine learning'.
[2]
(b) Explain how the training data used by a machine learning system affects its accuracy.
[2]
Show the answer and mark scheme
(a) Answer: A system learns patterns from training data, so it improves without being given explicit rules.
  • a type of AI in which a system learns patterns from (large amounts of) data
  • so it improves its performance or makes predictions without being explicitly programmed with rules for every situation
(b) Answer: It only learns from its examples, so poor or unrepresentative data leads to errors and bias.
  • the system can only learn from the examples it is given, so the training data needs to be large, accurate and representative of real situations
  • if the data is too small, incorrect or unrepresentative, the system makes more errors or is biased when it meets new data
Question 3Hard4 marks
An autonomous delivery robot travelling along a pavement collides with a pedestrian and injures them.
Explain why it can be difficult to decide who is legally responsible for the accident.
[4]
Show the answer and mark scheme
Answer: Responsibility is spread across developers, manufacturer and operator; the robot decided for itself in a way that may not be explainable, and the law has not caught up.
  • many different parties could be responsible: the programmers, the manufacturer, the company operating the robot or the people who maintain it
  • the robot made the decision itself, with no human controlling it at the time
  • if it uses machine learning, its behaviour came from its training data, so no one directly programmed that action
  • it may be impossible to explain exactly why it made the decision (a 'black box')
  • laws were written for human drivers and operators and may not clearly cover autonomous machines
  • the pedestrian’s own actions or unexpected conditions may also have played a part

More in Ethical and legal issues

Stuck? Get 1-to-1 help.

Chhetri Academy tutors GCSE and A level Maths and Science online, with a free 30-minute trial lesson.