Layer-Assisted Neural Topic Modeling over Document Networks

Yiming Wang, Ximing Li, Jihong Ouyang

Abstract

Traditional topic models often overlook the rich relational information inherent in document networks, such as citations or hyperlinks. We present the Layer-Assisted Neural Topic Model (LANTM), a framework that integrates document links directly into the topic discovery process. By employing a dual-channel encoder that fuses text content and graph structure at every layer, LANTM generates more coherent topics and superior document representations for downstream tasks like classification and link prediction.

Introduction

Conventional topic modeling approaches, such as Latent Dirichlet Allocation (LDA), typically treat documents as independent "bags of words." In reality, documents frequently exist within a network structure—scientific papers are linked via citations, web pages through hyperlinks, and social media posts through user interactions. While relational topic models have been proposed, they often fail to fully exploit network topology, either treating links as secondary targets or using shallow architectures that cannot capture complex dependencies. LANTM addresses this by simultaneously processing textual content and network structure to uncover deeper thematic patterns.

Methodology

LANTM is based on the Variational Auto-Encoder (VAE) architecture, utilizing Neural Variational Inference (NVI). Its primary innovation is an augmented encoder network consisting of two parallel channels: a Multi-Layer Perceptron (MLP) for bag-of-words text representations and a Graph Convolutional Network (GCN) for the document network structure.

Overview of the LANTM model structure, showing the dual-channel encoder (GCN and MLP) and the generative decoder process.

Unlike models that simply concatenate outputs, LANTM employs a layer-assisted approach. At each encoder layer, the MLP's representation is aggregated with the corresponding GCN representation using a combining coefficient ($\xi$). This allows the network structure to guide text representation learning across multiple levels of abstraction. The decoder then reconstructs both the original text and the network links from the learned topic proportions.

Experimental Setup

The model was evaluated on several benchmark datasets, including Cora subsets (Data Structure, Hardware and Architecture, Machine Learning, and Programming Language) and Reuters (R8). For datasets without inherent links like R8, a synthetic network was constructed using a k-nearest neighbor (k-NN) graph based on text similarity.

Results and Discussion

LANTM consistently outperformed state-of-the-art baselines, including NVDM, ProdLDA, and NRTM, across several metrics.

Parameter Sensitivity and Trade-offs

A key finding involves the combining coefficient $\xi$, which balances the influence of text and links. As shown in the evaluation results, a lower $\xi$ (favoring text) generally improves Topic Coherence (TC), resulting in more human-interpretable topics. Conversely, a higher $\xi$ (favoring links) tends to enhance classification performance (Macro-F1), suggesting that network structure provides a more discriminative signal for categorization.

Parameter evaluation results showing how topic number (K) and the combining coefficient ($\xi$) affect Topic Coherence and Classification performance.

Performance Metrics

  • Topic Coherence: LANTM achieved superior TC scores across nearly all datasets, indicating the generation of more logically consistent word groupings.
  • Text Classification: In transductive settings, LANTM showed significant improvements. For the Programming Language (PL) dataset, it reached a Macro-F1 of 0.688, substantially higher than the 0.554 achieved by the AdjEnc-X baseline.
  • Link Prediction: The model proved highly effective at predicting missing links, improving the Area Under the ROC Curve (AUC) by approximately 0.160 over text-only models on the Machine Learning (ML) dataset.

Conclusion

LANTM demonstrates that integrating network links as input features rather than just prediction targets significantly enhances topic modeling. The layer-assisted architecture allows for a nuanced fusion of content and structure. Future work may explore deeper decoders to further improve topic quality and more sophisticated graph aggregation methods to handle diverse network types.

Summary updated

BibTeX
@inproceedings{wang2021layer,
  author = {Yiming Wang and Ximing Li and Jihong Ouyang},
  title = {{Layer-Assisted Neural Topic Modeling over Document Networks}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/433},
}
Figure