Introduction
Graph isomorphism—the problem of determining whether two graphs are structurally identical—is a cornerstone of computational complexity. While its exact placement in complexity classes remains a subject of intense study, the problem becomes particularly interesting when we relax the requirement for an exact answer. In the field of property testing, the goal is to determine if two objects are identical or "far" from each other using a sublinear number of queries.
In "Testing Forest-Isomorphism in the Adjacency List Model," Mitsuru Kusumoto and Yuichi Yoshida provide a breakthrough for forests (graphs without cycles). They demonstrate that forest-isomorphism can be tested in polylogarithmic time, offering a nearly exponential speedup over traditional methods for this graph class.
The Property Testing Framework
The authors operate within the adjacency list model. Unlike the dense graph model, where an algorithm can query the existence of an edge between any two arbitrary vertices, the adjacency list model only allows for two types of queries: querying the degree of a vertex and querying the $i$-th neighbor of a vertex. This model is significantly more restrictive and realistic for sparse graphs, as it does not allow the algorithm to "see" the global structure easily.
An $\epsilon$-tester for isomorphism must, with high probability:
- Accept if the two graphs $G$ and $H$ are isomorphic.
- Reject if $G$ and $H$ are "$\epsilon$-far" from being isomorphic (meaning more than $\epsilon n$ edges must be modified to make them isomorphic).
Methodology: The Three Gears of the Algorithm
The proposed algorithm relies on three primary theoretical components to overcome the challenges of high-degree vertices and limited visibility.
1. The Deterministic Partitioning Oracle
The first challenge is decomposing a forest into manageable parts. The authors utilize a partitioning oracle that can turn any forest into an "$s$-forest" by removing at most $\epsilon n$ edges. In an $s$-forest, every connected component (tree) is either small with low degrees or possesses a single high-degree "root" vertex connected to numerous small subtrees. Crucially, the authors developed a deterministic oracle. Unlike randomized oracles, a deterministic approach ensures that two isomorphic graphs are partitioned in the exact same manner, a prerequisite for a consistent isomorphism test.
2. Sketching and Statistical Sampling
In the adjacency list model, exploring every neighbor of a high-degree vertex is computationally expensive. To circumvent this, the authors employ "sketching." A sketch is a multiset of tuples that approximates the distribution of subtree types attached to a high-degree root. By sampling a small number of these subtrees, the algorithm can estimate the overall distribution with high confidence without exhaustive traversal.
3. Minimum Matching of Sketches
Once sketches are generated for both forests, the algorithm must determine if they represent the same structure. This is framed as a distance calculation between distributions. The authors use a minimum-cost flow formulation on a bipartite graph to calculate the "cost" of transforming one forest's distribution of trees into the other's. If the cost is low, the graphs are considered isomorphic within the $\epsilon$ tolerance.
Key Results and Theoretical Impact
The paper establishes several critical bounds and a surprising corollary for graph theory:
- Upper Bound: The authors provide an $\epsilon$-tester for forest-isomorphism with a query complexity of $polylog(n)$. This indicates that for extremely large graphs, the number of queries required grows very slowly relative to the total number of vertices.
- Lower Bound: They prove a lower bound of $\Omega(\sqrt{\log n})$, establishing that while the problem is efficiently testable, it cannot be solved in constant time (independent of $n$).
- Universal Testability: Perhaps the most significant theoretical contribution is the corollary that every graph property (e.g., connectivity, colorability, acyclicity) is testable in $polylog(n)$ queries when the input is restricted to forests. This suggests that the structural simplicity of forests allows their global properties to be inferred from local, sampleable structures.
Conclusion and Future Directions
While the $polylog(n)$ complexity is a major theoretical success, the authors note that the exponent in the polynomial may be large, potentially limiting immediate practical application in database systems. Furthermore, a gap remains between the $polylog(n)$ upper bound and the $\sqrt{\log n}$ lower bound.
The techniques developed here—specifically the deterministic partitioning and the subtree sketching—provide a potential roadmap for tackling more complex graph classes. Extending these sublinear-time tests to graphs with cycles, such as planar graphs, remains one of the most significant open challenges in the adjacency list model.
Summary updated