cs.LGOct 12, 2026

Constant-Depth Rational-Weight GNNs and their Connection to Schanuel's Conjecture

Authors: Daumantas Kojelis, Carsten Lutz

Organizations: Institute of Computer Science, Leipzig University, Leipzig, Germany · Institute of Computer Science, Leipzig University and ScaDS.AI Dresden/Leipzig, Leipzig, Germany

Abstract

A landmark result states that the expressive power of graph neural networks (GNNs) is bounded from above by the 1-dimensional Weisfeiler-Leman (1-WL) test. We ask whether a constant-depth GNN can match the expressive power of 1-WL while using only rational weights. We prove that this is the case when Schanuel's conjecture, a famous open problem from transcendental number theory, is taken to be true. Our GNN construction works even with integer weights, and more generally with a broad range of rational weights. As the activation function, it may use logistic sigmoid, hyperbolic tangent, or related functions. It is uniform across all graph sizes. We also prove a partial converse: if a GNN with exponentiation, hyperbolic sine or hyperbolic cosine as activation matches the expressive power of the 1-WL test in a slightly more expressive setting where graphs may contain certain auxiliary vertices, then this implies Schanuel's conjecture restricted to the numbers that arise in computations of the GNN. We also conduct experiments showing that the constructed GNNs indeed match the 1-WL test.

Explore similar work

CardsList
  1. A Unifying Relational Perspective on Expressive Lottery Tickets

    Aug 19, 2026Lorenz Kummer, Samir Moustafa, Anatol Ehrlich +4Graph Neural NetworksGNN Expressivity

  2. Unifying approach to uniform expressivity of graph neural networks

    Feb 20, 2026Huan Luo, Jonni VirtemaGraph Neural NetworksGNN Expressivity

  3. Rational Neural Networks have Expressivity Advantages

    Feb 12, 2026Maosen Tang, Alex TownsendNeural Network Activation FunctionsNeural Network Approximation Theory