close up shot of chess pieces

Can a Machine Know, or Is It Merely Right?

A man sits in front of a Go board. It is March 2016, in Seoul. This is the second match of a five match series. Two players face each other and move black and white stones on a 19×19 grid, seeking to outsmart each other. The man is Lee Sedol, one of the best players in the world and his opponent is a program created by Google DeepMind, called AlphaGo. On its 37th move, AlphaGo places a stone in a place that very few people expected. Commentators suggest that the program may be making a mistake, but nobody knows. Lee leaves the room for fifteen minutes, and comes back. Lo and behold, AlphaGo wins the match, 4-1.

In the fifteen minutes, Lee must determine whether AlphaGo was acting knowledgeably, or if it was just lucky. We know the difference is not always obvious. A calculator will multiply 6,397 by 8,214 correctly all the time, however we don’t credit it with knowledge. Imagine two students in an exam. The first has crammed last year’s paper, without really understanding it. It comes up this year, and the student gets full marks. However, the second student has spent the week doing the questions, gets one wrong, figures out why, and also gets full marks. To the teacher, both papers look the same. Some would argue that both students know the answers, however I would say this confuses knowing something with being able to produce the answer.

Calculated Ignorance

Suppose the examiner had set 6 × 8 instead of 6 × 7. The crammer is answering a question that is no longer there, yet the second student answers the question given to her. Researchers in machine learning call this difference memorisation versus generalisation. If a system makes it through every question with flying colours, it might just be a good crammer.

The calculator, however, doesn’t cram. It doesn’t have a set of answers that it is memorising, and it uses its method to perform the calculation on numbers that it hasn’t seen before. This is what we credit the second student for. It is not novelty that separates the two, yet how the second student approaches the mathematics. The student would use her multiplication method to solve a physics problem, which is nothing like her question paper. If she finds that the product of two numbers is 4,000, when she expects a value around 40, she will check back. But if you ask the calculator to do 7 × 8, when you meant to ask it 7 + 8, it will give you 56 without a second thought.

Tempering the thesis

We can retain the thesis by saying that the man, too, has his own competence: he chose a person who appeared to know the city, and he followed the directions correctly. This is true of him. But now his competence is broad enough that pretty much anyone who follows instructions could lay claim to it. The calculator is back in.

I think a more reasonable approach is to temper the thesis. If a system produces the correct answer, then the answer is an achievement of the system if it produces the answer based on a competence that is built into the system. This does not ask whether the man knows the answer (he does) but instead asks who achieves the answer. In the Chicago scenario, it is the stranger’s achievement. Whether this is sufficient for knowledge, or whether knowledge requires belief, I shall leave open.

The calculator does better here than on novelty. The method used by the calculator was written by its designers, step by step. Therefore, the competence is theirs, and the achievement of doing well on numbers that they have not seen before is also theirs. This brings me back to the man at the board, and to a system that does not use a method written by anyone.

Go Figure

The game of Go has about 250 legal moves per turn, and a typical game has about 150 moves. It is simply not possible to try out all possibilities. Chess programs have been able to use brute force, because the number of moves per turn is about 35. The engineers at DeepMind had to do some work to make the search more manageable. AlphaGo couldn’t just have looked at thousands of games and learn its moves from that.

Instead, they used a method called Monte Carlo tree search, combined with two neural networks, one to suggest good moves to consider, and the other to judge how good the position was.[3] The first network was trained on about thirty million positions from strong human play, and further refined by playing games against copies of itself.

The engineers have written the search procedure, but the networks have learned to judge positions. Nobody has told the system what makes a good shape, or a weak group of stones. Whether AlphaGo understands the tricks it uses will depend on which part we are talking about. The search is a lot like the calculator’s method – it has been written by someone else, and the system follows it faithfully. The judgement of the position was learned.

Leave a Reply