GraDE: A Graph Diffusion Estimator for Frequent Subgraph Discovery in Neural Architectures
Yikang Yang, Zhengxin Yang, Minghao Luo, Luzhou Peng, Hongxiao Li, Wanling Gao, Lei Wang, Jianfeng Zhan
TL;DR
GraDE addresses the challenge of discovering large, frequent subgraph motifs in neural architectures by introducing a diffusion-guided estimator that learns the distribution over subgraphs. It replaces exhaustive enumeration with a Graph Diffusion Estimator, trained on a subgraph-training set, and integrates this estimator into a beam search to prune unlikely motifs while expanding promising ones. Across NAS benchmarks and the Younger dataset, GraDE delivers substantially higher ranking accuracy and, for large subgraphs, much higher motif discovery frequency than sampling-based baselines, demonstrating scalable and effective motif discovery. The framework combines subgraph sampling, a diffusion-based frequency surrogate, and constrained search to enable practical identification of large structural motifs with strong empirical gains.
Abstract
Finding frequently occurring subgraph patterns or network motifs in neural architectures is crucial for optimizing efficiency, accelerating design, and uncovering structural insights. However, as the subgraph size increases, enumeration-based methods are perfectly accurate but computationally prohibitive, while sampling-based methods are computationally tractable but suffer from a severe decline in discovery capability. To address these challenges, this paper proposes GraDE, a diffusion-guided search framework that ensures both computational feasibility and discovery capability. The key innovation is the Graph Diffusion Estimator (GraDE), which is the first to introduce graph diffusion models to identify frequent subgraphs by scoring their typicality within the learned distribution. Comprehensive experiments demonstrate that the estimator achieves superior ranking accuracy, with up to 114\% improvement compared to sampling-based baselines. Benefiting from this, the proposed framework successfully discovers large-scale frequent patterns, achieving up to 30$\times$ higher median frequency than sampling-based methods.
