Papers for

graph neural network engineers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Deciding logic with separate local and global counting over graphs

Deciding two-variable logic with global and local Presburger quantification

Abstract: We look at a two-variable logic over finite graphs that allows Presburger quantifiers: linear arithmetic inequalities between the number of elements that satisfy subformulas. The prior literature shows that closing two-variable logic under Presburger quantification leads to undecidability, while closing under \emph{local quantification} -- the counts are always over neighbors of a given node -- preserves decidability. Here we show decidability of satisfiability for an intermediate logic that allows both local counts and global counts, but where the linear constraints do not mix the two. The proof requires a significant extension of the prior machinery developed for two-variable logic with counting. As a corollary we obtain decidability of satisfiability for an important family of Graph Neural Networks (GNNs). GNNs are a popular graph learning formalism. For example, in a variation of GNNs considered in the past literature, local aggregation is used in each layer to create modified values at each vertex of a graph, and then global aggregation is used in a final layer to obtain a single numerical value for the graph as a whole. Our logic is motivated by the fact that mixing of local counting and global aggregation in GNNs has been shown to lead to undecidability. Our results here show that if global and local aggregation are separated, one regains decidability. Decidability of other static analysis problems, like equivalence of GNNs, follows from the decidability of satisfiability.

Thu 29 OctLogic in Computer Science
The gist
The authors study a special kind of logic used to describe properties of networks, where you can count things both around a specific node (local) and across the entire network (global). Past work showed that mixing these two kinds of counting too freely makes it impossible to always decide if a statement is true or not. This paper proves that if you keep local and global counting separate in the logical formulas, then you can still decide their truth. This result also helps understand some kinds of graph neural networks, showing when certain analysis questions about them can be answered.
Open → 2610.39108v1

Learning sparse weighted interactions improves prediction of complex systems

Learning Graded Sparse Mechanisms: A Representation Theorem and Certified Generalization

Abstract: In a variety of multi-agent and physical environments, an element's update depends strongly on a few other elements and weakly on many, and both the identity and the number of the elements that matter change with the state of the system. Such graded sparse mechanisms are common, for instance, in flocks, crowds, learned particle simulators and the neighborhood aggregation of graph networks, yet they have received little systematic study as a class of functions with the grading given. In this paper we study the supervised learning of the mechanism when the grading is provided by the environment, as a weight on every element. First, we define the class by axioms, where each element's influence is capped by its weight, the dependence on the weights is regular, and no element is distinguished, and prove a representation theorem: the class is exactly the Lipschitz ball of a transport metric on weighted multisets, and the metric is forced by the axioms. Next, the geometry of the representation gives generalization bounds that depend on the data in two ways. One is via the sparsity profile of the data -- the law of how many elements matter and by how much -- which bounds the rate over all designs with that profile, with an exponent from the profile and no dependence on the number of elements. In a number of natural cases we also show matching lower bounds, up to constants in the exponent. The other is empirical: due to the representation result, classical empirical discrepancy bounds apply to the class as they stand, and the resulting bound is the transport distance between the two halves of the sample in the class's own metric, computed exactly by a matching, with an additional concentration term. Finally, we study a simulated Vicsek flock under four interaction rules at two noise levels, and show that the certificate is non-vacuous, a small fraction of the trivial value on every rule.

Mon 12 OctMachine LearningMultiagent Systems
The gist
Some systems, like flocks of birds or crowds, change because a few things matter a lot and many things matter only a little. The authors studied how to learn and represent these kinds of relationships when the importance of each part is known as a weight. They proved a mathematical description of these weighted interactions and showed how this leads to reliable learning that doesn't get confused by too many parts. They also tested their ideas on simulated flocking behavior and showed their method provides useful guarantees on predicting the system's evolution.
Open → 2610.16537v1

Random features limit graph neural network power across graph sizes

The Expressive Power of Random-Feature MPNNs Across Graph Sizes

