First exams 2027 · SL & HL

A4.1.2 · Machine learning fundamentals

Machine Learning Hardware

Training a model to sort two categories of data and training one to drive a car are both "machine learning," but they need wildly different hardware underneath them. Matching the hardware to the actual scenario, not just reaching for the most powerful option available, is the actual skill here.

Core for SL & HL Typically 4–6 marks · AO1/AO2 Command term: describe

Explainer

Hardware for machine learning spans a genuine spectrum, from a standard laptop right up to infrastructure most people will never personally own. Where a scenario sits on that spectrum depends on three factors: how much processing the task actually needs, how much data has to be stored, and whether the setup needs to scale up later.

Df

Choosing machine learning hardware means weighing processing power (how fast calculations happen), storage (how much data can be held and how quickly it can be read), and scalability (how easily the setup grows if the task gets bigger) against each other for the specific scenario at hand.

Worked example

Eight hardware options

Click each one to see what it is, how it stacks up on processing, storage and scalability, and a genuine scenario where it's the right choice.

Check your understanding

A delivery robot needs to recognise obstacles the instant its camera sees them, with no time to wait for a distant server to respond. Which hardware setup fits this scenario best?

Common mistake

A recurring confusion flagged directly for these two specific chips

RecurringA genuinely documented pattern: with so many processor types to keep straight (CPU, GPU, TPU, ASIC, FPGA), candidates frequently treat ASICs and FPGAs as interchangeable, since both are described as "custom" hardware built for a specific job. The distinguishing fact is reprogrammability: once an ASIC is manufactured, its function is fixed permanently; an FPGA can be reconfigured after manufacturing to do a different job entirely.

✕

Treats them as the same idea: "ASICs and FPGAs are both custom chips built for one specific machine learning task, so they work the same way." Correctly identifies both as specialised, but misses the one fact that actually separates them.

✓

Names the actual difference: "An ASIC is manufactured to do one fixed job forever, which makes it extremely efficient but useless if the task changes. An FPGA can be reconfigured after manufacturing, trading some of that efficiency for the ability to be reprogrammed as requirements change." States the real distinguishing fact: fixed versus reconfigurable.

Revision questions

Past-paper style. Write an answer, then reveal the marking points and mark yourself.

Question 1 · 2 marks

[2]Define the term edge device, and state one reason it suits real-time machine learning tasks.

Question 2 · 3 marks

[3]Distinguish between an ASIC and an FPGA, referring to reprogrammability in your answer.

Question 3 · 6 marks

[6]A university research group needs to train a very large climate-simulation model, reusing the same fixed hardware for years across many research projects. Identify the most suitable hardware option and justify your choice, referring to processing, storage and scalability.

Flashcards

Active recall for this statement’s key terms.