Skip to main content
QUICK REVIEW

[Paper Review] Graph Mixup with Soft Alignments

Hongyi Ling, Zhimeng Jiang|arXiv (Cornell University)|Jun 11, 2023
Advanced Graph Neural NetworksComputer Science3 citations
TL;DR

This paper proposes S-Mixup, a graph data augmentation method that uses soft alignment matrices to establish node-level correspondence between graphs with differing node counts, enabling image-like mixup for graph neural networks. By transforming adjacency and feature matrices via learned soft assignments, S-Mixup generates diverse, label-preserving augmented graphs, significantly improving GNN performance and robustness to noisy labels across multiple benchmarks.

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.

Motivation & Objective

  • To address the challenge of applying mixup to graph data due to variable node counts and lack of node-level correspondence.
  • To develop a method that enables direct convex combination of graph features and structures, similar to image mixup.
  • To improve generalization and robustness of graph neural networks through effective, structure-preserving data augmentation.
  • To explicitly model node-level alignment between graphs using learnable soft assignment matrices, avoiding random or heuristic matching.

Proposed method

  • Compute a soft assignment matrix using node features and graph topology to model node-level correspondence between two graphs.
  • Transform the adjacency and node feature matrices of one graph to align with the other using the soft assignment matrix.
  • Perform convex combination of the aligned adjacency and feature matrices using a mixing coefficient λ drawn from a beta distribution.
  • Use column-wise softmax normalization for efficiency, avoiding computationally expensive sinkhorn normalization.
  • Apply the resulting synthetic graphs during training to augment the original dataset for graph classification.
  • Integrate the method with various GNN backbones (e.g., GCN, GIN) and evaluate on standard graph benchmark datasets.

Experimental results

Research questions

  • RQ1Can we perform image-like mixup on graphs by explicitly modeling node-level correspondence despite differing node counts?
  • RQ2How does soft alignment improve the quality and diversity of augmented graphs compared to random or heuristic matching?
  • RQ3Does S-Mixup enhance the generalization and robustness of GNNs on graph classification tasks?
  • RQ4How sensitive is S-Mixup to the mixup hyperparameter α, and what optimal values yield the best performance?

Key findings

  • S-Mixup achieves state-of-the-art performance on multiple graph classification benchmarks, including IMDB-B, PROTEINS, NCI1, and REDDIT datasets.
  • On the IMDB-B dataset, S-Mixup improves GNN accuracy to 74.40 ± 5.44 (GCN backbone), outperforming vanilla GNNs and prior mixup methods.
  • S-Mixup enhances robustness against noisy labels, demonstrating consistent performance gains under label corruption settings.
  • The method maintains structural motifs in generated graphs, as shown in case studies where cycle motifs are preserved during mixup.
  • Hyperparameter analysis shows that α ∈ [0.1, 0.5] yields optimal performance, with larger α values leading to underfitting.
  • Softmax normalization achieves comparable performance to sinkhorn normalization with significantly lower computational cost, validating its efficiency in the framework.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.