Attention-Driven Metapath Encoding in Heterogeneous Graphs

Calder Katyal
12/30/2024
cs.LG

No official code found. Best implementation: calderkatyal/CPSC483FinalProject (0 stars, last commit 2025-05-19).

Abstract

One of the emerging techniques in node classification in heterogeneous graphs is to restrict message aggregation to pre-defined, semantically meaningful structures called metapaths. This work is the first attempt to incorporate attention into the process of encoding entire metapaths without dropping intermediate nodes. In particular, we construct two encoders: the first uses sequential attention to extend the multi-hop message passing algorithm designed in \citet{magna} to the metapath setting, and the second incorporates direct attention to extract semantic relations in the metapath. The model then employs the intra-metapath and inter-metapath aggregation mechanisms of \citet{han}. We furthermore use the powerful training scheduler specialized for heterogeneous graphs that was developed in \citet{lts}, ensuring the model slowly learns how to classify the most difficult nodes. The result is a resilient, general-purpose framework for capturing semantic structures in heterogeneous graphs. In particular, we demonstrate that our model is competitive with state-of-the-art models on performing node classification on the IMDB dataset, a popular benchmark introduced in \citet{benchmark}.

View on arXivView PDF

Code Implementations(1)

00PythonSep 30, 20241 years ago

Similar Papers

Cite this paper

@article{katyal2024attentiondriven,
  title  = {Attention-Driven Metapath Encoding in Heterogeneous Graphs},
  author = {Calder Katyal},
  year   = {2024},
  eprint = {2412.20678},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.20678v1}
}

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

Discussion