image captionEnvironmental campaigners are concerned about the impact of sewage on our rivers
Hundreds of previously unreported releases of raw sewage into UK rivers have been detected thanks to artificial intelligence, researchers say.
Scientists identified 926 “spill events” from two wastewater treatment plants over an 11-year period by employing machine learning.
The UK Environment Agency said it was “impressed by the accuracy” of the approach.
“We welcome any tool that prevents pollution,” the agency said.
The researchers, who published their study in the journal Clean Water, trained a computer algorithm to recognise, through the pattern of flow through a treatment plant, when a spill was happening.
Algorithms are software-based instructions for solving a problem.
image captionThe River Wharfe in Ilkley recently became the first in England to be designated a bathing site, meaning its pollution levels will be monitored
What constitutes a ‘spill’?
Wastewater treatment plants are permitted to release untreated sewage into rivers when there is exceptional rainfall. Storm tanks at a plant can become overwhelmed with rainwater and untreated wastewater overflows from the tanks into waterways.
But there has been concern among environmental scientists and campaigners about the frequency of such raw sewage overflows.
image captionHeavy rain causes much high volumes of water to enter treatment plants
Christine Colvin, from the Rivers Trust charity, told BBC News: “We put together the first national map of sewer overspills into English rivers last year, [and] I think we were all shocked at how much, and how widespread, raw sewage pollution is in our rivers.
“That map reflects the reported overspills. We don’t know how extensive unreported overspills are.”
image captionThe Rivers Trust says we ‘can’t afford’ the polluting impact of sewage on UK rivers
Prof Andrew Singer, of the UK Centre for Ecology and Hydrology (UKCEH), said the new approach was intended to establish an accurate measure of “how much… under-reporting [of spills] might there be”.
“We wanted to bring new technology to assist with transparency and enforcement around water quality,” he said.
How can artificial intelligence help?
The research – led by Prof Peter Hammond, also from the UKCEH – used a pattern recognition algorithm originally developed for medical genetics.
“Previously, I was using machine learning to detect subtle differences in the shape of children’s faces to help diagnose certain genetic conditions,” he said.
“Instead of mapping the 3D shape of a face, here we have the shape of the flow through a wastewater treatment works.”
While that may seem like a departure, the pattern recognition and machine learning approach works in the same way.
As the name suggests, pattern recognition is a way of using computing to detect regular or repeating elements in data. Machine learning is an approach to detecting those patterns using algorithms that improve automatically, through experience and through the analysis of data.
The researchers spent years gathering data about flow rates in two treatment plants – teaching the algorithm to recognise the “shape of the flow” when a plant was operating normally and when it was spilling untreated wastewater.
image captionThe UK government is exploring the monitoring of wastewater for early signals of coronavirus outbreaks
“It builds up knowledge and then you test it,” said Prof Singer. “You basically give it all the data and say, ‘can you find the spills’?”
Using 11 years of flow data from two plants, which the researchers did not identify in their study, the algorithm “recognised” 926 cases where untreated sewage was being released for at least three hours.
The researchers say that water companies around the UK could put a similar approach in place at any plant to detect “spills that appear to be going unnoticed and unreported”.
The Environment Agency agreed there were “good opportunities should water companies wish to consider the model as a planning tool to help manage pollution and prevent incidents from occurring”.
Prof Singer added: “I have spent my career understanding the effects of pollution on our environment and to remedy the problems, or at least, understanding better to inform people who make decisions.
“And we need to sort out the raw sewage problem that we have in the UK.”
Ms Colvin added: “Fixing the problem is not going to be easy because it’s going to require extensive investment in both old and new sewerage infrastructure and rethinking how we manage rainfall runoff in our towns and cities.
“But we cannot afford the polluting impact on our waterways if we want to be able to use them safely for recreation, and if we want to enable a truly green recovery that brings back wildlife into our rivers.”
BBC News approached industry body Water UK about the study, and it declined to comment.
Follow Victoria on Twitter