Learning Multiplex Representations on Text-Attributed Graphs with One Language Model Encoder

Bowen Jin, Wentao Zhang, Yu Zhang, Yu Meng, Han Zhao +1 more
10/10/2023
cs.CLcs.LG

Official code: PeterGriffinJin/METAG (5 stars, last commit 2024-02-21).

Abstract

In real-world scenarios, texts in a graph are often linked by multiple semantic relations (e.g., papers in an academic graph are referenced by other publications, written by the same author, or published in the same venue), where text documents and their relations form a multiplex text-attributed graph. Mainstream text representation learning methods use pretrained language models (PLMs) to generate one embedding for each text unit, expecting that all types of relations between texts can be captured by these single-view embeddings. However, this presumption does not hold particularly in multiplex text-attributed graphs. Along another line of work, multiplex graph neural networks (GNNs) directly initialize node attributes as a feature vector for node representation learning, but they cannot fully capture the semantics of the nodes' associated texts. To bridge these gaps, we propose METAG, a new framework for learning Multiplex rEpresentations on Text-Attributed Graphs. In contrast to existing methods, METAG uses one text encoder to model the shared knowledge across relations and leverages a small number of parameters per relation to derive relation-specific representations. This allows the encoder to effectively capture the multiplex structures in the graph while also preserving parameter efficiency. We conduct experiments on nine downstream tasks in five graphs from both academic and e-commerce domains, where METAG outperforms baselines significantly and consistently. The code is available at https://github.com/PeterGriffinJin/METAG.

View on arXivView PDF

Code Implementations(1)

Learning Multiplex Representations on Text-Attributed Graphs with One Language Model Encoder

50Shell, PythonFeb 21, 20242 years ago
graphslarge-language-models

Similar Papers

Cite this paper

@article{jin2023learning,
  title  = {Learning Multiplex Representations on Text-Attributed Graphs with One Language Model Encoder},
  author = {Bowen Jin and Wentao Zhang and Yu Zhang and Yu Meng and Han Zhao and Jiawei Han},
  year   = {2023},
  eprint = {2310.06684},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.06684v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.06684.svg)](https://codeofpaper.com/paper/2310.06684)

Discussion