PHYSICAL PDF PAGE 6 / 17

                                         What Makes a Good Feedforward Computational Graph?



holds for t, we can show it holds for t + 1 by substituting                5.2.2. L INE G RAPHS

∆t+1

  τ,n−2 ≤ 2

             −t−1

                  + (t/2t )/2 = (t + 1)/2t+1 .

                                                                           What line graphs sacrifice in mixing time (and hence

This upper bound on ∆tτ,n−2 also decays towards zero as                    tractability of certain problems) they make up for in fi-

t → ∞, settling the proof.                                                 delity. Indeed, line graphs are among the graph families

                                                                           with highest minimax fidelity. Their minimax fidelity can

5.2. (Mini)max Fidelity                                                    be expressed as follows3 , for a graph of n elements:

                                                                                                            a

                                                                                                               

Given this result, it does not make sense to study long-                                             max     n−1

                                                                                                                                          (6)

term dynamics of fidelity for most nodes. Rather, we can                                               a      2a

track the “best-case” scenario for node i, as the maximal                  This quantity also decays to zero as n → ∞ (see Appendix

fidelity it achieves over the lifetime of the diffusion; that is,          B for a proof using Stirling’s approximation), pbut its nor-

ϕi = maxt ∆tτ i . This is the most sharp we can ever extract               malised minimax fidelity consistently grows as n/π (see

node i’s features in the sink node2 .                                      Figure 1—indeed, line graphs have the highest initial fidelity

                                                                           of all considered graphs).

Out of all of these sharpness measures, we are hunting

for the “weakest points”, where the model is particularly

                                                                           5.2.3. E RD ŐS -R ÉNYI G RAPHS AND O RIENTED

vulnerable to extracting a particular node’s features, at any

                                                                                  E XPANDERS

layer. As such, we compute the minimax fidelity as

                                                                           So far, we have mainly examined line graphs and fully con-

                   min ϕi = min max ∆tτ i                       (4)        nected graphs – which in ways correspond to two extremes

                     i           i       t

                                                                           with respect to the metrics we proposed.

We will now deploy this measure on some graph generators                   We may further see from Figure 1 that creating oriented ver-

of interest, just as we did for mixing time.                               sions of Erdős-Rényi (Erdős et al., 1960) graphs (keeping

It is worth noting that tracking how the signal evolves over               indegrees fixed) as well as orienting graphs that are known

time in this way is similar to the Dirichlet energy, which has             to be undirected expanders (by assigning a random permuta-

been used extensively to study the over-smoothing effect in                tion to their nodes) results in negative performance on both

GNNs (Cai & Wang, 2020; Zhou et al., 2021; Rusch et al.,                   of our metrics compared to the fully connected graph.

2022; Di Giovanni et al., 2022). One key difference is in the              We will not study these graphs in more depth here, though it

fact that the measure at hand here involves taking maxima                  is worth remarking that fixed-indegree Erdős-Rényi graphs

and minima and hence is not as smooth to work with.                        are very likely to introduce additional sinks, breaking one of

                                                                           our theory’s key assumptions. Another reason why both of

5.2.1. F ULLY C ONNECTED G RAPHS ( AND N ORMALISED                         these distributions are likely to fail is that they are effectively

       M INIMAX F IDELITY )                                                unbiased in terms of which incoming edges they sample – an

While fully connected graphs had highly favourable log-                    earlier node is equally likely to be assigned as an indegree

arithmic mixing time, they immediately fully average in-                   neighbour as a latter one. As we’ve seen in Proposition

formation, and therefore their minimax fidelity is always                  5.1, latter nodes are particularly vulnerable to losing fidelity

1/n. This is potentially problematic, especially if hit with               quickly. This motivates our next distribution under study.

dispersion issues at inference time (Veličković et al., 2024).

                                                                           5.2.4. P OISSON (p) G RAPHS

Taking this into account, and given the ubiquitous use of

the fully connected feedforward graphs in contemporary                     Guided by this observation, we set out to construct a graph

architectures, we will often opt to report the normalised                  generator which is biased to create edges towards the end

minimax fidelity:                                                          of the sequence (so it preserves fidelity better) while still

                                                                           having a chance of generating an edge which is further away

                 n min ϕi = n min max ∆tτ i                     (5)        from the target node (so it shortens mixing time).

                     i               i       t

                                                                           This combination of constraints led us to consider a graph

which ensures that the fidelity of the fully connected graph is            which samples edges by going right-to-left, simulating a

always 1 (see Figure 1), and provides an intuitive threshold               Poisson process with probability p. It samples in-degree

for whether the fidelity is more or less favourable than fully             neighbours of node i (given an indegree budget) as follows:

connected graphs.                                                            E ← E ∪ {(i, i)}

   2                                                                          3

     It is assumed implicitly that neural networks deeper than opti-           Diffusing a 1 along the line graph basically involves generat-

mal may still be able to preserve this level of information of node        ing normalised entries of a (trimmed) Pascal’s triangle, which is

i by leveraging their residual connections (He et al., 2016).              why the binomial coefficients appear in this formula.



                                                                       6

