ai.si
Field notes

Superintelligence explained

Does Mastering a Task Show That a System Can Learn a New One?

Bottom line

Two solvers can produce the same grid by following different rules. Give them a new example on which those rules disagree, and record how much help each needs to learn the intended one.

A horizontal arrow for breadth crosses a vertical arrow for depth. Distinct task shapes sit along the horizontal axis.

A claim of general capability needs both a range of tasks and a stated standard of performance within each one.

Suppose a model is given a number of pairs of grids, each with an input and an "answer" grid. Then given a new input grid, it outputs the correct answer grid. It may have detected some property or properties of the input shapes. Or detected that there was always, say, a single red square, and where. Or it may have learned nothing. In all cases it is able to solve this particular problem. Its success provides limited evidence about learning capacity until you know what the system had already practiced and which demonstrations it received.

This is the crux of Chollet's paper, On the Measure of Intelligence. He proposes judging the efficiency with which a system acquires skills, accounting for its prior knowledge, experience and the difficulty of generalizing. Whether one agrees that this is a good definition of intelligence or not, it is helpful in considering any set of test results. Much of the paper is devoted to elaborating the various steps which lead up to, and are hidden behind, the simple "percentage correct" figure.

What rules might you deduce?

Consider 5 squares, all white except a single blue one, second from the left. The solution has the single blue square third from the left. Repeating with a blue square third from the left, the solution has it fourth from the left. It would be natural to conclude "shift the blue square one to the right". Another plausible rule is "shift any non-white square one to the right". The data given is consistent with either conclusion.

Assume the test problem consists of 5 squares with a red square second from the left, and a blue one fourth from the left. Some solvers will shift only the blue square; others will shift both. Presumably only one set of solvers will be awarded 100% on this problem. That may well be fair, if all you want is to know if it can produce the correct final grid. But it doesn't show that that group of solvers has "more intelligently" deduced a general principle. A well-chosen training case with tiles of two colors could distinguish these two rules. Absent that, the solvers will bring various biases, for example as to whether colour is significant.

So it would be good if the set of problems given to a potential solver included some where at least two natural solutions would give different answers. And it would be very useful to know the effect on the results of providing one more example, chosen to remove that ambiguity. There is clearly a difference between a system that can learn from one well-chosen additional example, and one that only learns after being shown many hundreds of examples, most very similar. Yet both may achieve 100%. So it is important to report not just the end result, but how it was achieved.

The ARC problems

As an illustration of the kind of problem he has in mind, Chollet introduces the Abstraction and Reasoning Corpus (ARC). The solver is presented with several pairs of before and after grids, and required to supply an "after" grid for another given grid. Different tasks can require different transformations. Completing one establishes that the solver produced the expected grid. It may still have to infer a fresh rule from examples on the next task.

So there is a great deal of "learning" that may go into building a good solver, before it is set the problems to be evaluated on. It may have developed various recognisers to identify objects, developed many possible operations and ways of combining them, ways of exploring which combination is most likely. All this can be done with reference to a range of sample problems. It is only when it is set the actual problems being evaluated that it will be shown a few sample pairs. So "can solve a problem given 3 sample pairs" is a very incomplete description of what it knows. For example, being able to recognize various objects will save it having to try all possible subsets of squares.

It is worth noting that almost any human given these problems as a "novice" would have an enormous amount of relevant experience. They would be very used to recognizing objects, expecting them to retain their characteristics as they move around, recognizing representations of objects, and so on. So describing the human as a novice only tells you about their experience of this type of problem. A lot could be learned, and usefully reported in a paper, about the range and degree of other relevant experience that humans bring to these problems.

Extensive prior knowledge

A very different kind of problem is posed by, for example, MMLU. Here the range of topics covered is very wide. Success over many of the 57 categories would indicate that the system can apply widely varying knowledge, and ways of reasoning, to questions put in a standard form. That is an important property if one is considering using it to answer a wide range of questions.

However, it may simply be recalling an answer to a standard question, learned at some stage in its long training. Failing to solve one of the problems requiring it to learn a rule could be due to many things: not being able to interpret the graphic display, inability to search efficiently, uncertainty as to which of several possible rules the examples indicate, and so on. So the fact that one set of problems covers 57 topics, and another a range of transformations, doesn't make their percentages interchangeable. It is useful to consider what the system knows before it starts on each type of problem, what further information it receives, and what the percentage success indicates about any of a range of possible abilities.

Similarly, if, on analyzing failures on one set of problems, the developers decide to do more training on, say, recognizing and applying various rotations, they can test whether the change helped on fresh problems. An improvement there would give the developers evidence for the value of the new training. But to show that the system has improved its rate of learning you would need to set it problems involving rotations it hasn't previously encountered, with a known small number of examples, and compare its performance with that of the previous version given the same conditions. There may be improvements at all levels: by the developers, by the learning algorithm, and by the "final" system.

Further experiments

Returning to the example above, set two groups of solvers the first pair. Then give one group one further pair, sufficient to distinguish between shifting only blue and shifting any non-white square. Give the other group a demonstration of equal length in which the sole colored square is blue. Set both groups a number of problems with 2 or more non-white squares. Any difference between the groups indicates the value, in these circumstances, of being given an illuminating example. Repeat over a range of sets of rules, to ensure that one group isn't just getting a fortuitous hit.

You will also want to know how many times the solvers can try, and what information they get from unsuccessful tries. Can they alter their internal representation? How much searching are they allowed? All depend on the purpose of the exercise. It may be perfectly acceptable to take a long time to search if you just want a good answer eventually. Or you may want to know if it can learn sufficient about an unusual requirement from one or a few examples to satisfy a customer.

Ideally you would want to know up to what limit it would be helped by an informative example. For instance, it may learn from an example any operation involving the color of objects, but be unable to generalize to a problem requiring it to detect and respond to a change in the number of objects. It is valuable to be able to report that to others. Combining these two types of problem into an overall percentage may obscure a significant difference.

So ideally, one would like to know as much as possible about the closest previous experience of the system; all the information it receives leading up to the final problem, and the problem itself. Depending on the circumstances one may be able to conclude a lot about its ability, or very little. Or one may be able to design further tests to resolve ambiguities. All are more valuable than arguing over whether the system displays "intelligence".

References

All field notes