Edgeformers: Graph-Empowered Transformers for Representation Learning on Textual-Edge Networks

Bowen Jin, Yu Zhang, Yu Meng, Jiawei Han
2/21/2023
cs.LGcs.CLcs.SI

No official code found. Best implementation: PeterGriffinJin/Edgeformers (71 stars, Apache-2.0, last commit 2023-07-23).

Abstract

Edges in many real-world social/information networks are associated with rich text information (e.g., user-user communications or user-product reviews). However, mainstream network representation learning models focus on propagating and aggregating node attributes, lacking specific designs to utilize text semantics on edges. While there exist edge-aware graph neural networks, they directly initialize edge attributes as a feature vector, which cannot fully capture the contextualized text semantics of edges. In this paper, we propose Edgeformers, a framework built upon graph-enhanced Transformers, to perform edge and node representation learning by modeling texts on edges in a contextualized way. Specifically, in edge representation learning, we inject network information into each Transformer layer when encoding edge texts; in node representation learning, we aggregate edge representations through an attention mechanism within each node's ego-graph. On five public datasets from three different domains, Edgeformers consistently outperform state-of-the-art baselines in edge classification and link prediction, demonstrating the efficacy in learning edge and node representations, respectively.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Edgeformers: Graph-Empowered Transformers for Representation Learning on Textual-Edge Networks (ICLR 2023)

717PythonSep 26, 20223 years agoApache-2.0
graphslarge-language-models

Similar Papers

Cite this paper

@article{jin2023edgeformers,
  title  = {Edgeformers: Graph-Empowered Transformers for Representation Learning on Textual-Edge Networks},
  author = {Bowen Jin and Yu Zhang and Yu Meng and Jiawei Han},
  year   = {2023},
  eprint = {2302.11050},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.11050v1},
  journal = {ICLR 2023 2023}
}

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/2302.11050.svg)](https://codeofpaper.com/paper/2302.11050)

Discussion