AI-based systems versus conventional systems
Why This Matters
Every test technique you know assumes that someone wrote down how the system should behave, and that the code does exactly that. An AI-based system breaks both assumptions: nobody wrote the rules, and the same input does not always give the same output. Knowing what kind of system you are testing is the first decision in your test approach.
What you will learn
- The difference between an AI-based system and a conventional system, and why it matters for testing
- The difference between narrow, general and super AI, and which of them exists today
Syllabus: AI-1.1.1, AI-1.1.2.
Rules written versus rules learned
A conventional system follows rules that a developer wrote: if income > 50000 and credit_score > 650: approve. The rules are explicit, the behaviour is deterministic (the same input always gives the same output), and you can read the code to find out why it did something. When the world changes, someone changes the code.
An AI-based system learns its rules from data. You show a model thousands of past loan decisions, and it finds the pattern itself. It reasons with probabilities and statistics, not with fixed rules, so its output is not always predictable, and it can be confidently wrong.
| Conventional system | AI-based system | |
|---|---|---|
| Where the behaviour comes from | Rules written by a developer | Patterns learned from data |
| Reasoning | Explicit logic: if-then-else, loops | Probabilities, statistics, pattern recognition |
| Same input, same output? | Yes (deterministic) | Not always |
| Why did it do that? | Read the code | Often hard to explain: a “black box” |
| When the world changes | Someone changes the code | It may adapt itself, or be retrained |
A classic example: a conventional program that recognises cats needs rules for ears, whiskers and fur, and fails on the first cat photographed from behind. An image classifier is shown thousands of photos labelled “cat” or “not cat” and learns which features matter. Nobody can point to the line that says “whiskers”.
What this means for testing
Three properties of AI-based systems change how you test them:
- Explainability. A large model can have billions of parameters. You cannot review it like code, and when it makes a decision, it may be impossible to say why. That matters most where decisions must be justified: healthcare, finance, defence, transport.
- Non-determinism. The same input can give different outputs. One test run proves little; you need many runs and statistics (module 5).
- Adaptability. Some systems keep learning after they go live. The system you tested is not the system that runs next month, so testing continues in production as monitoring (modules 5 and 7).
And there is a fourth, less obvious one: an AI-based system has no specification in the usual sense. The behaviour is defined by the training data. A defect in the data is a defect in the system, which is why module 6 is all about testing data.
Most real systems are a mix. A loan application website is conventional code (forms, database, e-mail) around one AI component (the model that scores the application). The conventional parts are tested the way you already know; this course is about the AI part, and how it fits into the whole.
Narrow, general and super AI
The syllabus distinguishes three levels of AI by what they can do:
- Narrow AI (also called weak AI) does one task, or a narrow range of tasks: recognise faces, filter spam, translate, play chess, write text. Every AI system in use today is narrow AI. That includes frontier AI: the largest, most capable generative AI systems. They can do many things, but they are still built and trained for specific kinds of tasks.
- General AI (strong AI) would match a human across a wide range of intellectual tasks, and learn a new task without being retrained for it. It does not exist yet.
- Super AI (artificial superintelligence) would go beyond human intelligence and improve itself without human help. The moment general AI would turn into super AI is called the technological singularity. It is speculative.
For a tester, the point is practical: the system you test is narrow AI. It is good at what it was trained for and can fail badly just outside it. A model trained on loan applications from five cities knows nothing about a sixth. Testing the edges of what a narrow system was trained on is where you find its failures.
Exercise
Decide for each system: is it conventional or AI-based? If it is AI-based, is it narrow, general or super AI?
- A spam filter that learns from the messages users mark as spam
- A payroll program that calculates tax from the tax tables
- A customer-service chatbot built on a large language model
- A route planner that finds the shortest path with Dijkstra’s algorithm
- A route planner that predicts travel time from millions of past trips
- A thermostat that switches the heating on below 19 °C
- A face-unlock feature on a phone
- A system that can learn any intellectual task a human can, without retraining
- A spreadsheet macro that flags invoices above €10,000
- A recommendation engine for a streaming service
Show suggested answer
| # | System | Type | Why |
|---|---|---|---|
| 1 | Learning spam filter | AI-based, narrow | It learns its rules from labelled messages. |
| 2 | Payroll program | Conventional | The rules are the tax tables, written in code. |
| 3 | LLM chatbot | AI-based, narrow | Generative AI; capable, but still narrow (possibly frontier AI). |
| 4 | Dijkstra route planner | Conventional | A fixed algorithm: same input, same route. Search algorithms are sometimes counted as AI technology, but nothing is learned from data here. |
| 5 | Travel-time predictor | AI-based, narrow | Learns from past trips; outputs are predictions. |
| 6 | Thermostat | Conventional | One explicit rule. |
| 7 | Face unlock | AI-based, narrow | An image model trained to recognise faces. |
| 8 | Learns any task | General AI | Does not exist today. |
| 9 | Invoice macro | Conventional | One explicit rule. |
| 10 | Recommendation engine | AI-based, narrow | Learns from viewing behaviour. |
Number 4 versus 5 is the useful pair: the same product (a route planner) can be conventional or AI-based. You can’t tell from the outside; you have to know how it decides.
Exam-style questions
1. Which characteristic is typical of an AI-based system and not of a conventional system?
- A. Its behaviour is defined by explicit if-then-else rules
- B. It always gives the same output for the same input
- C. Its behaviour is learned from data and its output may not be predictable
- D. It can be updated only by changing the source code
Show answer
2. A large generative AI model can write code, summarise documents and answer questions in many languages. How is it classified?
- A. General AI, because it can perform many different tasks
- B. Narrow AI, possibly frontier AI, because all AI systems in use today are narrow AI
- C. Super AI, because it performs some tasks better than humans
- D. Conventional system, because it runs on conventional hardware
Show answer
3. Why is explainability a particular concern when testing AI-based systems?
- A. AI-based systems cannot be tested without their source code
- B. Large models can have billions of parameters, so it can be impossible to say why they made a decision
- C. AI-based systems do not produce any output that can be checked
- D. Explainability is only a concern for conventional systems