New Invariants for the Graph Isomorphism Problem
In this paper we introduce a novel polynomial-time algorithm to compute graph invariants based on the modified random walk idea on graphs. However not proved to be a full graph invariant by now, our method gives the right answer for the graph instances other well-known methods could not compute (such as special Furer Gadgets and point-line incidence graphs of finite projective planes of higher degrees
đĄ Research Summary
The paper proposes a new class of graph invariants derived from a modified randomâwalk framework and evaluates their effectiveness on graph isomorphism (GI) testing. Traditional GI approachesâspectral methods based on the Laplacian, the WeisfeilerâLehman (WL) refinement, and various combinatorial invariantsâoften fail on highly symmetric constructions such as FĂŒrer gadgets or incidence graphs of highâorder finite projective planes. The authors address this gap by introducing a vertexâspecific âstay probabilityâ p(v) that alters the transition matrix of a random walk.
Formally, for a graph G = (V,E) and a function p: V â (0,1), the transition matrix T(G,p) is defined by
âT_{uv} = (1âp(u))/deg(u) if (u,v) â E,
âT_{uu} = p(u).
Thus each row sums to one, but the matrix is generally nonâsymmetric because the diagonal entries differ per vertex. The key invariant is the characteristic polynomial Ï_T(λ) = det(λI â T). Since Ï_T depends on both the graph structure and the choice of p, the authors consider the set of all such polynomials obtained by varying p over a prescribed family (e.g., all rational values in a grid). They argue that if two graphs are isomorphic, their polynomial sets must coincide; conversely, a mismatch certifies nonâisomorphism.
The algorithm proceeds in four steps: (1) assign a collection of stayâprobability vectors pâ,âŠ,p_k (the paper uses random sampling and a small deterministic grid); (2) build the corresponding transition matrices; (3) compute the characteristic polynomials symbolically; (4) compare the resulting polynomial families. The computational cost is dominated by the O(nÂł) determinant computation for each p, where n = |V|. The authors mitigate this by exploiting sparsity, using modular arithmetic, and caching intermediate results.
Experimental evaluation focuses on three challenging benchmark families: (a) FĂŒrer gadgets, which are designed to be indistinguishable by WL and many spectral tests; (b) pointâline incidence graphs of projective planes of order q â„ 5, where the adjacency spectrum is highly degenerate; and (c) randomly generated regular graphs together with their edgeâswapped variants. For each instance the authors generate 20 different pâvectors. In all cases where traditional methods reported âunknownâ or produced false positives, the modified randomâwalk invariants yielded distinct polynomial families, correctly identifying nonâisomorphic pairs. Notably, on the FĂŒrer gadgets the invariants succeeded with a stayâprobability range of 0.1â0.9, while the WL 2âdimensional test failed to separate them.
Despite these promising results, the paper does not prove that the invariant is complete: there is no guarantee that two nonâisomorphic graphs cannot share the same polynomial family for all possible p. The authors acknowledge this limitation and outline future directions: (i) a theoretical analysis of the algebraic variety defined by Ï_T(λ) to identify conditions under which it becomes a complete invariant; (ii) systematic exploration of the pâspace using optimization or combinatorial design rather than random sampling; (iii) integration with existing refinement frameworks (e.g., higherâdimensional WL) to strengthen discriminative power; and (iv) scaling techniques such as modular characteristic polynomials, numerical eigenvalue approximations, or GPUâaccelerated determinant computation.
In conclusion, the work introduces a novel, polynomialâtime computable graph invariant based on a vertexâweighted random walk. It demonstrates that by breaking the symmetry of the transition matrix through stay probabilities, one can capture structural nuances missed by classical spectral and refinement methods. The experimental evidence shows that the approach succeeds on several notoriously difficult GI instances, suggesting that the modified randomâwalk invariant is a valuable addition to the toolkit for graph isomorphism testing. However, establishing its theoretical completeness and improving its scalability remain open challenges that the authors propose as avenues for further research.