Subgraph Generation for Generalizing on Out-of-Distribution Links

Jay Revolinsky, Harry Shomer, Jiliang Tang
7/15/2025
cs.LGcs.AI

Official code: revolins/FlexOOD (1 star, MIT, last commit 2025-07-15).

Abstract

Graphs Neural Networks (GNNs) demonstrate high-performance on the link prediction (LP) task. However, these models often rely on all dataset samples being drawn from the same distribution. In addition, graph generative models (GGMs) show a pronounced ability to generate novel output graphs. Despite this, GGM applications remain largely limited to domain-specific tasks. To bridge this gap, we propose FLEX as a GGM framework which leverages two mechanism: (1) structurally-conditioned graph generation, and (2) adversarial co-training between an auto-encoder and GNN. As such, FLEX ensures structural-alignment between sample distributions to enhance link-prediction performance in out-of-distribution (OOD) scenarios. Notably, FLEX does not require expert knowledge to function in different OOD scenarios. Numerous experiments are conducted in synthetic and real-world OOD settings to demonstrate FLEX's performance-enhancing ability, with further analysis for understanding the effects of graph data augmentation on link structures. The source code is available here: https://github.com/revolins/FlexOOD.

View on arXivView PDF

Code Implementations(1)

revolins/FlexOODOfficial100%
MIT

Public Repo For "Subgraph Generation for Generalizing on Out-of-Distribution Links"

10Shell, PythonJul 15, 20251 years agoMIT

Similar Papers

Cite this paper

@article{revolinsky2025subgraph,
  title  = {Subgraph Generation for Generalizing on Out-of-Distribution Links},
  author = {Jay Revolinsky and Harry Shomer and Jiliang Tang},
  year   = {2025},
  eprint = {2507.11710},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.11710v1}
}

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

Discussion