Medical biology is undergoing an unprecedented transformation thanks to the integration of artificial intelligence into testing processes. From automated recognition of cells on smears to predicting complex diseases, AI now delivers greater precision and crucial time savings for emergency diagnoses. For our patients, this means faster results and optimised medical care.

But in practice, what does artificial intelligence do in a laboratory? What does it change for patients, doctors and biologists? And what are its limits? An overview of a revolution that mostly takes place behind the scenes.

Biologist at the microscope, work that artificial intelligence now assists

Artificial intelligence in the laboratory: what are we talking about?

The term artificial intelligence covers very different realities. In a medical laboratory, it mainly refers to programs that can learn from large numbers of examples to recognise shapes, spot anomalies or estimate a probability.

There are generally two families of tools. The first apply rules written by experts: for example, flagging any potassium result above a certain threshold, or automatically comparing a result with the same patient's previous one. The second, based on machine learning, build their own criteria from thousands of images or data already interpreted by specialists.

In both cases, the goal is not to replace medical reasoning, but to handle repetitive tasks faster and more consistently, so that human attention can focus where it is essential.

Why now?

Three factors explain the current boom: the digitisation of laboratory data, which can now be used on a large scale; computing power available at lower cost; and progress in learning methods, especially for image analysis. Medical biology, which produces huge amounts of structured results every day, is a natural field for these technologies.

An evolution, not a break

Automation has long been present in laboratories: analysers, tube processing lines, laboratory information systems. Artificial intelligence continues this trend. It adds a new capability, interpreting images or complex data sets, where conventional tools simply measured.

5 practical applications of artificial intelligence in medical biology

1. Blood cell analysis

On a blood smear, the biologist looks at the shape of the cells to spot abnormal ones. Digital imaging systems now pre-classify these cells: they photograph the smear, identify each cell and suggest a classification that the biologist checks and corrects. Time spent at the microscope is reduced, and attention focuses on difficult cases.

2. Microbiology

In bacteriology, automated reading systems photograph culture plates at regular intervals. Artificial intelligence helps detect colony growth and identify negative cultures, which often make up the majority of samples. The microbiologist can then focus on positive cultures, which require identification and antibiotic susceptibility testing.

3. Validating results

Every result must be validated before it is sent. Validation support systems compare a patient's results with each other and with previous tests, then flag inconsistencies: a sudden change, an unlikely combination of values, a result incompatible with age. The biologist keeps the final decision, but is alerted earlier to the files that deserve attention.

4. Detecting errors before analysis

A large share of errors in biology occurs before analysis: a mislabelled tube, a haemolysed sample, too long a transport time. Algorithms can spot some of these problems from the results themselves and suggest taking a new sample rather than issuing a doubtful result.

5. Prediction and diagnostic support

In hospitals, artificial intelligence models analyse combinations of laboratory results to estimate a risk, for example of serious infection or deteriorating kidney function. These tools are still being evaluated in many countries and must prove their real benefit for patients before large-scale use.

Automated technical platform, where artificial intelligence is applied
Analysers and laboratory information systems form the foundation on which artificial intelligence tools rely.

How an algorithm learns to read a smear

To understand what artificial intelligence can and cannot do, it helps to see how it learns. Take the example of recognising white blood cells on a blood smear.

Step 1: gather examples

Developers collect tens of thousands of cell images from many patients and different laboratories. The more varied these images, the more robust the tool will be in real situations.

Step 2: have experts annotate the images

Experienced biologists indicate, for each image, which cell it shows. This annotation work is long and demanding: the quality of the final tool depends directly on it.

Step 3: training

The program analyses the images and gradually adjusts its parameters to match the experts' answers. It thus learns to associate certain shapes, colours and textures with each cell type.

Step 4: evaluation on unseen cases

The tool is then tested on images it has never seen, and its answers are compared with the experts'. Only after this evaluation, followed by verification in the laboratory that uses it, can the tool be put into service, always under human supervision.

This method explains a key limitation: faced with a very rare cell, absent or nearly absent from the training examples, artificial intelligence may hesitate or get it wrong. That is precisely where the biologist's eye remains irreplaceable.

Artificial intelligence in other medical disciplines

Biology is not the only field concerned. Other specialties that rely on analysing images or large amounts of data were among the first to take an interest.

  • Medical imaging: help detecting lung nodules, fractures or abnormalities on mammograms.
  • Pathology: digitisation of tissue slides and highlighting of suspicious areas for the pathologist.
  • Dermatology and ophthalmology: analysis of photos of skin lesions or of the back of the eye, especially in people with diabetes.
  • Genetics: sorting and interpreting the very many variants revealed by sequencing.

In all these fields, the same principle applies: the tool assists, the specialist decides.

What artificial intelligence changes for patients

For patients, artificial intelligence is almost invisible. They do not see it during the blood draw, and nothing changes in how they prepare or receive their results. Yet its effects can be felt on several levels.

  • Shorter turnaround times: by speeding up some readings and the validation of normal files, AI frees up time to handle all requests faster.
  • Greater consistency: an algorithm does not get tired at the end of the day. It applies the same criteria to the first and the hundredth sample.
  • Increased vigilance: automatic alerts draw the biologist's attention to an unusual result that might have gone unnoticed in a long series.
  • Finer follow-up: systematic comparison with previous tests helps spot a slow change, even when each result stays within the normal range.

The biologist remains at the centre of the decision

Far from replacing human expertise, these technologies act as a high-precision assistant for the biologist. They secure the interpretation of massive data and drastically reduce the risk of error.

Responsibility for a result remains with the biologist, who signs off its validation. Only they can compare a figure with the clinical context provided by the doctor, decide on an additional test, call a prescriber urgently or request a new sample. Artificial intelligence proposes; the biologist decides.

