Learning on Graphs with Out-of-Distribution Nodes

Yu Song, Donglin Wang
8/13/2023
cs.LGcs.AI

No official code found. Best implementation: SongYYYY/KDD22-OODGAT (23 stars, last commit 2022-09-02).

Abstract

Graph Neural Networks (GNNs) are state-of-the-art models for performing prediction tasks on graphs. While existing GNNs have shown great performance on various tasks related to graphs, little attention has been paid to the scenario where out-of-distribution (OOD) nodes exist in the graph during training and inference. Borrowing the concept from CV and NLP, we define OOD nodes as nodes with labels unseen from the training set. Since a lot of networks are automatically constructed by programs, real-world graphs are often noisy and may contain nodes from unknown distributions. In this work, we define the problem of graph learning with out-of-distribution nodes. Specifically, we aim to accomplish two tasks: 1) detect nodes which do not belong to the known distribution and 2) classify the remaining nodes to be one of the known classes. We demonstrate that the connection patterns in graphs are informative for outlier detection, and propose Out-of-Distribution Graph Attention Network (OODGAT), a novel GNN model which explicitly models the interaction between different kinds of nodes and separate inliers from outliers during feature propagation. Extensive experiments show that OODGAT outperforms existing outlier detection methods by a large margin, while being better or comparable in terms of in-distribution classification.

View on arXivView PDF

Code Implementations(1)

This is the implementation of OODGAT from KDD'22: Learning on Graphs with Out-of-Distribution Nodes.

232PythonJun 4, 20224 years ago

Similar Papers

Cite this paper

@article{song2023learning,
  title  = {Learning on Graphs with Out-of-Distribution Nodes},
  author = {Yu Song and Donglin Wang},
  year   = {2023},
  eprint = {2308.06714},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.06714v1}
}

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

Discussion