PHYSICAL PDF PAGE 9 / 17

                                  What Makes a Good Feedforward Computational Graph?



‘(Second) Maximum retrieval’ tasks consist in finding the            well-justified metrics of feedforward information propaga-

category of the (second) maximum element in the set of               tion, used them to automatically discover an interesting

items. Categories are provided one-hot encoded, together             graph generator, and demonstrated its strong performance

with the values. For each set the categories are consistent,         on several carefully crafted benchmarks.

but are randomised between different sets. Ten categories

                                                                     We are hopeful that our work will inspire targeted follow-up

are used, so chance accuracy is ∼ 10%.

                                                                     studies in this space, which may usher in a new paradigm

The ‘Parity’ task consists of computing the parity of the            of graph rewiring. To this end, we particularly believe it

number of 1s in a bitstring. Since there are only two possible       would be worthwhile to study computational graphs that

parities, odd and even, random guessing should lead to               dynamically change across layers – as opposed to a single

around 50% accuracy on the task.                                     fixed graph studied here – as well as attempting to establish

                                                                     a more formal framework connecting mixing time, fidelity

For details on the models’ architectures and optimisation,

                                                                     and similar metrics. The framework of Lim et al. (2024)

please see Appendix E. As one can see in Figure 3, the FS

                                                                     could be useful for reasoning about feedforward computa-

graph leads in general to the best performance in distribution

                                                                     tional graphs spanning multiple layers.

and best out of distribution generalisation when compared

to other sparse graphs—matching the intuition found by

our metrics. More strongly, in the Parity task the FS graph          Acknowledgements

manages to effectively match the fully connected graph,

                                                                     We would like to extend deep thanks to Steven Kaptur-

while having a substantially lower number of edges, and

                                                                     owski for detailed assistance with the parity experiment,

while its performance tends to be similar to the Poisson(0.8)

                                                                     as well as Alexander Novikov for kindly supporting us as

graph inthe Maximum task, in the Second Maximum and

                                                                     we were setting up our FunSearch experiments. We are

Parity tasks there’s a significant gap in performance between

                                                                     also grateful to Razvan Pascanu and Simon Osindero for

the FunSearch graph and all the other sparse graphs.

                                                                     diligently reviewing this paper and providing valuable com-

Additionally, we may note that the results are aligned with          ments. Marc Lackenby was partially supported by the En-

the recommendations given in Figure 4, which concerns the            gineering and Physical Sciences Research Council (grant

problem sizes up to 1, 024 studied here. Namely, leveraging          number EP/Y004256/1).

an in-degree of 4 log n for the random expanders used to

sparsify the FS graph has a more graceful performance                Impact Statement

profile with increasing problem size across all three tasks

compared to using an in-degree of log n.                             This paper presents a novel framework for improving the

                                                                     information propagation quality across data with a feed-

On the Importance of Self-Edges and In-Degrees Our                   forward constraint. Such models are highly prevalent, and

theoretical framework always assumes that all self-edges             innovations in this space could eventually lead to improve-

are included, as a valuable way to preserve each node’s              ments in model sparsity (allowing for serving more powerful

information over time. Accordingly, removing it led to               models on edge devices, for example) and model out-of-

significant performance regressions on all tasks – especially        distribution generalisation (alowing more capable reasoning

on the Parity task where multiple elements need to interact          and scientific advances). Any societal consequences of our

meaningfully for the final answer computation.                       work could hence be equated to the societal consequences

                                                                     of accelerating these flavours of research.

We also evaluated our graph generators at different orders-of-

                                                        √

magnitude of in-degree – from O(1) to O(log n) to O( n).

We find that, as the in-degrees are increased, the models get

                                                                     References

more performant in-distribution, without a significant effect        Alon, U. and Yahav, E. On the bottleneck of graph

on overall out-of-distribution performance.                            neural networks and its practical implications. In In-

                                                                       ternational Conference on Learning Representations,

8. Conclusions                                                         2021. URL https://openreview.net/forum?

                                                                       id=i80OPhOCVH2.

In this work, we have embarked on a detailed study of feed-

forward computational graphs, attempting to chart a novel            Arnaiz-Rodrı́guez, A., Begga, A., Escolano, F., and Oliver,

path that could enable for a principled discovery of useful            N. Diffwire: Inductive graph rewiring via the lovász

feedforward blueprints. While it is apparent that analysing            bound. arXiv preprint arXiv:2206.07369, 2022.

these graphs is substantially less straightforward than do-

ing so with their undirected counterparts, we believe the            Azabou, M., Ganesh, V., Thakoor, S., Lin, C.-H., Sathidevi,

outcomes to have been fruitful. Namely, we proposed two                L., Liu, R., Valko, M., Veličković, P., and Dyer, E. L.



                                                                 9

