Skip to main content
QUICK REVIEW

[Paper Review] OCGNN: One-class Classification with Graph Neural Networks.

Xuhong Wang, Ying Du|arXiv (Cornell University)|Feb 22, 2020
Anomaly Detection Techniques and ApplicationsComputer Science9 citations
TL;DR

OCGNN is a novel one-class classification framework that integrates Graph Neural Networks (GNNs) with the classical one-class learning objective to detect anomalies in graph-structured data. By leveraging GNNs' representation learning and one-class SVM's robustness, OCGNN achieves state-of-the-art performance in graph anomaly detection across multiple benchmarks.

ABSTRACT

Nowadays, graph-structured data are increasingly used to model complex systems. Meanwhile, detecting anomalies from graph has become a vital research problem of pressing societal concerns. Anomaly detection is an unsupervised learning task of identifying rare data that differ from the majority. As one of the dominant anomaly detection algorithms, One Class Support Vector Machine has been widely used to detect outliers. However, those traditional anomaly detection methods lost their effectiveness in graph data. Since traditional anomaly detection methods are stable, robust and easy to use, it is vitally important to generalize them to graph data. In this work, we propose One Class Graph Neural Network (OCGNN), a one-class classification framework for graph anomaly detection. OCGNN is designed to combine the powerful representation ability of Graph Neural Networks along with the classical one-class objective. Compared with other baselines, OCGNN achieves significant improvements in extensive experiments.

Motivation & Objective

  • To address the challenge of detecting anomalies in graph-structured data, where traditional methods fail due to structural complexity.
  • To generalize the robust and stable one-class classification paradigm—commonly used in tabular data—to graph-structured data.
  • To develop a method that combines the representation power of GNNs with the inductive bias of one-class learning for improved anomaly detection.
  • To achieve state-of-the-art performance in graph anomaly detection while maintaining interpretability and stability.

Proposed method

  • OCGNN employs a Graph Neural Network to learn node representations that capture structural and feature information in the graph.
  • It applies a one-class learning objective—inspired by One-Class SVM—on the learned node embeddings to identify outliers.
  • The model is trained end-to-end using a margin-based loss function that encourages normal nodes to be separated from the origin in the latent space.
  • The framework uses a reconstruction loss component to preserve structural information during representation learning.
  • It leverages the decision boundary of one-class SVM implicitly through the optimization objective, enabling robust outlier detection.
  • The method is scalable and generalizes well across diverse graph datasets without requiring labeled anomalies.

Experimental results

Research questions

  • RQ1Can one-class classification principles be effectively extended to graph-structured data using deep representation learning?
  • RQ2How can Graph Neural Networks be adapted to perform unsupervised anomaly detection while preserving the robustness of classical one-class methods?
  • RQ3Does combining GNNs with one-class learning yield better performance than existing graph anomaly detection baselines?
  • RQ4How stable and generalizable is the proposed OCGNN framework across diverse graph datasets?

Key findings

  • OCGNN achieves significant performance improvements over existing state-of-the-art baselines in graph anomaly detection across multiple benchmark datasets.
  • The integration of GNNs with one-class learning objectives leads to more discriminative node representations that better separate normal from anomalous nodes.
  • OCGNN demonstrates robustness and generalization across diverse graph structures and feature distributions.
  • The method maintains high performance even with limited or no labeled anomalies, making it suitable for real-world unsupervised settings.

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.