IB Computer Science lesson prep: machine learning ethics and emerging technology, impact ratio 0.5, worst group 70 per cent
- 2026-11-27
The usual failure in ethics answers is a position without evidence: students write that AI is biased but cannot say where the bias entered or how large it is. This session ties each of the nine issues to a number that can be computed, so every claim has a ledger behind it.
01 Prerequisites (3-minute check)
If any of these fails, fix it before the lesson starts.
| Skill | Quick check | Pass mark |
|---|---|---|
| Percentages and ratios | What is 720 divided by 3000 as a percentage | 24.0 per cent |
| Logarithms | Roughly what is e to the power of minus 1 | About 0.368, used to read loss and probability |
| Unit conversion | 480 kWh times 0.5 kilograms is how many kilograms | 2240 kilograms, that is 2.24 tonnes |
02 Lesson flow (60 minutes)
| Time | Stage | Tutor does | Student does |
|---|---|---|---|
| 0-8 min | Entry check | Ask whether AI discriminates and demand a number | Write a position first, test it against the ratio later |
| 8-28 min | Nine issues and training bias | Impact ratio 0.5, overall 40.8 | Compute ratios, locate where bias enters |
| 28-42 min | Online communication | Generated content 40.0, worst group 70.0 | Compute misses and false flags |
| 42-54 min | Emerging technology | Two to the 300, 16.7 ms, 2.24 tonnes | Compute energy and latency |
| 54-58 min | Equity and access | 2400 students without a device | Compute participation and name a remedy |
| 58-60 min | Exit check | Collect and mark three questions | Work independently |
03 Teaching script (read it out)
Scene 1: Nine issues, each tied to a number
Use loan approval as the backbone: 10,000 applicants, 3,000 in group A and 7,000 in group B. Historical approval ran at 24.0 per cent against 48.0 per cent, so the impact ratio is 24.0 divided by 48.0, which is 0.5, below the usual 0.8 threshold, meaning adverse impact. Overall 4,080 were approved, 40.8 per cent, which sits neatly between the two groups, and that is exactly why an overall accuracy figure hides discrimination.
The key question: if the postcode proxy is removed, does the ratio become one? No. The labels are historical decisions, so the model learns who used to be approved, and those approvals already carry a 0.5 gap. Removing the feature removes one explanatory path while the bias stays in the labels. The thing to fix is the labels and the sampling, not the feature list.
Give every other issue one measurable handle: consent from the share who read the terms, privacy from the number of re-identifiable records, security from how many people one breach reaches, environmental impact from electricity and carbon, transparency from whether the influential features can be named. Accountability is hardest: when the model errs, who answers between the data supplier, the developer and the deploying institution, and the answer has to name a mechanism such as a human review gate or a retention period for logs.
Student task: using the impact ratio of 0.5, argue once whether this model discriminates, naming the numerator, the denominator, the 0.8 threshold, and why deleting the postcode feature is not enough.
Scene 2: Online communication, from misinformation to anonymity
Then show how bias is amplified: of 1000 test faces, 900 come from one group and 100 from another, with error rates of 2 and 30 per cent. Errors are 18 plus 30, 48 in all, so overall accuracy is still 95.2 per cent, yet the worst group sits at 70.0 per cent, a gap of 28.0 points. Balance the test set and the overall figure falls to 84.0 per cent. Same model, different test set, different headline, which is why an accuracy claim must be quoted with the composition of the test set.
Anonymity and harassment are opposite risks: anonymity protects whistleblowers and victims, and also protects harassers; real names suppress harassment and also stop vulnerable people speaking. The teachable answer is layered: speech may be anonymous, but repeat harassment is handled through behaviour records rather than identity, and keeping behaviour records rather than content is precisely the privacy against security trade-off.
Consent can be counted: of 5,000 users only 600, 12.0 per cent, read the terms; 45.0 per cent of those consented, which is 270 people; of the 4,400 who did not read, only 3 per cent opted in, 132 people; the total is 402, or 8.0 per cent. Note that 67.2 per cent of all consents came from readers, so “most people agreed” means little when most people never read the document.
Student task: raise recall from 70 to 90 per cent, recompute caught and missed posts and the resulting precision, then write one sentence on who bears the cost of the extra recall.
Scene 3: Emerging technology: quantum, AR and VR, pervasive AI
AR and VR are a latency argument: at 90 frames per second each frame has 11.1 milliseconds, at 60 it has 16.7, and a 40 millisecond network round trip is already 2.4 times the latter budget, so immersive applications must compute near the user or the user feels sick. That single fact also explains why edge computing exists.
The environmental ledger for pervasive AI: training for 1,200 GPU hours at 0.4 kilowatts is 480 kWh; inference over 2,000,000 requests at 0.002 kWh each is 4000 kWh; the total is 4480 kWh with inference at 89.3 per cent. At half a kilogram of carbon per kWh that is 2240 kilograms, or 2.24 tonnes. The teaching point is that training is one-off while inference is continuous, so a heavily used service carries most of its carbon in serving.
Equity and access: of 6,000 students, 40% that is 2,400, have no device at home, so only 3,600, 60.0 per cent, could sit the exam. This is the most overlooked issue: the technology itself is neutral, but the deployment excludes three in ten. Remedies must be concrete, such as loaned devices, longer opening hours and a paper alternative, rather than “better communication”.
Close on the need to keep revisiting guidance: ten years ago nobody asked about consent for training data, five years ago nobody asked about the carbon of inference. Capability moved, so the ethical questions moved with it. The examinable move is to name one concrete shift that was legitimate then and contested now, and to say which new capability caused it.
Student task: given a school facial recognition register, argue once for and once against using three of the nine issues, with one verifiable number or one concrete mechanism in every sentence.
04 Question types and worked steps
| Type | Example | Steps | Answer |
|---|---|---|---|
| Judge adverse impact from ratios | Two group sizes and two approval counts are given | Four steps: compute both rates, divide to get the impact ratio, compare with 0.8, say whether bias is in labels or features | Ratio 0.5, below 0.8 |
| Explain accuracy through test composition | Group sizes and error rates are given | Three steps: errors per group, total errors over total faces, then the worst group alone | Overall 95.2 but worst group 70.0 |
| Compute recall and precision for detection | Reported posts, generated share, recall and flagged count are given | Four steps: true positives, misses, precision over flagged, then the base rate | Caught 280, missed 120, precision 80.0 |
| Compute energy and emissions | Training hours, power, query count and energy per query are given | Three steps: hours times power, queries times energy, then the emission factor and a conversion to tonnes | 4480 kWh, 2.24 tonnes, inference 89.3 per cent |
| Write an ethics recommendation with a mechanism | A deployment scenario is given | Four steps: name who is affected, name the step where the risk occurs, give an enforceable mechanism, say how you would verify it works | For example a human review gate plus log retention, verified by the overturn rate |
05 Independent practice (3 questions)
| Question | Answer | What to watch |
|---|---|---|
| Loan data: 3,000 applicants in group A with 720 approved, 7,000 in group B with 3,360 approved. (a) Give both rates and the impact ratio. (b) What is the overall approval rate? (c) Does dropping postcode remove the gap? | (a) 24.0 and 48.0 per cent, ratio 0.5. (b) 40.8 per cent. (c) No, the bias is in the labels | Impact ratio divides rates, not counts |
| A test set of 1000 faces has 900 from group A with a 2 per cent error rate and 100 from group B with 30 per cent. Give the overall and worst group accuracy, plus one conclusion. | Overall 95.2 per cent, worst group 70.0 per cent, a gap of 28.0 points | Overall accuracy is inflated by the sample mix |
| Training takes 1,200 GPU hours at 0.4 kilowatts; inference is 2,000,000 requests at 0.002 kWh each. Give total energy, the inference share and emissions at 0.5 kilograms per kWh. | 4480 kWh, inference 89.3 per cent, 2.24 tonnes | Training and inference must be added in the same unit |
06 Common mistakes and what to say
| Mistake | Student writes | Say this |
|---|---|---|
| Answering ethics with a stance | Writing “AI is dangerous and should be banned” | “Name the issue, the number affected and the step where it happens. The impact ratio is 0.5, so group A was approved at half the rate of group B. Then name a mechanism, such as human review plus log retention. Numbers and mechanisms are what earns marks.” |
| Believing a deleted feature means fairness | Writing “remove postcode and gender and the model is neutral” | “The model learns historical decisions, and history carries a 0.5 gap. Removing the feature only makes the gap harder to see while the ratio stays the same. What has to change is the labels and the sampling, and the ratios have to be measured again after every change.” |
| Quoting overall accuracy for everyone | Writing “overall 95.2 per cent, so it works for all users” | “95.2 per cent is pulled up by 900 examples from one group. The worst group is at 70.0, and balanced sampling drops the overall to 84.0. Report the worst group, because an average hides harm that falls on a few.” |
| Swapping recall and precision | Writing “it caught 280 posts, so accuracy is 70 per cent” | “70 per cent is recall and its denominator is the 400 posts that were truly generated. Precision divides by the 350 flagged posts and gives 80.0 per cent. Both have to be reported, or nobody knows how much was missed or wrongly punished.” |
07 Homework (paper, section and question numbers)
- IB Computer Science chapter index — Use the three tasks on this page as homework
- Neural networks and CNNs — Previous chapter: how a model produces an answer at all
- Tutor prep guide index — Similar chapters for other qualifications
08 Exit check (last 5 minutes)
| Question | Answer | Decision |
|---|---|---|
| Nine issues | Ratio 0.5, overall 40.8 | Stance without a ratio means repeat act one |
| Test set | Overall 95.2, worst group 70.0 | Cannot explain why averages mislead is a fail |
| Emerging technology | Two to the 300, 16.7 ms, 2.24 tonnes | Cannot state inference at 89.3 per cent means repeat act three |
09 Tutor FAQ
Is A4.4 SL or HL?
A4.4 is required at both SL and HL; A4.2 and A4.3 are the HL only sections. So SL students must still discuss the nine issues, bias in training data and the impact of emerging technology, while the regression, clustering and convolution calculations are HL only.
How is an ethics answer marked when there is no single right answer?
Three things earn marks: naming who is affected, naming the step in the system where the risk occurs, and giving an enforceable mechanism. All three and the answer is strong; “be careful” and “needs regulation” with no mechanism is empty. Attaching one number, such as an impact ratio of 0.5 or a worst group at 70 per cent, is the fastest way to lift a response.
Must students memorise legislation?
No. IB assesses ethical reasoning, not recall of statutes. Generic mechanisms such as data protection principles or an algorithmic impact assessment are enough, and the space is better spent on numbers and mechanisms than on names of laws.
Find a tutor — freeTutor Registration →
A TutorZone lesson-prep guide. Written by the TutorZone team; questions and lesson flow are original and are not taken from any school or publisher material.



