Abstract
GNN-based approaches for learning general policies across planning domains are limited by the expressive power of , namely; first-order logic with two variables and counting. This limitation can be overcame by transitioning to -GNNs, for , wherein object embeddings are substituted with triplet embeddings. Yet, while -GNNs have the expressive power of , unlike - and -GNNs that are confined to , they require quartic time for message exchange and cubic space to store embeddings, rendering them infeasible in practice. In this work, we introduce a parameterized version R-GNN[] (with parameter ) of Relational GNNs. Unlike GNNs, that are designed to perform computation on graphs, Relational GNNs are designed to do computation on relational structures. When , R-GNN[] approximates -GNNs over graphs, but using only quadratic space for embeddings. For lower values of , such as and , R-GNN[] achieves a weaker approximation by exchanging fewer messages, yet interestingly, often yield the expressivity required in several planning domains. Furthermore, the new R-GNN[] architecture is the original R-GNN architecture with a suitable transformation applied to the inputs only. Experimental results illustrate the clear performance gains of R-GNN[] over the plain R-GNNs, and also over Edge Transformers that also approximate -GNNs.