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

Network-Specific Variational Auto-Encoder for Embedding in Attribute Networks

Di Jin, Bingyi Li, Pengfei Jiao, Dongxiao He, Weixiong Zhang

Abstract

NetVAE is a novel variational auto-encoder (VAE) architecture designed specifically for attributed networks. By employing a shared encoder for joint learning and a specialized dual decoder that distinguishes between network topology and node attributes, NetVAE achieves state-of-the-art performance in network embedding tasks such as classification and clustering.

Introduction

Network embedding (NE) aims to map nodes into low-dimensional vectors while preserving essential structural and semantic features. In attributed networks, information is derived from two distinct sources: topology (relational coupling) and node attributes (independent semantics). Existing VAE-based methods often treat these data types uniformly, failing to capture the unique modular structures inherent in networks. NetVAE addresses this by honoring the "orthogonality" of these two information sources, employing a differentiated reconstruction process that respects the natural mechanisms producing each data type.

Architecture and Methodology

The NetVAE architecture consists of two primary components designed to handle the heterogeneous nature of attributed networks:

  1. The Shared Encoder: This component facilitates co-training by concatenating the adjacency matrix (topology) and the attribute matrix. A three-layer fully connected neural network maps each node to a distribution in a low-dimensional latent space, enabling effective transfer learning between the two data sources.
  2. The Dual Decoder: This is the core innovation of the model. Instead of a single generative mechanism, NetVAE uses two specialized decoders:
  3. Attributed Decoder: A standard fully connected network optimized for reconstructing node features.
  4. Networked Decoder: A specialized decoder that incorporates a Gaussian Mixture Model (GMM) and a Stochastic Block Model (SBM). The GMM acts as a vital bridge between the continuous latent space of the VAE and the discrete community labels required by the block model. The SBM then utilizes these memberships along with node degrees to reconstruct the network's edges, ensuring that "hub" nodes with many connections are accurately represented.
The complete NetVAE architecture, featuring a shared encoder and a dual decoder for topology and attributes.

By formulating the GMM and SBM as equivalent neural network layers, the entire model can be trained end-to-end using stochastic gradient descent.

Experimental Results

The authors evaluated NetVAE on seven diverse, real-world datasets, including citation networks (Citeseer, Pubmed) and webpage networks (WebKB). The model consistently outperformed both topology-only methods (e.g., DeepWalk, Node2Vec) and existing attributed network methods (e.g., TADW, VGAE).

Performance Metrics

  • Node Classification: NetVAE achieved the best performance on 6 out of 7 datasets using an SVM classifier, outperforming the best baseline by an average of 11.20%.
  • Node Clustering: In terms of Normalized Mutual Information (NMI), NetVAE improved upon the best baseline by an average of 16.18%.
  • Structural Fidelity: A key advantage of NetVAE is its ability to preserve the structural properties of the original network. As shown in the figure below, NetVAE's reconstructed networks match the degree distribution of the original networks much more closely than standard VAE variants (OVAE).
Comparison of edge reconstruction precision (a) and node degree distributions (b) between NetVAE and standard VAE (OVAE).

Conclusion

NetVAE demonstrates that treating topology and attributes as fundamentally different data types leads to superior network embeddings. By explicitly modeling community structures and node degrees, it preserves both semantic and structural properties more effectively than traditional methods. While the model assumes the number of network modules is known, its end-to-end training capability and robust performance across varied datasets make it a powerful tool for attributed network analysis.

Summary updated

BibTeX
@inproceedings{jin2019network,
  author = {Di Jin and Bingyi Li and Pengfei Jiao and Dongxiao He and Weixiong Zhang},
  title = {{Network-Specific Variational Auto-Encoder for Embedding in Attribute Networks}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/370},
}
Figure