NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Block-based Generative Model for Attributed Networks Embedding

Xueyan Liu, Wenzhuo Song, Wanli Zuo, Katarzyna Musial, Bo YangarXiv 2020

Abstract

Most network embedding methods rely on the homophily assumption, which limits their effectiveness in disassortative or complex network structures. This paper presents the Attributed Network Generative Model (ANGM), a novel framework that integrates Stochastic Block Models (SBM) with neural networks to capture both global topology and non-linear attribute relationships. ANGM is structurally agnostic, allowing it to model assortative, disassortative, and hybrid networks without prior structural knowledge. Our evaluation shows that ANGM significantly outperforms state-of-the-art methods, particularly on disassortative datasets where it achieved up to a 124% improvement in clustering performance.

1. Introduction

Network embedding aims to map nodes into low-dimensional vectors while preserving structural and attribute information. Prevailing methods, such as Graph Convolutional Networks (GCNs) and random-walk based approaches, are often predicated on the principle of homophily—the tendency of similar or connected nodes to share characteristics. While effective for assortative networks like citation graphs, these methods struggle with disassortative structures, such as bipartite systems or food webs, where connections occur between dissimilar nodes.

To address this, we propose the Attributed Network Generative Model (ANGM). By utilizing a block-based approach, ANGM shifts focus from local neighborhoods to global structural patterns, enabling high-quality embeddings across diverse network topologies.

2. Methodology

ANGM is a generative framework that models the joint distribution of the adjacency matrix $A$ and the attribute matrix $X$. It incorporates latent variables for block assignments ($c$) and node embeddings ($Z$).

2.1 Generative Process

The model follows a four-stage generative process:

  1. Block Assignment: Each node $i$ is assigned to a block $c_i$ based on a probability vector $\omega$.
  2. Embedding Generation: A node embedding $Z_i$ is sampled from a distribution defined by the mean $\mu$ and variance $\sigma$ of its assigned block.
  3. Attribute Generation: Observed attributes $X_i$ are generated via a neural network $f$ conditioned on the latent embedding $Z_i$.
  4. Link Generation: Edges in the adjacency matrix $A$ are generated based on a block-block link probability matrix $\Pi$.
The probabilistic graphical model of ANGM, illustrating the generation of observed data (A, X) from latent variables (c, Z).

2.2 Inference and Learning

The model employs variational inference to approximate the intractable posterior distributions of the latent variables. By maximizing the Evidence Lower Bound (ELBO), the model simultaneously learns the block structure, the embedding space, and the neural parameters for attribute mapping. The matrix $\Pi$ is learned during training, allowing the model to discover whether a network is assortative or disassortative without prior specification.

3. Experiments and Results

The performance of ANGM was benchmarked against eight real-world datasets (including Cornell, Texas, and Citeseer) and various synthetic networks. Baselines included VGAE, ARVGE, and GATE.

3.1 Structural Versatility

A key strength of ANGM is its structural agnosticism. In synthetic tests involving community-based, multipartite, hub-based, and hybrid structures, ANGM achieved 100% Normalized Mutual Information (NMI) and Accuracy (AC). In contrast, traditional baselines failed to accurately represent multipartite and hub structures.

3.2 Performance on Disassortative Networks

On the Cornell dataset, a notably disassortative network, ANGM improved NMI by 124% compared to the strongest baseline. This underscores the advantage of global block-based modeling over local neighborhood aggregation in complex topologies. Similar gains were observed across other disassortative webpage datasets like Texas and Wisconsin.

4. Conclusion and Future Work

ANGM provides a robust solution for embedding attributed networks with varied structural properties. While the current $O(n^2)$ complexity poses a challenge for large-scale applications, future iterations will explore Poisson-based link generation to achieve $O(E)$ complexity, ensuring scalability for massive datasets.

Appendix: Notation Reference

Comprehensive table of notations used in the ANGM framework. A Block-based Generative Model for Attributed Networks Embedding, page 7

Comprehensive table of notations used in the ANGM framework.

Summary updated

BibTeX
@misc{liu2020block,
  author = {Xueyan Liu and Wenzhuo Song and Wanli Zuo and Katarzyna Musial and Bo Yang},
  title = {{A Block-based Generative Model for Attributed Networks Embedding}},
  year = {2020},
  eprint = {2001.01383},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.01383},
}
Figure