betaFeedback

WorksComputer Science

WL-SeqVAE: Sequence-Based Graph Generation Using Variational Autoencoders and Weisfeiler-Leman Colors

Abstract

In this paper, we introduce WL-SeqVAE, a sequence-based variational autoencoder for generating graphs. The key observation behind WL-SeqVAE is that node colors induced by the Weisfeiler-Leman (WL) algorithm provide compact discrete summaries of local graph structure and can therefore serve as structural tokens for generation. Rather than learning a distribution over adjacency matrices directly, our method maps each graph to a sequence of WL colors and employs a variational autoencoder that encodes this sequence into a Gaussian latent distribution, from which an autoregressive decoder reconstructs the graph. During generation, compatibility constraints derived from the WL colors guide node and edge predictions, combining global information from the latent representation with local structural consistency. This formulation turns graph generation into a sequence generation problem and avoids directly parameterizing a quadratic adjacency matrix. We evaluate WL-SeqVAE on molecular and general graph generation tasks. Across the evaluated datasets, WL-SeqVAE is competitive with established baselines on several local structural and molecular quality metrics. Code is available at https://github.com/iakovosevdaimon/WL-SeqVAE

Introduction

In recent years, the availability of graph-structured data has increased significantly across a wide range of application domains, including network science, chemo-informatics, and hardware design. Unlike conventional data modalities such as vectors or sequences, graphs provide a more expressive representation by explicitly capturing complex relationships and interactions among entities. For example, in chemo-informatics, molecular structures can be naturally represented as graphs, where nodes correspond to atoms and edges represent chemical bonds. Graphs thus enable the modeling of interactions that cannot be adequately captured by vector-based representations.

In several domains, there is an increasing demand for generative models capable of producing realistic graphs which preserve the underlying structural characteristics of observed samples [46]. For example, in chemo-informatics, graph generative models can produce novel molecular structures with desirable properties, while in network science, synthetic graphs can be used for simulation and privacy-preserving data sharing. These applications require models that can capture both local connectivity patterns and global structural characteristics of graphs while generating valid and diverse graph instances.

Over the past few years, neural graph generation has become the most widely-used approach for producing synthetic graphs. Existing methods include autoregressive models [42], variational autoencoders [33], generative adversarial networks [2], normalizing flows [43] and, more recently, diffusion-based methods [36]. While existing methods have achieved promising results in different tasks, graph generation remains challenging due to the combinatorial nature of graph structures, permutation invariance, varying graph sizes, and the need to model complex dependencies and interactions among graph nodes [10]. Furthermore, the trade-off between generation quality and scalability is a major challenge, which remains largely unresolved.

In this work, we propose WL-SeqVAE, a novel generative model for graph-structured data. The central novelty of the proposed approach lies in leveraging node colors induced by the Weisfeiler–Leman (WL) algorithm [37], a powerful heuristic for graph isomorphism testing. Unlike conventional graph generative models, which aim to learn a distribution over graph structures, the proposed model learns a distribution over WL-derived node colors directly from observed data. By shifting the modeling focus from graph topology to color distributions, the proposed framework offers a fundamentally different approach to synthetic graph generation. We adopt a variational autoencoder (VAE) as the underlying generative model. An encoder maps the input node sequence to a Gaussian latent distribution, while an autoregressive decoder reconstructs the graph from a sampled latent representation. Unlike conventional autoregressive graph generators that generate one node at a time, our decoder is guided by compatibility constraints derived from the WL colors. This design combines global information encoded in the latent representation with local structural consistency enforced by the generated WL colors. The WL-SeqVAE model is evaluated in the tasks of molecular and general graph generation. The experimental results demonstrate that WL-SeqVAE is competitive with the current state-of-the-art. The proposed approach also opens up new opportunities for scalable graph generation by casting graph generation as a sequence generation problem, thus mitigating the challenges arising from the quadratic complexity of graph-structured data.

Related Work

Graph generation has attracted considerable attention due to applications such as molecular generation [14, 32, 43], protein design [13, 9], and program synthesis [3]. Existing approaches can be broadly categorized into six families: autoregressive models, variational autoencoders (VAEs), generative adversarial networks (GANs), normalizing flows, diffusion models, and flow matching.

Autoregressive methods generate graphs sequentially by modeling conditional distributions over nodes and edges. Representative approaches include GraphRNN [42], GRAN [20], GRAM [17], and BiGG [4], which improve scalability through sparse representations and efficient decoding. VAE-based methods learn continuous latent representations from which graphs are reconstructed. Notable examples include GraphVAE [33], CGVAE [24], JT-VAE [14], and extensions for specialized graph families such as DAGs [44, 19, 12] or other structures [29]. GAN-based approaches formulate graph generation as an adversarial learning problem. Representative methods include NetGAN [2], which generates random walks, and MolGAN [5], which combines adversarial learning with reinforcement learning for molecular graph generation. Normalizing flow methods learn invertible mappings between graph representations and simple base distributions, enabling exact likelihood estimation. Representative models include GraphNVP [26], GRF [11], GraphDF [25], and MoFlow [43]. Diffusion models have recently become the dominant paradigm for graph generation. Early methods employed score-based diffusion [30, 16], while subsequent work extended the framework to discrete graphs [36], autoregressive generation [18], and latent diffusion in Euclidean and hyperbolic spaces [41, 7, 45, 8, 38]. More recently, flow matching has emerged as a computationally efficient alternative to diffusion models. Existing graph generation methods primarily focus on discrete flow matching, including CatFlow [6] and Defog [31], which improve training and sampling efficiency.

The approaches most closely related to ours are motif-based graph generation methods, regardless of the underlying generative framework, which construct graphs from higher-level substructures rather than individual nodes or edges. Jin et al. proposed in [15] such a hierarchical variational autoencoder that generates molecular graphs from structural motifs. However, to the best of our knowledge, no prior work has explored the use of the WL algorithm for graph generation.

Preliminaries

In this section, we first introduce the notation used throughout the paper and then describe the WL algorithm.

Notation

