Search
One propagator layer trained on 49-vertex graphs answers every question at every search depth on 250-vertex graphs.
Fig. 2 in the paperEach layer we study computes the partition function of a family of witnesses, the objects a task’s answer sums over (tokens, pairs, walks, subsets), and reads it at a temperature.
Transformers stop learning graph search as graphs grow, and learn the card game SET only after many distinct questions, although attention can represent both. We read these failures, and the uneven record of higher-order attention, from what a layer sums over: each layer we study computes the partition function of a family of witnesses and reads it at a temperature. We prove two laws. By the size law, existence is read correctly at every size, in the worst case, if and only if inverse temperature times margin is at least the logarithm of the number of candidates. By the depth law, layers over two-step walks reach exactly steps: a construction reaches that far, and from anonymous initial states no such network reaches further, for every . Layers built on these laws, and on two principles that we test, learn where Transformers fail. One propagator layer trained on 49-vertex graphs answers every question at every search depth on 250-vertex graphs. Given the modulus 3, exponential Newton computes the softmax of 2-simplicial attention over pairs exactly in operations for clocks; with six clocks it learns SET from as few deals as 2-simplicial attention and transfers from 8- to 20-card tables. On CLRS-30 without hints, a 186,000-parameter block of OR-join and power-mean channels matches (within half a point) or beats a model of at least 73 million parameters on 9 of 12 graph tasks of the official test set, and on 8 of 12 with freshly drawn test graphs. The same account explains where pair layers did not help and where parallel layers must loop.
One propagator layer trained on 49-vertex graphs answers every question at every search depth on 250-vertex graphs.
Fig. 2 in the paperGiven the modulus 3, exponential Newton computes the softmax of 2-simplicial attention over pairs exactly in operations for clocks; with six clocks it learns SET from as few deals as 2-simplicial attention and transfers from 8- to 20-card tables.
Fig. 3 in the paperBy the size law, existence is read correctly at every size, in the worst case, if and only if inverse temperature times margin is at least the logarithm of the number of candidates. By the depth law, layers over two-step walks reach exactly steps: a construction reaches that far, and from anonymous initial states no such network reaches further, for every .
Fig. 4 in the paperOn CLRS-30 without hints, a 186,000-parameter block of OR-join and power-mean channels matches (within half a point) or beats a model of at least 73 million parameters on 9 of 12 graph tasks of the official test set, and on 8 of 12 with freshly drawn test graphs.
Fig. 5 in the paper