Blog · · 5 min to read

The wrong thing, well made

We asked for a garden hoe and got a nicely made digging fork. It passed every one of our checks. Here is why that happens, and how we taught the computer to ask "is this really a hoe?"

In the first post we explained how model-maker turns one sentence into a 3-D object, and that every object goes through a list of checks. This post is about the mistake those checks could not see.

How we test

To know whether a new version of model-maker is better, we need a fair test. So before we start work on a version, we write down 50 sentences, such as "a garden hoe", "a copper saucepan" or "a wooden spoon", and put them away. We call them sealed: nobody looks at them or tunes anything with them while the work goes on. When the work is done, we make all 50 objects once with the old version and once with the new one.

Then a judge looks at every object from all round and from below, and says for each one: would you use it as it is? (For this test the judge was an AI model that reads pictures; every verdict is written down, so anyone can check it.) The judge does not know which version made which object, so it cannot favour the new one. This is called judging blind.

What we found

Of the 50 objects the new version made, 22 passed every check and looked right. The old version managed 18. Better, but only a little.

The surprise was in the objects that looked wrong. Half of them went wrong in the very first step, the picture, and most of those were not badly made at all. They were the wrong thing, made well.

Three objects in two views each, with what was asked for under them: a digging fork for "a garden hoe", a pick on a pole for "a scythe", a black metal frame for "a blacksmith's bellows"
Three of the wrong things, each from the front and the side. Asked for a hoe, a scythe and a bellows, the computer made a digging fork, a pick on a pole and a metal frame.

A garden hoe has a flat blade set across the end of its handle, for scraping weeds. The computer made a digging fork with four prongs. It is in one piece, it stands up, its paint is complete. Every check we had passed it. Our checks measure how well a thing is made; none of them asked whether it is the thing someone asked for.

Why it happens

Remember the first step: a picture model paints a picture of the sentence. A picture model learns from very many pictures with words next to them. Garden tools with long handles look much alike, and a model that is not sure of a word paints something close: a tool with a long handle and something at the end. (That is our best explanation; nobody can look inside the model and see why.) Everything after that step builds faithfully on the wrong picture.

We did have one check meant to catch this. It compares the picture with a list of things it might show (a fork, a rake, a spade, and so on) and asks which word fits best. But a digging fork is still closer to "hoe" than to anything else on our list, so it passed.

Asking the computer a question

Researchers who study picture models had already found a better way: show the picture to a model that can look and answer questions, and ask it plainly, "Does this picture show a garden hoe?" The model answers yes or no, and also says how sure it is. This way of scoring is known as VQAScore: VQA stands for visual question answering.

We tried it with a free model that runs on an ordinary computer. Two things surprised us.

A digging fork shown from eight sides, turning round in steps
What the question model saw: the 'hoe' from eight sides. Asked “Is it a garden hoe?”, it was only 10 % sure.

We set the rule before the test: below 50 % sure means "refuse". On the 50 sealed objects this caught six of the eight that went wrong in the picture. It also wrongly refused three good objects, among them a pitchfork it doubted. The bad objects that slipped through every check fell from 11 to 5.

What we learned

The question model does not refuse anything yet: for now it only writes down its answer. First we will test it on 50 new sentences it has never seen, because a rule tuned on one test can fool you on the next.

Words used in this post