Introduction
As graph-structured data—ranging from social networks to blockchain transaction logs—becomes increasingly valuable, the need for robust provenance and ownership verification has grown. However, traditional graph watermarking methods often rely on subgraph matching or graph isomorphism, which are NP-complete problems. These "intractable" approaches fail to scale, making them impractical for the massive real-world graphs used by modern technology platforms.
To address this, the Fast&Fourier (F&F) scheme introduces a novel approach that treats a graph's adjacency matrix as a digital signal. By shifting the problem from discrete combinatorial matching to spectral domain processing, F&F achieves significant speedups while maintaining high robustness against data modification.
The Fast&Fourier (F&F) Framework
The core innovation of F&F is the application of signal processing techniques to graph theory. The process begins by treating the adjacency matrix of an unweighted graph as a grid of pixel intensities.
- Spectral Embedding: The owner generates a secret key $\omega$ from a Gaussian distribution. The algorithm then computes the Fast Fourier Transform (FFT) of the graph's adjacency matrix and identifies the most significant low-frequency coefficients, which represent the graph's fundamental structural "skeleton."
- Watermark Injection: The secret key is embedded into these coefficients. An Inverse Fourier Transform is then applied to return the data to a matrix format.
- Binarization: Because unweighted graphs require binary edges (0 or 1), F&F employs a thresholding step based on the original graph's density. This "freezes" the spectral watermark into the discrete edge structure of the graph.
- Verification: Ownership is proven by extracting the spectral signature from a suspicious graph and comparing it against the original watermark using a similarity score (2-norm).
By utilizing the FFT, the computational complexity is reduced to $O(N^2 \log N)$, a linearithmic relationship relative to the number of possible edges, allowing the system to handle graphs with millions of nodes in minutes.
Experimental Evaluation
The authors evaluated F&F using both synthetic models (Barabási-Albert, Erdős-Rényi, and Watts-Strogatz) and large-scale real-world datasets from the SNAP and Network Repositories, including Pokec (1.6M nodes) and Flickr.
As shown in the evaluation of synthetic models, the success rate for watermark detection remains high across a wide range of graph densities. This demonstrates that the binarization process—the most significant technical hurdle—successfully preserves the watermark's uniqueness without destroying the graph's underlying utility.
Results and Robustness
F&F demonstrates superior performance compared to existing state-of-the-art methods like those proposed by Zhao et al. and Eppstein et al. While competing schemes often timed out on large graphs, F&F processed them efficiently with minimal distortion; the Graph Edit Distance (percentage of edges changed) was frequently kept below $10^{-8}\%$.
In terms of robustness, F&F remains detectable even after heavy "utility-destroying" attacks, such as flipping 10% of the graph's edges. As illustrated in the comparative results, F&F maintains a reliability score of 1.0 at distortion levels where baseline methods fail completely. Furthermore, the watermark proved stealthy against automated detection; Graph Neural Networks (GNNs) were unable to distinguish between original and watermarked graphs.
Conclusion
Fast&Fourier represents a breakthrough in graph watermarking by moving away from computationally expensive subgraph matching toward efficient spectral processing. While the method currently assumes a deterministic vertex labeling, its ability to scale to millions of nodes while resisting heavy modification makes it a powerful tool for protecting large-scale graph datasets. Future work may explore more advanced binarization techniques to further reduce spectral variation and improve watermark capacity.
Summary updated