Introduction
As graph-structured data scales to billions of nodes and edges—encompassing everything from global social networks to complex blockchain transaction ledgers—the computational burden of Graph Neural Network (GNN) inference has become a significant bottleneck. Standard acceleration techniques, such as pruning or quantization, often require intrusive access to model weights or necessitate expensive retraining cycles. Furthermore, these methods frequently overlook the necessity of explainability, leaving users with "black-box" predictions that are difficult to trust in high-stakes environments like fraud detection.
This paper introduces ExGIS, a parallel query engine designed to address these challenges through a novel "once-for-all" graph compression framework. By leveraging Inference-Friendly Graph Compression (IFGC), the system achieves up to a 12.5x speedup in inference while providing real-time, human-readable explanations, all without sacrificing predictive accuracy.
Methodology
The core of the proposed framework is a model-agnostic approach to graph reduction that allows GNNs to operate directly on compressed data. The methodology consists of four primary components:
1. Structural-Preserving Compression (SPGC)
The SPGC algorithm identifies and merges nodes that are "computationally indistinguishable." If two nodes share similar features and possess identical neighborhood structures, a GNN will naturally produce identical embeddings for them. SPGC merges these redundant nodes into "supernodes," significantly reducing the graph's size while preserving the underlying signal required for inference.
2. Memoization Table ($T$)
To eliminate the overhead of decompression, the system utilizes a compact memoization table. This table stores neighborhood statistics, such as degrees and edge weights, which act as scaling factors. When a GNN processes the compressed graph, these factors mathematically simulate the aggregation behavior of the original, uncompressed graph, ensuring the output remains mathematically consistent with the full-scale data.
3. ExGIS Engine
ExGIS is a parallel inference engine that partitions workloads across multiple processors. It manages a holistic "Inference-and-Explain" pipeline, ensuring that predictions and their justifications are generated in tandem rather than as sequential, disconnected processes.
4. GVEX Explainer
The GVEX module is integrated directly into the engine to identify influential subgraphs. It summarizes these subgraphs into interpretable patterns—such as the "Peel Chain" pattern often found in Bitcoin money laundering schemes—allowing investigators to understand the rationale behind a model's classification immediately.
Experimental Evaluation
The authors evaluated ExGIS using a diverse suite of benchmarks, ranging from standard citation networks to massive, billion-scale datasets:
- Small to Medium Scale: Cora, Arxiv, Yelp, and Amazon Products.
- Financial Security: The Elliptic dataset, consisting of Bitcoin transactions.
- Billion-Scale: The ogbn-papers100M dataset, featuring 111 million nodes and 1.6 billion edges.
- Synthetic Benchmarks: BA-House and WS-MAG graphs were used to test the theoretical limits of the system's scalability.
Key Results and Insights
Efficiency and Fidelity
The system demonstrated remarkable efficiency, achieving up to a 12.5x speedup on citation networks and reducing overall inference costs by 55% to 85% across various architectures, including GCN, GAT, and GraphSAGE. Notably, on the Elliptic dataset, ExGIS achieved a 92.4% node compression rate while maintaining 100% inference accuracy, proving that massive data reduction does not have to come at the cost of precision.
The "Once-for-All" Advantage
A pivotal finding of this research is the "once-for-all" nature of the compression. Unlike weight-dependent methods, IFGC compression is performed once for a specific class of GNN (e.g., any 3-layer GCN). This allows users to update model weights or fine-tune the network without needing to re-compress the underlying graph data.
Scalability and Trust
ExGIS sustained linear scaling and manageable latency even on graphs exceeding one billion nodes. By parallelizing the explanation generation via GVEX, the system provides the "why" behind a detection at the same speed as the detection itself, making it a viable solution for real-time monitoring in production environments.
Conclusion
ExGIS and the IFGC framework represent a significant step forward in making GNNs practical for massive-scale applications. By shifting the focus from weight manipulation to structural equivalence and mathematical simulation via memoization, the authors provide a path toward faster, cheaper, and more transparent graph AI.
Future work remains in adapting these techniques for dynamic graphs where the topology changes rapidly, and exploring how structural-preserving principles might be applied to accelerate the GNN training phase in addition to inference.
Summary updated