Abstract: Continuous random node features increase the expressivity of message-passing neural networks (MPNNs), but existing theoretical analyses are not fine-grained enough to capture their limitations, particularly in approximating functions across graph sizes or under a fixed number of random bits. We develop a population-level framework for size-uniform approximation. For MPNNs with a graph-size-independent Lipschitz bound in their initial features, including standard mean, max, and order-normalized sum architectures, we show that continuous random features can be quantized to finitely many colors with arbitrarily small uniform error in expected output. This reduction lets us transfer limitations on finite-color distinguishability to limitations on size-uniform approximation with continuous random features. We use this framework to prove that these MPNNs are not size-uniformly universal, analyze the expressivity gains from colors and independent trials, and establish incomparability between random-color MPNNs and higher-order Weisfeiler-Leman methods. We also give finite-color MPNN constructions for tree subgraph isomorphism via color coding and a local MST task.

Thu 8 OctMachine Learning
The gist
Graphs are like networks of connected points, and special neural networks called MPNNs try to understand them. Adding random features to these networks helps, but it turns out there are clear limits, especially when graphs get bigger or when we try to keep randomness simple. The authors developed a way to study these limits more precisely and found that even with random features, these networks can’t perfectly handle all graph sizes or problems. They also compared these methods to other complex graph analysis techniques and showed when one is better than the other.
Open → 2610.12809v1

Shared memory in graph transformers acts like fixed global communication

Global Communication or Graph-Specific Memory?

Abstract: Scalable Graph Transformers are commonly trained and evaluated on static large graphs in a transductive setup. Many scalable Graph Transformer components can be formulated as a constant-size shared memory, similar to virtual nodes, providing compressed information about the whole graph. The counterpart of these models in language models and other domains is justified as the input changes, and this mechanism learns to compress some useful information about the input. In transductive learning on a single fixed graph, however, any shared memory can be seen as a constant at test time. This raises the question of what exactly this shared memory does in this static setup. We give preliminary evidence that optimizing a shared memory directly performs similarly to global communication methods, and so normal local message-passing models can embed similar information in their weights. Thus, these settings may be a poor fit for evaluating global communication in graph neural networks.

Mon 5 OctMachine Learning
The gist
Graph transformers use shared memory to summarize information from large graphs. The paper finds that when working with a single fixed graph, this shared memory behaves like a constant, similar to global communication methods. Because of this, regular local message passing can embed the same information into the network weights without needing special global memory. The authors suggest current static graph setups might not be the best way to study global communication in graph models.
Open → 2610.05874v1

Rotary position encodings improved to capture graph routes

Analytic-Walk Rotary Positional Encodings for Graphs

Abstract: Rotary position encodings make attention sensitive to relative position, but extending them to graphs requires choosing how graph structure enters the rotation. Previous works assign each node a rotation from spectral coordinates, so the rotary factor between two nodes depends only on their endpoints and cannot distinguish the routes connecting them. We introduce \textit{Analytic-Walk Rotary Positional Encodings} (AW-RoPE), which place the rotations on edges and sum the transported features over all walks, so contributions along different routes can reinforce or cancel. An exact variant evaluates the complete sum by a differentiable linear solve, and a sparse variant truncates it at a finite depth. We prove forward and parameter-derivative truncation bounds at fixed inputs and parameters. Both variants act on projected queries and keys, and the sparse recurrence also augments message-passing networks. Across five synthetic tasks both variants reduce nRMSE by $15$--$58\%$ relative to the strongest baseline, and on real superpixel, peptide and OGB benchmarks the sparse recurrence attains the best mean on every dataset with Performer kernels and on twelve of thirteen datasets with GIN. Analysis shows that AW-RoPE can distinguish routes whose only cue is how two endpoints are connected, while node-wise rotary encodings cannot.

Sat 26 SeptMachine Learning
The gist
When computers analyze graphs, they often need to know how nodes (points) connect to each other. Previous methods used angles assigned to each node but couldn't tell the difference between different paths connecting the same points. The authors created a new way to assign angles to edges and combine information across all paths between nodes. This helps the computer understand the specific routes in a graph, improving accuracy on tests and real datasets.
Open → 2609.32178v1