An invited presentation to the AI in Asia conference, Korea University Law School, Dec 16, 2016.
Abstract
First year computer scientist students are taught some of the fundamental limits of algorithms – those repeatable sets of instructions that lie at the heart of computing and artificial intelligence. There are some surprisingly simple tasks that no algorithm is ever going to be capable of performing. We know this with mathematical certainty. Yet these lessons seem to get forgotten in the almost universal and unqualified enthusiasm for AI. To think that a computer can drive a car through complex streetscapes with zero human supervision seems to me supremely naive, and therefore inherently unethical.
The nature of algorithms
Any algorithm has a fixed set of inputs, and it does a fixed set of things, along the way usually outputs, which also comprise a strictly fixed set. If an algorithm is programmed to make stock forecasts for example, based on historic financial data, it cannot suddenly factor in the makeup of the board of directors in making its predictions.
It is not possible to “surprise” an algorithm in the human sense of the word. When processing any given input, an algorithm will either:
- know exactly what to do with the input (because it has been programmed so) and that includes rejecting input values that are detected by design to be invalid, or
- behave in an unexpected way.
Most algorithms operate as computer programs running within other computer programs, i.e. operating systems. If an algorithm starts to behave in what I call an “unexpected way” then the operating system and the broader hardware context can (hopefully) constrain the side effects.
Wising up
AI algorithms have got smarter and smarter. Game playing algorithms have long been a benchmark for AI sophistication.
An early significant AI program of the 1960s played backgammon, and beat the human world champion. Interestingly, the programmer had never played the game.
The game of chess was always taken to be a much more serious challenge and it took decades before world-class players were beaten. But when World Champion Gary Kaspersky lost to IBM’s Deep Blue, some saw it as the beginning of the end of humanity.
But no, humanity of course prevailed, completely unaffected by the best AI of the day. We adjusted our expectations of AI and shifted our concepts of intelligence so that playing chess was no longer quite so special.
Or to look at it another way, when evaluating AI against human benchmarks, we cheated!
To say we shifted the goalposts is not a flippant observation. In reframing intelligence and AI, we did what only humans do: we changed the rules.
A much harder test than chess turned out to be the more intuitive game of Go. But inevitably, that particularly human game was also automated, and recently history repeated itself, with Google’s AlphaGo defeating the best human, and again shaking some peoples’ treasured sense of what it means to be human.
The technical significance of AlphaGo for neural network technology and machine learning is great, but the broader impact should not be exaggerated, for two reasons.
First, we will keep changing the rules for what we claim intelligence to be.
And second, we should keep in mind how specialised these artificial intelligences really are.
A child could beat AlphaGo at chess. And IBM Watson can’t drive a car.
Algorithmic realities
Some problems do not have algorithmic solutions
It has been known for decades with mathematical certainty that some very simply stated problems have no algorithmic solution. That is, we will never program a computer with a single method to solve such problems. This is not a limit of today’s programming languages or architectures – it’s fundamental.
The classic example is the Halting Problem: it is not possible to create an algorithm that can examine any given program and tell if it will eventually halt. A whole branch of mathematics is devoted to the limits of formal systems – that is, processes that can be codified.
Some problems don’t have any solution
Consider the Trolley Problem. It’s a mainstay of driverless car reporting, but its true significance is often overlooked.
The moral of the Trolley Problem is that there is no resolution to the Trolley Problem. Reasonable people can disagree about the proper course of action in difficult situations.
This style of dispute is rare in software development to date (because the problem space for computer programs is so much simpler than human affairs) but it will increasingly feature in AI designs. The Trolley Problem is just the tip of a methodological iceberg.
Self-driving cars may decide life & death
If certain really simple problems cannot be resolved by computers, then we must temper our expectations of driverless cars and robots which will be called upon to make life and death decisions.
I am not claiming that computers can’t drive – clearly they can and several now do.
But we cannot expect a computer to deal with every eventuality in the real world. Many human decisions – especially when it comes to life and death – are unbounded with respect to inputs. That is, we cannot list all the important considerations in advance.
This class of problem is not rare. Consider the everyday reality that court cases are unpredictable. The thing that makes court cases so interesting in the mainstream media is that very best legal minds cannot forecast what’s going to happen (and thus we also have the bottomless entertainment resource that is the courtroom TV drama). Precedent is a mainstay of the law and always relates to an unexpected input, something no algorithm could ever handle.
Managing expectations
The way policy makers, lawyers and legislators are thinking about AI could be based on naïve assumptions about how these systems work.
Consider object and face recognition, which lie on the cutting edge of commercial AI. Most of us have seen explainers which suggest computers interpret the world by extracting features from images, superimposing lattices, and making a set of key measurements. But the latest machine vision and machine learning systems don’t work like this anymore. They don’t “think” in terms of discrete facial features. The inner working of state-of-the-art AI is uncomfortably hard to trace. Deep Neural Networks mimic aspects of human mental machinery, but they are becoming inscrutable.
And so we have seen some startling failures in neural networks.
- Object recognition in a cloud photo service has scandalously labelled black people as “gorillas”.
- Researchers at Carnegie Mellon crafted artificially patterned spectacle frames which fool face recognition algorithms into matching target celebrities, despite the patterns being entirely unlike facial features (to the human eye).
- A fatal crash of a Tesla was attributed to the vision system being confused by bright sunlight.
These cases of course point to shortcomings – including cultural biases – in the way AI systems are designed and tested. But I wish to stress that they also highlight just how alien AI can be. The community is being asked to trust the behaviour of AIs as they become enmeshed in our human world. Human vision and judgement are hardly perfect, and machines on average might eventually do better than us, but given the strange qualitative differences, fairly measuring the improvement will be challenging. The exceptions will continue to surprise us, especially when artificial thinking processes are socially unrelatable.
We are not able to ask a machine to “Explain what you saw?” much less “What were you thinking?”

