Skip to main content

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 systemAI-based system
Where the behaviour comes fromRules written by a developerPatterns learned from data
ReasoningExplicit logic: if-then-else, loopsProbabilities, statistics, pattern recognition
Same input, same output?Yes (deterministic)Not always
Why did it do that?Read the codeOften hard to explain: a “black box”
When the world changesSomeone changes the codeIt 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?

  1. A spam filter that learns from the messages users mark as spam
  2. A payroll program that calculates tax from the tax tables
  3. A customer-service chatbot built on a large language model
  4. A route planner that finds the shortest path with Dijkstra’s algorithm
  5. A route planner that predicts travel time from millions of past trips
  6. A thermostat that switches the heating on below 19 °C
  7. A face-unlock feature on a phone
  8. A system that can learn any intellectual task a human can, without retraining
  9. A spreadsheet macro that flags invoices above €10,000
  10. A recommendation engine for a streaming service
Show suggested answer
#SystemTypeWhy
1Learning spam filterAI-based, narrowIt learns its rules from labelled messages.
2Payroll programConventionalThe rules are the tax tables, written in code.
3LLM chatbotAI-based, narrowGenerative AI; capable, but still narrow (possibly frontier AI).
4Dijkstra route plannerConventionalA fixed algorithm: same input, same route. Search algorithms are sometimes counted as AI technology, but nothing is learned from data here.
5Travel-time predictorAI-based, narrowLearns from past trips; outputs are predictions.
6ThermostatConventionalOne explicit rule.
7Face unlockAI-based, narrowAn image model trained to recognise faces.
8Learns any taskGeneral AIDoes not exist today.
9Invoice macroConventionalOne explicit rule.
10Recommendation engineAI-based, narrowLearns 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

Quiz

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
C. A, B and D describe a conventional system. An AI-based system learns patterns from data and reasons probabilistically, so its output is not always predictable.
Quiz

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
B. Frontier AI is a subset of narrow AI: highly capable, but still task-specific. General AI, which would match humans across tasks without retraining, does not exist yet.
Quiz

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
Show answer
B. A large model is a “black box”: its behaviour is spread over very many learned parameters, so a reviewer cannot trace a decision the way they can trace code.