New study pinpoints the weaknesses in AI
ChatGPT and other solutions built on Machine Learning are surging. But even the most successful algorithms have limitations. As the first in the world researchers from University of Copenhagen has proven mathematically that apart from simple problems it is not possible to create algorithms for AI that will always be stable. The study may lead to guidelines on how to better test algorithms and reminds us that machines do not have human intelligence after all.

Machines interpret medical scanning images more accurately than doctors, they translate foreign languages, and may soon be able to drive cars more safely than humans. However, even the best algorithms do have weaknesses. A research team at Department of Computer Science, University of Copenhagen, tries to reveal them.
Take an automated vehicle reading a road sign as an example. If someone has placed a sticker on the sign, this will not distract a human driver. But a machine may easily be put off because the sign is now different from the ones it was trained on.
“We would like algorithms to be stable in the sense, that if the input is changed slightly the output will remain almost the same. Real life involves all kinds of noise which humans are used to ignore, while machines can get confused,” says Professor Amir Yehudayoff, heading the group.
A language for discussing weaknesses
As the first in the world, the group together with researchers from other countries has proven mathematically that apart from simple problems it is not possible to create algorithms for Machine Learning that will always be stable. The scientific article describing the result was approved for publication at one of the leading international conferences on theoretical computer science, Foundations of Computer Science (FOCS).
“I would like to note that we have not worked directly on automated car applications. Still, this seems like a problem too complex for algorithms to always be stable,” says Amir Yehudayoff, adding that this does not necessarily imply major consequences in relation to development of automated cars:
“If the algorithm only errs under a few very rare circumstances this may well be acceptable. But if it does so under a large collection of circumstances, it is bad news.”
The scientific article cannot be applied by industry for identifying bugs in its algorithms. This wasn’t the intension, the professor explains:
“We are developing a language for discussing the weaknesses in Machine Learning algorithms. This may lead to development of guidelines that describe how algorithms should be tested. And in the long run this may again lead to development of better and more stable algorithms.”
From intuition to mathematics
A possible application could be for testing algorithms for protection of digital privacy.
”Some company might claim to have developed an absolutely secure solution for privacy protection. Firstly, our methodology might help to establish that the solution cannot be absolutely secure. Secondly, it will be able to pinpoint points of weakness,” says Amir Yehudayoff.
First and foremost, though, the scientific article contributes to theory. Especially the mathematical content is groundbreaking, he adds:
”We understand intuitively, that a stable algorithm should work almost as well as before when exposed to a small amount of input noise. Just like the road sign with a sticker on it. But as theoretical computer scientists we need a firm definition. We must be able to describe the problem in the language of mathematics. Exactly how much noise must the algorithm be able to withstand, and how close to the original output should the output be if we are to accept the algorithm to be stable? This is what we have suggested an answer to.”
Important to keep limitations in mind
The scientific article has received large interest from colleagues in the theoretical computer science world, but not from the tech industry. Not yet at least.
”You should always expect some delay between a new theoretical development and interest from people working in applications,” says Amir Yehudayoff while adding smilingly:
”And some theoretical developments will remain unnoticed forever.”
However, he does not see that happening in this case:
”Machine Learning continues to progress rapidly, and it is important to remember that even solutions which are very successful in the real world still do have limitations. The machines may sometimes seem to be able to think but after all they do not possess human intelligence. This is important to keep in mind.”
The scientific article ”Replicability and Stability in Learning”, was published at the Foundations of Computer Science (FOCS) conference 2023.
Kontakter
Amir Yehudayoff
Professor
Department of Computer Science (DIKU)
University of Copenhagen
amye@di.ku.dk
+45 93 89 53 88
Michael Skov Jensen
Journalist and team coordinator
The Faculty of Science
University of Copenhagen
Mobile: + 45 93 56 58 97
msj@science.ku.dk
Følg pressemeddelelser fra Københavns Universitet
Skriv dig op her, og modtag pressemeddelelser på e-mail. Indtast din e-mail, klik på abonner, og følg instruktionerne i den udsendte e-mail.
Flere pressemeddelelser fra Københavns Universitet
Fra Stevns til Månen: Dansk-ledet rummission skal kortlægge Månens overflade17.12.2025 06:00:00 CET | Pressemeddelelse
Københavns Universitet skal stå i spidsen for den første danske månemission. Missionen skal kortlægge Månens overflade i hidtil uset detaljegrad, som skal gøre det sikkert at lande og etablere baser på Månen i fremtiden.
Your Christmas decorations may be hiding a tiny bit of badger and toad16.12.2025 09:27:05 CET | Press release
Researchers at the University of Copenhagen have discovered that moss acts as a natural trap for environmental DNA. This discovery opens the door to using moss as a simple, gentle and inexpensive method of monitoring biodiversity – from birds and mammals to fungi, insects and microbes.
Din juledekoration gemmer måske på en lillebitte smule grævling og skrubtudse16.12.2025 09:17:58 CET | Pressemeddelelse
Forskere fra Københavns Universitet har opdaget, at mos fungerer som en DNA-fælde i naturen. Og den opdagelse åbner for mos som en enkel, billig og skånsom metode til at holde øje med biodiversiteten – fra fugle og pattedyr til svampe, insekter og mikrober.
Forskere genopliver gamle ærtesorter i enorm frøsamling: ”Et uudnyttet guldkammer til fremtiden”15.12.2025 10:29:09 CET | Pressemeddelelse
Med en ny AI-metode har forskere fra Københavns Universitet genopdaget 51 gamle ærtesorter, som ikke længere bruges i landbruget, men som kan vise sig lovende til produktion af plantebaserede fødevarer. Metoden er en genvej til at finde nye ressourcer i de grønne skatkamre, som genbankers enorme frøsamlinger udgør.
Fermentering gør havets grøntsager mere spiselige5.12.2025 06:18:59 CET | Pressemeddelelse
Tang har længe været hyldet som en bæredygtig superingrediens – men dens “fiskede” smag er en barriere for mange vestlige forbrugere. Nu viser et nyt studie fra Københavns Universitet, at fermentering med mælkesyrebakterier kan være nøglen til at få tangen til at glide ned.
I vores nyhedsrum kan du læse alle vores pressemeddelelser, tilgå materiale i form af billeder og dokumenter samt finde vores kontaktoplysninger.
Besøg vores nyhedsrum