A dialogue between people and tools

In practice, the work is organised as a dialogue. The tool pre-sorts samples, suggests a classification or raises an alert; the biologist confirms, corrects or investigates further. Each correction is useful information: it allows the tool's performance to be monitored over time and, if necessary, any drift to be reported to the supplier. This ongoing vigilance is an integral part of the laboratory's quality approach.

New skills

Working with these tools requires new skills: understanding how an algorithm was trained, knowing its weak points, knowing when not to trust it. The training of biologists and technicians is changing accordingly, with a growing role for computing and statistics.

The limits of artificial intelligence in health

Enthusiasm must not make us forget the precautions. Several limits are now well identified by the medical community and by the World Health Organization, which has published guidance on the ethics and governance of artificial intelligence in health.

The quality of training data

An algorithm is never better than the examples it learned from. If it was trained on data from a very different population, its performance may drop when used elsewhere.

Bias

Unbalanced data can lead to more frequent errors for certain groups of patients. That is why every tool must be evaluated in the real conditions of the laboratory that uses it.

The "black box" effect

Some models are hard to explain: they give an answer without detailing the reasoning. In medicine, where every decision must be justifiable, this opacity requires systematic human control.

Validation and regulation

A diagnostic support tool is a medical device. It must prove its reliability before being used, then be monitored over time. Regulatory frameworks are gradually being built in many countries.

The right questions before adopting a tool

For a laboratory, adopting an artificial intelligence solution is a decision that affects the quality of results. A few questions help assess it seriously:

  • Has the tool been validated by published studies, on populations comparable to our patients?
  • Has its performance been checked in our own working conditions?
  • Are its answers explainable, or at least verifiable by the biologist?
  • How is the health data it processes protected, and where is it hosted?
  • Who handles maintenance, updates and performance monitoring over time?
  • Have staff been trained in its use and its limits?

These requirements match those of quality approaches, such as ISO 9001 certification or ISO 15189 accreditation, which require every method used to be controlled and validated.

What artificial intelligence will not replace

The relationship between a patient and the professionals caring for them remains human. Welcoming patients at the laboratory, explaining how to prepare, the act of taking a sample, the conversation between the biologist and the doctor about a worrying result, supporting an anxious patient: no machine does this for us. The goal is therefore to entrust tools with what they do well, to free up more time for what matters.

Artificial intelligence and health data protection

Biological data is among the most sensitive there is. Using it to develop or run artificial intelligence tools must strictly respect medical confidentiality and personal data regulations.

In Morocco, this framework is set by Law 09-08 on the protection of individuals with regard to the processing of personal data, under the supervision of the CNDP. Secure access, data minimisation, traceability of processing: these requirements apply to all of a laboratory's digital tools, whether or not they use artificial intelligence.

Protected health data, a central issue for artificial intelligence

A question of restraint

The most powerful artificial intelligence tools consume a lot of computing resources. Choosing solutions proportionate to the real need, rather than the most spectacular technology, is also part of a responsible approach.

And tomorrow? Artificial intelligence in the laboratories of the future

The coming years should see artificial intelligence spread to new areas: interpreting genetic tests, personalised monitoring of chronic diseases, optimising sample circuits, prescribing support to avoid unnecessary or redundant tests.

This change comes with a challenge of access: making sure these tools benefit all patients, not just large centres. It ties in with the modernisation of biology in Morocco, discussed in our article on health sovereignty.

By investing in these cutting-edge tools, modern laboratories put technological innovation directly at the service of public health and patient comfort. At Laboratoire Olympia, this commitment means first and foremost latest-generation analysers, an ISO 9001 certified quality system and systematic biological validation of every result. Discover our tests.

Laboratory biologist at her workstation

A short glossary of artificial intelligence in health

A few words come up often in articles on the subject. Here is what they mean, in simple terms.

  • Algorithm: a sequence of instructions that lets a computer solve a problem or make a decision.
  • Expert system: a program that applies rules written by specialists, for example alert thresholds.
  • Machine learning: a method by which a program builds its own criteria from examples.
  • Deep learning: a form of machine learning that is particularly effective on images, used to recognise cells or colonies.
  • Data set: a set of examples used to train and then test a model.
  • Bias: a systematic error in a model, often due to unbalanced training examples.
  • Sensitivity and specificity: a tool's ability to detect true positive cases, and not to raise false alarms on negative cases.
  • Validation: checking, on real cases, that the tool works as intended before and during use.

These notions help put spectacular announcements in perspective: a "high-performing" artificial intelligence must always be judged on its sensitivity, its specificity and the population on which it was evaluated.

Frequently asked questions about artificial intelligence in the laboratory

Are my results validated by a machine?

No. Automated tools help with sorting and flag anomalies, but every report is validated by a biologist, who is responsible for it.

Can artificial intelligence make mistakes?

Yes, like any tool. That is why it is used as a decision aid, under the constant supervision of professionals, and regularly evaluated in the laboratory's real conditions.

Is my data used to train algorithms?

Any use of health data must respect medical confidentiality and Law 09-08. Your results are first and foremost for you and your doctor; any other use is strictly regulated.

Will artificial intelligence replace biologists?

No. It is changing their job by automating some repetitive tasks, but validating results, talking with doctors and medical responsibility remain human. On the contrary, it frees up more time for complex cases.

How can I tell whether a laboratory is reliable?

Beyond the tools it uses, look at its quality commitments: ISO 9001 certification, ISO 15189 accreditation process, application of the GBEA and systematic biological validation of every result.

Does it cost the patient more?

No. Test prices do not depend on the software the laboratory uses. On the contrary, the aim of these technologies is greater efficiency.