Propagation Model Search for Graph Neural Networks

Yuhui Ding, Quanming Yao, Tong Zhang · DOI

Introduction

Heterogeneous Information Networks (HINs), such as academic graphs or e-commerce databases, contain diverse node and edge types that encode rich semantic information. To leverage this complexity, Heterogeneous Graph Neural Networks (HGNNs) typically rely on "meta paths"—predefined sequences of relations (e.g., Author $\to$ Paper $\to$ Venue). However, meta paths are limited by their linear nature and often require manual expert design, which is impractical for large-scale or domain-specific networks.

The paper "DiffMG: Differentiable Meta Graph Search for Heterogeneous Graph Neural Networks" proposes a novel framework to automate this process. By searching for "meta graphs"—complex, non-linear connectivity patterns represented as Directed Acyclic Graphs (DAGs)—DiffMG captures more intricate semantic relations than traditional meta paths.

The DiffMG Framework

DiffMG formalizes the discovery of semantic relations as a Neural Architecture Search (NAS) problem. The core of the framework is an expressive search space where message-passing processes are modeled as a DAG.

Search Space and Constraints

In the defined DAG, each node represents an intermediate feature representation, and each edge represents a choice among various relation types. To manage the vast search space, the authors introduce a task-dependent type constraint. This mechanism filters out edge types that do not contribute to the target node's representation, effectively pruning irrelevant noise from the network.

An example academic network and its corresponding search space.

Differentiable Search Efficiency

Unlike traditional NAS methods that can be computationally prohibitive, DiffMG employs a differentiable search strategy. It uses architecture parameters to weight candidate operations and optimizes them via bi-level optimization. To solve the memory intensity of standard differentiable NAS, DiffMG utilizes a sampling strategy that calculates only one sampled operation per iteration. This innovation reduces the search cost to a level comparable to training a single GNN model once, a property the authors describe as "search for free."

Experimental Evaluation

The framework was evaluated across six real-world datasets, including DBLP, ACM, Yelp, and Douban, covering tasks like node classification and recommendation.

Performance and Scalability

DiffMG consistently outperforms state-of-the-art baselines, including manually designed models (HAN, MAGNN) and those that implicitly learn meta paths (GTN, HGT). For instance, on the IMDB dataset, DiffMG achieved a Macro F1 of 61.04%, surpassing the best baseline.

Efficiency Gains

The efficiency of the sampling-based search is a standout result. In recommendation tasks, DiffMG completed its search in under a minute on a single GPU, whereas evolutionary search methods like GEMS required hundreds of minutes. Furthermore, DiffMG maintains high performance while converging significantly faster than complex attention-based models.

Validation AUC vs. GPU training time on Yelp and Douban datasets.

Conclusion

DiffMG represents a significant step forward in automating the design of HGNNs. By moving from linear meta paths to searchable meta graphs, the framework provides a more expressive and automated way to capture HIN semantics. Its differentiable, sampling-based search algorithm ensures that this increased expressiveness does not come at the cost of prohibitive computational overhead, making it a practical solution for complex, real-world graph data.

Summary updated

BibTeX
@inproceedings{ding2021propagation,
  author = {Yuhui Ding and Quanming Yao and Tong Zhang},
  title = {{Propagation Model Search for Graph Neural Networks}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2021},
  doi = {10.1145/3447548.3467447},
}
Figure