A Robust Watermark-based Fingerprint Framework for GNNs Ownership Verification

Han Zhang, Yan Wang, Guanfeng Liu, Pengfei Ding, Huaxiong Wang, Kwok-Yan LamarXiv 2026

TL;DR

REMARK is a novel ownership verification framework for Graph Neural Networks (GNNs) that elegantly unifies watermarking and fingerprinting techniques. By generating carefully crafted, in-distribution watermark graphs, it prevents model performance degradation while robustly identifying stolen or surrogate models across different output levels—all without requiring the stolen model to be explicitly trained on watermark data.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) are powerful but notoriously expensive to train, making them prime targets for intellectual property theft via model extraction or stealing attacks. To protect these assets, researchers have developed two main types of Ownership Verification (OV) defenses, but both suffer from critical flaws:

  1. Watermark-based methods: These inject random, out-of-distribution (OOD) graphs with predefined labels into the training set. This often degrades the model's accuracy on its primary downstream task and relies on the unrealistic assumption that the attacker's stolen "surrogate" model was trained on this exact watermark data.
  2. Fingerprint-based methods: These use the model's natural output distributions as a unique signature. However, they are brittle because they typically rely on a single output level (either node embeddings or logit distributions). If an attacker exposes a different output level, the fingerprint distributions often overlap, causing the defense to fail.
Figure 1. The general procedures of existing OV methods.

Methods

The authors introduce REMARK (Robust watErMArk-based fingeRprint frameworK), a hybrid defense that uses in-distribution watermarks to extract robust, multi-level fingerprints.

Figure 3. Overview of the proposed REMARK framework.

The framework consists of four key components:

  • In-Distribution Watermark Generator (IDWG): Instead of generating random graph noise, REMARK uses a GNN explainer (XGNN) to extract subgraphs that reflect the actual decision logic of the protected model.
  • Watermark Feature Generator (WFG): This module uses Dynamic Graph Clustering (DGC) and Multi-Head Cross-Attention (MHA) to generate node features that perfectly align with the original training set's feature distribution.
  • Watermark Structure Generator (WSG): It optimizes the graph topology using Maximum Mean Discrepancy (MMD) to ensure the watermark mimics the real data while maximizing output differences between the true model and independent models.
  • Watermark Attaching Module (WAM) & Fingerprint Classification Module (FCM): WAM injects the watermark into nodes of moderate importance to preserve model utility. FCM then extracts fingerprints by calculating the difference in the model's outputs when processing original vs. watermarked graphs. A simple two-layer MLP then classifies whether a candidate model is "owned" or "independent."

Datasets

REMARK was comprehensively evaluated on six widely used real-world benchmark datasets:

  • Cora, CiteSeer, PubMed: Classic citation network datasets.
  • CS, Computers: Co-authorship and co-purchase graphs from Amazon/Microsoft ecosystems.
  • ogbn-arxiv: A large-scale paper citation network from the Open Graph Benchmark.

Key Insights and Ideas

  • In-Distribution is Better Than Random Noise: Traditional watermarks act like adversarial anomalies, forcing a trade-off between protection and primary task accuracy. REMARK proves that making watermarks look like real data preserves model utility while remaining highly effective.
  • Verifying Decision Logic, Not Memorization: Instead of checking if a surrogate model memorized a specific watermark trigger, REMARK evaluates how the model's underlying decision boundaries react to structural perturbations. This eliminates the need for the surrogate model to be trained on the watermark dataset.
  • Output Differences Stabilize Fingerprints: Raw output distributions can easily overlap across different models at the logit level. By focusing on the change in output caused by the watermark, REMARK creates highly compact, well-separated fingerprint clusters regardless of whether embeddings or logits are used.

Key Results

  • Zero Performance Degradation: While baseline watermarking methods caused model accuracy to plummet by up to 21% on certain datasets (like Computers), REMARK preserved the original model's utility across all test cases.
  • State-of-the-Art Verification: At the embedding level, REMARK achieved near-perfect (~100%) verification accuracy. At the trickier logit level, it consistently outperformed top baselines (like Canary and GNNFingers), achieving an average accuracy of 98.9% across various GNN architectures (GCN, GAT, GraphSAGE, GIN).
  • High Robustness: REMARK proved highly resilient against model pruning (maintaining $\ge 89.06\%$ accuracy even when 40% of the surrogate model was pruned) and successfully resisted advanced adaptive attacks designed to smooth out decision boundaries.

Limitations and Future Work

While highly effective, REMARK doubles the number of GNN queries required during the verification phase because it must evaluate paired inputs (original and watermarked graphs), resulting in a computational complexity of $O(2P)$. Although the authors demonstrate that batch processing keeps the actual runtime well within practical limits, reducing this query overhead remains an open area for optimization. Additionally, future work could extend this framework from node classification to other complex graph tasks like link prediction or graph regression.

Summary updated

BibTeX
@misc{zhang2026robust,
  author = {Han Zhang and Yan Wang and Guanfeng Liu and Pengfei Ding and Huaxiong Wang and Kwok-Yan Lam},
  title = {{A Robust Watermark-based Fingerprint Framework for GNNs Ownership Verification}},
  year = {2026},
  eprint = {2609.04772},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.04772},
}
Figure