TL;DR
The authors introduce the Power Kernel, a novel approach that represents graphs as multivariate Gaussian distributions derived from power iterations of their adjacency matrices. This method is permutation-invariant, captures complex structural correlations that simpler kernels miss, and is remarkably efficient—running in time linear to the number of edges ($O(E)$) rather than the cubic time ($O(n^3)$) required by many traditional graph kernels.
What Problem Does This Paper Address?
Comparing graphs is a fundamental challenge in machine learning. To do it well, a "graph kernel" (a similarity measure) must satisfy three difficult criteria:
- Isomorphism Invariance: The result shouldn't change just because you renumbered the nodes.
- Structural Expressiveness: It needs to capture not just how many substructures (like triangles or paths) exist, but how they are relatively embedded within the graph.
- Scalability: Many existing kernels, such as those based on random walks or shortest paths, require $O(n^3)$ computations, making them unusable for large, real-world networks.
Traditional methods often count common subgraphs (graphlets) or walks, but these often ignore the "relative connectivity"—the way different paths relate to one another at a specific node.
Methods
The authors propose a "Functional Embedding" approach consisting of three main steps:
- Power Summary: They perform $k$ iterations of power iteration (multiplying a vector by the adjacency matrix $A$). Crucially, they start with an all-ones vector. This ensures that the starting state doesn't distinguish between nodes, making the final result invariant to node reordering (Theorem 1).
- Gaussian Representation: Each node in the graph ends up with a $k$-dimensional vector representing its "path history" (how many paths of length 1, 2, ..., $k$ originate there). They treat these $n$ vectors as samples and fit a multivariate Gaussian distribution (defined by mean $\mu$ and covariance $\Sigma$) to the graph.
- Bhattacharyya Kernel: To compare two graphs, they compute the similarity between their corresponding Gaussian distributions using the Bhattacharyya kernel, which has a convenient closed-form solution.
Unlike methods that just count paths, this approach uses the covariance matrix to capture how paths of different lengths are correlated at each node, providing a much richer structural signature.
Datasets
The method was evaluated on four standard benchmark datasets for graph classification:
- MUTAG: 188 mutagenic aromatic and heteroaromatic nitro compounds.
- ENZYMES: 600 protein tertiary structures categorized into 6 EC top-level classes.
- NCI1 & NCI109: Large datasets (over 4,000 instances each) of chemical compounds screened for anti-cancer activity.
Key Insights and Ideas
- Covariance as Structure: The "aha moment" is that the covariance matrix $\Sigma$ acts as a graph invariant that captures relative connectivity. For example, the correlation between paths of length $t_1$ and $t_2$ starting at the same node tells you something deep about the local neighborhood expansion that simple counting ignores.
- Linear Scalability: Because the power iteration only involves matrix-vector multiplication, the complexity is $O(kE)$. Since $k$ is typically very small (4 or 5) and real-world graphs are sparse, this is effectively linear in the number of nodes/edges.
- Stability under Perturbation: The kernel is robust. As shown in Figure 1, small changes to the graph (adding or deleting an edge) result in smooth, non-discontinuous changes in the kernel value.
Key Results
The Power Kernel significantly outperformed state-of-the-art unlabeled graph kernels on three of the four benchmarks (see Table 1/Figure 2).
- Accuracy Gains: On the larger NCI1 and NCI109 datasets, the Power Kernel achieved ~70% accuracy, beating the previous best (skew spectrum) by roughly 8 percentage points. On ENZYMES, it improved accuracy from ~27.5% to 34.6%.
- Small Graph Exception: On MUTAG (the smallest dataset), the "Reduced-Skew-Spectrum" kernel performed better. The authors suggest this is because small graphs don't provide enough "samples" (nodes) to accurately estimate the Gaussian distribution's parameters.
Limitations and Future Work
- Node/Edge Labels: The current version focuses purely on graph topology and does not incorporate node or edge labels (e.g., atom types in a molecule). The authors note that extending the functional embedding to include this information is a key area for future research.
- Choice of Distribution: While Gaussians were chosen for their closed-form simplicity, other functional representations (like Kernel Density Estimators) might offer even more expressiveness for certain types of data.
- Small Graphs: As seen with MUTAG, the statistical nature of the embedding may be less effective for very small graphs where the "bag of vectors" is too sparse to define a robust distribution.
Summary updated