English

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

Machine Learning 2023-02-23 v1 Computation and Language Social and Information Networks

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.

Keywords

Cite

@article{arxiv.2302.11050,
  title  = {Edgeformers: Graph-Empowered Transformers for Representation Learning on Textual-Edge Networks},
  author = {Bowen Jin and Yu Zhang and Yu Meng and Jiawei Han},
  journal= {arXiv preprint arXiv:2302.11050},
  year   = {2023}
}

Comments

ICLR 2023. (Code: https://github.com/PeterGriffinJin/Edgeformers)

R2 v1 2026-06-28T08:46:12.092Z