Let N\mathbb{N} denote the set of natural numbers. Then, [n]={1,…,n}⊂N[n] = \{1, \ldots, n\} \subset\mathbb{N} for n≥1n \ge1. Let also { ⁣{}\{\!\{\} denote a multiset, i.e., a generalized concept of a set that allows multiple instances for its elements. Let G=(V,E)G = (V, E) be an undirected, unweighted graph, where VV is the vertex set and EE is the edge set. We will denote by nn the number of vertices and by mm the number of edges (n=∣V∣n = |V| and m=∣E∣m = |E|). We will also denote by id⁡(v)\operatorname{id}(v) the original node index of node vv. Let N(v)\mathcal{N}(v) denote the neighborhood of vertex vv, i.e., the set {u∣{v,u}∈E}\{u \mid\{v, u\} \in E\}. The degree of a vertex vv is deg⁡(v)=∣N(v)∣\operatorname{deg}(v) = |\mathcal{N}(v)|. The eccentricity ϵ(v)\epsilon(v) of a node vv is the maximum distance from that node to any other node in the graph. The kk-ring of a node consists of all nodes whose shortest path distance from the node is exactly kk. Given two nodes v,uv, u, dSP(v,u)d_{\mathrm{SP}}(v, u) denotes the shortest path distance between the two nodes. An unresolved half-edge (also called a stub) is an edge endpoint that has not yet been matched with another endpoint. A colored graph is a tuple (G,c)(G, c), where GG is a graph and c:V→Σc : V \to\Sigma is a function that assigns colors (i.e., elements from a particular set Σ\Sigma) to the vertices of the graph. We interpret all graphs treated in this paper as colored graphs and just write GG instead of (G,c)(G, c) when cc is clear from the context. If the coloring is not specified, we assume a monochromatic coloring (i.e., all vertices have the same color).

Weisfeiler–Leman Algorithm

In recent years, the Weisfeiler–Leman algorithm and its variants have gained considerable interest due to the central role they play in the development of various graph kernels and neural networks [28]. We next present the 1-dimensional Weisfeiler–Leman (WL) algorithm for colored graphs, often referred to as color refinement or naive vertex classification. The algorithm operates by repeatedly refining a partition of the vertex set according to a prescribed refinement rule until a stable partition is obtained.

Let G={G1,…,GN}\mathcal{G} = \{G_1, \ldots, G_N\} denote a collection of graphs where Gi=(Vi,Ei)G_i = (V_i, E_i) for i∈[N]i \in[N]. Let also VV denote the union of the vertex sets of all graphs, i.e., V=V1∪⋯∪VNV = V_1 \cup\cdots\cup V_N. The WL algorithm runs for a number of iterations, and in each iteration, it computes a vertex coloring c(ℓ):V→Σ(ℓ)c^{(\ell)} : V \to\Sigma^{(\ell)} where Σ(ℓ)\Sigma^{(\ell)} denotes the set of colors assigned to vertices during the ℓ\ell-th iteration of the algorithm.

Specifically, for ℓ∈N\ell\in\mathbb{N}, the coloring c(ℓ)c^{(\ell)} computed by WL after ℓ\ell iterations on GG is defined as c(ℓ)(v)=(c(ℓ−1)(v),{{c(ℓ−1)(w)∣w∈N(v)}})c^{(\ell)}(v) = \left(c^{(\ell-1)}(v), \{\{c^{(\ell-1)}(w) \mid w \in N(v)\}\}\right). That is, c(ℓ)(v)c^{(\ell)}(v) consists of the color of vv from the previous iteration as well as the multiset of colors of neighbors of vv from the previous iteration. It is clear that each vertex coloring c(ℓ)c^{(\ell)} naturally partitions VV into color classes, i.e., sets of vertices with the same color. Since the refinement takes the color c(ℓ−1)(v)c^{(\ell-1)}(v) of a vertex vv into account when computing c(ℓ)(v)c^{(\ell)}(v), the implication c(ℓ−1)(v)≠c(ℓ−1)(u)⇒c(ℓ)(v)≠c(ℓ)(u)c^{(\ell-1)}(v) \ne c^{(\ell-1)}(u) \Rightarrow c^{(\ell)}(v) \ne c^{(\ell)}(u) holds for all u,v∈Vu, v \in V. Hence, the color classes induced by c(ℓ)c^{(\ell)} are at least as fine as those induced by c(ℓ−1)c^{(\ell-1)}. Let c∈Σ(ℓ)c \in\Sigma^{(\ell)}. We also denote by Pa⁡(c)\operatorname{Pa}(c) the unique parent color of cc, i.e., the color in Σ(ℓ−1)\Sigma^{(\ell-1)} from which cc is derived. Similarly, we denote by Ch⁡(c)\operatorname{Ch}(c) the set of child colors of cc, i.e., Ch⁡(c)={c′∈Σ(ℓ+1):c′ is derived from c}\operatorname{Ch}(c) = \{c' \in\Sigma^{(\ell+1)} : c' \text{ is derived from } c\}.

The WL-SeqVAE Graph Generator

Our model is built on a VAE framework. The encoder maps the input sequence of node colors to a latent distribution, modeled as a multivariate Gaussian parameterized by a mean vector and a standard deviation vector. A latent representation is then obtained by sampling from this distribution using the reparameterization trick. Finally, the decoder reconstructs the input sequence from this latent embedding. An overview of the proposed model is provided in Figure 1. We next present the main components of the proposed model.

Figure 1. Overview of WL-SeqVAE. A BFS ring-ordered sequence of 1-WL color tokens is encoded into a Gaussian latent representation zz. Conditioned on zz, a ring-wise autoregressive decoder generates the graph using WL-compatibility constraints.

Node colors

The node colors are obtained by applying the WL algorithm to the graphs of the training set for LL iterations. Starting from an initial coloring, the WL procedure iteratively updates the color of each node by aggregating the colors of its neighboring nodes and assigning a new color based on the resulting neighborhood signature. After LL iterations, the final node colors encode structural information from the LL-hop neighborhoods of the nodes. These colors are then used as node representations. The model uses a separate embedding layer for the colors produced at each WL iteration. We denote by EΣ(ℓ)E_{\Sigma^{(\ell)}} the embedding layer for the colors produced at the ℓ\ell-th WL iteration.

Encoder

The encoder is implemented as a stack of Transformer encoder layers. Each layer follows the standard Transformer structure with multi-head self-attention and feedforward layers. A graph G=(V,E)G = (V, E) is represented as a sequence of node colors generated by the WL algorithm. It should be noted that the nodes are not ordered arbitrarily when constructing this sequence. Instead, the ordering begins by selecting a central node, defined as a node with minimum eccentricity. If multiple nodes satisfy this criterion, ties are broken by selecting the node with the highest degree and, if necessary, the smallest node index. Let vv denote the selected central node. For each remaining node u∈V∖{v}u \in V \setminus\{v\}, we construct the signature (dSP⁡(v,u),−deg⁡(u),id⁡(u))(\operatorname{dSP}(v,u),-\deg(u),\operatorname{id}(u)). The remaining nodes are then ordered lexicographically according to these signatures. A special [CLS] token is also prepended to the input sequence. Specifically, given an input sequence of node colors for nn nodes (n+1n+1 tokens because of the [CLS] token), token embeddings are first computed as:

ht(0)=EΣ(L)(ct(L))+PE⁡(t)\mathbf{h}_{t}^{(0)} = \mathbf{E}_{\Sigma(L)}\left(c_{t}^{(L)}\right) + \operatorname{PE}(t)

where PE⁡(⋅)\operatorname{PE}(\cdot) denotes the positional encoding of the input. Each encoder layer applies prenormalization followed by self-attention:

h~t(ℓ)=ht(ℓ−1)+MHA⁡(LN⁡(ht(ℓ−1)))\widetilde{\mathbf{h}}_{t}^{(\ell)} = \mathbf{h}_{t}^{(\ell-1)} + \operatorname{MHA}\left(\operatorname{LN}\left(\mathbf{h}_{t}^{(\ell-1)}\right)\right)

and a feedforward network:

ht(ℓ)=h~t(ℓ)+FFN⁡(LN⁡(h~t(ℓ)))\mathbf{h}_{t}^{(\ell)} = \widetilde{\mathbf{h}}_{t}^{(\ell)} + \operatorname{FFN}\left(\operatorname{LN}\left(\widetilde{\mathbf{h}}_{t}^{(\ell)}\right)\right)

where LN⁡(⋅)\operatorname{LN}(\cdot) denotes layer normalization [1]. Let H(ℓ)\mathbf{H}^{(\ell)} denote a matrix whose rows store the normalized representations of the different tokens, i.e., its ii-th row stores hi(ℓ)\mathbf{h}_{i}^{(\ell)}. The multi-head attention mechanism is then defined as:

MHA⁡(H(ℓ))=[head⁡1(H(ℓ))∥⋯∥head⁡H(H(ℓ))]WO\operatorname{MHA}\left(\mathbf{H}^{(\ell)}\right) = \left[\operatorname{head}_{1}\left(\mathbf{H}^{(\ell)}\right) \mathbin{\|} \cdots\mathbin{\|} \operatorname{head}_{H}\left(\mathbf{H}^{(\ell)}\right)\right]\mathbf{W}^{O}

where [⋅∥⋯∥⋅]\left[\cdot\mathbin{\|} \cdots\mathbin{\|} \cdot\right] denotes concatenation and attention heads are defined as:

head⁡i(H(ℓ))=softmax⁡(H(ℓ)Wi(Q)(H(ℓ)Wi(K))Tdk)H(ℓ)Wi(V)\operatorname{head}_{i}\left(\mathbf{H}^{(\ell)}\right) = \operatorname{softmax}\left(\frac{\mathbf{H}^{(\ell)}\mathbf{W}_{i}^{(Q)}\left(\mathbf{H}^{(\ell)}\mathbf{W}_{i}^{(K)}\right)^{\mathsf{T}}}{\sqrt{d_{k}}}\right)\mathbf{H}^{(\ell)}\mathbf{W}_{i}^{(V)}

The feedforward network uses GELU activations and expands the hidden dimension to 4dh4d_h:

FFN⁡(h)=W2GELU⁡(W1h+b1)+b2\operatorname{FFN}(\mathbf{h}) = \mathbf{W}_{2}\operatorname{GELU}\left(\mathbf{W}_{1}\mathbf{h}+\mathbf{b}_{1}\right)+\mathbf{b}_{2}

where W1∈R4dh×dh\mathbf{W}_{1} \in\mathbb{R}^{4d_h \times d_h} and W2∈Rdh×4dh\mathbf{W}_{2} \in\mathbb{R}^{d_h \times4d_h}. Dropout is applied throughout the layers for regularization.

Once the final token representations are produced, the vector of the [CLS] token is normalized and projected to Gaussian parameters:

h[CLS]=LN⁡(h1(L))\mathbf{h}_{[\mathrm{CLS}]} = \operatorname{LN}\left(\mathbf{h}_{1}^{(L)}\right)
μϕ=Wμh[CLS]+bμ\boldsymbol{\mu}_{\phi} = \mathbf{W}_{\mu}\mathbf{h}_{[\mathrm{CLS}]}+\mathbf{b}_{\mu}
log⁡σϕ2=Wlog⁡h[CLS]+blog⁡\log\boldsymbol{\sigma}_{\phi}^{2} = \mathbf{W}_{\log}\mathbf{h}_{[\mathrm{CLS}]}+\mathbf{b}_{\log}

During training, the reparameterization trick is utilized:

z=μϕ+ϵ⊙exp⁡(12log⁡σϕ2),ϵ∼N(0,I)\mathbf{z} = \boldsymbol{\mu}_{\phi}+\boldsymbol{\epsilon}\odot\exp\left(\frac{1}{2}\log\boldsymbol{\sigma}_{\phi}^{2}\right), \qquad\boldsymbol{\epsilon}\sim\mathcal{N}(\mathbf{0},\mathbf{I})

where 0\mathbf{0} and I\mathbf{I} denote the zero vector and identity matrix, respectively. During evaluation of the reconstruction loss, we set z\mathbf{z} to the mean of the distribution, i.e., z=μϕ\mathbf{z}=\boldsymbol{\mu}_{\phi}. For generation from the model prior, the model samples z∼N(0,I)\mathbf{z}\sim\mathcal{N}(\mathbf{0},\mathbf{I}).

Decoder

The decoder first transforms the sampled latent vector z\mathbf{z} that represents a sequence of node colors as follows:

hz=fz(z)\mathbf{h}_{z}=f_{z}(\mathbf{z})

where fzf_{z} is a two-layer MLP with SiLU activation function.

Generation proceeds in a ring-by-ring manner, starting from the central node vv and subsequently generating nodes belonging to the kk-rings for k=1,2,…,ϵ(v)k=1,2,\ldots,\epsilon(v). Specifically, the decoder first predicts the final WL color of the central node. The prediction probabilities are computed as:

pv=fcenter(hz+hb)\mathbf{p}_{v}=f_{\mathrm{center}}(\mathbf{h}_{z}+\mathbf{h}_{b})

where hb\mathbf{h}_{b} is a vector that encodes information about the generation state and is defined as:

hb=fb([En(n∗)∥En(ncur)∥En(nrem)∥En(ustub)∥Er(k)])\mathbf{h}_{b}=f_{b}\left(\left[\mathrm{E}_{n}(n^{*})\mathbin{\|}\mathrm{E}_{n}(n_{\mathrm{cur}})\mathbin{\|}\mathrm{E}_{n}(n_{\mathrm{rem}})\mathbin{\|}\mathrm{E}_{n}(u_{\mathrm{stub}})\mathbin{\|}\mathrm{E}_{r}(k)\right]\right)

where n∗n^{*} is the target number of nodes, ncurn_{\mathrm{cur}} is the number of nodes that have already been created, nremn_{\mathrm{rem}} is the remaining number of nodes to be generated (i.e., nrem=n∗−ncurn_{\mathrm{rem}}=n^{*}-n_{\mathrm{cur}}), ustubu_{\mathrm{stub}} is the total number of unresolved half-edges that have emerged from the WL colors of the nodes that have already been generated, and kk denotes the current ring index (i.e., the ring from which nodes are currently being generated). All the above quantities are scalars and are embedded to vectors using embedding layers En\mathrm{E}_{n} and Er\mathrm{E}_{r}, and then concatenated to form a single vector.

Given the final WL color of a node vv, the penultimate WL colors of all its neighbors are uniquely determined. Consider a neighbor uu of vv. Let c(L−1)(u)c^{(L-1)}(u) denote the required penultimate WL color of uu. The logits corresponding to the node uu’s final WL color are then given by:

pu=fcolor([hz+hb∥EΣ(L−1)(c(L−1)(u))∥Er(dSP(v,u))∥hG+hb])\mathbf{p}_{u}=f_{\mathrm{color}}\left(\left[\mathbf{h}_{z}+\mathbf{h}_{b}\mathbin{\|}\mathrm{E}_{\Sigma^{(L-1)}}\left(c^{(L-1)}(u)\right)\mathbin{\|}\mathrm{E}_{r}\left(d_{\mathrm{SP}}(v,u)\right)\mathbin{\|}\mathbf{h}_{G}+\mathbf{h}_{b}\right]\right)

where hG\mathbf{h}_{G} is a graph-level representation summarizing the graph constructed so far. Vector hG\mathbf{h}_{G} is defined as:

hG=1ncur∑v∈Vcur ⁣hv\mathbf{h}_{G}=\frac{1}{n_{\mathrm{cur}}}\sum_{v\in V_{\mathrm{cur}}\!}\mathbf{h}_{v}

where VcurV_{\mathrm{cur}} denotes the set of nodes that have already been created, and hv\mathbf{h}_{v} denotes a vector that encodes information about node vv, defined as follows:

hu=fnode([EΣ(L)(c(L)(u))∥EΣ(L−1)(c(L−1)(u))∥EΣ(0)(c(0)(u))∥Er(dSP(v,u))∥Ed(deg⁡(u))])\mathbf{h}_{u}=f_{\mathrm{node}}\left(\left[\mathrm{E}_{\Sigma^{(L)}}\left(c^{(L)}(u)\right)\mathbin{\|}\mathrm{E}_{\Sigma^{(L-1)}}\left(c^{(L-1)}(u)\right)\mathbin{\|}\mathrm{E}_{\Sigma^{(0)}}\left(c^{(0)}(u)\right)\mathbin{\|}\mathrm{E}_{r}\left(d_{\mathrm{SP}}(v,u)\right)\mathbin{\|}\mathrm{E}_{d}\left(\deg(u)\right)\right]\right)

where Ed\mathrm{E}_{d} is an embedding layer for node degrees. Once the final color c(L)(u)c^{(L)}(u) of node uu has been determined, the node may be connected to nodes in either the previous ring or the current ring if compatible unresolved stubs remain available. For a candidate edge of type ee between existing nodes uu and ww, the edge probability is computed as:

pe=σ(fedge([hz+hb∥hu∥hw∥Ee(e)]))p_{e}=\sigma\left(f_{\mathrm{edge}}\left(\left[\mathbf{h}_{z}+\mathbf{h}_{b}\mathbin{\|}\mathbf{h}_{u}\mathbin{\|}\mathbf{h}_{w}\mathbin{\|}\mathrm{E}_{e}(e)\right]\right)\right)

where Ee\mathrm{E}_{e} denotes an embedding layer for edge types, and σ\sigma is the sigmoid activation function. Note again that a pair of nodes is considered a valid candidate for connection only if it possesses reciprocal unresolved stubs that are compatible with edge type ee.

Training Objective

The loss function of the proposed variational autoencoder has two main terms:

L=Lrec+βLKL\mathcal{L} = \mathcal{L}_{\mathrm{rec}} + \beta\mathcal{L}_{\mathrm{KL}}

The first term is the reconstruction loss which measures how well the model reconstructs the input data. The second term of the loss function is a regularization term.

The reconstruction loss consists of three components:

Lrec=Lnodes+Lprev+Lintra\mathcal{L}_{\mathrm{rec}} = \mathcal{L}_{\mathrm{nodes}} + \mathcal{L}_{\mathrm{prev}} + \mathcal{L}_{\mathrm{intra}}

Note that we employ teacher forcing [39], i.e., at each generation step the model is conditioned on the ground-truth partial graph instead of its own previous predictions. The first component of the reconstruction term Lnodes\mathcal{L}_{\mathrm{nodes}} corresponds to the prediction of node colors. For the central node, the model predicts a distribution over all colors in the final WL iteration, and a cross-entropy loss is computed with respect to the ground-truth color. For all remaining nodes, the prediction is restricted to the children of the node’s color in the penultimate WL iteration. The cross-entropy loss is then computed over this reduced set of candidate colors. Formally, we have:

Lnodes=−∑c∈Σ(L)1{c=c(L)(v)}log⁡[pv]c−1n−1∑u∈V∖{v}∑c∈Ch⁡(c(L−1)(u))1{c=c(L)(u)}log⁡[pu]c\mathcal{L}_{\mathrm{nodes}} = - \sum_{c \in\Sigma^{(L)}} \mathbb{1}_{\{c=c^{(L)}(v)\}} \log[\mathbf{p}_v]_c - \frac{1}{n-1} \sum_{u \in V \setminus\{v\}} \sum_{c \in\operatorname{Ch}(c^{(L-1)}(u))} \mathbb{1}_{\{c=c^{(L)}(u)\}} \log[\mathbf{p}_u]_c

where [pv]c[\mathbf{p}_v]_c denotes the predicted probability that node vv is assigned color cc. Note that the loss term places greater emphasis on the color of the central node than on the colors of the remaining nodes. This encourages more accurate color prediction for the central node, which plays the most important role in the generation procedure.

The other two components of the reconstruction term Lrec\mathcal{L}_{\mathrm{rec}} are associated with edge prediction. Specifically, they model (1) edges between a node in ring rr and nodes in the preceding ring r−1r-1; and (2) edges between nodes within the same ring. Both components are defined using binary cross-entropy losses:

Lprev=−1∣P∣∑e∈P(yelog⁡pe+(1−ye)log⁡(1−pe))\mathcal{L}_{\mathrm{prev}} = -\frac{1}{|\mathcal{P}|} \sum_{e \in\mathcal{P}} \left(y_e \log p_e + (1-y_e)\log(1-p_e)\right)
Lintra=−1∣I∣∑e∈I(yelog⁡pe+(1−ye)log⁡(1−pe))\mathcal{L}_{\mathrm{intra}} = -\frac{1}{|\mathcal{I}|} \sum_{e \in\mathcal{I}} \left(y_e \log p_e + (1-y_e)\log(1-p_e)\right)

Here, P\mathcal{P} denotes the set of candidate edges connecting nodes in ring rr to nodes in ring r−1r-1, and I\mathcal{I} denotes the set of candidate edges between nodes within the same ring. The binary label yey_e indicates whether candidate edge ee is present in the input graph or absent, while pep_e denotes the predicted probability that edge ee exists.

The second term of the loss function measures how closely the output distribution matches p(z)p(\mathbf{z}), where p(z)=N(0,I)p(\mathbf{z}) = \mathcal{N}(\mathbf{0}, \mathbf{I}) is an isotropic prior:

LKL=KL⁡(qϕ(z∣τ)∥N(0,I))=−12∑j=1dz(1+log⁡σj2−μj2−σj2)\mathcal{L}_{\mathrm{KL}} = \operatorname{KL}\left(q_{\phi}(\mathbf{z} \mid\tau) \mathbin{\|} \mathcal{N}(\mathbf{0}, \mathbf{I})\right) = -\frac{1}{2}\sum_{j=1}^{d_z}\left(1+\log\sigma_j^2-\mu_j^2-\sigma_j^2\right)

In our implementation, we average the above quantity over the batch.

Sampling

At inference time, new graphs are generated according to the following procedure:

  1. We sample z∼N(0,I)\mathbf{z} \sim\mathcal{N}(\mathbf{0}, \mathbf{I}) and then compute hz=fz(z)\mathbf{h}_z = f_z(\mathbf{z}).

  1. We sample a target number of nodes n∗n^* from the empirical training distribution and set nmax⁡=⌈γn∗⌉n_{\max} = \lceil\gamma n^* \rceil where γ\gamma is a hyperparameter.

  1. We compute the vector hb\mathbf{h}_b and then produce the final WL color of the central node.

  1. We create the central node, place it in ring 0, and initialize its unresolved half-edges from its final WL color.

  1. For ring r=1,…,rmax⁡r = 1, \ldots, r_{\max}:

    (a) Collect the unresolved stubs originating from the previous ring.

    (b) For each source stub, identify compatible existing nodes and sample whether to connect the stub to one of them.

    (c) If no existing node is selected and ncur<nmax⁡n_{\mathrm{cur}} < n_{\max}, sample a compatible child final WL color, create the corresponding node in the current ring, and connect it to the source node.

    (d) After processing the source stubs, predict additional edges between current-ring nodes with compatible unresolved stubs.

    (e) Once all stubs originating from the previous ring have been processed, advance to the next ring.

    (f) Terminate when all stubs have been resolved or the maximum number of nodes, nmax⁡n_{\max}, has been reached.

If generation terminates with no remaining stubs for every generated node, then each node realizes the full neighbor multiset required by its final WL color. We call such a graph WL-complete. During generation, the procedure may terminate after reaching the maximum number of nodes nmax⁡n_{\max} while some nodes still contain unresolved stubs.

Experimental Evaluation

We evaluate WL-SeqVAE in two main tasks. First, we consider general graph generation to determine whether the model captures the structural properties of different graph families. We then evaluate the model on two widely used molecular benchmarks. These experiments assess whether the model can generate chemically valid and diverse molecular graphs.

Model Selection. For each dataset, we train three different models by setting the number of WL iterations to 1, 2, and 3. For each one of the three models, we store two candidate checkpoints based on validation data: (1) the best validation loss checkpoint corresponds to the epoch with the lowest validation objective under the epoch-specific KL warm-up weight; and (2) the best structural checkpoint instead minimizes a validation generation score that penalizes failed or invalid generated graphs, duplicates, training-set matches, incomplete WL constructions, and unresolved half-edges. It also includes the mean of the log-scaled degree, clustering, and orbit MMD2^2 values. We compare all combinations of WL iterations and checkpoint types on the validation set and select a single configuration before evaluating on the test set.

Table 1 reports the selected configuration for each dataset. It also reports the WL-completeness for each dataset, defined as the fraction of generated samples that have all local WL constraints satisfied and no unresolved stubs. This metric evaluates whether the decoder completes its WL-based construction consistently. The complete record for every evaluated WL depth, including the number of epochs, the batch size and the total training time is provided in the Appendix. The Appendix also reports the remaining WL depths and checkpoint roles, together with the complete training configuration, sampling protocol, and decoder controls.

DatasetWL iterationSelected checkpointWL-Complete (%) ↑
Ego-small1best val. loss89.17 ± 4.71
Community-small3best structural20.00 ± 7.07
Enzymes3best val. loss31.91 ± 0.40
Grid3best val. loss11.67 ± 8.50
QM92best val. loss54.85 ± 0.83
ZINC250K2best structural57.47 ± 1.43

Table 1. Selected WL-SeqVAE configurations based on the validation set. Completion is the percentage of samples that are WL-complete and contain no unresolved WL stubs. We report the mean and standard deviation across three different seeds.

General Graph Generation

Following the evaluation protocol of CatFlow [6], we first evaluate the proposed method on the following 4 synthetic and real-world datasets: (1) Ego-small; (2) Community-small; (3) Enzymes; and (4) Grid. For all datasets, we use the ordered GDSS splits [16]. For each experiment (seed and dataset), we generate the same number of graphs as in the corresponding test set, Specifically, we generate 40 graphs for Ego-small, 20 for Community-small, 117 for Enzymes, and 20 for Grid.

Experimental setup. We measure the agreement between the generated and test distributions using the squared maximum mean discrepancy (MMD2\mathrm{MMD}^{2}). Degree and clustering distributions are compared using Gaussian–Earth Mover’s Distance kernels, while the orbit metric uses a Gaussian kernel over exact ORCA node-orbit count vectors for graphlets of up to four nodes. Lower values indicate closer agreement with the test distribution.

Baselines. We compare WL-SeqVAE against the following 5 baselines: (1) GraphVAE [33], (2) GNF [22]; (3) EDP-GNN [30]; (4) GDSS [16]; and (5) CatFlow [6]. We use the results reported in [6]. The full baseline set is available for Ego-small and Community-small. For Enzymes and Grid, we compare only against CatFlow.

Results. The results are shown in Table 2. On Ego-small, WL-SeqVAE outperforms GraphVAE, GNF, and EDP-GNN in degree and clustering, with a degree score close to that of GDSS. Its orbit score of 0.008 matches the CatFlow mean, although GNF, EDP-GNN, and GDSS achieve slightly better results on this metric. On Community-small, WL-SeqVAE achieves a degree MMD2^{2} of 0.019, comparable to CatFlow (0.018) and lower than those of the other baselines. It also improves upon GraphVAE, GNF, and EDP-GNN in orbit statistics, but trails GDSS and CatFlow in both clustering and orbit. On Enzymes, CatFlow outperforms WL-SeqVAE across all three statistics. On Grid, WL-SeqVAE achieves a lower orbit MMD2^{2} than CatFlow (0.0442 vs. 0.075), but performs less favorably on degree and mainly on clustering. Overall, these results suggest that the WL-based representation captures local degree and motif statistics effectively, while graph families with stronger global structure remain more challenging.

MethodEgo-small Degree ↓Ego-small Clustering ↓Ego-small Orbit ↓Community-small Degree ↓Community-small Clustering ↓Community-small Orbit ↓
GraphVAE0.1300.1700.0500.3500.9800.540
GNF0.0300.1000.0010.2000.2000.110
EDP-GNN0.0520.0930.0070.0530.1440.026
GDSS0.0210.0240.0070.0450.0860.007
CatFlow0.013 ± 0.0070.024 ± 0.0090.008 ± 0.0050.018 ± 0.0120.086 ± 0.0210.007 ± 0.005
WL-SeqVAE0.023 ± 0.0120.033 ± 0.0150.008 ± 0.0030.019 ± 0.0110.183 ± 0.0600.023 ± 0.010
MethodEnzymes Degree ↓Enzymes Clustering ↓Enzymes Orbit ↓Grid Degree ↓Grid Clustering ↓Grid Orbit ↓
CatFlow0.013 ± 0.0120.062 ± 0.0110.008 ± 0.0070.115 ± 0.0100.004 ± 0.0020.075 ± 0.071
WL-SeqVAE0.029 ± 0.0040.571 ± 0.0470.039 ± 0.0120.132 ± 0.0410.117 ± 0.0780.044 ± 0.016

Table 2. Performance on general graph generation. Baseline results are taken from [6]. WL-SeqVAE results are reported as the mean ± standard deviation over three random seeds. MMD values are reported as raw biased MMD2^2; lower is better.

Molecular Graph Generation

We also evaluate WL-SeqVAE on heavy-atom QM9 [40] and ZINC250K [35], following the molecular preprocessing protocols of CatFlow and GDSS and using the corresponding test references. Each molecule is represented as a labeled graph, with nodes denoting atom types and edges denoting bond types. The molecules are kekulized, and hydrogen atoms are removed before canonical SMILES are produced. For QM9, the preprocessing pipeline retains 130,413 of the 133,885 raw molecular records. The remaining 3,472 records are excluded because they contain invalid molecules, unsupported atom types, or too few heavy atoms. The resulting graphs contain four atom types: CC, NN, OO and FF. For ZINC250K, the initial split comprises 220,011 training and 24,445 validation graphs. Canonical WL trace construction retains all training graphs and 23,546 validation graphs, while 899 validation graphs are excluded because they contain out-of-vocabulary WL colors. Further preprocessing details are provided in the Appendix.

Evaluation protocol. For each seed, we perform 10,000 independent generation attempts. Validity is computed over all attempts without valency correction or edge resampling, while uniqueness is computed over the RDKit-valid molecules. Fréchet ChemNet Distance (FCD) measures the distributional similarity between the valid generated molecules and the test reference set in ChemNet representation space. Generated duplicates are retained when computing FCD, and invalid generations are not replaced by additional samples. Following the CatFlow evaluation protocol, we omit novelty because QM9 covers a constrained space of small molecules, while molecular generators typically achieve nearly 100% novelty on ZINC250K [6].

Baselines. Baselines. The proposed approach is compared against the following 9 baselines: (1) MoFlow [43]; (2) EDP-GNN [30]; (3) GraphEBM [23]; (4) GDSS [16]; (5) DiGress [36]; (6) Flow Matching [21]; (7) Dirichlet FM [34]; (8) CatFlow [6]; and (9) DeFoG [31].

MethodQM9: Validity ↑QM9: Uniqueness ↑QM9: FCD ↓ZINC250K: Validity ↑ZINC250K: Uniqueness ↑ZINC250K: FCD ↓
MoFlow91.3698.654.46763.1199.9920.931
EDP-GNN47.5299.252.68082.9799.7916.737
GraphEBM8.2297.906.1435.2998.7935.471
GDSS95.7298.462.90097.0199.6414.656
DiGress99.0096.20––––
Flow Matching94.1098.205.15594.0196.6818.764
Dirichlet FM99.1098.150.88897.5299.2014.222
CatFlow99.8199.950.44199.21100.0013.211
DeFoG99.496.30.1299.2299.991.425
WL-SeqVAE99.74 ± 0.0594.74 ± 0.421.407 ± 0.07993.16 ± 1.58100.00 ± 0.0018.173 ± 0.12

Table 3. Performance on molecular graph generation results under the CatFlow/GDSS protocol. Baseline results are taken from [6]. WL-SeqVAE results are reported as the mean ± standard deviation over three random seeds. Validity and uniqueness are reported as percentages.

Results. On QM9, WL-SeqVAE achieves 99.74% validity, showing that the decoder generates chemically valid molecules in almost all attempts. It also obtains 94.74% uniqueness and an FCD of 1.4071. Although its validity is comparable to the strongest baselines, the lower uniqueness and higher FCD indicate that the generated distribution is less diverse and does not match the test distribution as closely as CatFlow.

On the larger and more diverse ZINC250K dataset, WL-SeqVAE achieves 93.16% validity and 100.00% uniqueness, indicating that all valid generated molecules are distinct. Its FCD of 18.1730 remains competitive with several baselines, although it is higher than the values obtained by GDSS, Dirichlet FM, CatFlow and DeFoG. These results show that WL-SeqVAE can generate diverse molecular graphs across datasets with different atom vocabularies and graph-size distributions, while accurately matching the molecular distribution remains more challenging.

The strict WL-completion rates reported in Table 1 provide a complementary view of the generation process. Despite the high molecular validity, not every generated molecule satisfies all sampled local WL constraints. This difference shows that chemical validity and strict WL completion measure distinct properties. In particular, a molecule may be chemically valid even when the decoder does not fully realize its sampled WL-based construction plan.

Figure 2 shows representative molecules generated by WL-SeqVAE on QM9 and ZINC. The samples display structural diversity and are visually consistent with the molecular distributions of the respective datasets. Samples generated from the model trained on QM9 are small organic molecules with common oxygen- and nitrogen-containing functional groups, while those generated from the model trained on ZINC are larger drug-like structures featuring aromatic systems, heterocycles, amides, and halogen substituents. Together with the quantitative results reported above, these examples suggest that WL-SeqVAE learns chemically meaningful structural patterns while maintaining diversity across generated molecules.

Figure 2. Examples of molecules generated from the WL-SeqVAE model trained on QM9 and ZINC250K.

Conclusion

We presented WL-SeqVAE, a sequence-based VAE that reformulates graph generation as a sequence generation problem by leveraging node colors induced by the WL algorithm as structural tokens. By encoding sequences of WL colors into a continuous latent representation and decoding them autoregressively under WL-derived compatibility constraints, the proposed framework combines global latent information with local structural consistency while avoiding the direct generation of a quadratic adjacency matrix. Experimental results on molecular and abstract graph generation demonstrate that WL-SeqVAE is competitive with established baselines across several quality metrics.

Experimental Evaluation

Experimental Setup and Configuration

Training configuration. Unless noted otherwise, we train each model for up to 50 epochs using a hidden dimension of 192, a latent dimension of 64, four Transformer layers, four attention heads, and dropout 0.1. We use gradient clipping at 1.0 and linearly increase the KL weight to β=0.1\beta= 0.1 over the first 10 epochs. Table 4 summarizes the shared optimization settings. Batch size and maximum sequence length depend on the dataset and WL depth. Table 5 reports the total training and validation time for the selected configuration of each dataset, together with the other evaluated WL depths. The times include all completed training and validation epochs but exclude trace preprocessing, validation generation used by the structural selector, and final test generation.

HyperparameterGeneral Graph Generation DatasetsQM9/ZINC250K
OptimizerAdamWAdamW
SchedulerNone (constant)None (constant)
Learning rate3⋅10−43 \cdot10^{-4}3⋅10−43 \cdot10^{-4}
Weight decay10−410^{-4}10−410^{-4}

Table 4. Optimization hyperparameters used for the general graph generation and molecular generation experiments.

DatasetWL iterationsSelected checkpointTotal epochsBatch sizeTraining + validation time (min)
Ego-small1Best val. loss50320.34±0.010.34 \pm0.01
Ego-small2Best val. loss50320.32±0.000.32 \pm0.00
Ego-small3Best val. loss50320.32±0.020.32 \pm0.02
Community-small1Best structural50320.23±0.010.23 \pm0.01
Community-small2Best structural50320.23±0.010.23 \pm0.01
Community-small3Best structural50320.23±0.010.23 \pm0.01
Enzymes1Best val. loss50321.42±0.031.42 \pm0.03
Enzymes2Best val. loss50321.33±0.011.33 \pm0.01
Enzymes3Best val. loss50321.33±0.011.33 \pm0.01
Grid1Best val. loss50321.03±0.051.03 \pm0.05
Grid2Best val. loss50320.85±0.010.85 \pm0.01
Grid3Best val. loss50320.72±0.010.72 \pm0.01
QM91Best val. loss50256186.42±96.74186.42 \pm96.74
QM92Best val. loss5032277.08±18.31277.08 \pm18.31
QM93Best val. loss5032290.45±3.94290.45 \pm3.94
ZINC250K2Best structural50512356.14±17.54356.14 \pm17.54
ZINC250K3Best structural50256377.51±7.71377.51 \pm7.71
Supplementary results
PROTEINS1Best structural503213.28±0.8413.28 \pm0.84
PROTEINS2Best structural503213.26±0.7813.26 \pm0.78
PROTEINS3Best structural501614.49±0.1014.49 \pm0.10
Planar3Best structural50320.51±0.030.51 \pm0.03
SBM3Best structural50320.72±0.050.72 \pm0.05

Table 5. Training time across WL depths and the selected configuration for each dataset. Reported times include training and validation and are reported as the mean ±\pm standard deviation over all seeds.

Sampling and decoder controls. The number of graphs generated for each general graph generation dataset matches the size of its corresponding test split. For molecular evaluation, each seed yields 10, 000 independent prior-sampling attempts, with invalid generations not replaced. We use a node-budget factor of γ=1\gamma= 1, giving nmax⁡=⌈γn∗⌉=n∗n_{\max} = \lceil\gamma n^{*} \rceil= n^{*}. The sampler prioritizes legal reciprocal connections to existing nodes before creating a compatible child node. The dynamic budget variables defined above guide these decisions but do not enforce an exact graph size or density. Specifically, generation may terminate before reaching n∗n^{*} nodes, but never exceeds this limit. We report strict WL completion separately from the number of returned graphs and dataset-specific validity.

Checkpoint roles. We select between two checkpoint candidates based on validation data. As already discussed, the best validation loss checkpoint minimizes the validation objective evaluated using that epoch’s KL-warmup weight, while the checkpoint minimizes the validation generation score, which combines failure, validity, duplication, training-match, completion, unresolved-stub, and log-scaled structural-MMD terms. The last completed epoch is reported in the detailed sensitivity tables for diagnostic purposes only and is not considered a third checkpoint candidate. Test-set MMD and FCD are not used for checkpoint selection.

Baseline Models

The methods included in our comparison span several families of graph generative models. GraphVAE decodes a continuous latent representation into probabilistic adjacency and attribute matrices [33], while GNF combines a reversible graph neural network with a graph autoencoder to generate each graph in a single pass [22]. EDP-GNN instead learns a permutation-equivariant score function over adjacency matrices [30], while GDSS jointly evolves node features and adjacency variables through a system of stochastic differential equations [16]. CatFlow derives a categorical flow through variational flow matching and predicts a distribution over clean endpoints for each graph component [6].

For molecular graphs, MoFlow applies an invertible flow to atom and bond representations [43], while GraphEBM learns a permutation-invariant energy function and samples molecules using Langevin dynamics [23]. The molecular comparison further includes diffusion and flow-matching approaches. DiGress is a discrete denoising diffusion model in which a graph Transformer reconstructs node and edge categories from corrupted graphs [36]. Standard Flow Matching learns the vector field defining a continuous normalizing flow [21], while Dirichlet Flow Matching defines probability paths directly on the categorical simplex [34]. For Dirichlet Flow Matching, we report the graph-generation adaptation evaluated alongside CatFlow, rather than the original results on DNA sequences. DeFoG employs discrete flow matching to generate graphs while decoupling the training and sampling processes, enabling flexible and efficient graph generation [31].

The PROTEINS comparison additionally includes two autoregressive methods: GraphRNN generates adjacency sequences using recurrent neural networks [42], while GRAN generates graph elements in blocks using recurrent attention [20]. It also includes SPECTRE, which first generates the leading eigenvalues and eigenvectors of the graph Laplacian and then conditions a graph generator on these spectral features [27]. Its “real spectra” variant instead uses spectra extracted from test graphs, serving as an oracle diagnostic rather than a fully generative baseline. The starred MolGAN and GG-GAN variants are architectural controls introduced by the SPECTRE authors, rather than faithful re-implementations of the original methods. MolGAN* replaces SPECTRE’s conditional graph generator with an MLP. GG-GAN* combines fixed learned node embeddings with processed noise, while its random-set variant uses only the processed random set.

Evaluation Details

For general graph generation, we use the official ordered 80/20 train–test split from [6]. Orbit MMD is computed using the 15 exact ORCA orbit features corresponding to graphlets of up to four nodes. For the supplementary SPECTRE experiments, we preserve the fixed dataset membership and generate one graph per test graph. Each reported ratio is the generated–test MMD2^{2} divided by the corresponding published train–test MMD2^{2}.

For molecular generation, we use CatFlow’s preprocessing pipeline and the official test set. Validity is computed over all independent generation attempts, uniqueness over valid generated molecules, and FCD over valid generated molecules with duplicates retained. FCD measures the distance between the distributions of real and generated molecules using activations from ChemNet.

Three-Seed Results

We report the arithmetic mean and population standard deviation over three different seeds. Tables 6–10 show sensitivity across WL depths and checkpoint roles, including the last completed epoch as a diagnostic.

WL iterationsCheckpointDegree MMD2^{2}Clustering MMD2^{2}Orbit MMD2^{2}Complete (%)
1Best structural0.0246 ± 0.01450.0407 ± 0.02810.0071 ± 0.003884.17 ± 11.79
1Best val. loss0.0239 ± 0.01240.0334 ± 0.01530.0080 ± 0.003689.17 ± 4.71
1Last epoch (diagnostic)0.0255 ± 0.01410.0328 ± 0.01820.0076 ± 0.003790.83 ± 2.36
2Best structural0.0251 ± 0.01310.0373 ± 0.02410.0078 ± 0.003883.33 ± 5.14
2Best val. loss0.0242 ± 0.01320.0329 ± 0.01990.0079 ± 0.003883.33 ± 3.12
2Last epoch (diagnostic)0.0256 ± 0.01360.0336 ± 0.02080.0078 ± 0.003884.17 ± 2.36
3Best structural0.0245 ± 0.01040.0319 ± 0.00710.0095 ± 0.001975.83 ± 12.47
3Best val. loss0.0223 ± 0.01270.0338 ± 0.01970.0078 ± 0.003785.83 ± 6.56
3Last epoch (diagnostic)0.0236 ± 0.01310.0349 ± 0.02280.0078 ± 0.003788.33 ± 6.24

Table 6. Checkpoint sensitivity results for Ego-Small under the CatFlow evaluation protocol.

WL iterationsCheckpointDegree MMD2^{2}Clustering MMD2^{2}Orbit MMD2^{2}Complete (%)
1Best structural0.0258 ± 0.00270.3920 ± 0.03960.1071 ± 0.027916.67 ± 4.71
1Best val. loss0.0296 ± 0.00100.2890 ± 0.04570.0620 ± 0.036121.67 ± 13.12
1Last epoch (diagnostic)0.0290 ± 0.00220.4218 ± 0.05170.1305 ± 0.068216.67 ± 2.36
2Best structural0.0215 ± 0.00440.2244 ± 0.08270.0433 ± 0.005720.00 ± 7.07
2Best val. loss0.0324 ± 0.00310.3243 ± 0.03860.0762 ± 0.020516.67 ± 13.12
2Last epoch (diagnostic)0.0249 ± 0.00650.3145 ± 0.02350.0999 ± 0.005620.00 ± 4.08
3Best structural0.0190 ± 0.01100.1839 ± 0.06090.0232 ± 0.010320.00 ± 7.07
3Best val. loss0.0308 ± 0.00190.3347 ± 0.00920.0903 ± 0.012916.67 ± 10.27
3Last epoch (diagnostic)0.0308 ± 0.00190.3347 ± 0.00920.0903 ± 0.012916.67 ± 10.27

Table 7. Checkpoint sensitivity results for Community-Small under the CatFlow evaluation protocol.

WL iterationsCheckpointDegree MMD2^{2}Clustering MMD2^{2}Orbit MMD2^{2}Complete (%)
1Best structural0.0346 ± 0.00560.5306 ± 0.05180.0263 ± 0.014937.04 ± 2.64
1Best val. loss0.0323 ± 0.00430.5634 ± 0.00570.0401 ± 0.004833.90 ± 6.29
1Last epoch (diagnostic)0.0402 ± 0.00290.5608 ± 0.04510.0289 ± 0.013335.61 ± 2.64
2Best structural0.0408 ± 0.01960.5388 ± 0.02330.0252 ± 0.013134.47 ± 3.84
2Best val. loss0.0365 ± 0.00750.5351 ± 0.03700.0276 ± 0.012437.89 ± 0.40
2Last epoch (diagnostic)0.0365 ± 0.00750.5351 ± 0.03700.0276 ± 0.012437.89 ± 0.40
3Best structural0.0370 ± 0.00120.5268 ± 0.02590.0200 ± 0.005235.04 ± 1.85
3Best val. loss0.0297 ± 0.00480.5711 ± 0.04740.0392 ± 0.012031.91 ± 0.40
3Last epoch (diagnostic)0.0266 ± 0.00100.5269 ± 0.02180.0274 ± 0.003739.03 ± 5.42

Table 8. Checkpoint sensitivity results for Enzymes under the CatFlow evaluation protocol.

Additional Results

Proteins Dataset. We additionally evaluate WL-SeqVAE on PROTEINS using the SPECTRE evaluation protocol. Among the validation-selected candidates, WL with 2 iterations and the best-structural checkpoint is the only configuration that generates all 184 required graphs for every seed. Table 11 compares this configuration with the published SPECTRE baselines. As this protocol defines no dataset-specific validity predicate for PROTEINS, we report uniqueness and novelty directly.

ModelDeg. ↓\downarrowClus. ↓\downarrowOrbit ↓\downarrowUnique ↑\uparrowNovel ↑\uparrowUniq. & Nov. ↑\uparrow
Training set0.00030.00680.0032100.0––
GraphRNN0.00400.14750.5851100.0100.0100.0
GRAN0.04790.12340.3458100.0100.0100.0
MolGAN*0.00080.06440.008197.3100.097.3
GG-GAN (RS)*0.47270.17720.7326100.0100.0100.0
GG-GAN*0.51920.52200.7326100.0100.0100.0
SPECTRE (k=16k = 16)0.00560.08430.0267100.0100.0100.0
SPECTRE (k=16k = 16, real spectra)0.00130.04690.0287100.0100.0100.0
WL-SeqVAE0.0221 ±\pm 0.010.1523 ±\pm 0.031.0738 ±\pm 0.06100.0100.0100.0

Table 11. Graph generation results on PROTEINS under the SPECTRE evaluation protocol. Baseline results are taken from [27]. WL-SeqVAE values are reported as the mean ±\pm standard deviation over different runs. The best results are highlighted in bold.

WL-SeqVAE achieves a lower degree MMD2^{2} than GRAN and both GG-GAN variants, but is outperformed by GraphRNN, MolGAN*, and both SPECTRE configurations Its clustering MMD2\mathrm{MMD}^{2} is comparable to that of GraphRNN and lower than those of both GG-GAN variants. However, its orbit MMD2\mathrm{MMD}^{2} is higher than that of every reported baseline. Despite these structural discrepancies, WL-SeqVAE generates a fully unique and novel collection of graphs. Overall, the PROTEINS results suggest that WL-SeqVAE preserves sample diversity but does not yet match SPECTRE in reproducing the higher-order structural statistics of the reference distribution.

WL iterationsCheckpointDegree MMD2^{2}Clustering MMD2^{2}Orbit MMD2^{2}Complete (%)
1Best structural0.1583 ± 0.07111.0976 ± 0.54310.4842 ± 0.278031.67 ± 4.71
1Best val. loss0.1738 ± 0.05360.2014 ± 0.01580.1117 ± 0.026916.67 ± 6.24
1Last epoch (diagnostic)0.1738 ± 0.05360.2014 ± 0.01580.1117 ± 0.026916.67 ± 6.24
2Best structural0.1485 ± 0.02760.2730 ± 0.07160.1362 ± 0.046520.00 ± 0.00
2Best val. loss0.1984 ± 0.04590.1895 ± 0.07140.0951 ± 0.014611.67 ± 13.12
2Last epoch (diagnostic)0.1984 ± 0.04590.1895 ± 0.07140.0951 ± 0.014611.67 ± 13.12
3Best structural0.0796 ± 0.02020.1980 ± 0.12340.0649 ± 0.03686.67 ± 6.24
3Best val. loss0.1324 ± 0.04160.1174 ± 0.07820.0442 ± 0.016411.67 ± 8.50
3Last epoch (diagnostic)0.1324 ± 0.04160.1174 ± 0.07820.0442 ± 0.016411.67 ± 8.50

Table 10.

DatasetWL iterationsCheckpointValidity (%)Uniqueness (%)FCD
QM91Best structural99.72 ± 0.0694.86 ± 0.261.5698 ± 0.0470
QM91Best val. loss99.76 ± 0.0995.02 ± 0.671.8623 ± 0.4472
QM91Last epoch (diagnostic)99.72 ± 0.0095.18 ± 0.151.5511 ± 0.0435
QM92Best structural99.73 ± 0.0894.77 ± 0.261.5702 ± 0.0498
QM92Best val. loss99.74 ± 0.0594.74 ± 0.421.4071 ± 0.0793
QM92Last epoch (diagnostic)99.70 ± 0.0494.61 ± 0.171.5190 ± 0.0215
QM93Best structural99.79 ± 0.0794.91 ± 0.391.8669 ± 0.4918
QM93Best val. loss99.71 ± 0.0694.61 ± 0.091.4103 ± 0.0265
QM93Last epoch (diagnostic)99.66 ± 0.1194.78 ± 0.111.4555 ± 0.0368
ZINC250K2Best structural93.16 ± 1.58100.00 ± 0.0018.1730 ± 0.1242
ZINC250K2Best val. loss90.49 ± 1.10100.00 ± 0.0017.9320 ± 0.0951
ZINC250K2Last epoch (diagnostic)90.68 ± 1.15100.00 ± 0.0017.8237 ± 0.0136
ZINC250K3Best structural93.34 ± 1.17100.00 ± 0.0018.6496 ± 0.4463
ZINC250K3Best val. loss88.22 ± 2.22100.00 ± 0.0017.9404 ± 0.0682
ZINC250K3Last epoch (diagnostic)87.65 ± 1.95100.00 ± 0.0017.8087 ± 0.2409

Table 9. Checkpoint sensitivity results for QM9 and ZINC250K under the CatFlow evaluation protocol. QM9 uses the heavy-atom representation.

Synthetic Graph Generation. We evaluate Planar and SBM using the official 200-graph SPECTRE datasets and the DiGress split of 128 training, 32 validation, and 40 test graphs. For both datasets, we use 3 WL iterations and the best-structural checkpoint for each of the three training seeds. Each run is expected to generate 40 graphs, and we report aggregate results across seeds only when every run produces all 40 graphs. Table 12 compares WL-SeqVAE with the baselines. The reported ratios are computed by dividing each generated–test MMD2\mathrm{MMD}^{2} by the corresponding published train–test MMD2\mathrm{MMD}^{2}.

ModelDeg. ↓\downarrowClus. ↓\downarrowOrb. ↓\downarrowV.U.N. ↑\uparrow
Stochastic Block Model
SPECTRE1.91.61.653%
ConGress34.13.14.50%
DiGress1.61.51.774%
Flow Matching10.22.03.222%
Dirichlet FM1.71.51.480%
CatFlow1.51.51.485%
WL-SeqVAE2.5 ±\pm 0.451.86 ±\pm 0.044.10 ±\pm 0.597.4%
Planar Graphs
SPECTRE2.52.52.425%
ConGress23.88.825900%
DiGress1.41.21.775%
Flow Matching5.15.65.530%
Dirichlet FM1.51.31.580%
CatFlow1.41.31.580%
WL-SeqVAE109.5 ±\pm 10.611.2 ±\pm 0.192.4 ±\pm 17.5100%

Table 12. Additional Graph-Generation Results on the Stochastic Block Model (SBM) and Planar Graph Datasets. Lower values are better for degree (Deg.), clustering (Clus.), and orbit (Orb.) statistics, while higher values are better for Validity, Uniqueness, and Novelty (V.U.N.). The best results are highlighted in bold.

All three Planar runs produce the required 40 graphs. WL-SeqVAE achieves 100% V.U.N., compared with 80% for CatFlow, indicating that every generated graph satisfies the evaluator’s requirements for planarity, connectivity, uniqueness, and novelty. Nevertheless, its degree, clustering, and orbit ratios are substantially higher than those of the baselines, demonstrating that satisfying dataset-specific validity constraints does not necessarily imply close agreement with the reference distribution. The 0% strict WL-completion rate is not contradictory since a graph may satisfy the dataset validity criteria while leaving one or more sampled local WL requirements unresolved.

None of the SBM runs produces all 40 requested graphs. We therefore report results separately for each seed and refrain from ranking their ratios against those of the complete baseline collections. Nevertheless, the low V.U.N. and comparatively high orbit ratios suggest that local WL compatibility alone is insufficient to reproduce the global community structure characteristic of SBM graphs. These results motivate incorporating community-level or spectral conditioning.

Vocabulary Growth and Dataset-Dependent Training Time

Figures 3 and 4 illustrate the effects of WL refinement depth on vocabulary size and computational cost. As shown in Figure 3, the number of distinct WL colors increases substantially with refinement depth, particularly for larger datasets such as QM9, ZINC250K, and PROTEINS. However, this growth does not translate into a proportional increase in training time. Figure 4 shows that training and validation times remain relatively stable or even decrease on smaller datasets, while larger datasets exhibit more moderate increases. These results suggest that deeper WL refinement can capture richer structural information without necessarily incurring substantial additional computational overhead.

Figure 3. Growth of the WL-Color vocabulary fitted on the training set from 1 iteration to 3 iterations. Vocabulary sizes are identical across seeds. For datasets without a checkpoint at a given depth, the vocabulary size comes from the intermediate dictionaries stored in a deeper WL trace. Each panel uses a dataset-specific logarithmic vertical scale.

Samples from WL-SeqVAE

Figure 5–Figure 8 show 20 generated examples for Enzymes, PROTEINS, SBM, and Planar. For each dataset, we sort the outputs by node count, edge count, edge-list signature, and generation order, then select 20 evenly spaced examples to represent the range of generated graphs without manual curation.

Figure 5. 20 ENZYMES graphs generated by the proposed model. Node color indicates degree.

Figure 8. 20 Planar graphs generated by the proposed model. Node color indicates degree.

Figure 9 presents the generated molecular examples. For each dataset, we use the outputs from the validation-selected configuration with 2 WL iterations and retain valid, unique canonical SMILES in their order of first occurrence. We then select 20 evenly spaced examples, again without manual curation.

20 QM9 molecules and 20 ZINC250K molecules generated by the proposed model

Figure 9. 20 (a) QM9 Molecules and (b) ZINC250K Molecules generated by the proposed model. Each panel contains 20 Valid, Unique molecules selected at evenly spaced positions in first-occurrence generation order, without manual curation. Standard RDKit atom colors are used. Hydrogens are implicit in the heavy-atom representation.

Figure 4. Training and validation time from 1 WL iteration to 3 iterations. Points and error bars show the mean and standard deviation over three seeds. Each panel uses a dataset-specific linear scale. Only results for 2 and 3 iterations are available for ZINC250K. The times exclude trace preprocessing, structural-checkpoint evaluation, and final test generation.

Limitations

WL-SeqVAE does not model arbitrary node or edge feature vectors. The molecular experiments use finite atom and bond categories as discrete labels in WL refinement and decoding. We do not consider continuous attributes, mixed feature vectors, or conditional graph-level targets.

Methodological Limitations

The main limitation is that generation does not always reach strict WL completion. The decoder may stop while one or more sampled WL requirements remain unresolved. Across the three-seed CatFlow general graph generation results, completion ranges from 11.67% for Grid at 3 WL iterations to 89.17% for Ego-small at 1 WL iteration. Each accepted action is WL-compatible, but the sampler does not guarantee that all local requirements will be completed.

The WL constraints are local. They ensure reciprocal compatibility between edge endpoints, but they do not guarantee planarity, exact grid structure, community structure, synthesizability, or other molecular properties. A model can therefore generate connected graphs and chemically valid molecules while performing poorly on datasets with strong global constraints.

Practical Limitations

The decoder is sequential, and the trace vocabulary grows with WL depth and graph diversity. Higher WL depths can improve structural specificity, but they also enlarge the color vocabulary and increase sparsity. Larger molecules or graphs may require longer maximum sequences and larger trace caches to achieve high completion.

Figure 6. 20 PROTEINS graphs generated by the proposed model. Node color indicates degree.

Figure 7. 20 SBM graphs generated by the proposed model. Colors indicate communities inferred by greedy modularity for visualization.

References

  1. [1]Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.arxiv.org/abs/1607.06450
  2. [2]Aleksandar Bojchevski, Oleksandr Shchur, Daniel Zügner, and Stephan Günnemann. Netgan: Generating graphs via random walks. In Proceedings of the 35th International Conference on Machine Learning,, pages 610–619, 2018.
  3. [3]Marc Brockschmidt, Miltiadis Allamanis, Alexander L Gaunt, and Oleksandr Polozov. Generative code modeling with graphs. In 7th International Conference on Learning Representations, 2019.arxiv.org/abs/1805.08490
  4. [4]Hanjun Dai, Azade Nazi, Yujia Li, Bo Dai, and Dale Schuurmans. Scalable deep generative modeling for sparse graphs. In Proceedings of the 37th International Conference on Machine Learning, pages 2302–2312, 2020.arxiv.org/abs/2006.15502
  5. [5]Nicola De Cao and Thomas Kipf. MolGAN: An implicit generative model for small molecular graphs. arXiv preprint arXiv:1805.11973, 2018.arxiv.org/abs/1805.11973
  6. [6]Floor Eijkelboom, Grigory Bartosh, Christian A Naesseth, Max Welling, and Jan-Willem van de Meent. Variational flow matching for graph generation. In Proceedings of the 38th International Conference on Neural Information Processing Systems, pages 11735–11764, 2024.arxiv.org/abs/2406.04843
  7. [7]Iakovos Evdaimon, Giannis Nikolenztos, Christos Xypolopoulos, Ahmed Kammoun, Michail Chatzianastasis, Hadi Abdine, and Michalis Vazirgiannis. Neural graph generator: Feature-conditioned graph generation using latent diffusion models. arXiv preprint arXiv:2403.01535, 2024.arxiv.org/abs/2403.01535
  8. [8]Xingcheng Fu, Yisen Gao, Yuecen Wei, Qingyun Sun, Hao Peng, Jianxin Li, and Xianxian Li. Hyperbolic geometric latent diffusion model for graph generation. In Proceedings of the 41st International Conference on Machine Learning, pages 14102–14124, 2024.arxiv.org/abs/2405.03188
  9. [9]Xiaojie Guo, Yuanqi Du, Sivani Tadepalli, Liang Zhao, and Amarda Shehu. Generating tertiary protein structures via interpretable graph variational autoencoders. Bioinformatics Advances, 1(1):vbab036, 2021.DOI
  10. [10]Xiaojie Guo and Liang Zhao. A systematic survey on deep generative models for graph generation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(5):5370–5390, 2022.
  11. [11]Shion Honda, Hirotaka Akita, Katsuhiko Ishiguro, Toshiki Nakanishi, and Kenta Oono. Graph residual flow for molecular graph generation. arXiv preprint arXiv:1909.13521, 2019.arxiv.org/abs/1909.13521
  12. [12]Dongpeng Hou, Chao Gao, Xuelong Li, and Zhen Wang. Dag-aware variational autoencoder for social propagation graph generation. In Proceedings of the 38th AAAI Conference on Artificial Intelligence, pages 8508–8516, 2024.DOI
  13. [13]John Ingraham, Vikas K Garg, Regina Barzilay, and Tommi Jaakkola. Generative models for graph-based protein design. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, pages 15820–15831, 2019.
  14. [14]Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Junction tree variational autoencoder for molecular graph generation. In Proceedings of the 35th International Conference on Machine Learning, pages 2323–2332, 2018.
  15. [15]Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Hierarchical generation of molecular graphs using structural motifs. In Proceedings of the 37th International Conference on Machine Learning, pages 4839–4848, 2020.
  16. [16]Jaehyeong Jo, Seul Lee, and Sung Ju Hwang. Score-based generative modeling of graphs via the system of stochastic differential equations. In Proceedings of the 39th International Conference on Machine Learning, pages 10362–10383, 2022.arxiv.org/abs/2202.02514
  17. [17]Wataru Kawai, Yusuke Mukuta, and Tatsuya Harada. Scalable generative models for graphs with graph attention mechanism. arXiv preprint arXiv:1906.01861, 2019.arxiv.org/abs/1906.01861
  18. [18]Lingkai Kong, Jiaming Cui, Haotian Sun, Yuchen Zhuang, B Aditya Prakash, and Chao Zhang. Autoregressive diffusion model for graph generation. In Proceedings of the 40th International Conference on Machine Learning, pages 17391–17408, 2023.arxiv.org/abs/2307.08849
  19. [19]Jia Li, Jianwei Yu, Jiajin Li, Honglei Zhang, Kangfei Zhao, Yu Rong, Hong Cheng, and Junzhou Huang. Dirichlet graph variational autoencoder. In Proceedings of the 34th International Conference on Neural Information Processing Systems, pages 5274–5283, 2020.arxiv.org/abs/2010.04408
  20. [20]Renjie Liao, Yujia Li, Yang Song, Shenlong Wang, William L Hamilton, David Duvenaud, Raquel Urtasun, and Richard Zemel. Efficient graph generation with graph recurrent attention networks. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, pages 4255–4265, 2019.arxiv.org/abs/1910.00760
  21. [21]Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow matching for generative modeling. In The 11th International Conference on Learning Representations, 2023.arxiv.org/abs/2210.02747
  22. [22]Jenny Liu, Aviral Kumar, Jimmy Ba, Jamie Kiros, and Kevin Swersky. Graph normalizing flows. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, pages 13578–13588, 2019.
  23. [23]Meng Liu, Keqiang Yan, Bora Oztekin, and Shuiwang Ji. Graphembm: Molecular graph generation with energy-based models. In Energy Based Models Workshop-ICLR 2021, 2021.
  24. [24]Qi Liu, Miltiadis Allamanis, Marc Brockschmidt, and Alexander L Gaunt. Constrained graph variational autoencoders for molecule design. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, pages 7806–7815, 2018.
  25. [25]Youzhi Luo, Keqiang Yan, and Shuiwang Ji. Graphdf: A discrete flow model for molecular graph generation. In Proceedings of the 38th International Conference on Machine Learning, pages 7192–7203, 2021.arxiv.org/abs/2102.01189
  26. [26]Kaushalya Madhawa, Katushiko Ishiguro, Kosuke Nakago, and Motoki Abe. Graphnvp: An invertible flow model for generating molecular graphs. arXiv preprint arXiv:1905.11600, 2019.arxiv.org/abs/1905.11600
  27. [27]Karolis Martinkus, Andreas Loukas, Nathanaël Perraudin, and Roger Wattenhofer. Spectre: Spectral conditioning helps to overcome the expressivity limits of one-shot graph generators. In Proceedings of the 39th International Conference on Machine Learning, pages 15159–15179, 2022.arxiv.org/abs/2204.01613
  28. [28]Christopher Morris, Yaron Lipman, Haggai Maron, Bastian Rieck, Nils M Kriege, Martin Grohe, Matthias Fey, and Karsten Borgwardt. Weisfeiler and leman go machine learning: The story so far. Journal of Machine Learning Research, 24(333):1–59, 2023.
  29. [29]Giannis Nikolentzos, Michalis Vazirgiannis, Christos Xypolopoulos, Markus Lingman, and Erik G Brandt. Synthetic electronic health records generated with variational graph autoencoders. NPJ Digital Medicine, 6(1):83, 2023.DOI
  30. [30]Chenhao Niu, Yang Song, Jiaming Song, Shengjia Zhao, Aditya Grover, and Stefano Ermon. Permutation invariant graph generation via score-based generative modeling. In Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics, pages 4474–4484, 2020.arxiv.org/abs/2003.00638
  31. [31]Yiming Qin, Manuel Madeira, Dorina Thanou, and Pascal Frossard. Defog: Discrete flow matching for graph generation. In Proceedings of the 41st International Conference on Machine Learning, pages 50269–50326, 2025.arxiv.org/abs/2410.04263
  32. [32]Chence Shi, Minkai Xu, Zhaocheng Zhu, Weinan Zhang, Ming Zhang, and Jian Tang. Graphaf: a flow-based autoregressive model for molecular graph generation. In 8th International Conference on Learning Representations, 2020.
  33. [33]Martin Simonovsky and Nikos Komodakis. Graphvae: Towards generation of small graphs using variational autoencoders. In Proceedings of the 27th International Conference on Artificial Neural Networks, pages 412–422, 2018.arxiv.org/abs/1802.03480
  34. [34]Hannes Stark, Bowen Jing, Chenyu Wang, Gabriele Corso, Bonnie Berger, Regina Barzilay, and Tommi Jaakkola. Dirichlet flow matching with applications to dna sequence design. In Proceedings of the 41st International Conference on Machine Learning, pages 46495–46513, 2024.arxiv.org/abs/2402.05841
  35. [35]Teague Sterling and John J Irwin. Zinc 15–ligand discovery for everyone. Journal of Chemical Information and Modeling, 55(11):2324–2337, 2015.DOI
  36. [36]Clement Vignac, Igor Krawczuk, Antoine Siraudin, Bohan Wang, Volkan Ceyher, and Pascal Frossard. Digress: Discrete denoising diffusion for graph generation. In 11th International Conference on Learning Representations, 2023.arxiv.org/abs/2209.14734
  37. [37]Boris Weisfeiler and Andrei Leman. The reduction of a graph to canonical form and the algebra which appears therein. n ti, Series, 2(9):12–16, 1968.
  38. [38]Lingfeng Wen, Xuan Tang, Mingjie Ouyang, Xiangxiang Shen, Jian Yang, Daxin Zhu, Mingsong Chen, and Xian Wei. Hyperbolic graph diffusion model. In Proceedings of the 38th AAAI Conference on Artificial Intelligence, pages 15823–15831, 2024.arxiv.org/abs/2306.07618
  39. [39]Ronald J Williams and David Zipser. A learning algorithm for continually running fully recurrent neural networks. Neural Computation, 1(2):270–280, 1989.DOI
  40. [40]Zhenqin Wu, Bharath Ramsundar, Evan N Feinberg, Joseph Gomes, Caleb Geniesse, Aneesh S Pappu, Karl Leswing, and Vijay Pande. Moleculenet: a benchmark for molecular machine learning. Chemical Science, 9(2):513–530, 2018.arxiv.org/abs/1703.00564
  41. [41]Ling Yang, Zhilin Huang, Zhilong Zhang, Zhongyi Liu, Shenda Hong, Wentao Zhang, Wenming Yang, Bin Cui, and Luxia Zhang. Graphusion: Latent diffusion for graph generation. IEEE Transactions on Knowledge and Data Engineering, 36(11):6358–6369, 2024.DOI
  42. [42]Jiaxuan You, Rex Ying, Xiang Ren, William Hamilton, and Jure Leskovec. Graphrnn: Generating realistic graphs with deep auto-regressive models. In Proceedings of the 35th International Conference on Machine Learning, pages 5708–5717, 2018.
  43. [43]Chengxi Zang and Fei Wang. Moflow: an invertible flow model for generating molecular graphs. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pages 617–626, 2020.DOI
  44. [44]Muhan Zhang, Shali Jiang, Zhicheng Cui, Roman Garnett, and Yixin Chen. D-vae: a variational autoencoder for directed acyclic graphs. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, pages 1588–1600, 2019.arxiv.org/abs/1904.11088
  45. [45]Cai Zhou, Xiyuan Wang, and Muhan Zhang. Unifying generation and prediction on graphs with latent graph diffusion. Advances in Neural Information Processing Systems, 37:61963–61999, 2024.arxiv.org/abs/2402.02518
  46. [46]Yanqiao Zhu, Yuanqi Du, Yinkai Wang, Yichen Xu, Jieyu Zhang, Qiang Liu, and Shu Wu. A survey on deep graph generation: Methods and applications. In Proceedings of the 1st Learning on Graphs Conference, 2022.arxiv.org/abs/2203.06714

Paper details

vlnc:W_5swmpmev
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents