TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Methods/Canonical Partition

Canonical Partition

GraphsIntroduced 20001 papers
Source Paper

Description

\emph{Canonical partition} P\mathcal{P}P crops the index-restricted d-hop neighborhood around the center node from the target graph. D(Gt,vi,vc)\mathcal{D}(G_t,v_i,v_c)D(Gt​,vi​,vc​) means the shortest distance between viv_ivi​ and vcv_cvc​ on GtG_tGt​. \begin{equation} \mathcal{P}(G_t, v_c, d) = G_c, \operatorname{ s.t. } G_c \subseteq G_t, V_c = { v_i \in V_t|\mathcal{D}(G_t,v_i,v_c) \leq d , v_i \leq v_c} \end{equation}

The graph GcG_cGc​ obtained by canonical partition is called the \emph{canonical neighborhood}. Canonical neighborhoods can correctly substitute the target graph in canonical count. The subgraph count of query in target equals the summation of the canonical count of query in canonical neighborhoods for all target nodes. Canonical neighborhoods are acquired with canonical partition P\mathcal{P}P, given any ddd greater than the diameter of the query. \begin{equation} \mathcal{C}(G_q,G_t) = \sum_{v_c \in V_t} \mathcal{C}c(G_q, \mathcal{P}(G_t, v_c, d),v_c), d \geq \max{v_i, v_j \in V_q} \mathcal{D}(G_q, v_i, v_j) \end{equation}

Papers Using This Method

DeSCo: Towards Generalizable and Scalable Deep Subgraph Counting2023-08-16