TL;DR
This paper introduces Graph-Level Novel Category Discovery (GLNCD), a new task focused on identifying entirely new categories of graphs in an open-world setting without explicit labels. The authors propose ProtoFGW-NCD, a framework that uses learnable "prototype graphs" and a specialized distance metric to capture complex structural information, significantly outperforming standard methods adapted from computer vision.
What Problem Does This Paper Address?
Most graph classification models operate in a "closed-world" setting: they assume that every category they will ever see at test time was present during training. In reality, the world is "open." New protein structures, novel malware behaviors, or emerging social community types appear constantly.
While Novel Category Discovery (NCD) has been well-studied for images, it remains largely unexplored for graph-level data. The authors found that simply swapping an image-based encoder for a Graph Neural Network (GNN) leads to poor results. Standard image-based techniques fail to produce high-quality pseudo-labels for graphs because they rely on simplified "readout" vectors that discard crucial structural information.
Methods
To address these limitations, the authors propose ProtoFGW-NCD, which integrates structural awareness into every step of the discovery process. The framework consists of two main pillars:
- ProtoFGW-CL (Self-Supervised Learning): Instead of comparing graphs based on flat feature vectors, this module computes the Fused Gromov-Wasserstein (FGW) distance between input graphs and a set of learnable prototype graphs. This ensures the model learns representations that respect both node features and the graph's topology.
- FGW-RS (Pseudo-Labeling): To cluster unlabeled data, the model needs "pseudo-labels." This module uses FGW distances to the prototypes to generate structure-aware labels, providing a much cleaner signal for the discovery head.
To make this computationally feasible, the authors developed a parallel, differentiable BAPG layer. Standard FGW solvers are notoriously slow and run on CPUs; this new layer allows for massive parallelization on GPUs, making it practical for deep learning pipelines.
Datasets
The authors curated a benchmark of four diverse datasets to evaluate GLNCD:
- ENZYMES: Protein structures (Bioinformatics).
- MalNet-Tiny: Function call graphs from Android APKs (Program Analysis).
- REDDIT12K: Discussion thread structures (Social Networks).
- CIFAR10 (graph): Images converted into super-pixel graphs (Computer Vision).
Key Insights and Ideas
- Structure is the "Missing Link": Standard graph SSL methods often condense a whole graph into a single vector (readout) before comparing it to others. The authors argue this "bottleneck" loses the very structural information that defines the graph.
- Prototypes as a Coordinate System: By learning a set of "prototype graphs," the model creates a global reference frame. Every new graph is defined by how similar it is to these representative patterns.
- The Efficiency Breakthrough: The biggest hurdle for FGW-based methods has always been speed. The proposed BAPG layer treats a batch of graphs as a single "giant graph" with diagonal blocks, allowing standard sparse-matrix operations to handle irregular graph sizes in parallel.
Key Results
- Superior Accuracy: Across all four datasets, ProtoFGW-NCD consistently achieved the highest average ranking compared to adapted image-based baselines like AutoNovel and NCL. For instance, on the ENZYMES dataset using a GCN+ encoder, it reached a "New ACC" (clustering accuracy for novel classes) of 44.84%, significantly higher than the ~39% achieved by baselines.
- Massive Speedup: The custom BAPG layer is a game-changer for efficiency, achieving a speedup of up to 2070x compared to the standard POT library implementation for small-to-medium graphs.
Limitations and Future Work
While the BAPG layer provides a massive speedup, the authors note that the acceleration factor drops to about 3.3x for very large graphs (1000+ nodes). Future work will focus on scaling these structure-aware methods to even larger datasets and exploring alternatives to the FGW distance that might be even more computationally efficient while still capturing the essential "shape" of the data.
Summary updated