Skip to main content
QUICK REVIEW

[Paper Review] Graph Homomorphism Convolution

Hoang Nt, Takanori Maehara|arXiv (Cornell University)|May 3, 2020
Advanced Graph Neural NetworksComputer Science46 references5 citations
TL;DR

This paper introduces Graph Homomorphism Convolution (GHC), a novel graph classification method that uses homomorphism counts from a family of pattern graphs 𝒮 to create invariant, expressive embeddings. It proves universality in approximating 𝒮-invariant functions and demonstrates state-of-the-art performance on benchmark datasets with significantly faster inference than GNNs, especially when 𝒮 has bounded tree-width.

ABSTRACT

In this paper, we study the graph classification problem from the graph homomorphism perspective. We consider the homomorphisms from $F$ to $G$, where $G$ is a graph of interest (e.g. molecules or social networks) and $F$ belongs to some family of graphs (e.g. paths or non-isomorphic trees). We show that graph homomorphism numbers provide a natural invariant (isomorphism invariant and $\mathcal{F}$-invariant) embedding maps which can be used for graph classification. Viewing the expressive power of a graph classifier by the $\mathcal{F}$-indistinguishable concept, we prove the universality property of graph homomorphism vectors in approximating $\mathcal{F}$-invariant functions. In practice, by choosing $\mathcal{F}$ whose elements have bounded tree-width, we show that the homomorphism method is efficient compared with other methods.

Motivation & Objective

  • To develop a practical and theoretically grounded graph classification method with parameterizable inductive bias based on graph homomorphism counts.
  • To address the gap between theoretical universal approximators (e.g., tensorized models) and practical models (e.g., GNNs) by introducing a method whose expressive power is explicitly controlled by the choice of pattern graphs 𝒮.
  • To establish a theoretical foundation for the expressive power of homomorphism-based embeddings using the Stone-Weierstrass theorem.
  • To empirically validate the method on synthetic and benchmark datasets, showing superior performance and efficiency compared to existing GNNs.
  • To demonstrate that homomorphism-based features can distinguish graphs that are indistinguishable to 1-WL and other GNNs, such as cospectral or isomorphic graphs.

Proposed method

  • The method computes homomorphism numbers from a fixed family of pattern graphs 𝒮 to a target graph G, forming a vector embedding ρ(G) ∈ ℝ^|𝒮|.
  • The family 𝒮 is chosen such that its elements have bounded tree-width, enabling polynomial-time computation of homomorphism counts.
  • The embedding is invariant under graph isomorphism, ensuring that isomorphic graphs yield identical representations.
  • The approach leverages the Stone-Weierstrass theorem to prove that the homomorphism vector can universally approximate any continuous 𝒮-invariant function on bounded-size graphs.
  • For graphs with vertex features, the method extends the homomorphism counting to include feature-dependent weights in the homomorphism computation.
  • The method is implemented efficiently using dynamic programming on tree decompositions, enabling linear or polynomial-time computation when tree-width is bounded.

Experimental results

Research questions

  • RQ1Can homomorphism counts from a family of pattern graphs serve as a universal, invariant, and efficient embedding for graph classification?
  • RQ2How does the expressive power of the homomorphism embedding depend on the choice of the pattern family 𝒮?
  • RQ3Can the homomorphism-based embedding distinguish graphs that are indistinguishable to 1-WL and other GNNs?
  • RQ4How does the computational efficiency of the homomorphism method compare to state-of-the-art GNNs, especially on large or complex graphs?
  • RQ5Can the homomorphism vector approximate any continuous function that is invariant to 𝒮-isomorphism, and under what conditions?

Key findings

  • The homomorphism vector achieves 100% accuracy on the Circular Skip Links (CSL) dataset, while GIN, Relational Pooling, and Order 2 G-invariant models show highly variable performance (10%–80%) due to their limited expressive power.
  • On the Paulus graphs dataset—14 non-isomorphic, cospectral, strongly regular graphs—no method, including GHC with homomorphisms up to index 100, achieves accuracy above random guessing (7.14%), highlighting a fundamental limitation of current learning-based methods.
  • On the MUTAG, IMDB-BINARY, and IMDB-MULTI benchmark datasets, GHC achieves competitive or superior accuracy compared to GNNs, with lower variance and faster inference times.
  • The runtime of GHC is significantly faster than other practical GNN models, with results showing linear scalability and potential for parallelization.
  • Theoretical analysis proves that the homomorphism vector is universal for approximating any continuous 𝒮-invariant function on bounded-size graphs, under mild topological assumptions.
  • The method’s universality result extends to any model capable of computing homomorphism numbers, suggesting that GHC provides a foundational benchmark for expressive power in graph learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.