Edge Representation Learning with Hypergraphs

Jaehyeong Jo, Jinheon Baek, Seul Lee, Dongki Kim, Minki Kang +1 more
6/30/2021
95 citations
cs.LG

Official code: harryjo97/EHGNN (53 stars, Python, last commit 2025-12-23).

Abstract

Graph neural networks have recently achieved remarkable success in representing graph-structured data, with rapid progress in both the node embedding and graph pooling methods. Yet, they mostly focus on capturing information from the nodes considering their connectivity, and not much work has been done in representing the edges, which are essential components of a graph.

Show full abstract

However, for tasks such as graph reconstruction and generation, as well as graph classification tasks for which the edges are important for discrimination, accurately representing edges of a given graph is crucial to the success of the graph representation learning. To this end, we propose a novel edge representation learning framework based on Dual Hypergraph Transformation (DHT), which transforms the edges of a graph into the nodes of a hypergraph. This dual hypergraph construction allows us to apply message-passing techniques for node representations to edges. After obtaining edge representations from the hypergraphs, we then cluster or drop edges to obtain holistic graph-level edge representations. We validate our edge representation learning method with hypergraphs on diverse graph datasets for graph representation and generation performance, on which our method largely outperforms existing graph representation learning methods. Moreover, our edge representation learning and pooling method also largely outperforms state-of-the-art graph pooling methods on graph classification, not only because of its accurate edge representation learning, but also due to its lossless compression of the nodes and removal of irrelevant edges for effective message-passing.

View on arXivView PDF

Code Implementations(1)

harryjo97/EHGNNOfficial100%

Official Code Repository for the paper "Edge Representation Learning with Hypergraphs" (NeurIPS 2021)

536Python, MATLABMay 31, 202111 months ago
edge-poolinggraph-classificationgraph-poolinggraph-reconstructiongraph-representation+1 more

Similar Papers

Cite this paper

@article{jo2021edge,
  title  = {Edge Representation Learning with Hypergraphs},
  author = {Jaehyeong Jo and Jinheon Baek and Seul Lee and Dongki Kim and Minki Kang and Sung Ju Hwang},
  year   = {2021},
  eprint = {2106.15845},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.15845}
}

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

Discussion