Graph Mixup with Soft Alignments

Hongyi Ling, Zhimeng Jiang, Meng Liu, Shuiwang Ji, Na Zou
6/11/2023
cs.LGcs.AI

No official code found. Best implementation: divelab/DIG (2,010 stars, GPL-3.0, last commit 2024-07-15).

Abstract

We study graph data augmentation by mixup, which has been used successfully on images. A key operation of mixup is to compute a convex combination of a pair of inputs. This operation is straightforward for grid-like data, such as images, but challenging for graph data. The key difficulty lies in the fact that different graphs typically have different numbers of nodes, and thus there lacks a node-level correspondence between graphs. In this work, we propose S-Mixup, a simple yet effective mixup method for graph classification by soft alignments. Specifically, given a pair of graphs, we explicitly obtain node-level correspondence via computing a soft assignment matrix to match the nodes between two graphs. Based on the soft assignments, we transform the adjacency and node feature matrices of one graph, so that the transformed graph is aligned with the other graph. In this way, any pair of graphs can be mixed directly to generate an augmented graph. We conduct systematic experiments to show that S-Mixup can improve the performance and generalization of graph neural networks (GNNs) on various graph classification tasks. In addition, we show that S-Mixup can increase the robustness of GNNs against noisy labels.

View on arXivView PDF

Code Implementations(1)

divelab/DIGCommunity100%
GPL-3.0

A library for graph deep learning research

2,010288C, C++Oct 30, 20202 years agoGPL-3.0
3d-graphdeep-learningexplainable-mlgraph-generationgraph-neural-network+1 more

Similar Papers

Cite this paper

@article{ling2023graph,
  title  = {Graph Mixup with Soft Alignments},
  author = {Hongyi Ling and Zhimeng Jiang and Meng Liu and Shuiwang Ji and Na Zou},
  year   = {2023},
  eprint = {2306.06788},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.06788v1},
  journal = {ICML 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/2306.06788.svg)](https://codeofpaper.com/paper/2306.06788)

Discussion